From d1d5da9b55e691b98a37482005f500438b0a6592 Mon Sep 17 00:00:00 2001 From: xinyu pang <1042945277@qq.com> Date: Mon, 7 Aug 2023 18:44:57 +0800 Subject: [PATCH 1/3] remove containerapp-preview extension --- .github/CODEOWNERS | 2 - src/containerapp-preview/HISTORY.rst | 14 - src/containerapp-preview/README.rst | 9 - .../azext_containerapp_preview/__init__.py | 37 - .../azext_containerapp_preview/_clients.py | 184 - .../azext_containerapp_preview/_constants.py | 12 - .../azext_containerapp_preview/_help.py | 64 - .../azext_containerapp_preview/_params.py | 18 - .../azext_containerapp_preview/_sdk_enums.py | 303 - .../azext_containerapp_preview/_sdk_models.py | 8352 ----------------- .../_transformers.py | 21 - .../azext_containerapp_preview/_utils.py | 65 - .../azext_containerapp_preview/_validators.py | 52 - .../azext_metadata.json | 4 - .../azext_containerapp_preview/commands.py | 21 - .../containerapp_decorator.py | 92 - .../azext_containerapp_preview/custom.py | 97 - .../tests/__init__.py | 5 - .../tests/latest/__init__.py | 5 - .../tests/latest/common.py | 21 - .../test_containerapp_preview_e2e.yaml | 2966 ------ ...containerapp_preview_environment_type.yaml | 5398 ----------- .../test_containerapp_preview_scenario.py | 147 - .../tests/latest/utils.py | 23 - src/containerapp-preview/setup.cfg | 0 src/containerapp-preview/setup.py | 59 - 26 files changed, 17971 deletions(-) delete mode 100644 src/containerapp-preview/HISTORY.rst delete mode 100644 src/containerapp-preview/README.rst delete mode 100644 src/containerapp-preview/azext_containerapp_preview/__init__.py delete mode 100644 src/containerapp-preview/azext_containerapp_preview/_clients.py delete mode 100644 src/containerapp-preview/azext_containerapp_preview/_constants.py delete mode 100644 src/containerapp-preview/azext_containerapp_preview/_help.py delete mode 100644 src/containerapp-preview/azext_containerapp_preview/_params.py delete mode 100644 src/containerapp-preview/azext_containerapp_preview/_sdk_enums.py delete mode 100644 src/containerapp-preview/azext_containerapp_preview/_sdk_models.py delete mode 100644 src/containerapp-preview/azext_containerapp_preview/_transformers.py delete mode 100644 src/containerapp-preview/azext_containerapp_preview/_utils.py delete mode 100644 src/containerapp-preview/azext_containerapp_preview/_validators.py delete mode 100644 src/containerapp-preview/azext_containerapp_preview/azext_metadata.json delete mode 100644 src/containerapp-preview/azext_containerapp_preview/commands.py delete mode 100644 src/containerapp-preview/azext_containerapp_preview/containerapp_decorator.py delete mode 100644 src/containerapp-preview/azext_containerapp_preview/custom.py delete mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/__init__.py delete mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/__init__.py delete mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/common.py delete mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_preview_e2e.yaml delete mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_preview_environment_type.yaml delete mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py delete mode 100644 src/containerapp-preview/azext_containerapp_preview/tests/latest/utils.py delete mode 100644 src/containerapp-preview/setup.cfg delete mode 100644 src/containerapp-preview/setup.py diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index b3fb7d5ae96..127b9c6d11f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -242,8 +242,6 @@ /src/containerapp/ @ruslany @sanchitmehta @ebencarek @JennyLawrance @howang-ms @vinisoto @chinadragon0515 @vturecek @torosent @pagariyaalok @Juliehzl @jijohn14 -/src/containerapp-preview/ @ruslany @sanchitmehta @ebencarek @JennyLawrance @howang-ms @vinisoto @chinadragon0515 @vturecek @torosent @pagariyaalok @Juliehzl @jijohn14 - /src/scvmm/ @nascarsayan /src/spring/ @yuwzho diff --git a/src/containerapp-preview/HISTORY.rst b/src/containerapp-preview/HISTORY.rst deleted file mode 100644 index 00c5aa4cc3d..00000000000 --- a/src/containerapp-preview/HISTORY.rst +++ /dev/null @@ -1,14 +0,0 @@ -.. :changelog: - -Release History -=============== -upcoming -++++++ -* containerapp-preview requires the version of containerapp extension >= 0.3.36 -* containerapp-preview auto install containerapp extension if not exist - -1.0.0b1 -++++++ -* Initial containerapp-preview extension. -* `az containerapp list/show/delete/create`: support for preview extension -* `az containerapp create`: support --environment-type parameter diff --git a/src/containerapp-preview/README.rst b/src/containerapp-preview/README.rst deleted file mode 100644 index c06254bc0ce..00000000000 --- a/src/containerapp-preview/README.rst +++ /dev/null @@ -1,9 +0,0 @@ -Microsoft Azure CLI 'containerapp-preview' Extension -========================================== - -This package is for the 'containerapp-preview' extension. -i.e. 'az containerapp' - -We have two extensions: containerapp and containerapp-preview. -The containerapp-preview extension does not run independently, it requires the containerapp extension. -The commands in containerapp-preview can override the same commands in containerapp. diff --git a/src/containerapp-preview/azext_containerapp_preview/__init__.py b/src/containerapp-preview/azext_containerapp_preview/__init__.py deleted file mode 100644 index 88d2075256e..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/__init__.py +++ /dev/null @@ -1,37 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -from azure.cli.core import AzCommandsLoader - -from azext_containerapp_preview._help import helps # pylint: disable=unused-import -from azext_containerapp_preview._utils import (_get_azext_containerapp_module, auto_install_containerapp_extension_if_not_exist) - - -class ContainerappPreviewCommandsLoader(AzCommandsLoader): - - def __init__(self, cli_ctx=None): - from azure.cli.core.commands import CliCommandType - containerapp_preview_custom = CliCommandType( - operations_tmpl='azext_containerapp_preview.custom#{}', - client_factory=None) - super(ContainerappPreviewCommandsLoader, self).__init__(cli_ctx=cli_ctx, - custom_command_type=containerapp_preview_custom) - auto_install_containerapp_extension_if_not_exist(self) - - def load_command_table(self, args): - from azext_containerapp_preview.commands import load_command_table - - load_command_table(self, args) - return self.command_table - - def load_arguments(self, command): - from azext_containerapp_preview._params import load_arguments - - ga_params = _get_azext_containerapp_module("azext_containerapp._params") - ga_params.load_arguments(self, command) - load_arguments(self, command) - - -COMMAND_LOADER_CLS = ContainerappPreviewCommandsLoader diff --git a/src/containerapp-preview/azext_containerapp_preview/_clients.py b/src/containerapp-preview/azext_containerapp_preview/_clients.py deleted file mode 100644 index d0227767002..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/_clients.py +++ /dev/null @@ -1,184 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -import json - -from azure.cli.core.azclierror import ResourceNotFoundError -from azure.cli.core.util import send_raw_request -from azure.cli.core.commands.client_factory import get_subscription_id -from knack.log import get_logger - -from ._utils import (_get_azext_containerapp_module) - -logger = get_logger(__name__) - -PREVIEW_API_VERSION = "2023-04-01-preview" -HEADER_AZURE_ASYNC_OPERATION = "azure-asyncoperation" -HEADER_LOCATION = "location" - - -def poll_status(cmd, request_url): - azext_client = _get_azext_containerapp_module("azext_containerapp._clients") - return azext_client.poll_status(cmd, request_url) - - -def poll_results(cmd, request_url): - azext_client = _get_azext_containerapp_module("azext_containerapp._clients") - return azext_client.poll_results(cmd, request_url) - - -class ContainerAppClient(_get_azext_containerapp_module("azext_containerapp._clients").ContainerAppClient): - api_version = PREVIEW_API_VERSION - - -class ManagedEnvironmentClient(_get_azext_containerapp_module("azext_containerapp._clients").ManagedEnvironmentClient): - api_version = PREVIEW_API_VERSION - - -class ConnectedEnvironmentClient(): - api_version = PREVIEW_API_VERSION - - @classmethod - def create(cls, cmd, resource_group_name, name, connected_environment_envelope, no_wait=False): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/connectedEnvironments/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - cls.api_version) - - r = send_raw_request(cmd.cli_ctx, "PUT", request_url, body=json.dumps(connected_environment_envelope)) - - if no_wait: - return r.json() - elif r.status_code == 201: - operation_url = r.headers.get(HEADER_AZURE_ASYNC_OPERATION) - poll_status(cmd, operation_url) - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - - return r.json() - - @classmethod - def update(cls, cmd, resource_group_name, name, managed_environment_envelope, no_wait=False): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/connectedEnvironments/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - cls.api_version) - - r = send_raw_request(cmd.cli_ctx, "PATCH", request_url, body=json.dumps(managed_environment_envelope)) - - if no_wait: - return - elif r.status_code == 202: - operation_url = r.headers.get(HEADER_LOCATION) - response = poll_results(cmd, operation_url) - if response is None: - raise ResourceNotFoundError("Could not find a connected environment") - else: - return response - - return r.json() - - @classmethod - def delete(cls, cmd, resource_group_name, name, no_wait=False): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/connectedEnvironments/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - cls.api_version) - - r = send_raw_request(cmd.cli_ctx, "DELETE", request_url) - - if no_wait: - return # API doesn't return JSON (it returns no content) - elif r.status_code in [200, 201, 202, 204]: - if r.status_code == 202: - operation_url = r.headers.get(HEADER_LOCATION) - poll_results(cmd, operation_url) - logger.warning('Connected environment successfully deleted') - return - - @classmethod - def show(cls, cmd, resource_group_name, name): - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/connectedEnvironments/{}?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - name, - cls.api_version) - - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - return r.json() - - @classmethod - def list_by_subscription(cls, cmd, formatter=lambda x: x): - env_list = [] - - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - sub_id = get_subscription_id(cmd.cli_ctx) - request_url = "{}/subscriptions/{}/providers/Microsoft.App/connectedEnvironments?api-version={}".format( - management_hostname.strip('/'), - sub_id, - cls.api_version) - - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - j = r.json() - for env in j["value"]: - formatted = formatter(env) - env_list.append(formatted) - - while j.get("nextLink") is not None: - request_url = j["nextLink"] - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - j = r.json() - for env in j["value"]: - formatted = formatter(env) - env_list.append(formatted) - - return env_list - - @classmethod - def list_by_resource_group(cls, cmd, resource_group_name, formatter=lambda x: x): - env_list = [] - - management_hostname = cmd.cli_ctx.cloud.endpoints.resource_manager - sub_id = get_subscription_id(cmd.cli_ctx) - url_fmt = "{}/subscriptions/{}/resourceGroups/{}/providers/Microsoft.App/connectedEnvironments?api-version={}" - request_url = url_fmt.format( - management_hostname.strip('/'), - sub_id, - resource_group_name, - cls.api_version) - - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - j = r.json() - for env in j["value"]: - formatted = formatter(env) - env_list.append(formatted) - - while j.get("nextLink") is not None: - request_url = j["nextLink"] - r = send_raw_request(cmd.cli_ctx, "GET", request_url) - j = r.json() - for env in j["value"]: - formatted = formatter(env) - env_list.append(formatted) - - return env_list diff --git a/src/containerapp-preview/azext_containerapp_preview/_constants.py b/src/containerapp-preview/azext_containerapp_preview/_constants.py deleted file mode 100644 index 765254bb202..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/_constants.py +++ /dev/null @@ -1,12 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -MANAGED_ENVIRONMENT_TYPE = "managed" -CONNECTED_ENVIRONMENT_TYPE = "connected" -MANAGED_ENVIRONMENT_RESOURCE_TYPE = "managedEnvironments" -CONNECTED_ENVIRONMENT_RESOURCE_TYPE = "connectedEnvironments" -GA_CONTAINERAPP_EXTENSION_NAME = 'containerapp' -MIN_GA_VERSION = '0.3.36' -CONTAINER_APPS_RP = "Microsoft.App" diff --git a/src/containerapp-preview/azext_containerapp_preview/_help.py b/src/containerapp-preview/azext_containerapp_preview/_help.py deleted file mode 100644 index e9889479b3b..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/_help.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -from knack.help_files import helps # pylint: disable=unused-import - -helps['containerapp create'] = """ - type: command - short-summary: Create a container app. - examples: - - name: Create a container app and retrieve its fully qualified domain name. - text: | - az containerapp create -n MyContainerapp -g MyResourceGroup \\ - --image myregistry.azurecr.io/my-app:v1.0 --environment MyContainerappEnv \\ - --ingress external --target-port 80 \\ - --registry-server myregistry.azurecr.io --registry-username myregistry --registry-password $REGISTRY_PASSWORD \\ - --query properties.configuration.ingress.fqdn - - name: Create a container app with resource requirements and replica count limits. - text: | - az containerapp create -n MyContainerapp -g MyResourceGroup \\ - --image nginx --environment MyContainerappEnv \\ - --cpu 0.5 --memory 1.0Gi \\ - --min-replicas 4 --max-replicas 8 - - name: Create a container app with secrets and environment variables. - text: | - az containerapp create -n MyContainerapp -g MyResourceGroup \\ - --image my-app:v1.0 --environment MyContainerappEnv \\ - --secrets mysecret=secretvalue1 anothersecret="secret value 2" \\ - --env-vars GREETING="Hello, world" SECRETENV=secretref:anothersecret - - name: Create a container app using a YAML configuration. Example YAML configuration - https://aka.ms/azure-container-apps-yaml - text: | - az containerapp create -n MyContainerapp -g MyResourceGroup \\ - --environment MyContainerappEnv \\ - --yaml "path/to/yaml/file.yml" - - name: Create a container app with an http scale rule - text: | - az containerapp create -n myapp -g mygroup --environment myenv --image nginx \\ - --scale-rule-name my-http-rule \\ - --scale-rule-http-concurrency 50 - - name: Create a container app with a custom scale rule - text: | - az containerapp create -n MyContainerapp -g MyResourceGroup \\ - --image my-queue-processor --environment MyContainerappEnv \\ - --min-replicas 4 --max-replicas 8 \\ - --scale-rule-name queue-based-autoscaling \\ - --scale-rule-type azure-queue \\ - --scale-rule-metadata "accountName=mystorageaccountname" \\ - "cloud=AzurePublicCloud" \\ - "queueLength": "5" "queueName": "foo" \\ - --scale-rule-auth "connection=my-connection-string-secret-name" - - name: Create a container app with secrets and mounts them in a volume. - text: | - az containerapp create -n MyContainerapp -g MyResourceGroup \\ - --image my-app:v1.0 --environment MyContainerappEnv \\ - --secrets mysecret=secretvalue1 anothersecret="secret value 2" \\ - --secret-volume-mount "mnt/secrets" - - name: Create a container app hosted on a Connected Environment. - text: | - az containerapp create -n MyContainerapp -g MyResourceGroup \\ - --image my-app:v1.0 --environment MyContainerappConnectedEnv \\ - --environment-type connected -""" diff --git a/src/containerapp-preview/azext_containerapp_preview/_params.py b/src/containerapp-preview/azext_containerapp_preview/_params.py deleted file mode 100644 index 82cc97ae237..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/_params.py +++ /dev/null @@ -1,18 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -# pylint: disable=line-too-long -from azure.cli.core.commands.parameters import get_enum_type - -from ._validators import validate_env_name_or_id - - -# This method cannot directly rely on GA resources. -# When the switch core.use_command_index is turned off, possibly unrelated commands may also trigger unnecessary loads. -# It will throw a warning if the GA resource does not exist. -def load_arguments(self, _): - - with self.argument_context('containerapp create') as c: - c.argument('managed_env', validator=validate_env_name_or_id, options_list=['--environment'], help="Name or resource ID of the container app's environment.") - c.argument('environment_type', arg_type=get_enum_type(["managed", "connected"]), help="Type of environment.", is_preview=True) diff --git a/src/containerapp-preview/azext_containerapp_preview/_sdk_enums.py b/src/containerapp-preview/azext_containerapp_preview/_sdk_enums.py deleted file mode 100644 index 2edbcb24261..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/_sdk_enums.py +++ /dev/null @@ -1,303 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - -from enum import Enum -from azure.core import CaseInsensitiveEnumMeta - - -class AccessMode(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Access mode for storage.""" - - READ_ONLY = "ReadOnly" - READ_WRITE = "ReadWrite" - - -class Action(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or - ALL Deny. - """ - - ALLOW = "Allow" - DENY = "Deny" - - -class ActiveRevisionsMode(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """ActiveRevisionsMode controls how active revisions are handled for the Container app: - - - .. raw:: html - - Multiple: multiple revisions can be active.Single: Only one - revision can be active at a time. Revision weights can not be used in this mode. If no value if - provided, this is the default.. - """ - - MULTIPLE = "Multiple" - SINGLE = "Single" - - -class Affinity(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Sticky Session Affinity.""" - - STICKY = "sticky" - NONE = "none" - - -class Applicability(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """indicates whether the profile is default for the location.""" - - LOCATION_DEFAULT = "LocationDefault" - CUSTOM = "Custom" - - -class AppProtocol(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Tells Dapr which protocol your application is using. Valid options are http and grpc. Default - is http. - """ - - HTTP = "http" - GRPC = "grpc" - - -class BindingType(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Custom Domain binding type.""" - - DISABLED = "Disabled" - SNI_ENABLED = "SniEnabled" - - -class CertificateProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Provisioning state of the certificate.""" - - SUCCEEDED = "Succeeded" - FAILED = "Failed" - CANCELED = "Canceled" - DELETE_FAILED = "DeleteFailed" - PENDING = "Pending" - - -class CheckNameAvailabilityReason(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """The reason why the given name is not available.""" - - INVALID = "Invalid" - ALREADY_EXISTS = "AlreadyExists" - - -class ConnectedEnvironmentProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Provisioning state of the Kubernetes Environment.""" - - SUCCEEDED = "Succeeded" - FAILED = "Failed" - CANCELED = "Canceled" - WAITING = "Waiting" - INITIALIZATION_IN_PROGRESS = "InitializationInProgress" - INFRASTRUCTURE_SETUP_IN_PROGRESS = "InfrastructureSetupInProgress" - INFRASTRUCTURE_SETUP_COMPLETE = "InfrastructureSetupComplete" - SCHEDULED_FOR_DELETE = "ScheduledForDelete" - - -class ContainerAppProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Provisioning state of the Container App.""" - - IN_PROGRESS = "InProgress" - SUCCEEDED = "Succeeded" - FAILED = "Failed" - CANCELED = "Canceled" - DELETING = "Deleting" - - -class CookieExpirationConvention(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """The convention used when determining the session cookie's expiration.""" - - FIXED_TIME = "FixedTime" - IDENTITY_PROVIDER_DERIVED = "IdentityProviderDerived" - - -class CreatedByType(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """The type of identity that created the resource.""" - - USER = "User" - APPLICATION = "Application" - MANAGED_IDENTITY = "ManagedIdentity" - KEY = "Key" - - -class DnsVerificationTestResult(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """DNS verification test result.""" - - PASSED = "Passed" - FAILED = "Failed" - SKIPPED = "Skipped" - - -class EnvironmentProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Provisioning state of the Environment.""" - - SUCCEEDED = "Succeeded" - FAILED = "Failed" - CANCELED = "Canceled" - WAITING = "Waiting" - INITIALIZATION_IN_PROGRESS = "InitializationInProgress" - INFRASTRUCTURE_SETUP_IN_PROGRESS = "InfrastructureSetupInProgress" - INFRASTRUCTURE_SETUP_COMPLETE = "InfrastructureSetupComplete" - SCHEDULED_FOR_DELETE = "ScheduledForDelete" - UPGRADE_REQUESTED = "UpgradeRequested" - UPGRADE_FAILED = "UpgradeFailed" - - -class ExtendedLocationTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """The type of extendedLocation.""" - - CUSTOM_LOCATION = "CustomLocation" - - -class ForwardProxyConvention(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """The convention used to determine the url of the request made.""" - - NO_PROXY = "NoProxy" - STANDARD = "Standard" - CUSTOM = "Custom" - - -class IngressClientCertificateMode(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Client certificate mode for mTLS authentication. Ignore indicates server drops client - certificate on forwarding. Accept indicates server forwards client certificate but does not - require a client certificate. Require indicates server requires a client certificate. - """ - - IGNORE = "ignore" - ACCEPT = "accept" - REQUIRE = "require" - - -class IngressTransportMethod(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Ingress transport protocol.""" - - AUTO = "auto" - HTTP = "http" - HTTP2 = "http2" - TCP = "tcp" - - -class JobExecutionRunningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Current running State of the job.""" - - RUNNING = "Running" - PROCESSING = "Processing" - STOPPED = "Stopped" - DEGRADED = "Degraded" - FAILED = "Failed" - UNKNOWN = "Unknown" - SUCCEEDED = "Succeeded" - - -class JobProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Provisioning state of the Container Apps Job.""" - - IN_PROGRESS = "InProgress" - SUCCEEDED = "Succeeded" - FAILED = "Failed" - CANCELED = "Canceled" - DELETING = "Deleting" - - -class LogLevel(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default - is info. - """ - - INFO = "info" - DEBUG = "debug" - WARN = "warn" - ERROR = "error" - - -class ManagedCertificateDomainControlValidation(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Selected type of domain control validation for managed certificates.""" - - CNAME = "CNAME" - HTTP = "HTTP" - TXT = "TXT" - - -class ManagedServiceIdentityType(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Type of managed service identity (where both SystemAssigned and UserAssigned types are - allowed). - """ - - NONE = "None" - SYSTEM_ASSIGNED = "SystemAssigned" - USER_ASSIGNED = "UserAssigned" - SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned,UserAssigned" - - -class RevisionHealthState(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Current health State of the revision.""" - - HEALTHY = "Healthy" - UNHEALTHY = "Unhealthy" - NONE = "None" - - -class RevisionProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Current provisioning State of the revision.""" - - PROVISIONING = "Provisioning" - PROVISIONED = "Provisioned" - FAILED = "Failed" - DEPROVISIONING = "Deprovisioning" - DEPROVISIONED = "Deprovisioned" - - -class Scheme(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Scheme to use for connecting to the host. Defaults to HTTP.""" - - HTTP = "HTTP" - HTTPS = "HTTPS" - - -class SourceControlOperationState(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Current provisioning State of the operation.""" - - IN_PROGRESS = "InProgress" - SUCCEEDED = "Succeeded" - FAILED = "Failed" - CANCELED = "Canceled" - - -class StorageType(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Storage type for the volume. If not provided, use EmptyDir.""" - - AZURE_FILE = "AzureFile" - EMPTY_DIR = "EmptyDir" - SECRET = "Secret" - - -class TriggerType(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Trigger type of the job.""" - - SCHEDULED = "Scheduled" - EVENT = "Event" - MANUAL = "Manual" - - -class Type(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """The type of probe.""" - - LIVENESS = "Liveness" - READINESS = "Readiness" - STARTUP = "Startup" - - -class UnauthenticatedClientActionV2(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """The action to take when an unauthenticated client attempts to access the app.""" - - REDIRECT_TO_LOGIN_PAGE = "RedirectToLoginPage" - ALLOW_ANONYMOUS = "AllowAnonymous" - RETURN401 = "Return401" - RETURN403 = "Return403" diff --git a/src/containerapp-preview/azext_containerapp_preview/_sdk_models.py b/src/containerapp-preview/azext_containerapp_preview/_sdk_models.py deleted file mode 100644 index 2b8ddde0469..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/_sdk_models.py +++ /dev/null @@ -1,8352 +0,0 @@ -# coding=utf-8 -# pylint: disable=too-many-lines -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - -import datetime -import sys -from typing import Any, Dict, List, Optional, Union - -import msrest.serialization as _serialization - -from . import _sdk_models, _sdk_enums as _models - -if sys.version_info >= (3, 9): - from collections.abc import MutableMapping -else: - from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports -if sys.version_info >= (3, 8): - from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports -else: - from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports - -JSON = MutableMapping[str, Any] # pylint: disable=unsubscriptable-object - - -class AllowedAudiencesValidation(_serialization.Model): - """The configuration settings of the Allowed Audiences validation flow. - - :ivar allowed_audiences: The configuration settings of the allowed list of audiences from which - to validate the JWT token. - :vartype allowed_audiences: list[str] - """ - - _attribute_map = { - "allowed_audiences": {"key": "allowedAudiences", "type": "[str]"}, - } - - def __init__(self, *, allowed_audiences: Optional[List[str]] = None, **kwargs: Any) -> None: - """ - :keyword allowed_audiences: The configuration settings of the allowed list of audiences from - which to validate the JWT token. - :paramtype allowed_audiences: list[str] - """ - super().__init__(**kwargs) - self.allowed_audiences = allowed_audiences - - -class AllowedPrincipals(_serialization.Model): - """The configuration settings of the Azure Active Directory allowed principals. - - :ivar groups: The list of the allowed groups. - :vartype groups: list[str] - :ivar identities: The list of the allowed identities. - :vartype identities: list[str] - """ - - _attribute_map = { - "groups": {"key": "groups", "type": "[str]"}, - "identities": {"key": "identities", "type": "[str]"}, - } - - def __init__( - self, *, groups: Optional[List[str]] = None, identities: Optional[List[str]] = None, **kwargs: Any - ) -> None: - """ - :keyword groups: The list of the allowed groups. - :paramtype groups: list[str] - :keyword identities: The list of the allowed identities. - :paramtype identities: list[str] - """ - super().__init__(**kwargs) - self.groups = groups - self.identities = identities - - -class Apple(_serialization.Model): - """The configuration settings of the Apple provider. - - :ivar enabled: :code:`false` if the Apple provider should not be enabled despite - the set registration; otherwise, :code:`true`. - :vartype enabled: bool - :ivar registration: The configuration settings of the Apple registration. - :vartype registration: ~azure.mgmt.appcontainers.models.AppleRegistration - :ivar login: The configuration settings of the login flow. - :vartype login: ~azure.mgmt.appcontainers.models.LoginScopes - """ - - _attribute_map = { - "enabled": {"key": "enabled", "type": "bool"}, - "registration": {"key": "registration", "type": "AppleRegistration"}, - "login": {"key": "login", "type": "LoginScopes"}, - } - - def __init__( - self, - *, - enabled: Optional[bool] = None, - registration: Optional["_models.AppleRegistration"] = None, - login: Optional["_models.LoginScopes"] = None, - **kwargs: Any - ) -> None: - """ - :keyword enabled: :code:`false` if the Apple provider should not be enabled - despite the set registration; otherwise, :code:`true`. - :paramtype enabled: bool - :keyword registration: The configuration settings of the Apple registration. - :paramtype registration: ~azure.mgmt.appcontainers.models.AppleRegistration - :keyword login: The configuration settings of the login flow. - :paramtype login: ~azure.mgmt.appcontainers.models.LoginScopes - """ - super().__init__(**kwargs) - self.enabled = enabled - self.registration = registration - self.login = login - - -class AppleRegistration(_serialization.Model): - """The configuration settings of the registration for the Apple provider. - - :ivar client_id: The Client ID of the app used for login. - :vartype client_id: str - :ivar client_secret_setting_name: The app setting name that contains the client secret. - :vartype client_secret_setting_name: str - """ - - _attribute_map = { - "client_id": {"key": "clientId", "type": "str"}, - "client_secret_setting_name": {"key": "clientSecretSettingName", "type": "str"}, - } - - def __init__( - self, *, client_id: Optional[str] = None, client_secret_setting_name: Optional[str] = None, **kwargs: Any - ) -> None: - """ - :keyword client_id: The Client ID of the app used for login. - :paramtype client_id: str - :keyword client_secret_setting_name: The app setting name that contains the client secret. - :paramtype client_secret_setting_name: str - """ - super().__init__(**kwargs) - self.client_id = client_id - self.client_secret_setting_name = client_secret_setting_name - - -class AppLogsConfiguration(_serialization.Model): - """Configuration of application logs. - - :ivar destination: Logs destination. - :vartype destination: str - :ivar log_analytics_configuration: Log Analytics configuration. - :vartype log_analytics_configuration: - ~azure.mgmt.appcontainers.models.LogAnalyticsConfiguration - """ - - _attribute_map = { - "destination": {"key": "destination", "type": "str"}, - "log_analytics_configuration": {"key": "logAnalyticsConfiguration", "type": "LogAnalyticsConfiguration"}, - } - - def __init__( - self, - *, - destination: Optional[str] = None, - log_analytics_configuration: Optional["_models.LogAnalyticsConfiguration"] = None, - **kwargs: Any - ) -> None: - """ - :keyword destination: Logs destination. - :paramtype destination: str - :keyword log_analytics_configuration: Log Analytics configuration. - :paramtype log_analytics_configuration: - ~azure.mgmt.appcontainers.models.LogAnalyticsConfiguration - """ - super().__init__(**kwargs) - self.destination = destination - self.log_analytics_configuration = log_analytics_configuration - - -class AppRegistration(_serialization.Model): - """The configuration settings of the app registration for providers that have app ids and app - secrets. - - :ivar app_id: The App ID of the app used for login. - :vartype app_id: str - :ivar app_secret_setting_name: The app setting name that contains the app secret. - :vartype app_secret_setting_name: str - """ - - _attribute_map = { - "app_id": {"key": "appId", "type": "str"}, - "app_secret_setting_name": {"key": "appSecretSettingName", "type": "str"}, - } - - def __init__( - self, *, app_id: Optional[str] = None, app_secret_setting_name: Optional[str] = None, **kwargs: Any - ) -> None: - """ - :keyword app_id: The App ID of the app used for login. - :paramtype app_id: str - :keyword app_secret_setting_name: The app setting name that contains the app secret. - :paramtype app_secret_setting_name: str - """ - super().__init__(**kwargs) - self.app_id = app_id - self.app_secret_setting_name = app_secret_setting_name - - -class Resource(_serialization.Model): - """Common fields that are returned in the response for all Azure Resource Manager resources. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - } - - def __init__(self, **kwargs: Any) -> None: - """ """ - super().__init__(**kwargs) - self.id = None - self.name = None - self.type = None - self.system_data = None - - -class ProxyResource(Resource): - """The resource model definition for a Azure Resource Manager proxy resource. It will not have - tags and a location. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - } - - def __init__(self, **kwargs: Any) -> None: - """ """ - super().__init__(**kwargs) - - -class AuthConfig(ProxyResource): - """Configuration settings for the Azure ContainerApp Service Authentication / Authorization - feature. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - :ivar platform: The configuration settings of the platform of ContainerApp Service - Authentication/Authorization. - :vartype platform: ~azure.mgmt.appcontainers.models.AuthPlatform - :ivar global_validation: The configuration settings that determines the validation flow of - users using Service Authentication/Authorization. - :vartype global_validation: ~azure.mgmt.appcontainers.models.GlobalValidation - :ivar identity_providers: The configuration settings of each of the identity providers used to - configure ContainerApp Service Authentication/Authorization. - :vartype identity_providers: ~azure.mgmt.appcontainers.models.IdentityProviders - :ivar login: The configuration settings of the login flow of users using ContainerApp Service - Authentication/Authorization. - :vartype login: ~azure.mgmt.appcontainers.models.Login - :ivar http_settings: The configuration settings of the HTTP requests for authentication and - authorization requests made against ContainerApp Service Authentication/Authorization. - :vartype http_settings: ~azure.mgmt.appcontainers.models.HttpSettings - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - "platform": {"key": "properties.platform", "type": "AuthPlatform"}, - "global_validation": {"key": "properties.globalValidation", "type": "GlobalValidation"}, - "identity_providers": {"key": "properties.identityProviders", "type": "IdentityProviders"}, - "login": {"key": "properties.login", "type": "Login"}, - "http_settings": {"key": "properties.httpSettings", "type": "HttpSettings"}, - } - - def __init__( - self, - *, - platform: Optional["_models.AuthPlatform"] = None, - global_validation: Optional["_models.GlobalValidation"] = None, - identity_providers: Optional["_models.IdentityProviders"] = None, - login: Optional["_models.Login"] = None, - http_settings: Optional["_models.HttpSettings"] = None, - **kwargs: Any - ) -> None: - """ - :keyword platform: The configuration settings of the platform of ContainerApp Service - Authentication/Authorization. - :paramtype platform: ~azure.mgmt.appcontainers.models.AuthPlatform - :keyword global_validation: The configuration settings that determines the validation flow of - users using Service Authentication/Authorization. - :paramtype global_validation: ~azure.mgmt.appcontainers.models.GlobalValidation - :keyword identity_providers: The configuration settings of each of the identity providers used - to configure ContainerApp Service Authentication/Authorization. - :paramtype identity_providers: ~azure.mgmt.appcontainers.models.IdentityProviders - :keyword login: The configuration settings of the login flow of users using ContainerApp - Service Authentication/Authorization. - :paramtype login: ~azure.mgmt.appcontainers.models.Login - :keyword http_settings: The configuration settings of the HTTP requests for authentication and - authorization requests made against ContainerApp Service Authentication/Authorization. - :paramtype http_settings: ~azure.mgmt.appcontainers.models.HttpSettings - """ - super().__init__(**kwargs) - self.platform = platform - self.global_validation = global_validation - self.identity_providers = identity_providers - self.login = login - self.http_settings = http_settings - - -class AuthConfigCollection(_serialization.Model): - """AuthConfig collection ARM resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of resources. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.AuthConfig] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - "value": {"required": True}, - "next_link": {"readonly": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[AuthConfig]"}, - "next_link": {"key": "nextLink", "type": "str"}, - } - - def __init__(self, *, value: List["_models.AuthConfig"], **kwargs: Any) -> None: - """ - :keyword value: Collection of resources. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.AuthConfig] - """ - super().__init__(**kwargs) - self.value = value - self.next_link = None - - -class AuthPlatform(_serialization.Model): - """The configuration settings of the platform of ContainerApp Service - Authentication/Authorization. - - :ivar enabled: :code:`true` if the Authentication / Authorization feature is - enabled for the current app; otherwise, :code:`false`. - :vartype enabled: bool - :ivar runtime_version: The RuntimeVersion of the Authentication / Authorization feature in use - for the current app. - The setting in this value can control the behavior of certain features in the Authentication / - Authorization module. - :vartype runtime_version: str - """ - - _attribute_map = { - "enabled": {"key": "enabled", "type": "bool"}, - "runtime_version": {"key": "runtimeVersion", "type": "str"}, - } - - def __init__(self, *, enabled: Optional[bool] = None, runtime_version: Optional[str] = None, **kwargs: Any) -> None: - """ - :keyword enabled: :code:`true` if the Authentication / Authorization feature is - enabled for the current app; otherwise, :code:`false`. - :paramtype enabled: bool - :keyword runtime_version: The RuntimeVersion of the Authentication / Authorization feature in - use for the current app. - The setting in this value can control the behavior of certain features in the Authentication / - Authorization module. - :paramtype runtime_version: str - """ - super().__init__(**kwargs) - self.enabled = enabled - self.runtime_version = runtime_version - - -class AvailableOperations(_serialization.Model): - """Available operations of the service. - - :ivar value: Collection of available operation details. - :vartype value: list[~azure.mgmt.appcontainers.models.OperationDetail] - :ivar next_link: URL client should use to fetch the next page (per server side paging). - It's null for now, added for future use. - :vartype next_link: str - """ - - _attribute_map = { - "value": {"key": "value", "type": "[OperationDetail]"}, - "next_link": {"key": "nextLink", "type": "str"}, - } - - def __init__( - self, *, value: Optional[List["_models.OperationDetail"]] = None, next_link: Optional[str] = None, **kwargs: Any - ) -> None: - """ - :keyword value: Collection of available operation details. - :paramtype value: list[~azure.mgmt.appcontainers.models.OperationDetail] - :keyword next_link: URL client should use to fetch the next page (per server side paging). - It's null for now, added for future use. - :paramtype next_link: str - """ - super().__init__(**kwargs) - self.value = value - self.next_link = next_link - - -class AvailableWorkloadProfile(ProxyResource): - """A workload profile with specific hardware configure to run container apps. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - :ivar location: Region of the workload profile. - :vartype location: str - :ivar properties: Revision resource specific properties. - :vartype properties: ~azure.mgmt.appcontainers.models.AvailableWorkloadProfileProperties - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - "location": {"key": "location", "type": "str"}, - "properties": {"key": "properties", "type": "AvailableWorkloadProfileProperties"}, - } - - def __init__( - self, - *, - location: Optional[str] = None, - properties: Optional["_models.AvailableWorkloadProfileProperties"] = None, - **kwargs: Any - ) -> None: - """ - :keyword location: Region of the workload profile. - :paramtype location: str - :keyword properties: Revision resource specific properties. - :paramtype properties: ~azure.mgmt.appcontainers.models.AvailableWorkloadProfileProperties - """ - super().__init__(**kwargs) - self.location = location - self.properties = properties - - -class AvailableWorkloadProfileProperties(_serialization.Model): - """Revision resource specific properties. - - :ivar category: Used to categorize workload profiles. - :vartype category: str - :ivar applicability: indicates whether the profile is default for the location. Known values - are: "LocationDefault" and "Custom". - :vartype applicability: str or ~azure.mgmt.appcontainers.models.Applicability - :ivar cores: Number of cores in CPU. - :vartype cores: int - :ivar memory_gi_b: Memory in GiB. - :vartype memory_gi_b: int - :ivar display_name: The everyday name of the workload profile. - :vartype display_name: str - """ - - _attribute_map = { - "category": {"key": "category", "type": "str"}, - "applicability": {"key": "applicability", "type": "str"}, - "cores": {"key": "cores", "type": "int"}, - "memory_gi_b": {"key": "memoryGiB", "type": "int"}, - "display_name": {"key": "displayName", "type": "str"}, - } - - def __init__( - self, - *, - category: Optional[str] = None, - applicability: Optional[Union[str, "_models.Applicability"]] = None, - cores: Optional[int] = None, - memory_gi_b: Optional[int] = None, - display_name: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword category: Used to categorize workload profiles. - :paramtype category: str - :keyword applicability: indicates whether the profile is default for the location. Known values - are: "LocationDefault" and "Custom". - :paramtype applicability: str or ~azure.mgmt.appcontainers.models.Applicability - :keyword cores: Number of cores in CPU. - :paramtype cores: int - :keyword memory_gi_b: Memory in GiB. - :paramtype memory_gi_b: int - :keyword display_name: The everyday name of the workload profile. - :paramtype display_name: str - """ - super().__init__(**kwargs) - self.category = category - self.applicability = applicability - self.cores = cores - self.memory_gi_b = memory_gi_b - self.display_name = display_name - - -class AvailableWorkloadProfilesCollection(_serialization.Model): - """Collection of available workload profiles in the location. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of workload profiles. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.AvailableWorkloadProfile] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - "value": {"required": True}, - "next_link": {"readonly": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[AvailableWorkloadProfile]"}, - "next_link": {"key": "nextLink", "type": "str"}, - } - - def __init__(self, *, value: List["_models.AvailableWorkloadProfile"], **kwargs: Any) -> None: - """ - :keyword value: Collection of workload profiles. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.AvailableWorkloadProfile] - """ - super().__init__(**kwargs) - self.value = value - self.next_link = None - - -class AzureActiveDirectory(_serialization.Model): - """The configuration settings of the Azure Active directory provider. - - :ivar enabled: :code:`false` if the Azure Active Directory provider should not be - enabled despite the set registration; otherwise, :code:`true`. - :vartype enabled: bool - :ivar registration: The configuration settings of the Azure Active Directory app registration. - :vartype registration: ~azure.mgmt.appcontainers.models.AzureActiveDirectoryRegistration - :ivar login: The configuration settings of the Azure Active Directory login flow. - :vartype login: ~azure.mgmt.appcontainers.models.AzureActiveDirectoryLogin - :ivar validation: The configuration settings of the Azure Active Directory token validation - flow. - :vartype validation: ~azure.mgmt.appcontainers.models.AzureActiveDirectoryValidation - :ivar is_auto_provisioned: Gets a value indicating whether the Azure AD configuration was - auto-provisioned using 1st party tooling. - This is an internal flag primarily intended to support the Azure Management Portal. Users - should not - read or write to this property. - :vartype is_auto_provisioned: bool - """ - - _attribute_map = { - "enabled": {"key": "enabled", "type": "bool"}, - "registration": {"key": "registration", "type": "AzureActiveDirectoryRegistration"}, - "login": {"key": "login", "type": "AzureActiveDirectoryLogin"}, - "validation": {"key": "validation", "type": "AzureActiveDirectoryValidation"}, - "is_auto_provisioned": {"key": "isAutoProvisioned", "type": "bool"}, - } - - def __init__( - self, - *, - enabled: Optional[bool] = None, - registration: Optional["_models.AzureActiveDirectoryRegistration"] = None, - login: Optional["_models.AzureActiveDirectoryLogin"] = None, - validation: Optional["_models.AzureActiveDirectoryValidation"] = None, - is_auto_provisioned: Optional[bool] = None, - **kwargs: Any - ) -> None: - """ - :keyword enabled: :code:`false` if the Azure Active Directory provider should not - be enabled despite the set registration; otherwise, :code:`true`. - :paramtype enabled: bool - :keyword registration: The configuration settings of the Azure Active Directory app - registration. - :paramtype registration: ~azure.mgmt.appcontainers.models.AzureActiveDirectoryRegistration - :keyword login: The configuration settings of the Azure Active Directory login flow. - :paramtype login: ~azure.mgmt.appcontainers.models.AzureActiveDirectoryLogin - :keyword validation: The configuration settings of the Azure Active Directory token validation - flow. - :paramtype validation: ~azure.mgmt.appcontainers.models.AzureActiveDirectoryValidation - :keyword is_auto_provisioned: Gets a value indicating whether the Azure AD configuration was - auto-provisioned using 1st party tooling. - This is an internal flag primarily intended to support the Azure Management Portal. Users - should not - read or write to this property. - :paramtype is_auto_provisioned: bool - """ - super().__init__(**kwargs) - self.enabled = enabled - self.registration = registration - self.login = login - self.validation = validation - self.is_auto_provisioned = is_auto_provisioned - - -class AzureActiveDirectoryLogin(_serialization.Model): - """The configuration settings of the Azure Active Directory login flow. - - :ivar login_parameters: Login parameters to send to the OpenID Connect authorization endpoint - when - a user logs in. Each parameter must be in the form "key=value". - :vartype login_parameters: list[str] - :ivar disable_www_authenticate: :code:`true` if the www-authenticate provider - should be omitted from the request; otherwise, :code:`false`. - :vartype disable_www_authenticate: bool - """ - - _attribute_map = { - "login_parameters": {"key": "loginParameters", "type": "[str]"}, - "disable_www_authenticate": {"key": "disableWWWAuthenticate", "type": "bool"}, - } - - def __init__( - self, - *, - login_parameters: Optional[List[str]] = None, - disable_www_authenticate: Optional[bool] = None, - **kwargs: Any - ) -> None: - """ - :keyword login_parameters: Login parameters to send to the OpenID Connect authorization - endpoint when - a user logs in. Each parameter must be in the form "key=value". - :paramtype login_parameters: list[str] - :keyword disable_www_authenticate: :code:`true` if the www-authenticate provider - should be omitted from the request; otherwise, :code:`false`. - :paramtype disable_www_authenticate: bool - """ - super().__init__(**kwargs) - self.login_parameters = login_parameters - self.disable_www_authenticate = disable_www_authenticate - - -class AzureActiveDirectoryRegistration(_serialization.Model): - """The configuration settings of the Azure Active Directory app registration. - - :ivar open_id_issuer: The OpenID Connect Issuer URI that represents the entity which issues - access tokens for this application. - When using Azure Active Directory, this value is the URI of the directory tenant, e.g. - https://login.microsoftonline.com/v2.0/{tenant-guid}/. - This URI is a case-sensitive identifier for the token issuer. - More information on OpenID Connect Discovery: - http://openid.net/specs/openid-connect-discovery-1_0.html. - :vartype open_id_issuer: str - :ivar client_id: The Client ID of this relying party application, known as the client_id. - This setting is required for enabling OpenID Connection authentication with Azure Active - Directory or - other 3rd party OpenID Connect providers. - More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html. - :vartype client_id: str - :ivar client_secret_setting_name: The app setting name that contains the client secret of the - relying party application. - :vartype client_secret_setting_name: str - :ivar client_secret_certificate_thumbprint: An alternative to the client secret, that is the - thumbprint of a certificate used for signing purposes. This property acts as - a replacement for the Client Secret. It is also optional. - :vartype client_secret_certificate_thumbprint: str - :ivar client_secret_certificate_subject_alternative_name: An alternative to the client secret - thumbprint, that is the subject alternative name of a certificate used for signing purposes. - This property acts as - a replacement for the Client Secret Certificate Thumbprint. It is also optional. - :vartype client_secret_certificate_subject_alternative_name: str - :ivar client_secret_certificate_issuer: An alternative to the client secret thumbprint, that is - the issuer of a certificate used for signing purposes. This property acts as - a replacement for the Client Secret Certificate Thumbprint. It is also optional. - :vartype client_secret_certificate_issuer: str - """ - - _attribute_map = { - "open_id_issuer": {"key": "openIdIssuer", "type": "str"}, - "client_id": {"key": "clientId", "type": "str"}, - "client_secret_setting_name": {"key": "clientSecretSettingName", "type": "str"}, - "client_secret_certificate_thumbprint": {"key": "clientSecretCertificateThumbprint", "type": "str"}, - "client_secret_certificate_subject_alternative_name": { - "key": "clientSecretCertificateSubjectAlternativeName", - "type": "str", - }, - "client_secret_certificate_issuer": {"key": "clientSecretCertificateIssuer", "type": "str"}, - } - - def __init__( - self, - *, - open_id_issuer: Optional[str] = None, - client_id: Optional[str] = None, - client_secret_setting_name: Optional[str] = None, - client_secret_certificate_thumbprint: Optional[str] = None, - client_secret_certificate_subject_alternative_name: Optional[str] = None, - client_secret_certificate_issuer: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword open_id_issuer: The OpenID Connect Issuer URI that represents the entity which issues - access tokens for this application. - When using Azure Active Directory, this value is the URI of the directory tenant, e.g. - https://login.microsoftonline.com/v2.0/{tenant-guid}/. - This URI is a case-sensitive identifier for the token issuer. - More information on OpenID Connect Discovery: - http://openid.net/specs/openid-connect-discovery-1_0.html. - :paramtype open_id_issuer: str - :keyword client_id: The Client ID of this relying party application, known as the client_id. - This setting is required for enabling OpenID Connection authentication with Azure Active - Directory or - other 3rd party OpenID Connect providers. - More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html. - :paramtype client_id: str - :keyword client_secret_setting_name: The app setting name that contains the client secret of - the relying party application. - :paramtype client_secret_setting_name: str - :keyword client_secret_certificate_thumbprint: An alternative to the client secret, that is the - thumbprint of a certificate used for signing purposes. This property acts as - a replacement for the Client Secret. It is also optional. - :paramtype client_secret_certificate_thumbprint: str - :keyword client_secret_certificate_subject_alternative_name: An alternative to the client - secret thumbprint, that is the subject alternative name of a certificate used for signing - purposes. This property acts as - a replacement for the Client Secret Certificate Thumbprint. It is also optional. - :paramtype client_secret_certificate_subject_alternative_name: str - :keyword client_secret_certificate_issuer: An alternative to the client secret thumbprint, that - is the issuer of a certificate used for signing purposes. This property acts as - a replacement for the Client Secret Certificate Thumbprint. It is also optional. - :paramtype client_secret_certificate_issuer: str - """ - super().__init__(**kwargs) - self.open_id_issuer = open_id_issuer - self.client_id = client_id - self.client_secret_setting_name = client_secret_setting_name - self.client_secret_certificate_thumbprint = client_secret_certificate_thumbprint - self.client_secret_certificate_subject_alternative_name = client_secret_certificate_subject_alternative_name - self.client_secret_certificate_issuer = client_secret_certificate_issuer - - -class AzureActiveDirectoryValidation(_serialization.Model): - """The configuration settings of the Azure Active Directory token validation flow. - - :ivar jwt_claim_checks: The configuration settings of the checks that should be made while - validating the JWT Claims. - :vartype jwt_claim_checks: ~azure.mgmt.appcontainers.models.JwtClaimChecks - :ivar allowed_audiences: The list of audiences that can make successful - authentication/authorization requests. - :vartype allowed_audiences: list[str] - :ivar default_authorization_policy: The configuration settings of the default authorization - policy. - :vartype default_authorization_policy: - ~azure.mgmt.appcontainers.models.DefaultAuthorizationPolicy - """ - - _attribute_map = { - "jwt_claim_checks": {"key": "jwtClaimChecks", "type": "JwtClaimChecks"}, - "allowed_audiences": {"key": "allowedAudiences", "type": "[str]"}, - "default_authorization_policy": {"key": "defaultAuthorizationPolicy", "type": "DefaultAuthorizationPolicy"}, - } - - def __init__( - self, - *, - jwt_claim_checks: Optional["_models.JwtClaimChecks"] = None, - allowed_audiences: Optional[List[str]] = None, - default_authorization_policy: Optional["_models.DefaultAuthorizationPolicy"] = None, - **kwargs: Any - ) -> None: - """ - :keyword jwt_claim_checks: The configuration settings of the checks that should be made while - validating the JWT Claims. - :paramtype jwt_claim_checks: ~azure.mgmt.appcontainers.models.JwtClaimChecks - :keyword allowed_audiences: The list of audiences that can make successful - authentication/authorization requests. - :paramtype allowed_audiences: list[str] - :keyword default_authorization_policy: The configuration settings of the default authorization - policy. - :paramtype default_authorization_policy: - ~azure.mgmt.appcontainers.models.DefaultAuthorizationPolicy - """ - super().__init__(**kwargs) - self.jwt_claim_checks = jwt_claim_checks - self.allowed_audiences = allowed_audiences - self.default_authorization_policy = default_authorization_policy - - -class AzureCredentials(_serialization.Model): - """Container App credentials. - - :ivar client_id: Client Id. - :vartype client_id: str - :ivar client_secret: Client Secret. - :vartype client_secret: str - :ivar tenant_id: Tenant Id. - :vartype tenant_id: str - :ivar subscription_id: Subscription Id. - :vartype subscription_id: str - """ - - _attribute_map = { - "client_id": {"key": "clientId", "type": "str"}, - "client_secret": {"key": "clientSecret", "type": "str"}, - "tenant_id": {"key": "tenantId", "type": "str"}, - "subscription_id": {"key": "subscriptionId", "type": "str"}, - } - - def __init__( - self, - *, - client_id: Optional[str] = None, - client_secret: Optional[str] = None, - tenant_id: Optional[str] = None, - subscription_id: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword client_id: Client Id. - :paramtype client_id: str - :keyword client_secret: Client Secret. - :paramtype client_secret: str - :keyword tenant_id: Tenant Id. - :paramtype tenant_id: str - :keyword subscription_id: Subscription Id. - :paramtype subscription_id: str - """ - super().__init__(**kwargs) - self.client_id = client_id - self.client_secret = client_secret - self.tenant_id = tenant_id - self.subscription_id = subscription_id - - -class AzureFileProperties(_serialization.Model): - """Azure File Properties. - - :ivar account_name: Storage account name for azure file. - :vartype account_name: str - :ivar account_key: Storage account key for azure file. - :vartype account_key: str - :ivar access_mode: Access mode for storage. Known values are: "ReadOnly" and "ReadWrite". - :vartype access_mode: str or ~azure.mgmt.appcontainers.models.AccessMode - :ivar share_name: Azure file share name. - :vartype share_name: str - """ - - _attribute_map = { - "account_name": {"key": "accountName", "type": "str"}, - "account_key": {"key": "accountKey", "type": "str"}, - "access_mode": {"key": "accessMode", "type": "str"}, - "share_name": {"key": "shareName", "type": "str"}, - } - - def __init__( - self, - *, - account_name: Optional[str] = None, - account_key: Optional[str] = None, - access_mode: Optional[Union[str, "_models.AccessMode"]] = None, - share_name: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword account_name: Storage account name for azure file. - :paramtype account_name: str - :keyword account_key: Storage account key for azure file. - :paramtype account_key: str - :keyword access_mode: Access mode for storage. Known values are: "ReadOnly" and "ReadWrite". - :paramtype access_mode: str or ~azure.mgmt.appcontainers.models.AccessMode - :keyword share_name: Azure file share name. - :paramtype share_name: str - """ - super().__init__(**kwargs) - self.account_name = account_name - self.account_key = account_key - self.access_mode = access_mode - self.share_name = share_name - - -class AzureStaticWebApps(_serialization.Model): - """The configuration settings of the Azure Static Web Apps provider. - - :ivar enabled: :code:`false` if the Azure Static Web Apps provider should not be - enabled despite the set registration; otherwise, :code:`true`. - :vartype enabled: bool - :ivar registration: The configuration settings of the Azure Static Web Apps registration. - :vartype registration: ~azure.mgmt.appcontainers.models.AzureStaticWebAppsRegistration - """ - - _attribute_map = { - "enabled": {"key": "enabled", "type": "bool"}, - "registration": {"key": "registration", "type": "AzureStaticWebAppsRegistration"}, - } - - def __init__( - self, - *, - enabled: Optional[bool] = None, - registration: Optional["_models.AzureStaticWebAppsRegistration"] = None, - **kwargs: Any - ) -> None: - """ - :keyword enabled: :code:`false` if the Azure Static Web Apps provider should not - be enabled despite the set registration; otherwise, :code:`true`. - :paramtype enabled: bool - :keyword registration: The configuration settings of the Azure Static Web Apps registration. - :paramtype registration: ~azure.mgmt.appcontainers.models.AzureStaticWebAppsRegistration - """ - super().__init__(**kwargs) - self.enabled = enabled - self.registration = registration - - -class AzureStaticWebAppsRegistration(_serialization.Model): - """The configuration settings of the registration for the Azure Static Web Apps provider. - - :ivar client_id: The Client ID of the app used for login. - :vartype client_id: str - """ - - _attribute_map = { - "client_id": {"key": "clientId", "type": "str"}, - } - - def __init__(self, *, client_id: Optional[str] = None, **kwargs: Any) -> None: - """ - :keyword client_id: The Client ID of the app used for login. - :paramtype client_id: str - """ - super().__init__(**kwargs) - self.client_id = client_id - - -class BaseContainer(_serialization.Model): - """Container App base container definition. - - :ivar image: Container image tag. - :vartype image: str - :ivar name: Custom container name. - :vartype name: str - :ivar command: Container start command. - :vartype command: list[str] - :ivar args: Container start command arguments. - :vartype args: list[str] - :ivar env: Container environment variables. - :vartype env: list[~azure.mgmt.appcontainers.models.EnvironmentVar] - :ivar resources: Container resource requirements. - :vartype resources: ~azure.mgmt.appcontainers.models.ContainerResources - :ivar volume_mounts: Container volume mounts. - :vartype volume_mounts: list[~azure.mgmt.appcontainers.models.VolumeMount] - """ - - _attribute_map = { - "image": {"key": "image", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "command": {"key": "command", "type": "[str]"}, - "args": {"key": "args", "type": "[str]"}, - "env": {"key": "env", "type": "[EnvironmentVar]"}, - "resources": {"key": "resources", "type": "ContainerResources"}, - "volume_mounts": {"key": "volumeMounts", "type": "[VolumeMount]"}, - } - - def __init__( - self, - *, - image: Optional[str] = None, - name: Optional[str] = None, - command: Optional[List[str]] = None, - args: Optional[List[str]] = None, - env: Optional[List["_models.EnvironmentVar"]] = None, - resources: Optional["_models.ContainerResources"] = None, - volume_mounts: Optional[List["_models.VolumeMount"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword image: Container image tag. - :paramtype image: str - :keyword name: Custom container name. - :paramtype name: str - :keyword command: Container start command. - :paramtype command: list[str] - :keyword args: Container start command arguments. - :paramtype args: list[str] - :keyword env: Container environment variables. - :paramtype env: list[~azure.mgmt.appcontainers.models.EnvironmentVar] - :keyword resources: Container resource requirements. - :paramtype resources: ~azure.mgmt.appcontainers.models.ContainerResources - :keyword volume_mounts: Container volume mounts. - :paramtype volume_mounts: list[~azure.mgmt.appcontainers.models.VolumeMount] - """ - super().__init__(**kwargs) - self.image = image - self.name = name - self.command = command - self.args = args - self.env = env - self.resources = resources - self.volume_mounts = volume_mounts - - -class BillingMeter(ProxyResource): - """Billing meter. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - :ivar location: Region for the billing meter. - :vartype location: str - :ivar properties: Revision resource specific properties. - :vartype properties: ~azure.mgmt.appcontainers.models.BillingMeterProperties - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - "location": {"key": "location", "type": "str"}, - "properties": {"key": "properties", "type": "BillingMeterProperties"}, - } - - def __init__( - self, - *, - location: Optional[str] = None, - properties: Optional["_models.BillingMeterProperties"] = None, - **kwargs: Any - ) -> None: - """ - :keyword location: Region for the billing meter. - :paramtype location: str - :keyword properties: Revision resource specific properties. - :paramtype properties: ~azure.mgmt.appcontainers.models.BillingMeterProperties - """ - super().__init__(**kwargs) - self.location = location - self.properties = properties - - -class BillingMeterCollection(_serialization.Model): - """Collection of billing meters. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of billing meters. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.BillingMeter] - """ - - _validation = { - "value": {"required": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[BillingMeter]"}, - } - - def __init__(self, *, value: List["_models.BillingMeter"], **kwargs: Any) -> None: - """ - :keyword value: Collection of billing meters. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.BillingMeter] - """ - super().__init__(**kwargs) - self.value = value - - -class BillingMeterProperties(_serialization.Model): - """Revision resource specific properties. - - :ivar category: Used to categorize billing meters. - :vartype category: str - :ivar meter_type: Billing meter type. - :vartype meter_type: str - :ivar display_name: The everyday name of the billing meter. - :vartype display_name: str - """ - - _attribute_map = { - "category": {"key": "category", "type": "str"}, - "meter_type": {"key": "meterType", "type": "str"}, - "display_name": {"key": "displayName", "type": "str"}, - } - - def __init__( - self, - *, - category: Optional[str] = None, - meter_type: Optional[str] = None, - display_name: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword category: Used to categorize billing meters. - :paramtype category: str - :keyword meter_type: Billing meter type. - :paramtype meter_type: str - :keyword display_name: The everyday name of the billing meter. - :paramtype display_name: str - """ - super().__init__(**kwargs) - self.category = category - self.meter_type = meter_type - self.display_name = display_name - - -class TrackedResource(Resource): - """The resource model definition for an Azure Resource Manager tracked top level resource which - has 'tags' and a 'location'. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar location: The geo-location where the resource lives. Required. - :vartype location: str - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - "location": {"required": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - "tags": {"key": "tags", "type": "{str}"}, - "location": {"key": "location", "type": "str"}, - } - - def __init__(self, *, location: str, tags: Optional[Dict[str, str]] = None, **kwargs: Any) -> None: - """ - :keyword tags: Resource tags. - :paramtype tags: dict[str, str] - :keyword location: The geo-location where the resource lives. Required. - :paramtype location: str - """ - super().__init__(**kwargs) - self.tags = tags - self.location = location - - -class Certificate(TrackedResource): - """Certificate used for Custom Domain bindings of Container Apps in a Managed Environment. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar location: The geo-location where the resource lives. Required. - :vartype location: str - :ivar properties: Certificate resource specific properties. - :vartype properties: ~azure.mgmt.appcontainers.models.CertificateProperties - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - "location": {"required": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - "tags": {"key": "tags", "type": "{str}"}, - "location": {"key": "location", "type": "str"}, - "properties": {"key": "properties", "type": "CertificateProperties"}, - } - - def __init__( - self, - *, - location: str, - tags: Optional[Dict[str, str]] = None, - properties: Optional["_models.CertificateProperties"] = None, - **kwargs: Any - ) -> None: - """ - :keyword tags: Resource tags. - :paramtype tags: dict[str, str] - :keyword location: The geo-location where the resource lives. Required. - :paramtype location: str - :keyword properties: Certificate resource specific properties. - :paramtype properties: ~azure.mgmt.appcontainers.models.CertificateProperties - """ - super().__init__(tags=tags, location=location, **kwargs) - self.properties = properties - - -class CertificateCollection(_serialization.Model): - """Collection of Certificates. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of resources. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.Certificate] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - "value": {"required": True}, - "next_link": {"readonly": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[Certificate]"}, - "next_link": {"key": "nextLink", "type": "str"}, - } - - def __init__(self, *, value: List["_models.Certificate"], **kwargs: Any) -> None: - """ - :keyword value: Collection of resources. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.Certificate] - """ - super().__init__(**kwargs) - self.value = value - self.next_link = None - - -class CertificatePatch(_serialization.Model): - """A certificate to update. - - :ivar tags: Application-specific metadata in the form of key-value pairs. - :vartype tags: dict[str, str] - """ - - _attribute_map = { - "tags": {"key": "tags", "type": "{str}"}, - } - - def __init__(self, *, tags: Optional[Dict[str, str]] = None, **kwargs: Any) -> None: - """ - :keyword tags: Application-specific metadata in the form of key-value pairs. - :paramtype tags: dict[str, str] - """ - super().__init__(**kwargs) - self.tags = tags - - -class CertificateProperties(_serialization.Model): # pylint: disable=too-many-instance-attributes - """Certificate resource specific properties. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar provisioning_state: Provisioning state of the certificate. Known values are: "Succeeded", - "Failed", "Canceled", "DeleteFailed", and "Pending". - :vartype provisioning_state: str or - ~azure.mgmt.appcontainers.models.CertificateProvisioningState - :ivar password: Certificate password. - :vartype password: str - :ivar subject_name: Subject name of the certificate. - :vartype subject_name: str - :ivar subject_alternative_names: Subject alternative names the certificate applies to. - :vartype subject_alternative_names: list[str] - :ivar value: PFX or PEM blob. - :vartype value: bytes - :ivar issuer: Certificate issuer. - :vartype issuer: str - :ivar issue_date: Certificate issue Date. - :vartype issue_date: ~datetime.datetime - :ivar expiration_date: Certificate expiration date. - :vartype expiration_date: ~datetime.datetime - :ivar thumbprint: Certificate thumbprint. - :vartype thumbprint: str - :ivar valid: Is the certificate valid?. - :vartype valid: bool - :ivar public_key_hash: Public key hash. - :vartype public_key_hash: str - """ - - _validation = { - "provisioning_state": {"readonly": True}, - "subject_name": {"readonly": True}, - "subject_alternative_names": {"readonly": True}, - "issuer": {"readonly": True}, - "issue_date": {"readonly": True}, - "expiration_date": {"readonly": True}, - "thumbprint": {"readonly": True}, - "valid": {"readonly": True}, - "public_key_hash": {"readonly": True}, - } - - _attribute_map = { - "provisioning_state": {"key": "provisioningState", "type": "str"}, - "password": {"key": "password", "type": "str"}, - "subject_name": {"key": "subjectName", "type": "str"}, - "subject_alternative_names": {"key": "subjectAlternativeNames", "type": "[str]"}, - "value": {"key": "value", "type": "bytearray"}, - "issuer": {"key": "issuer", "type": "str"}, - "issue_date": {"key": "issueDate", "type": "iso-8601"}, - "expiration_date": {"key": "expirationDate", "type": "iso-8601"}, - "thumbprint": {"key": "thumbprint", "type": "str"}, - "valid": {"key": "valid", "type": "bool"}, - "public_key_hash": {"key": "publicKeyHash", "type": "str"}, - } - - def __init__(self, *, password: Optional[str] = None, value: Optional[bytes] = None, **kwargs: Any) -> None: - """ - :keyword password: Certificate password. - :paramtype password: str - :keyword value: PFX or PEM blob. - :paramtype value: bytes - """ - super().__init__(**kwargs) - self.provisioning_state = None - self.password = password - self.subject_name = None - self.subject_alternative_names = None - self.value = value - self.issuer = None - self.issue_date = None - self.expiration_date = None - self.thumbprint = None - self.valid = None - self.public_key_hash = None - - -class CheckNameAvailabilityRequest(_serialization.Model): - """The check availability request body. - - :ivar name: The name of the resource for which availability needs to be checked. - :vartype name: str - :ivar type: The resource type. - :vartype type: str - """ - - _attribute_map = { - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - } - - def __init__(self, *, name: Optional[str] = None, type: Optional[str] = None, **kwargs: Any) -> None: - """ - :keyword name: The name of the resource for which availability needs to be checked. - :paramtype name: str - :keyword type: The resource type. - :paramtype type: str - """ - super().__init__(**kwargs) - self.name = name - self.type = type - - -class CheckNameAvailabilityResponse(_serialization.Model): - """The check availability result. - - :ivar name_available: Indicates if the resource name is available. - :vartype name_available: bool - :ivar reason: The reason why the given name is not available. Known values are: "Invalid" and - "AlreadyExists". - :vartype reason: str or ~azure.mgmt.appcontainers.models.CheckNameAvailabilityReason - :ivar message: Detailed reason why the given name is available. - :vartype message: str - """ - - _attribute_map = { - "name_available": {"key": "nameAvailable", "type": "bool"}, - "reason": {"key": "reason", "type": "str"}, - "message": {"key": "message", "type": "str"}, - } - - def __init__( - self, - *, - name_available: Optional[bool] = None, - reason: Optional[Union[str, "_models.CheckNameAvailabilityReason"]] = None, - message: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword name_available: Indicates if the resource name is available. - :paramtype name_available: bool - :keyword reason: The reason why the given name is not available. Known values are: "Invalid" - and "AlreadyExists". - :paramtype reason: str or ~azure.mgmt.appcontainers.models.CheckNameAvailabilityReason - :keyword message: Detailed reason why the given name is available. - :paramtype message: str - """ - super().__init__(**kwargs) - self.name_available = name_available - self.reason = reason - self.message = message - - -class ClientRegistration(_serialization.Model): - """The configuration settings of the app registration for providers that have client ids and - client secrets. - - :ivar client_id: The Client ID of the app used for login. - :vartype client_id: str - :ivar client_secret_setting_name: The app setting name that contains the client secret. - :vartype client_secret_setting_name: str - """ - - _attribute_map = { - "client_id": {"key": "clientId", "type": "str"}, - "client_secret_setting_name": {"key": "clientSecretSettingName", "type": "str"}, - } - - def __init__( - self, *, client_id: Optional[str] = None, client_secret_setting_name: Optional[str] = None, **kwargs: Any - ) -> None: - """ - :keyword client_id: The Client ID of the app used for login. - :paramtype client_id: str - :keyword client_secret_setting_name: The app setting name that contains the client secret. - :paramtype client_secret_setting_name: str - """ - super().__init__(**kwargs) - self.client_id = client_id - self.client_secret_setting_name = client_secret_setting_name - - -class Configuration(_serialization.Model): - """Non versioned Container App configuration properties that define the mutable settings of a - Container app. - - :ivar secrets: Collection of secrets used by a Container app. - :vartype secrets: list[~azure.mgmt.appcontainers.models.Secret] - :ivar active_revisions_mode: ActiveRevisionsMode controls how active revisions are handled for - the Container app: - - - .. raw:: html - - Multiple: multiple revisions can be active.Single: Only one - revision can be active at a time. Revision weights can not be used in this mode. If no value if - provided, this is the default.. Known values are: "Multiple" and "Single". - :vartype active_revisions_mode: str or ~azure.mgmt.appcontainers.models.ActiveRevisionsMode - :ivar ingress: Ingress configurations. - :vartype ingress: ~azure.mgmt.appcontainers.models.Ingress - :ivar registries: Collection of private container registry credentials for containers used by - the Container app. - :vartype registries: list[~azure.mgmt.appcontainers.models.RegistryCredentials] - :ivar dapr: Dapr configuration for the Container App. - :vartype dapr: ~azure.mgmt.appcontainers.models.Dapr - :ivar max_inactive_revisions: Optional. Max inactive revisions a Container App can have. - :vartype max_inactive_revisions: int - """ - - _attribute_map = { - "secrets": {"key": "secrets", "type": "[Secret]"}, - "active_revisions_mode": {"key": "activeRevisionsMode", "type": "str"}, - "ingress": {"key": "ingress", "type": "Ingress"}, - "registries": {"key": "registries", "type": "[RegistryCredentials]"}, - "dapr": {"key": "dapr", "type": "Dapr"}, - "max_inactive_revisions": {"key": "maxInactiveRevisions", "type": "int"}, - } - - def __init__( - self, - *, - secrets: Optional[List["_models.Secret"]] = None, - active_revisions_mode: Union[str, "_models.ActiveRevisionsMode"] = "Single", - ingress: Optional["_models.Ingress"] = None, - registries: Optional[List["_models.RegistryCredentials"]] = None, - dapr: Optional["_models.Dapr"] = None, - max_inactive_revisions: Optional[int] = None, - **kwargs: Any - ) -> None: - """ - :keyword secrets: Collection of secrets used by a Container app. - :paramtype secrets: list[~azure.mgmt.appcontainers.models.Secret] - :keyword active_revisions_mode: ActiveRevisionsMode controls how active revisions are handled - for the Container app: - - - .. raw:: html - - Multiple: multiple revisions can be active.Single: Only one - revision can be active at a time. Revision weights can not be used in this mode. If no value if - provided, this is the default.. Known values are: "Multiple" and "Single". - :paramtype active_revisions_mode: str or ~azure.mgmt.appcontainers.models.ActiveRevisionsMode - :keyword ingress: Ingress configurations. - :paramtype ingress: ~azure.mgmt.appcontainers.models.Ingress - :keyword registries: Collection of private container registry credentials for containers used - by the Container app. - :paramtype registries: list[~azure.mgmt.appcontainers.models.RegistryCredentials] - :keyword dapr: Dapr configuration for the Container App. - :paramtype dapr: ~azure.mgmt.appcontainers.models.Dapr - :keyword max_inactive_revisions: Optional. Max inactive revisions a Container App can have. - :paramtype max_inactive_revisions: int - """ - super().__init__(**kwargs) - self.secrets = secrets - self.active_revisions_mode = active_revisions_mode - self.ingress = ingress - self.registries = registries - self.dapr = dapr - self.max_inactive_revisions = max_inactive_revisions - - -class ConnectedEnvironment(TrackedResource): # pylint: disable=too-many-instance-attributes - """An environment for Kubernetes cluster specialized for web workloads by Azure App Service. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar location: The geo-location where the resource lives. Required. - :vartype location: str - :ivar extended_location: The complex type of the extended location. - :vartype extended_location: ~azure.mgmt.appcontainers.models.ExtendedLocation - :ivar provisioning_state: Provisioning state of the Kubernetes Environment. Known values are: - "Succeeded", "Failed", "Canceled", "Waiting", "InitializationInProgress", - "InfrastructureSetupInProgress", "InfrastructureSetupComplete", and "ScheduledForDelete". - :vartype provisioning_state: str or - ~azure.mgmt.appcontainers.models.ConnectedEnvironmentProvisioningState - :ivar deployment_errors: Any errors that occurred during deployment or deployment validation. - :vartype deployment_errors: str - :ivar default_domain: Default Domain Name for the cluster. - :vartype default_domain: str - :ivar static_ip: Static IP of the connectedEnvironment. - :vartype static_ip: str - :ivar dapr_ai_connection_string: Application Insights connection string used by Dapr to export - Service to Service communication telemetry. - :vartype dapr_ai_connection_string: str - :ivar custom_domain_configuration: Custom domain configuration for the environment. - :vartype custom_domain_configuration: - ~azure.mgmt.appcontainers.models.CustomDomainConfiguration - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - "location": {"required": True}, - "provisioning_state": {"readonly": True}, - "deployment_errors": {"readonly": True}, - "default_domain": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - "tags": {"key": "tags", "type": "{str}"}, - "location": {"key": "location", "type": "str"}, - "extended_location": {"key": "extendedLocation", "type": "ExtendedLocation"}, - "provisioning_state": {"key": "properties.provisioningState", "type": "str"}, - "deployment_errors": {"key": "properties.deploymentErrors", "type": "str"}, - "default_domain": {"key": "properties.defaultDomain", "type": "str"}, - "static_ip": {"key": "properties.staticIp", "type": "str"}, - "dapr_ai_connection_string": {"key": "properties.daprAIConnectionString", "type": "str"}, - "custom_domain_configuration": { - "key": "properties.customDomainConfiguration", - "type": "CustomDomainConfiguration", - }, - } - - def __init__( - self, - *, - location: str, - tags: Optional[Dict[str, str]] = None, - extended_location: Optional["_models.ExtendedLocation"] = None, - static_ip: Optional[str] = None, - dapr_ai_connection_string: Optional[str] = None, - custom_domain_configuration: Optional["_models.CustomDomainConfiguration"] = None, - **kwargs: Any - ) -> None: - """ - :keyword tags: Resource tags. - :paramtype tags: dict[str, str] - :keyword location: The geo-location where the resource lives. Required. - :paramtype location: str - :keyword extended_location: The complex type of the extended location. - :paramtype extended_location: ~azure.mgmt.appcontainers.models.ExtendedLocation - :keyword static_ip: Static IP of the connectedEnvironment. - :paramtype static_ip: str - :keyword dapr_ai_connection_string: Application Insights connection string used by Dapr to - export Service to Service communication telemetry. - :paramtype dapr_ai_connection_string: str - :keyword custom_domain_configuration: Custom domain configuration for the environment. - :paramtype custom_domain_configuration: - ~azure.mgmt.appcontainers.models.CustomDomainConfiguration - """ - super().__init__(tags=tags, location=location, **kwargs) - self.extended_location = extended_location - self.provisioning_state = None - self.deployment_errors = None - self.default_domain = None - self.static_ip = static_ip - self.dapr_ai_connection_string = dapr_ai_connection_string - self.custom_domain_configuration = custom_domain_configuration - - -class ConnectedEnvironmentCollection(_serialization.Model): - """Collection of connectedEnvironments. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: Collection of resources. - :vartype value: list[~azure.mgmt.appcontainers.models.ConnectedEnvironment] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - "next_link": {"readonly": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[ConnectedEnvironment]"}, - "next_link": {"key": "nextLink", "type": "str"}, - } - - def __init__(self, *, value: Optional[List["_models.ConnectedEnvironment"]] = None, **kwargs: Any) -> None: - """ - :keyword value: Collection of resources. - :paramtype value: list[~azure.mgmt.appcontainers.models.ConnectedEnvironment] - """ - super().__init__(**kwargs) - self.value = value - self.next_link = None - - -class ConnectedEnvironmentStorage(ProxyResource): - """Storage resource for connectedEnvironment. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - :ivar properties: Storage properties. - :vartype properties: ~azure.mgmt.appcontainers.models.ConnectedEnvironmentStorageProperties - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - "properties": {"key": "properties", "type": "ConnectedEnvironmentStorageProperties"}, - } - - def __init__( - self, *, properties: Optional["_models.ConnectedEnvironmentStorageProperties"] = None, **kwargs: Any - ) -> None: - """ - :keyword properties: Storage properties. - :paramtype properties: ~azure.mgmt.appcontainers.models.ConnectedEnvironmentStorageProperties - """ - super().__init__(**kwargs) - self.properties = properties - - -class ConnectedEnvironmentStorageProperties(_serialization.Model): - """Storage properties. - - :ivar azure_file: Azure file properties. - :vartype azure_file: ~azure.mgmt.appcontainers.models.AzureFileProperties - """ - - _attribute_map = { - "azure_file": {"key": "azureFile", "type": "AzureFileProperties"}, - } - - def __init__(self, *, azure_file: Optional["_models.AzureFileProperties"] = None, **kwargs: Any) -> None: - """ - :keyword azure_file: Azure file properties. - :paramtype azure_file: ~azure.mgmt.appcontainers.models.AzureFileProperties - """ - super().__init__(**kwargs) - self.azure_file = azure_file - - -class ConnectedEnvironmentStoragesCollection(_serialization.Model): - """Collection of Storage for Environments. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of storage resources. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.ConnectedEnvironmentStorage] - """ - - _validation = { - "value": {"required": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[ConnectedEnvironmentStorage]"}, - } - - def __init__(self, *, value: List["_models.ConnectedEnvironmentStorage"], **kwargs: Any) -> None: - """ - :keyword value: Collection of storage resources. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.ConnectedEnvironmentStorage] - """ - super().__init__(**kwargs) - self.value = value - - -class Container(BaseContainer): - """Container App container definition. - - :ivar image: Container image tag. - :vartype image: str - :ivar name: Custom container name. - :vartype name: str - :ivar command: Container start command. - :vartype command: list[str] - :ivar args: Container start command arguments. - :vartype args: list[str] - :ivar env: Container environment variables. - :vartype env: list[~azure.mgmt.appcontainers.models.EnvironmentVar] - :ivar resources: Container resource requirements. - :vartype resources: ~azure.mgmt.appcontainers.models.ContainerResources - :ivar volume_mounts: Container volume mounts. - :vartype volume_mounts: list[~azure.mgmt.appcontainers.models.VolumeMount] - :ivar probes: List of probes for the container. - :vartype probes: list[~azure.mgmt.appcontainers.models.ContainerAppProbe] - """ - - _attribute_map = { - "image": {"key": "image", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "command": {"key": "command", "type": "[str]"}, - "args": {"key": "args", "type": "[str]"}, - "env": {"key": "env", "type": "[EnvironmentVar]"}, - "resources": {"key": "resources", "type": "ContainerResources"}, - "volume_mounts": {"key": "volumeMounts", "type": "[VolumeMount]"}, - "probes": {"key": "probes", "type": "[ContainerAppProbe]"}, - } - - def __init__( - self, - *, - image: Optional[str] = None, - name: Optional[str] = None, - command: Optional[List[str]] = None, - args: Optional[List[str]] = None, - env: Optional[List["_models.EnvironmentVar"]] = None, - resources: Optional["_models.ContainerResources"] = None, - volume_mounts: Optional[List["_models.VolumeMount"]] = None, - probes: Optional[List["_models.ContainerAppProbe"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword image: Container image tag. - :paramtype image: str - :keyword name: Custom container name. - :paramtype name: str - :keyword command: Container start command. - :paramtype command: list[str] - :keyword args: Container start command arguments. - :paramtype args: list[str] - :keyword env: Container environment variables. - :paramtype env: list[~azure.mgmt.appcontainers.models.EnvironmentVar] - :keyword resources: Container resource requirements. - :paramtype resources: ~azure.mgmt.appcontainers.models.ContainerResources - :keyword volume_mounts: Container volume mounts. - :paramtype volume_mounts: list[~azure.mgmt.appcontainers.models.VolumeMount] - :keyword probes: List of probes for the container. - :paramtype probes: list[~azure.mgmt.appcontainers.models.ContainerAppProbe] - """ - super().__init__( - image=image, - name=name, - command=command, - args=args, - env=env, - resources=resources, - volume_mounts=volume_mounts, - **kwargs - ) - self.probes = probes - - -class ContainerApp(TrackedResource): # pylint: disable=too-many-instance-attributes - """Container App. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar location: The geo-location where the resource lives. Required. - :vartype location: str - :ivar extended_location: The complex type of the extended location. - :vartype extended_location: ~azure.mgmt.appcontainers.models.ExtendedLocation - :ivar identity: managed identities for the Container App to interact with other Azure services - without maintaining any secrets or credentials in code. - :vartype identity: ~azure.mgmt.appcontainers.models.ManagedServiceIdentity - :ivar managed_by: The fully qualified resource ID of the resource that manages this resource. - Indicates if this resource is managed by another Azure resource. If this is present, complete - mode deployment will not delete the resource if it is removed from the template since it is - managed by another resource. - :vartype managed_by: str - :ivar provisioning_state: Provisioning state of the Container App. Known values are: - "InProgress", "Succeeded", "Failed", "Canceled", and "Deleting". - :vartype provisioning_state: str or - ~azure.mgmt.appcontainers.models.ContainerAppProvisioningState - :ivar managed_environment_id: Deprecated. Resource ID of the Container App's environment. - :vartype managed_environment_id: str - :ivar environment_id: Resource ID of environment. - :vartype environment_id: str - :ivar workload_profile_name: Workload profile name to pin for container app execution. - :vartype workload_profile_name: str - :ivar latest_revision_name: Name of the latest revision of the Container App. - :vartype latest_revision_name: str - :ivar latest_ready_revision_name: Name of the latest ready revision of the Container App. - :vartype latest_ready_revision_name: str - :ivar latest_revision_fqdn: Fully Qualified Domain Name of the latest revision of the Container - App. - :vartype latest_revision_fqdn: str - :ivar custom_domain_verification_id: Id used to verify domain name ownership. - :vartype custom_domain_verification_id: str - :ivar configuration: Non versioned Container App configuration properties. - :vartype configuration: ~azure.mgmt.appcontainers.models.Configuration - :ivar template: Container App versioned application definition. - :vartype template: ~azure.mgmt.appcontainers.models.Template - :ivar outbound_ip_addresses: Outbound IP Addresses for container app. - :vartype outbound_ip_addresses: list[str] - :ivar event_stream_endpoint: The endpoint of the eventstream of the container app. - :vartype event_stream_endpoint: str - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - "location": {"required": True}, - "provisioning_state": {"readonly": True}, - "latest_revision_name": {"readonly": True}, - "latest_ready_revision_name": {"readonly": True}, - "latest_revision_fqdn": {"readonly": True}, - "custom_domain_verification_id": {"readonly": True}, - "outbound_ip_addresses": {"readonly": True}, - "event_stream_endpoint": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - "tags": {"key": "tags", "type": "{str}"}, - "location": {"key": "location", "type": "str"}, - "extended_location": {"key": "extendedLocation", "type": "ExtendedLocation"}, - "identity": {"key": "identity", "type": "ManagedServiceIdentity"}, - "managed_by": {"key": "managedBy", "type": "str"}, - "provisioning_state": {"key": "properties.provisioningState", "type": "str"}, - "managed_environment_id": {"key": "properties.managedEnvironmentId", "type": "str"}, - "environment_id": {"key": "properties.environmentId", "type": "str"}, - "workload_profile_name": {"key": "properties.workloadProfileName", "type": "str"}, - "latest_revision_name": {"key": "properties.latestRevisionName", "type": "str"}, - "latest_ready_revision_name": {"key": "properties.latestReadyRevisionName", "type": "str"}, - "latest_revision_fqdn": {"key": "properties.latestRevisionFqdn", "type": "str"}, - "custom_domain_verification_id": {"key": "properties.customDomainVerificationId", "type": "str"}, - "configuration": {"key": "properties.configuration", "type": "Configuration"}, - "template": {"key": "properties.template", "type": "Template"}, - "outbound_ip_addresses": {"key": "properties.outboundIpAddresses", "type": "[str]"}, - "event_stream_endpoint": {"key": "properties.eventStreamEndpoint", "type": "str"}, - } - - def __init__( - self, - *, - location: str, - tags: Optional[Dict[str, str]] = None, - extended_location: Optional["_models.ExtendedLocation"] = None, - identity: Optional["_models.ManagedServiceIdentity"] = None, - managed_by: Optional[str] = None, - managed_environment_id: Optional[str] = None, - environment_id: Optional[str] = None, - workload_profile_name: Optional[str] = None, - configuration: Optional["_models.Configuration"] = None, - template: Optional["_models.Template"] = None, - **kwargs: Any - ) -> None: - """ - :keyword tags: Resource tags. - :paramtype tags: dict[str, str] - :keyword location: The geo-location where the resource lives. Required. - :paramtype location: str - :keyword extended_location: The complex type of the extended location. - :paramtype extended_location: ~azure.mgmt.appcontainers.models.ExtendedLocation - :keyword identity: managed identities for the Container App to interact with other Azure - services without maintaining any secrets or credentials in code. - :paramtype identity: ~azure.mgmt.appcontainers.models.ManagedServiceIdentity - :keyword managed_by: The fully qualified resource ID of the resource that manages this - resource. Indicates if this resource is managed by another Azure resource. If this is present, - complete mode deployment will not delete the resource if it is removed from the template since - it is managed by another resource. - :paramtype managed_by: str - :keyword managed_environment_id: Deprecated. Resource ID of the Container App's environment. - :paramtype managed_environment_id: str - :keyword environment_id: Resource ID of environment. - :paramtype environment_id: str - :keyword workload_profile_name: Workload profile name to pin for container app execution. - :paramtype workload_profile_name: str - :keyword configuration: Non versioned Container App configuration properties. - :paramtype configuration: ~azure.mgmt.appcontainers.models.Configuration - :keyword template: Container App versioned application definition. - :paramtype template: ~azure.mgmt.appcontainers.models.Template - """ - super().__init__(tags=tags, location=location, **kwargs) - self.extended_location = extended_location - self.identity = identity - self.managed_by = managed_by - self.provisioning_state = None - self.managed_environment_id = managed_environment_id - self.environment_id = environment_id - self.workload_profile_name = workload_profile_name - self.latest_revision_name = None - self.latest_ready_revision_name = None - self.latest_revision_fqdn = None - self.custom_domain_verification_id = None - self.configuration = configuration - self.template = template - self.outbound_ip_addresses = None - self.event_stream_endpoint = None - - -class ContainerAppAuthToken(TrackedResource): - """Container App Auth Token. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar location: The geo-location where the resource lives. Required. - :vartype location: str - :ivar token: Auth token value. - :vartype token: str - :ivar expires: Token expiration date. - :vartype expires: ~datetime.datetime - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - "location": {"required": True}, - "token": {"readonly": True}, - "expires": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - "tags": {"key": "tags", "type": "{str}"}, - "location": {"key": "location", "type": "str"}, - "token": {"key": "properties.token", "type": "str"}, - "expires": {"key": "properties.expires", "type": "iso-8601"}, - } - - def __init__(self, *, location: str, tags: Optional[Dict[str, str]] = None, **kwargs: Any) -> None: - """ - :keyword tags: Resource tags. - :paramtype tags: dict[str, str] - :keyword location: The geo-location where the resource lives. Required. - :paramtype location: str - """ - super().__init__(tags=tags, location=location, **kwargs) - self.token = None - self.expires = None - - -class ContainerAppCollection(_serialization.Model): - """Container App collection ARM resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of resources. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.ContainerApp] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - "value": {"required": True}, - "next_link": {"readonly": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[ContainerApp]"}, - "next_link": {"key": "nextLink", "type": "str"}, - } - - def __init__(self, *, value: List["_models.ContainerApp"], **kwargs: Any) -> None: - """ - :keyword value: Collection of resources. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.ContainerApp] - """ - super().__init__(**kwargs) - self.value = value - self.next_link = None - - -class ContainerAppJobExecutions(_serialization.Model): - """Container App executions collection ARM resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of resources. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.JobExecution] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - "value": {"required": True}, - "next_link": {"readonly": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[JobExecution]"}, - "next_link": {"key": "nextLink", "type": "str"}, - } - - def __init__(self, *, value: List["_models.JobExecution"], **kwargs: Any) -> None: - """ - :keyword value: Collection of resources. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.JobExecution] - """ - super().__init__(**kwargs) - self.value = value - self.next_link = None - - -class ContainerAppProbe(_serialization.Model): - """Probe describes a health check to be performed against a container to determine whether it is - alive or ready to receive traffic. - - :ivar failure_threshold: Minimum consecutive failures for the probe to be considered failed - after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10. - :vartype failure_threshold: int - :ivar http_get: HTTPGet specifies the http request to perform. - :vartype http_get: ~azure.mgmt.appcontainers.models.ContainerAppProbeHttpGet - :ivar initial_delay_seconds: Number of seconds after the container has started before liveness - probes are initiated. Minimum value is 1. Maximum value is 60. - :vartype initial_delay_seconds: int - :ivar period_seconds: How often (in seconds) to perform the probe. Default to 10 seconds. - Minimum value is 1. Maximum value is 240. - :vartype period_seconds: int - :ivar success_threshold: Minimum consecutive successes for the probe to be considered - successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum - value is 1. Maximum value is 10. - :vartype success_threshold: int - :ivar tcp_socket: TCPSocket specifies an action involving a TCP port. TCP hooks not yet - supported. - :vartype tcp_socket: ~azure.mgmt.appcontainers.models.ContainerAppProbeTcpSocket - :ivar termination_grace_period_seconds: Optional duration in seconds the pod needs to terminate - gracefully upon probe failure. The grace period is the duration in seconds after the processes - running in the pod are sent a termination signal and the time when the processes are forcibly - halted with a kill signal. Set this value longer than the expected cleanup time for your - process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, - this value overrides the value provided by the pod spec. Value must be non-negative integer. - The value zero indicates stop immediately via the kill signal (no opportunity to shut down). - This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum - value is 3600 seconds (1 hour). - :vartype termination_grace_period_seconds: int - :ivar timeout_seconds: Number of seconds after which the probe times out. Defaults to 1 second. - Minimum value is 1. Maximum value is 240. - :vartype timeout_seconds: int - :ivar type: The type of probe. Known values are: "Liveness", "Readiness", and "Startup". - :vartype type: str or ~azure.mgmt.appcontainers.models.Type - """ - - _attribute_map = { - "failure_threshold": {"key": "failureThreshold", "type": "int"}, - "http_get": {"key": "httpGet", "type": "ContainerAppProbeHttpGet"}, - "initial_delay_seconds": {"key": "initialDelaySeconds", "type": "int"}, - "period_seconds": {"key": "periodSeconds", "type": "int"}, - "success_threshold": {"key": "successThreshold", "type": "int"}, - "tcp_socket": {"key": "tcpSocket", "type": "ContainerAppProbeTcpSocket"}, - "termination_grace_period_seconds": {"key": "terminationGracePeriodSeconds", "type": "int"}, - "timeout_seconds": {"key": "timeoutSeconds", "type": "int"}, - "type": {"key": "type", "type": "str"}, - } - - def __init__( - self, - *, - failure_threshold: Optional[int] = None, - http_get: Optional["_models.ContainerAppProbeHttpGet"] = None, - initial_delay_seconds: Optional[int] = None, - period_seconds: Optional[int] = None, - success_threshold: Optional[int] = None, - tcp_socket: Optional["_models.ContainerAppProbeTcpSocket"] = None, - termination_grace_period_seconds: Optional[int] = None, - timeout_seconds: Optional[int] = None, - type: Optional[Union[str, "_models.Type"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword failure_threshold: Minimum consecutive failures for the probe to be considered failed - after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10. - :paramtype failure_threshold: int - :keyword http_get: HTTPGet specifies the http request to perform. - :paramtype http_get: ~azure.mgmt.appcontainers.models.ContainerAppProbeHttpGet - :keyword initial_delay_seconds: Number of seconds after the container has started before - liveness probes are initiated. Minimum value is 1. Maximum value is 60. - :paramtype initial_delay_seconds: int - :keyword period_seconds: How often (in seconds) to perform the probe. Default to 10 seconds. - Minimum value is 1. Maximum value is 240. - :paramtype period_seconds: int - :keyword success_threshold: Minimum consecutive successes for the probe to be considered - successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum - value is 1. Maximum value is 10. - :paramtype success_threshold: int - :keyword tcp_socket: TCPSocket specifies an action involving a TCP port. TCP hooks not yet - supported. - :paramtype tcp_socket: ~azure.mgmt.appcontainers.models.ContainerAppProbeTcpSocket - :keyword termination_grace_period_seconds: Optional duration in seconds the pod needs to - terminate gracefully upon probe failure. The grace period is the duration in seconds after the - processes running in the pod are sent a termination signal and the time when the processes are - forcibly halted with a kill signal. Set this value longer than the expected cleanup time for - your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. - Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative - integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut - down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. - Maximum value is 3600 seconds (1 hour). - :paramtype termination_grace_period_seconds: int - :keyword timeout_seconds: Number of seconds after which the probe times out. Defaults to 1 - second. Minimum value is 1. Maximum value is 240. - :paramtype timeout_seconds: int - :keyword type: The type of probe. Known values are: "Liveness", "Readiness", and "Startup". - :paramtype type: str or ~azure.mgmt.appcontainers.models.Type - """ - super().__init__(**kwargs) - self.failure_threshold = failure_threshold - self.http_get = http_get - self.initial_delay_seconds = initial_delay_seconds - self.period_seconds = period_seconds - self.success_threshold = success_threshold - self.tcp_socket = tcp_socket - self.termination_grace_period_seconds = termination_grace_period_seconds - self.timeout_seconds = timeout_seconds - self.type = type - - -class ContainerAppProbeHttpGet(_serialization.Model): - """HTTPGet specifies the http request to perform. - - All required parameters must be populated in order to send to Azure. - - :ivar host: Host name to connect to, defaults to the pod IP. You probably want to set "Host" in - httpHeaders instead. - :vartype host: str - :ivar http_headers: Custom headers to set in the request. HTTP allows repeated headers. - :vartype http_headers: - list[~azure.mgmt.appcontainers.models.ContainerAppProbeHttpGetHttpHeadersItem] - :ivar path: Path to access on the HTTP server. - :vartype path: str - :ivar port: Name or number of the port to access on the container. Number must be in the range - 1 to 65535. Name must be an IANA_SVC_NAME. Required. - :vartype port: int - :ivar scheme: Scheme to use for connecting to the host. Defaults to HTTP. Known values are: - "HTTP" and "HTTPS". - :vartype scheme: str or ~azure.mgmt.appcontainers.models.Scheme - """ - - _validation = { - "port": {"required": True}, - } - - _attribute_map = { - "host": {"key": "host", "type": "str"}, - "http_headers": {"key": "httpHeaders", "type": "[ContainerAppProbeHttpGetHttpHeadersItem]"}, - "path": {"key": "path", "type": "str"}, - "port": {"key": "port", "type": "int"}, - "scheme": {"key": "scheme", "type": "str"}, - } - - def __init__( - self, - *, - port: int, - host: Optional[str] = None, - http_headers: Optional[List["_models.ContainerAppProbeHttpGetHttpHeadersItem"]] = None, - path: Optional[str] = None, - scheme: Optional[Union[str, "_models.Scheme"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword host: Host name to connect to, defaults to the pod IP. You probably want to set "Host" - in httpHeaders instead. - :paramtype host: str - :keyword http_headers: Custom headers to set in the request. HTTP allows repeated headers. - :paramtype http_headers: - list[~azure.mgmt.appcontainers.models.ContainerAppProbeHttpGetHttpHeadersItem] - :keyword path: Path to access on the HTTP server. - :paramtype path: str - :keyword port: Name or number of the port to access on the container. Number must be in the - range 1 to 65535. Name must be an IANA_SVC_NAME. Required. - :paramtype port: int - :keyword scheme: Scheme to use for connecting to the host. Defaults to HTTP. Known values are: - "HTTP" and "HTTPS". - :paramtype scheme: str or ~azure.mgmt.appcontainers.models.Scheme - """ - super().__init__(**kwargs) - self.host = host - self.http_headers = http_headers - self.path = path - self.port = port - self.scheme = scheme - - -class ContainerAppProbeHttpGetHttpHeadersItem(_serialization.Model): - """HTTPHeader describes a custom header to be used in HTTP probes. - - All required parameters must be populated in order to send to Azure. - - :ivar name: The header field name. Required. - :vartype name: str - :ivar value: The header field value. Required. - :vartype value: str - """ - - _validation = { - "name": {"required": True}, - "value": {"required": True}, - } - - _attribute_map = { - "name": {"key": "name", "type": "str"}, - "value": {"key": "value", "type": "str"}, - } - - def __init__(self, *, name: str, value: str, **kwargs: Any) -> None: - """ - :keyword name: The header field name. Required. - :paramtype name: str - :keyword value: The header field value. Required. - :paramtype value: str - """ - super().__init__(**kwargs) - self.name = name - self.value = value - - -class ContainerAppProbeTcpSocket(_serialization.Model): - """TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported. - - All required parameters must be populated in order to send to Azure. - - :ivar host: Optional: Host name to connect to, defaults to the pod IP. - :vartype host: str - :ivar port: Number or name of the port to access on the container. Number must be in the range - 1 to 65535. Name must be an IANA_SVC_NAME. Required. - :vartype port: int - """ - - _validation = { - "port": {"required": True}, - } - - _attribute_map = { - "host": {"key": "host", "type": "str"}, - "port": {"key": "port", "type": "int"}, - } - - def __init__(self, *, port: int, host: Optional[str] = None, **kwargs: Any) -> None: - """ - :keyword host: Optional: Host name to connect to, defaults to the pod IP. - :paramtype host: str - :keyword port: Number or name of the port to access on the container. Number must be in the - range 1 to 65535. Name must be an IANA_SVC_NAME. Required. - :paramtype port: int - """ - super().__init__(**kwargs) - self.host = host - self.port = port - - -class ContainerAppSecret(_serialization.Model): - """Container App Secret. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar name: Secret Name. - :vartype name: str - :ivar value: Secret Value. - :vartype value: str - :ivar identity: Resource ID of a managed identity to authenticate with Azure Key Vault, or - System to use a system-assigned identity. - :vartype identity: str - :ivar key_vault_url: Azure Key Vault URL pointing to the secret referenced by the container - app. - :vartype key_vault_url: str - """ - - _validation = { - "name": {"readonly": True}, - "value": {"readonly": True}, - "identity": {"readonly": True}, - "key_vault_url": {"readonly": True}, - } - - _attribute_map = { - "name": {"key": "name", "type": "str"}, - "value": {"key": "value", "type": "str"}, - "identity": {"key": "identity", "type": "str"}, - "key_vault_url": {"key": "keyVaultUrl", "type": "str"}, - } - - def __init__(self, **kwargs: Any) -> None: - """ """ - super().__init__(**kwargs) - self.name = None - self.value = None - self.identity = None - self.key_vault_url = None - - -class ContainerResources(_serialization.Model): - """Container App container resource requirements. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar cpu: Required CPU in cores, e.g. 0.5. - :vartype cpu: float - :ivar memory: Required memory, e.g. "250Mb". - :vartype memory: str - :ivar ephemeral_storage: Ephemeral Storage, e.g. "1Gi". - :vartype ephemeral_storage: str - """ - - _validation = { - "ephemeral_storage": {"readonly": True}, - } - - _attribute_map = { - "cpu": {"key": "cpu", "type": "float"}, - "memory": {"key": "memory", "type": "str"}, - "ephemeral_storage": {"key": "ephemeralStorage", "type": "str"}, - } - - def __init__(self, *, cpu: Optional[float] = None, memory: Optional[str] = None, **kwargs: Any) -> None: - """ - :keyword cpu: Required CPU in cores, e.g. 0.5. - :paramtype cpu: float - :keyword memory: Required memory, e.g. "250Mb". - :paramtype memory: str - """ - super().__init__(**kwargs) - self.cpu = cpu - self.memory = memory - self.ephemeral_storage = None - - -class CookieExpiration(_serialization.Model): - """The configuration settings of the session cookie's expiration. - - :ivar convention: The convention used when determining the session cookie's expiration. Known - values are: "FixedTime" and "IdentityProviderDerived". - :vartype convention: str or ~azure.mgmt.appcontainers.models.CookieExpirationConvention - :ivar time_to_expiration: The time after the request is made when the session cookie should - expire. - :vartype time_to_expiration: str - """ - - _attribute_map = { - "convention": {"key": "convention", "type": "str"}, - "time_to_expiration": {"key": "timeToExpiration", "type": "str"}, - } - - def __init__( - self, - *, - convention: Optional[Union[str, "_models.CookieExpirationConvention"]] = None, - time_to_expiration: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword convention: The convention used when determining the session cookie's expiration. - Known values are: "FixedTime" and "IdentityProviderDerived". - :paramtype convention: str or ~azure.mgmt.appcontainers.models.CookieExpirationConvention - :keyword time_to_expiration: The time after the request is made when the session cookie should - expire. - :paramtype time_to_expiration: str - """ - super().__init__(**kwargs) - self.convention = convention - self.time_to_expiration = time_to_expiration - - -class CorsPolicy(_serialization.Model): - """Cross-Origin-Resource-Sharing policy. - - All required parameters must be populated in order to send to Azure. - - :ivar allowed_origins: Specifies the content for the access-control-allow-origins header. - Required. - :vartype allowed_origins: list[str] - :ivar allowed_methods: Specifies the content for the access-control-allow-methods header. - :vartype allowed_methods: list[str] - :ivar allowed_headers: Specifies the content for the access-control-allow-headers header. - :vartype allowed_headers: list[str] - :ivar expose_headers: Specifies the content for the access-control-expose-headers header. - :vartype expose_headers: list[str] - :ivar max_age: Specifies the content for the access-control-max-age header. - :vartype max_age: int - :ivar allow_credentials: Specifies whether the resource allows credentials. - :vartype allow_credentials: bool - """ - - _validation = { - "allowed_origins": {"required": True}, - } - - _attribute_map = { - "allowed_origins": {"key": "allowedOrigins", "type": "[str]"}, - "allowed_methods": {"key": "allowedMethods", "type": "[str]"}, - "allowed_headers": {"key": "allowedHeaders", "type": "[str]"}, - "expose_headers": {"key": "exposeHeaders", "type": "[str]"}, - "max_age": {"key": "maxAge", "type": "int"}, - "allow_credentials": {"key": "allowCredentials", "type": "bool"}, - } - - def __init__( - self, - *, - allowed_origins: List[str], - allowed_methods: Optional[List[str]] = None, - allowed_headers: Optional[List[str]] = None, - expose_headers: Optional[List[str]] = None, - max_age: Optional[int] = None, - allow_credentials: Optional[bool] = None, - **kwargs: Any - ) -> None: - """ - :keyword allowed_origins: Specifies the content for the access-control-allow-origins header. - Required. - :paramtype allowed_origins: list[str] - :keyword allowed_methods: Specifies the content for the access-control-allow-methods header. - :paramtype allowed_methods: list[str] - :keyword allowed_headers: Specifies the content for the access-control-allow-headers header. - :paramtype allowed_headers: list[str] - :keyword expose_headers: Specifies the content for the access-control-expose-headers header. - :paramtype expose_headers: list[str] - :keyword max_age: Specifies the content for the access-control-max-age header. - :paramtype max_age: int - :keyword allow_credentials: Specifies whether the resource allows credentials. - :paramtype allow_credentials: bool - """ - super().__init__(**kwargs) - self.allowed_origins = allowed_origins - self.allowed_methods = allowed_methods - self.allowed_headers = allowed_headers - self.expose_headers = expose_headers - self.max_age = max_age - self.allow_credentials = allow_credentials - - -class CustomDomain(_serialization.Model): - """Custom Domain of a Container App. - - All required parameters must be populated in order to send to Azure. - - :ivar name: Hostname. Required. - :vartype name: str - :ivar binding_type: Custom Domain binding type. Known values are: "Disabled" and "SniEnabled". - :vartype binding_type: str or ~azure.mgmt.appcontainers.models.BindingType - :ivar certificate_id: Resource Id of the Certificate to be bound to this hostname. Must exist - in the Managed Environment. - :vartype certificate_id: str - """ - - _validation = { - "name": {"required": True}, - } - - _attribute_map = { - "name": {"key": "name", "type": "str"}, - "binding_type": {"key": "bindingType", "type": "str"}, - "certificate_id": {"key": "certificateId", "type": "str"}, - } - - def __init__( - self, - *, - name: str, - binding_type: Optional[Union[str, "_models.BindingType"]] = None, - certificate_id: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword name: Hostname. Required. - :paramtype name: str - :keyword binding_type: Custom Domain binding type. Known values are: "Disabled" and - "SniEnabled". - :paramtype binding_type: str or ~azure.mgmt.appcontainers.models.BindingType - :keyword certificate_id: Resource Id of the Certificate to be bound to this hostname. Must - exist in the Managed Environment. - :paramtype certificate_id: str - """ - super().__init__(**kwargs) - self.name = name - self.binding_type = binding_type - self.certificate_id = certificate_id - - -class CustomDomainConfiguration(_serialization.Model): - """Configuration properties for apps environment custom domain. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar custom_domain_verification_id: Id used to verify domain name ownership. - :vartype custom_domain_verification_id: str - :ivar dns_suffix: Dns suffix for the environment domain. - :vartype dns_suffix: str - :ivar certificate_value: PFX or PEM blob. - :vartype certificate_value: bytes - :ivar certificate_password: Certificate password. - :vartype certificate_password: str - :ivar expiration_date: Certificate expiration date. - :vartype expiration_date: ~datetime.datetime - :ivar thumbprint: Certificate thumbprint. - :vartype thumbprint: str - :ivar subject_name: Subject name of the certificate. - :vartype subject_name: str - """ - - _validation = { - "custom_domain_verification_id": {"readonly": True}, - "expiration_date": {"readonly": True}, - "thumbprint": {"readonly": True}, - "subject_name": {"readonly": True}, - } - - _attribute_map = { - "custom_domain_verification_id": {"key": "customDomainVerificationId", "type": "str"}, - "dns_suffix": {"key": "dnsSuffix", "type": "str"}, - "certificate_value": {"key": "certificateValue", "type": "bytearray"}, - "certificate_password": {"key": "certificatePassword", "type": "str"}, - "expiration_date": {"key": "expirationDate", "type": "iso-8601"}, - "thumbprint": {"key": "thumbprint", "type": "str"}, - "subject_name": {"key": "subjectName", "type": "str"}, - } - - def __init__( - self, - *, - dns_suffix: Optional[str] = None, - certificate_value: Optional[bytes] = None, - certificate_password: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword dns_suffix: Dns suffix for the environment domain. - :paramtype dns_suffix: str - :keyword certificate_value: PFX or PEM blob. - :paramtype certificate_value: bytes - :keyword certificate_password: Certificate password. - :paramtype certificate_password: str - """ - super().__init__(**kwargs) - self.custom_domain_verification_id = None - self.dns_suffix = dns_suffix - self.certificate_value = certificate_value - self.certificate_password = certificate_password - self.expiration_date = None - self.thumbprint = None - self.subject_name = None - - -class CustomHostnameAnalysisResult(_serialization.Model): # pylint: disable=too-many-instance-attributes - """Custom domain analysis. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar host_name: Host name that was analyzed. - :vartype host_name: str - :ivar is_hostname_already_verified: :code:`true` if hostname is already verified; - otherwise, :code:`false`. - :vartype is_hostname_already_verified: bool - :ivar custom_domain_verification_test: DNS verification test result. Known values are: - "Passed", "Failed", and "Skipped". - :vartype custom_domain_verification_test: str or - ~azure.mgmt.appcontainers.models.DnsVerificationTestResult - :ivar custom_domain_verification_failure_info: Raw failure information if DNS verification - fails. - :vartype custom_domain_verification_failure_info: - ~azure.mgmt.appcontainers.models.CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo - :ivar has_conflict_on_managed_environment: :code:`true` if there is a conflict on - the Container App's managed environment; otherwise, :code:`false`. - :vartype has_conflict_on_managed_environment: bool - :ivar conflict_with_environment_custom_domain: :code:`true` if there is a conflict - on the Container App's managed environment level custom domain; otherwise, - :code:`false`. - :vartype conflict_with_environment_custom_domain: bool - :ivar conflicting_container_app_resource_id: Name of the conflicting Container App on the - Managed Environment if it's within the same subscription. - :vartype conflicting_container_app_resource_id: str - :ivar c_name_records: CName records visible for this hostname. - :vartype c_name_records: list[str] - :ivar txt_records: TXT records visible for this hostname. - :vartype txt_records: list[str] - :ivar a_records: A records visible for this hostname. - :vartype a_records: list[str] - :ivar alternate_c_name_records: Alternate CName records visible for this hostname. - :vartype alternate_c_name_records: list[str] - :ivar alternate_txt_records: Alternate TXT records visible for this hostname. - :vartype alternate_txt_records: list[str] - """ - - _validation = { - "host_name": {"readonly": True}, - "is_hostname_already_verified": {"readonly": True}, - "custom_domain_verification_test": {"readonly": True}, - "custom_domain_verification_failure_info": {"readonly": True}, - "has_conflict_on_managed_environment": {"readonly": True}, - "conflict_with_environment_custom_domain": {"readonly": True}, - "conflicting_container_app_resource_id": {"readonly": True}, - } - - _attribute_map = { - "host_name": {"key": "hostName", "type": "str"}, - "is_hostname_already_verified": {"key": "isHostnameAlreadyVerified", "type": "bool"}, - "custom_domain_verification_test": {"key": "customDomainVerificationTest", "type": "str"}, - "custom_domain_verification_failure_info": { - "key": "customDomainVerificationFailureInfo", - "type": "CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo", - }, - "has_conflict_on_managed_environment": {"key": "hasConflictOnManagedEnvironment", "type": "bool"}, - "conflict_with_environment_custom_domain": {"key": "conflictWithEnvironmentCustomDomain", "type": "bool"}, - "conflicting_container_app_resource_id": {"key": "conflictingContainerAppResourceId", "type": "str"}, - "c_name_records": {"key": "cNameRecords", "type": "[str]"}, - "txt_records": {"key": "txtRecords", "type": "[str]"}, - "a_records": {"key": "aRecords", "type": "[str]"}, - "alternate_c_name_records": {"key": "alternateCNameRecords", "type": "[str]"}, - "alternate_txt_records": {"key": "alternateTxtRecords", "type": "[str]"}, - } - - def __init__( - self, - *, - c_name_records: Optional[List[str]] = None, - txt_records: Optional[List[str]] = None, - a_records: Optional[List[str]] = None, - alternate_c_name_records: Optional[List[str]] = None, - alternate_txt_records: Optional[List[str]] = None, - **kwargs: Any - ) -> None: - """ - :keyword c_name_records: CName records visible for this hostname. - :paramtype c_name_records: list[str] - :keyword txt_records: TXT records visible for this hostname. - :paramtype txt_records: list[str] - :keyword a_records: A records visible for this hostname. - :paramtype a_records: list[str] - :keyword alternate_c_name_records: Alternate CName records visible for this hostname. - :paramtype alternate_c_name_records: list[str] - :keyword alternate_txt_records: Alternate TXT records visible for this hostname. - :paramtype alternate_txt_records: list[str] - """ - super().__init__(**kwargs) - self.host_name = None - self.is_hostname_already_verified = None - self.custom_domain_verification_test = None - self.custom_domain_verification_failure_info = None - self.has_conflict_on_managed_environment = None - self.conflict_with_environment_custom_domain = None - self.conflicting_container_app_resource_id = None - self.c_name_records = c_name_records - self.txt_records = txt_records - self.a_records = a_records - self.alternate_c_name_records = alternate_c_name_records - self.alternate_txt_records = alternate_txt_records - - -class CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo(_serialization.Model): - """Raw failure information if DNS verification fails. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar code: Standardized string to programmatically identify the error. - :vartype code: str - :ivar message: Detailed error description and debugging information. - :vartype message: str - :ivar target: Detailed error description and debugging information. - :vartype target: str - :ivar details: Details or the error. - :vartype details: - list[~azure.mgmt.appcontainers.models.CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem] - """ - - _validation = { - "code": {"readonly": True}, - "message": {"readonly": True}, - "target": {"readonly": True}, - } - - _attribute_map = { - "code": {"key": "code", "type": "str"}, - "message": {"key": "message", "type": "str"}, - "target": {"key": "target", "type": "str"}, - "details": { - "key": "details", - "type": "[CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem]", - }, - } - - def __init__( - self, - *, - details: Optional[ - List["_models.CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem"] - ] = None, - **kwargs: Any - ) -> None: - """ - :keyword details: Details or the error. - :paramtype details: - list[~azure.mgmt.appcontainers.models.CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem] - """ - super().__init__(**kwargs) - self.code = None - self.message = None - self.target = None - self.details = details - - -class CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem(_serialization.Model): - """Detailed errors. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar code: Standardized string to programmatically identify the error. - :vartype code: str - :ivar message: Detailed error description and debugging information. - :vartype message: str - :ivar target: Detailed error description and debugging information. - :vartype target: str - """ - - _validation = { - "code": {"readonly": True}, - "message": {"readonly": True}, - "target": {"readonly": True}, - } - - _attribute_map = { - "code": {"key": "code", "type": "str"}, - "message": {"key": "message", "type": "str"}, - "target": {"key": "target", "type": "str"}, - } - - def __init__(self, **kwargs: Any) -> None: - """ """ - super().__init__(**kwargs) - self.code = None - self.message = None - self.target = None - - -class CustomOpenIdConnectProvider(_serialization.Model): - """The configuration settings of the custom Open ID Connect provider. - - :ivar enabled: :code:`false` if the custom Open ID provider provider should not be - enabled; otherwise, :code:`true`. - :vartype enabled: bool - :ivar registration: The configuration settings of the app registration for the custom Open ID - Connect provider. - :vartype registration: ~azure.mgmt.appcontainers.models.OpenIdConnectRegistration - :ivar login: The configuration settings of the login flow of the custom Open ID Connect - provider. - :vartype login: ~azure.mgmt.appcontainers.models.OpenIdConnectLogin - """ - - _attribute_map = { - "enabled": {"key": "enabled", "type": "bool"}, - "registration": {"key": "registration", "type": "OpenIdConnectRegistration"}, - "login": {"key": "login", "type": "OpenIdConnectLogin"}, - } - - def __init__( - self, - *, - enabled: Optional[bool] = None, - registration: Optional["_models.OpenIdConnectRegistration"] = None, - login: Optional["_models.OpenIdConnectLogin"] = None, - **kwargs: Any - ) -> None: - """ - :keyword enabled: :code:`false` if the custom Open ID provider provider should not - be enabled; otherwise, :code:`true`. - :paramtype enabled: bool - :keyword registration: The configuration settings of the app registration for the custom Open - ID Connect provider. - :paramtype registration: ~azure.mgmt.appcontainers.models.OpenIdConnectRegistration - :keyword login: The configuration settings of the login flow of the custom Open ID Connect - provider. - :paramtype login: ~azure.mgmt.appcontainers.models.OpenIdConnectLogin - """ - super().__init__(**kwargs) - self.enabled = enabled - self.registration = registration - self.login = login - - -class CustomScaleRule(_serialization.Model): - """Container App container Custom scaling rule. - - :ivar type: Type of the custom scale rule - eg: azure-servicebus, redis etc. - :vartype type: str - :ivar metadata: Metadata properties to describe custom scale rule. - :vartype metadata: dict[str, str] - :ivar auth: Authentication secrets for the custom scale rule. - :vartype auth: list[~azure.mgmt.appcontainers.models.ScaleRuleAuth] - """ - - _attribute_map = { - "type": {"key": "type", "type": "str"}, - "metadata": {"key": "metadata", "type": "{str}"}, - "auth": {"key": "auth", "type": "[ScaleRuleAuth]"}, - } - - def __init__( - self, - *, - type: Optional[str] = None, - metadata: Optional[Dict[str, str]] = None, - auth: Optional[List["_models.ScaleRuleAuth"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword type: Type of the custom scale rule - eg: azure-servicebus, redis etc. - :paramtype type: str - :keyword metadata: Metadata properties to describe custom scale rule. - :paramtype metadata: dict[str, str] - :keyword auth: Authentication secrets for the custom scale rule. - :paramtype auth: list[~azure.mgmt.appcontainers.models.ScaleRuleAuth] - """ - super().__init__(**kwargs) - self.type = type - self.metadata = metadata - self.auth = auth - - -class JobScaleRule(_serialization.Model): - """Event triggered Container App Job's scaling rule. - - :ivar name: Name for job scale rule. - :vartype name: str - :ivar type: Type of the custom scale rule - eg: azure-servicebus, redis etc. - :vartype type: str - :ivar metadata: Metadata properties to describe custom scale rule. - :vartype metadata: dict[str, str] - :ivar auth: Authentication secrets for the custom scale rule. - :vartype auth: list[~azure.mgmt.appcontainers.models.ScaleRuleAuth] - """ - - _attribute_map = { - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "metadata": {"key": "metadata", "type": "{str}"}, - "auth": {"key": "auth", "type": "[ScaleRuleAuth]"}, - } - - def __init__( - self, - *, - name: Optional[str] = None, - type: Optional[str] = None, - metadata: Optional[Dict[str, str]] = None, - auth: Optional[List["_models.ScaleRuleAuth"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword type: Type of the custom scale rule - eg: azure-servicebus, redis etc. - :paramtype type: str - :keyword metadata: Metadata properties to describe custom scale rule. - :paramtype metadata: dict[str, str] - :keyword auth: Authentication secrets for the custom scale rule. - :paramtype auth: list[~azure.mgmt.appcontainers.models.ScaleRuleAuth] - """ - super().__init__(**kwargs) - self.name = name - self.type = type - self.metadata = metadata - self.auth = auth - - -class Dapr(_serialization.Model): - """Container App Dapr configuration. - - :ivar enabled: Boolean indicating if the Dapr side car is enabled. - :vartype enabled: bool - :ivar app_id: Dapr application identifier. - :vartype app_id: str - :ivar app_protocol: Tells Dapr which protocol your application is using. Valid options are http - and grpc. Default is http. Known values are: "http" and "grpc". - :vartype app_protocol: str or ~azure.mgmt.appcontainers.models.AppProtocol - :ivar app_port: Tells Dapr which port your application is listening on. - :vartype app_port: int - :ivar http_read_buffer_size: Dapr max size of http header read buffer in KB to handle when - sending multi-KB headers. Default is 65KB. - :vartype http_read_buffer_size: int - :ivar http_max_request_size: Increasing max size of request body http and grpc servers - parameter in MB to handle uploading of big files. Default is 4 MB. - :vartype http_max_request_size: int - :ivar log_level: Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, - error. Default is info. Known values are: "info", "debug", "warn", and "error". - :vartype log_level: str or ~azure.mgmt.appcontainers.models.LogLevel - :ivar enable_api_logging: Enables API logging for the Dapr sidecar. - :vartype enable_api_logging: bool - """ - - _attribute_map = { - "enabled": {"key": "enabled", "type": "bool"}, - "app_id": {"key": "appId", "type": "str"}, - "app_protocol": {"key": "appProtocol", "type": "str"}, - "app_port": {"key": "appPort", "type": "int"}, - "http_read_buffer_size": {"key": "httpReadBufferSize", "type": "int"}, - "http_max_request_size": {"key": "httpMaxRequestSize", "type": "int"}, - "log_level": {"key": "logLevel", "type": "str"}, - "enable_api_logging": {"key": "enableApiLogging", "type": "bool"}, - } - - def __init__( - self, - *, - enabled: bool = False, - app_id: Optional[str] = None, - app_protocol: Union[str, "_models.AppProtocol"] = "http", - app_port: Optional[int] = None, - http_read_buffer_size: Optional[int] = None, - http_max_request_size: Optional[int] = None, - log_level: Optional[Union[str, "_models.LogLevel"]] = None, - enable_api_logging: Optional[bool] = None, - **kwargs: Any - ) -> None: - """ - :keyword enabled: Boolean indicating if the Dapr side car is enabled. - :paramtype enabled: bool - :keyword app_id: Dapr application identifier. - :paramtype app_id: str - :keyword app_protocol: Tells Dapr which protocol your application is using. Valid options are - http and grpc. Default is http. Known values are: "http" and "grpc". - :paramtype app_protocol: str or ~azure.mgmt.appcontainers.models.AppProtocol - :keyword app_port: Tells Dapr which port your application is listening on. - :paramtype app_port: int - :keyword http_read_buffer_size: Dapr max size of http header read buffer in KB to handle when - sending multi-KB headers. Default is 65KB. - :paramtype http_read_buffer_size: int - :keyword http_max_request_size: Increasing max size of request body http and grpc servers - parameter in MB to handle uploading of big files. Default is 4 MB. - :paramtype http_max_request_size: int - :keyword log_level: Sets the log level for the Dapr sidecar. Allowed values are debug, info, - warn, error. Default is info. Known values are: "info", "debug", "warn", and "error". - :paramtype log_level: str or ~azure.mgmt.appcontainers.models.LogLevel - :keyword enable_api_logging: Enables API logging for the Dapr sidecar. - :paramtype enable_api_logging: bool - """ - super().__init__(**kwargs) - self.enabled = enabled - self.app_id = app_id - self.app_protocol = app_protocol - self.app_port = app_port - self.http_read_buffer_size = http_read_buffer_size - self.http_max_request_size = http_max_request_size - self.log_level = log_level - self.enable_api_logging = enable_api_logging - - -class DaprComponent(ProxyResource): # pylint: disable=too-many-instance-attributes - """Dapr Component. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - :ivar component_type: Component type. - :vartype component_type: str - :ivar version: Component version. - :vartype version: str - :ivar ignore_errors: Boolean describing if the component errors are ignores. - :vartype ignore_errors: bool - :ivar init_timeout: Initialization timeout. - :vartype init_timeout: str - :ivar secrets: Collection of secrets used by a Dapr component. - :vartype secrets: list[~azure.mgmt.appcontainers.models.Secret] - :ivar secret_store_component: Name of a Dapr component to retrieve component secrets from. - :vartype secret_store_component: str - :ivar metadata: Component metadata. - :vartype metadata: list[~azure.mgmt.appcontainers.models.DaprMetadata] - :ivar scopes: Names of container apps that can use this Dapr component. - :vartype scopes: list[str] - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - "component_type": {"key": "properties.componentType", "type": "str"}, - "version": {"key": "properties.version", "type": "str"}, - "ignore_errors": {"key": "properties.ignoreErrors", "type": "bool"}, - "init_timeout": {"key": "properties.initTimeout", "type": "str"}, - "secrets": {"key": "properties.secrets", "type": "[Secret]"}, - "secret_store_component": {"key": "properties.secretStoreComponent", "type": "str"}, - "metadata": {"key": "properties.metadata", "type": "[DaprMetadata]"}, - "scopes": {"key": "properties.scopes", "type": "[str]"}, - } - - def __init__( - self, - *, - component_type: Optional[str] = None, - version: Optional[str] = None, - ignore_errors: bool = False, - init_timeout: Optional[str] = None, - secrets: Optional[List["_models.Secret"]] = None, - secret_store_component: Optional[str] = None, - metadata: Optional[List["_models.DaprMetadata"]] = None, - scopes: Optional[List[str]] = None, - **kwargs: Any - ) -> None: - """ - :keyword component_type: Component type. - :paramtype component_type: str - :keyword version: Component version. - :paramtype version: str - :keyword ignore_errors: Boolean describing if the component errors are ignores. - :paramtype ignore_errors: bool - :keyword init_timeout: Initialization timeout. - :paramtype init_timeout: str - :keyword secrets: Collection of secrets used by a Dapr component. - :paramtype secrets: list[~azure.mgmt.appcontainers.models.Secret] - :keyword secret_store_component: Name of a Dapr component to retrieve component secrets from. - :paramtype secret_store_component: str - :keyword metadata: Component metadata. - :paramtype metadata: list[~azure.mgmt.appcontainers.models.DaprMetadata] - :keyword scopes: Names of container apps that can use this Dapr component. - :paramtype scopes: list[str] - """ - super().__init__(**kwargs) - self.component_type = component_type - self.version = version - self.ignore_errors = ignore_errors - self.init_timeout = init_timeout - self.secrets = secrets - self.secret_store_component = secret_store_component - self.metadata = metadata - self.scopes = scopes - - -class DaprComponentsCollection(_serialization.Model): - """Dapr Components ARM resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of resources. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.DaprComponent] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - "value": {"required": True}, - "next_link": {"readonly": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[DaprComponent]"}, - "next_link": {"key": "nextLink", "type": "str"}, - } - - def __init__(self, *, value: List["_models.DaprComponent"], **kwargs: Any) -> None: - """ - :keyword value: Collection of resources. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.DaprComponent] - """ - super().__init__(**kwargs) - self.value = value - self.next_link = None - - -class DaprConfiguration(_serialization.Model): - """Configuration properties Dapr component. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar version: The version of Dapr. - :vartype version: str - """ - - _validation = { - "version": {"readonly": True}, - } - - _attribute_map = { - "version": {"key": "version", "type": "str"}, - } - - def __init__(self, **kwargs: Any) -> None: - """ """ - super().__init__(**kwargs) - self.version = None - - -class DaprMetadata(_serialization.Model): - """Dapr component metadata. - - :ivar name: Metadata property name. - :vartype name: str - :ivar value: Metadata property value. - :vartype value: str - :ivar secret_ref: Name of the Dapr Component secret from which to pull the metadata property - value. - :vartype secret_ref: str - """ - - _attribute_map = { - "name": {"key": "name", "type": "str"}, - "value": {"key": "value", "type": "str"}, - "secret_ref": {"key": "secretRef", "type": "str"}, - } - - def __init__( - self, - *, - name: Optional[str] = None, - value: Optional[str] = None, - secret_ref: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword name: Metadata property name. - :paramtype name: str - :keyword value: Metadata property value. - :paramtype value: str - :keyword secret_ref: Name of the Dapr Component secret from which to pull the metadata property - value. - :paramtype secret_ref: str - """ - super().__init__(**kwargs) - self.name = name - self.value = value - self.secret_ref = secret_ref - - -class DaprSecret(_serialization.Model): - """Dapr component Secret for ListSecrets Action. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar name: Secret Name. - :vartype name: str - :ivar value: Secret Value. - :vartype value: str - """ - - _validation = { - "name": {"readonly": True}, - "value": {"readonly": True}, - } - - _attribute_map = { - "name": {"key": "name", "type": "str"}, - "value": {"key": "value", "type": "str"}, - } - - def __init__(self, **kwargs: Any) -> None: - """ """ - super().__init__(**kwargs) - self.name = None - self.value = None - - -class DaprSecretsCollection(_serialization.Model): - """Dapr component Secrets Collection for ListSecrets Action. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of secrets used by a Dapr component. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.DaprSecret] - """ - - _validation = { - "value": {"required": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[DaprSecret]"}, - } - - def __init__(self, *, value: List["_models.DaprSecret"], **kwargs: Any) -> None: - """ - :keyword value: Collection of secrets used by a Dapr component. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.DaprSecret] - """ - super().__init__(**kwargs) - self.value = value - - -class DefaultAuthorizationPolicy(_serialization.Model): - """The configuration settings of the Azure Active Directory default authorization policy. - - :ivar allowed_principals: The configuration settings of the Azure Active Directory allowed - principals. - :vartype allowed_principals: ~azure.mgmt.appcontainers.models.AllowedPrincipals - :ivar allowed_applications: The configuration settings of the Azure Active Directory allowed - applications. - :vartype allowed_applications: list[str] - """ - - _attribute_map = { - "allowed_principals": {"key": "allowedPrincipals", "type": "AllowedPrincipals"}, - "allowed_applications": {"key": "allowedApplications", "type": "[str]"}, - } - - def __init__( - self, - *, - allowed_principals: Optional["_models.AllowedPrincipals"] = None, - allowed_applications: Optional[List[str]] = None, - **kwargs: Any - ) -> None: - """ - :keyword allowed_principals: The configuration settings of the Azure Active Directory allowed - principals. - :paramtype allowed_principals: ~azure.mgmt.appcontainers.models.AllowedPrincipals - :keyword allowed_applications: The configuration settings of the Azure Active Directory allowed - applications. - :paramtype allowed_applications: list[str] - """ - super().__init__(**kwargs) - self.allowed_principals = allowed_principals - self.allowed_applications = allowed_applications - - -class DefaultErrorResponse(_serialization.Model): - """App Service error response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar error: Error model. - :vartype error: ~azure.mgmt.appcontainers.models.DefaultErrorResponseError - """ - - _validation = { - "error": {"readonly": True}, - } - - _attribute_map = { - "error": {"key": "error", "type": "DefaultErrorResponseError"}, - } - - def __init__(self, **kwargs: Any) -> None: - """ """ - super().__init__(**kwargs) - self.error = None - - -class DefaultErrorResponseError(_serialization.Model): - """Error model. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar code: Standardized string to programmatically identify the error. - :vartype code: str - :ivar message: Detailed error description and debugging information. - :vartype message: str - :ivar target: Detailed error description and debugging information. - :vartype target: str - :ivar details: Details or the error. - :vartype details: list[~azure.mgmt.appcontainers.models.DefaultErrorResponseErrorDetailsItem] - :ivar innererror: More information to debug error. - :vartype innererror: str - """ - - _validation = { - "code": {"readonly": True}, - "message": {"readonly": True}, - "target": {"readonly": True}, - "innererror": {"readonly": True}, - } - - _attribute_map = { - "code": {"key": "code", "type": "str"}, - "message": {"key": "message", "type": "str"}, - "target": {"key": "target", "type": "str"}, - "details": {"key": "details", "type": "[DefaultErrorResponseErrorDetailsItem]"}, - "innererror": {"key": "innererror", "type": "str"}, - } - - def __init__( - self, *, details: Optional[List["_models.DefaultErrorResponseErrorDetailsItem"]] = None, **kwargs: Any - ) -> None: - """ - :keyword details: Details or the error. - :paramtype details: list[~azure.mgmt.appcontainers.models.DefaultErrorResponseErrorDetailsItem] - """ - super().__init__(**kwargs) - self.code = None - self.message = None - self.target = None - self.details = details - self.innererror = None - - -class DefaultErrorResponseErrorDetailsItem(_serialization.Model): - """Detailed errors. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar code: Standardized string to programmatically identify the error. - :vartype code: str - :ivar message: Detailed error description and debugging information. - :vartype message: str - :ivar target: Detailed error description and debugging information. - :vartype target: str - """ - - _validation = { - "code": {"readonly": True}, - "message": {"readonly": True}, - "target": {"readonly": True}, - } - - _attribute_map = { - "code": {"key": "code", "type": "str"}, - "message": {"key": "message", "type": "str"}, - "target": {"key": "target", "type": "str"}, - } - - def __init__(self, **kwargs: Any) -> None: - """ """ - super().__init__(**kwargs) - self.code = None - self.message = None - self.target = None - - -class DiagnosticDataProviderMetadata(_serialization.Model): - """Details of a diagnostics data provider. - - :ivar provider_name: Name of data provider. - :vartype provider_name: str - :ivar property_bag: Collection of properties. - :vartype property_bag: - list[~azure.mgmt.appcontainers.models.DiagnosticDataProviderMetadataPropertyBagItem] - """ - - _attribute_map = { - "provider_name": {"key": "providerName", "type": "str"}, - "property_bag": {"key": "propertyBag", "type": "[DiagnosticDataProviderMetadataPropertyBagItem]"}, - } - - def __init__( - self, - *, - provider_name: Optional[str] = None, - property_bag: Optional[List["_models.DiagnosticDataProviderMetadataPropertyBagItem"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword provider_name: Name of data provider. - :paramtype provider_name: str - :keyword property_bag: Collection of properties. - :paramtype property_bag: - list[~azure.mgmt.appcontainers.models.DiagnosticDataProviderMetadataPropertyBagItem] - """ - super().__init__(**kwargs) - self.provider_name = provider_name - self.property_bag = property_bag - - -class DiagnosticDataProviderMetadataPropertyBagItem(_serialization.Model): - """Property details. - - :ivar name: Property name. - :vartype name: str - :ivar value: Property value. - :vartype value: str - """ - - _attribute_map = { - "name": {"key": "name", "type": "str"}, - "value": {"key": "value", "type": "str"}, - } - - def __init__(self, *, name: Optional[str] = None, value: Optional[str] = None, **kwargs: Any) -> None: - """ - :keyword name: Property name. - :paramtype name: str - :keyword value: Property value. - :paramtype value: str - """ - super().__init__(**kwargs) - self.name = name - self.value = value - - -class DiagnosticDataTableResponseColumn(_serialization.Model): - """Diagnostics data column. - - :ivar column_name: Column name. - :vartype column_name: str - :ivar data_type: Data type of the column. - :vartype data_type: str - :ivar column_type: Column type. - :vartype column_type: str - """ - - _attribute_map = { - "column_name": {"key": "columnName", "type": "str"}, - "data_type": {"key": "dataType", "type": "str"}, - "column_type": {"key": "columnType", "type": "str"}, - } - - def __init__( - self, - *, - column_name: Optional[str] = None, - data_type: Optional[str] = None, - column_type: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword column_name: Column name. - :paramtype column_name: str - :keyword data_type: Data type of the column. - :paramtype data_type: str - :keyword column_type: Column type. - :paramtype column_type: str - """ - super().__init__(**kwargs) - self.column_name = column_name - self.data_type = data_type - self.column_type = column_type - - -class DiagnosticDataTableResponseObject(_serialization.Model): - """Diagnostics data table. - - :ivar table_name: Table name. - :vartype table_name: str - :ivar columns: Columns in the table. - :vartype columns: list[~azure.mgmt.appcontainers.models.DiagnosticDataTableResponseColumn] - :ivar rows: Rows in the table. - :vartype rows: list[JSON] - """ - - _attribute_map = { - "table_name": {"key": "tableName", "type": "str"}, - "columns": {"key": "columns", "type": "[DiagnosticDataTableResponseColumn]"}, - "rows": {"key": "rows", "type": "[object]"}, - } - - def __init__( - self, - *, - table_name: Optional[str] = None, - columns: Optional[List["_models.DiagnosticDataTableResponseColumn"]] = None, - rows: Optional[List[JSON]] = None, - **kwargs: Any - ) -> None: - """ - :keyword table_name: Table name. - :paramtype table_name: str - :keyword columns: Columns in the table. - :paramtype columns: list[~azure.mgmt.appcontainers.models.DiagnosticDataTableResponseColumn] - :keyword rows: Rows in the table. - :paramtype rows: list[JSON] - """ - super().__init__(**kwargs) - self.table_name = table_name - self.columns = columns - self.rows = rows - - -class DiagnosticRendering(_serialization.Model): - """Rendering details of a diagnostics table. - - :ivar type: Rendering type. - :vartype type: int - :ivar title: Title of the table. - :vartype title: str - :ivar description: Description of the table. - :vartype description: str - :ivar is_visible: Flag if the table should be rendered. - :vartype is_visible: bool - """ - - _attribute_map = { - "type": {"key": "type", "type": "int"}, - "title": {"key": "title", "type": "str"}, - "description": {"key": "description", "type": "str"}, - "is_visible": {"key": "isVisible", "type": "bool"}, - } - - def __init__( - self, - *, - type: Optional[int] = None, - title: Optional[str] = None, - description: Optional[str] = None, - is_visible: Optional[bool] = None, - **kwargs: Any - ) -> None: - """ - :keyword type: Rendering type. - :paramtype type: int - :keyword title: Title of the table. - :paramtype title: str - :keyword description: Description of the table. - :paramtype description: str - :keyword is_visible: Flag if the table should be rendered. - :paramtype is_visible: bool - """ - super().__init__(**kwargs) - self.type = type - self.title = title - self.description = description - self.is_visible = is_visible - - -class Diagnostics(ProxyResource): - """Diagnostics data for a resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - :ivar properties: Diagnostics resource specific properties. - :vartype properties: ~azure.mgmt.appcontainers.models.DiagnosticsProperties - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - "properties": {"key": "properties", "type": "DiagnosticsProperties"}, - } - - def __init__(self, *, properties: Optional["_models.DiagnosticsProperties"] = None, **kwargs: Any) -> None: - """ - :keyword properties: Diagnostics resource specific properties. - :paramtype properties: ~azure.mgmt.appcontainers.models.DiagnosticsProperties - """ - super().__init__(**kwargs) - self.properties = properties - - -class DiagnosticsCollection(_serialization.Model): - """Diagnostics data collection for a resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of diagnostic data. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.Diagnostics] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - "value": {"required": True}, - "next_link": {"readonly": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[Diagnostics]"}, - "next_link": {"key": "nextLink", "type": "str"}, - } - - def __init__(self, *, value: List["_models.Diagnostics"], **kwargs: Any) -> None: - """ - :keyword value: Collection of diagnostic data. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.Diagnostics] - """ - super().__init__(**kwargs) - self.value = value - self.next_link = None - - -class DiagnosticsDataApiResponse(_serialization.Model): - """Diagnostics data returned from a detector. - - :ivar table: Table response. - :vartype table: ~azure.mgmt.appcontainers.models.DiagnosticDataTableResponseObject - :ivar rendering_properties: Details of the table response. - :vartype rendering_properties: ~azure.mgmt.appcontainers.models.DiagnosticRendering - """ - - _attribute_map = { - "table": {"key": "table", "type": "DiagnosticDataTableResponseObject"}, - "rendering_properties": {"key": "renderingProperties", "type": "DiagnosticRendering"}, - } - - def __init__( - self, - *, - table: Optional["_models.DiagnosticDataTableResponseObject"] = None, - rendering_properties: Optional["_models.DiagnosticRendering"] = None, - **kwargs: Any - ) -> None: - """ - :keyword table: Table response. - :paramtype table: ~azure.mgmt.appcontainers.models.DiagnosticDataTableResponseObject - :keyword rendering_properties: Details of the table response. - :paramtype rendering_properties: ~azure.mgmt.appcontainers.models.DiagnosticRendering - """ - super().__init__(**kwargs) - self.table = table - self.rendering_properties = rendering_properties - - -class DiagnosticsDefinition(_serialization.Model): - """Metadata of the diagnostics response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Unique detector name. - :vartype id: str - :ivar name: Display Name of the detector. - :vartype name: str - :ivar description: Details of the diagnostics info. - :vartype description: str - :ivar author: Authors' names of the detector. - :vartype author: str - :ivar category: Category of the detector. - :vartype category: str - :ivar support_topic_list: List of support topics. - :vartype support_topic_list: list[~azure.mgmt.appcontainers.models.DiagnosticSupportTopic] - :ivar analysis_types: List of analysis types. - :vartype analysis_types: list[str] - :ivar type: Authors' names of the detector. - :vartype type: str - :ivar score: Authors' names of the detector. - :vartype score: float - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "description": {"readonly": True}, - "author": {"readonly": True}, - "category": {"readonly": True}, - "type": {"readonly": True}, - "score": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "description": {"key": "description", "type": "str"}, - "author": {"key": "author", "type": "str"}, - "category": {"key": "category", "type": "str"}, - "support_topic_list": {"key": "supportTopicList", "type": "[DiagnosticSupportTopic]"}, - "analysis_types": {"key": "analysisTypes", "type": "[str]"}, - "type": {"key": "type", "type": "str"}, - "score": {"key": "score", "type": "float"}, - } - - def __init__( - self, - *, - support_topic_list: Optional[List["_models.DiagnosticSupportTopic"]] = None, - analysis_types: Optional[List[str]] = None, - **kwargs: Any - ) -> None: - """ - :keyword support_topic_list: List of support topics. - :paramtype support_topic_list: list[~azure.mgmt.appcontainers.models.DiagnosticSupportTopic] - :keyword analysis_types: List of analysis types. - :paramtype analysis_types: list[str] - """ - super().__init__(**kwargs) - self.id = None - self.name = None - self.description = None - self.author = None - self.category = None - self.support_topic_list = support_topic_list - self.analysis_types = analysis_types - self.type = None - self.score = None - - -class DiagnosticsProperties(_serialization.Model): - """Diagnostics resource specific properties. - - :ivar metadata: Metadata of the diagnostics response. - :vartype metadata: ~azure.mgmt.appcontainers.models.DiagnosticsDefinition - :ivar dataset: Set of data collections associated with the response. - :vartype dataset: list[~azure.mgmt.appcontainers.models.DiagnosticsDataApiResponse] - :ivar status: Status of the diagnostics response. - :vartype status: ~azure.mgmt.appcontainers.models.DiagnosticsStatus - :ivar data_provider_metadata: List of data providers' metadata. - :vartype data_provider_metadata: - ~azure.mgmt.appcontainers.models.DiagnosticDataProviderMetadata - """ - - _attribute_map = { - "metadata": {"key": "metadata", "type": "DiagnosticsDefinition"}, - "dataset": {"key": "dataset", "type": "[DiagnosticsDataApiResponse]"}, - "status": {"key": "status", "type": "DiagnosticsStatus"}, - "data_provider_metadata": {"key": "dataProviderMetadata", "type": "DiagnosticDataProviderMetadata"}, - } - - def __init__( - self, - *, - metadata: Optional["_models.DiagnosticsDefinition"] = None, - dataset: Optional[List["_models.DiagnosticsDataApiResponse"]] = None, - status: Optional["_models.DiagnosticsStatus"] = None, - data_provider_metadata: Optional["_models.DiagnosticDataProviderMetadata"] = None, - **kwargs: Any - ) -> None: - """ - :keyword metadata: Metadata of the diagnostics response. - :paramtype metadata: ~azure.mgmt.appcontainers.models.DiagnosticsDefinition - :keyword dataset: Set of data collections associated with the response. - :paramtype dataset: list[~azure.mgmt.appcontainers.models.DiagnosticsDataApiResponse] - :keyword status: Status of the diagnostics response. - :paramtype status: ~azure.mgmt.appcontainers.models.DiagnosticsStatus - :keyword data_provider_metadata: List of data providers' metadata. - :paramtype data_provider_metadata: - ~azure.mgmt.appcontainers.models.DiagnosticDataProviderMetadata - """ - super().__init__(**kwargs) - self.metadata = metadata - self.dataset = dataset - self.status = status - self.data_provider_metadata = data_provider_metadata - - -class DiagnosticsStatus(_serialization.Model): - """Rendering details of a diagnostics table. - - :ivar message: Diagnostic message. - :vartype message: str - :ivar status_id: Status. - :vartype status_id: int - """ - - _attribute_map = { - "message": {"key": "message", "type": "str"}, - "status_id": {"key": "statusId", "type": "int"}, - } - - def __init__(self, *, message: Optional[str] = None, status_id: Optional[int] = None, **kwargs: Any) -> None: - """ - :keyword message: Diagnostic message. - :paramtype message: str - :keyword status_id: Status. - :paramtype status_id: int - """ - super().__init__(**kwargs) - self.message = message - self.status_id = status_id - - -class DiagnosticSupportTopic(_serialization.Model): - """Support topic information. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Unique topic identifier. - :vartype id: str - :ivar pes_id: PES identifier. - :vartype pes_id: str - """ - - _validation = { - "id": {"readonly": True}, - "pes_id": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "pes_id": {"key": "pesId", "type": "str"}, - } - - def __init__(self, **kwargs: Any) -> None: - """ """ - super().__init__(**kwargs) - self.id = None - self.pes_id = None - - -class EnvironmentAuthToken(TrackedResource): - """Environment Auth Token. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar location: The geo-location where the resource lives. Required. - :vartype location: str - :ivar token: Auth token value. - :vartype token: str - :ivar expires: Token expiration date. - :vartype expires: ~datetime.datetime - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - "location": {"required": True}, - "token": {"readonly": True}, - "expires": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - "tags": {"key": "tags", "type": "{str}"}, - "location": {"key": "location", "type": "str"}, - "token": {"key": "properties.token", "type": "str"}, - "expires": {"key": "properties.expires", "type": "iso-8601"}, - } - - def __init__(self, *, location: str, tags: Optional[Dict[str, str]] = None, **kwargs: Any) -> None: - """ - :keyword tags: Resource tags. - :paramtype tags: dict[str, str] - :keyword location: The geo-location where the resource lives. Required. - :paramtype location: str - """ - super().__init__(tags=tags, location=location, **kwargs) - self.token = None - self.expires = None - - -class EnvironmentVar(_serialization.Model): - """Container App container environment variable. - - :ivar name: Environment variable name. - :vartype name: str - :ivar value: Non-secret environment variable value. - :vartype value: str - :ivar secret_ref: Name of the Container App secret from which to pull the environment variable - value. - :vartype secret_ref: str - """ - - _attribute_map = { - "name": {"key": "name", "type": "str"}, - "value": {"key": "value", "type": "str"}, - "secret_ref": {"key": "secretRef", "type": "str"}, - } - - def __init__( - self, - *, - name: Optional[str] = None, - value: Optional[str] = None, - secret_ref: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword name: Environment variable name. - :paramtype name: str - :keyword value: Non-secret environment variable value. - :paramtype value: str - :keyword secret_ref: Name of the Container App secret from which to pull the environment - variable value. - :paramtype secret_ref: str - """ - super().__init__(**kwargs) - self.name = name - self.value = value - self.secret_ref = secret_ref - - -class ErrorAdditionalInfo(_serialization.Model): - """The resource management error additional info. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar type: The additional info type. - :vartype type: str - :ivar info: The additional info. - :vartype info: JSON - """ - - _validation = { - "type": {"readonly": True}, - "info": {"readonly": True}, - } - - _attribute_map = { - "type": {"key": "type", "type": "str"}, - "info": {"key": "info", "type": "object"}, - } - - def __init__(self, **kwargs: Any) -> None: - """ """ - super().__init__(**kwargs) - self.type = None - self.info = None - - -class ErrorDetail(_serialization.Model): - """The error detail. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar code: The error code. - :vartype code: str - :ivar message: The error message. - :vartype message: str - :ivar target: The error target. - :vartype target: str - :ivar details: The error details. - :vartype details: list[~azure.mgmt.appcontainers.models.ErrorDetail] - :ivar additional_info: The error additional info. - :vartype additional_info: list[~azure.mgmt.appcontainers.models.ErrorAdditionalInfo] - """ - - _validation = { - "code": {"readonly": True}, - "message": {"readonly": True}, - "target": {"readonly": True}, - "details": {"readonly": True}, - "additional_info": {"readonly": True}, - } - - _attribute_map = { - "code": {"key": "code", "type": "str"}, - "message": {"key": "message", "type": "str"}, - "target": {"key": "target", "type": "str"}, - "details": {"key": "details", "type": "[ErrorDetail]"}, - "additional_info": {"key": "additionalInfo", "type": "[ErrorAdditionalInfo]"}, - } - - def __init__(self, **kwargs: Any) -> None: - """ """ - super().__init__(**kwargs) - self.code = None - self.message = None - self.target = None - self.details = None - self.additional_info = None - - -class ErrorResponse(_serialization.Model): - """Common error response for all Azure Resource Manager APIs to return error details for failed - operations. (This also follows the OData error response format.). - - :ivar error: The error object. - :vartype error: ~azure.mgmt.appcontainers.models.ErrorDetail - """ - - _attribute_map = { - "error": {"key": "error", "type": "ErrorDetail"}, - } - - def __init__(self, *, error: Optional["_models.ErrorDetail"] = None, **kwargs: Any) -> None: - """ - :keyword error: The error object. - :paramtype error: ~azure.mgmt.appcontainers.models.ErrorDetail - """ - super().__init__(**kwargs) - self.error = error - - -class ExtendedLocation(_serialization.Model): - """The complex type of the extended location. - - :ivar name: The name of the extended location. - :vartype name: str - :ivar type: The type of the extended location. "CustomLocation" - :vartype type: str or ~azure.mgmt.appcontainers.models.ExtendedLocationTypes - """ - - _attribute_map = { - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - } - - def __init__( - self, - *, - name: Optional[str] = None, - type: Optional[Union[str, "_models.ExtendedLocationTypes"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword name: The name of the extended location. - :paramtype name: str - :keyword type: The type of the extended location. "CustomLocation" - :paramtype type: str or ~azure.mgmt.appcontainers.models.ExtendedLocationTypes - """ - super().__init__(**kwargs) - self.name = name - self.type = type - - -class Facebook(_serialization.Model): - """The configuration settings of the Facebook provider. - - :ivar enabled: :code:`false` if the Facebook provider should not be enabled - despite the set registration; otherwise, :code:`true`. - :vartype enabled: bool - :ivar registration: The configuration settings of the app registration for the Facebook - provider. - :vartype registration: ~azure.mgmt.appcontainers.models.AppRegistration - :ivar graph_api_version: The version of the Facebook api to be used while logging in. - :vartype graph_api_version: str - :ivar login: The configuration settings of the login flow. - :vartype login: ~azure.mgmt.appcontainers.models.LoginScopes - """ - - _attribute_map = { - "enabled": {"key": "enabled", "type": "bool"}, - "registration": {"key": "registration", "type": "AppRegistration"}, - "graph_api_version": {"key": "graphApiVersion", "type": "str"}, - "login": {"key": "login", "type": "LoginScopes"}, - } - - def __init__( - self, - *, - enabled: Optional[bool] = None, - registration: Optional["_models.AppRegistration"] = None, - graph_api_version: Optional[str] = None, - login: Optional["_models.LoginScopes"] = None, - **kwargs: Any - ) -> None: - """ - :keyword enabled: :code:`false` if the Facebook provider should not be enabled - despite the set registration; otherwise, :code:`true`. - :paramtype enabled: bool - :keyword registration: The configuration settings of the app registration for the Facebook - provider. - :paramtype registration: ~azure.mgmt.appcontainers.models.AppRegistration - :keyword graph_api_version: The version of the Facebook api to be used while logging in. - :paramtype graph_api_version: str - :keyword login: The configuration settings of the login flow. - :paramtype login: ~azure.mgmt.appcontainers.models.LoginScopes - """ - super().__init__(**kwargs) - self.enabled = enabled - self.registration = registration - self.graph_api_version = graph_api_version - self.login = login - - -class ForwardProxy(_serialization.Model): - """The configuration settings of a forward proxy used to make the requests. - - :ivar convention: The convention used to determine the url of the request made. Known values - are: "NoProxy", "Standard", and "Custom". - :vartype convention: str or ~azure.mgmt.appcontainers.models.ForwardProxyConvention - :ivar custom_host_header_name: The name of the header containing the host of the request. - :vartype custom_host_header_name: str - :ivar custom_proto_header_name: The name of the header containing the scheme of the request. - :vartype custom_proto_header_name: str - """ - - _attribute_map = { - "convention": {"key": "convention", "type": "str"}, - "custom_host_header_name": {"key": "customHostHeaderName", "type": "str"}, - "custom_proto_header_name": {"key": "customProtoHeaderName", "type": "str"}, - } - - def __init__( - self, - *, - convention: Optional[Union[str, "_models.ForwardProxyConvention"]] = None, - custom_host_header_name: Optional[str] = None, - custom_proto_header_name: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword convention: The convention used to determine the url of the request made. Known values - are: "NoProxy", "Standard", and "Custom". - :paramtype convention: str or ~azure.mgmt.appcontainers.models.ForwardProxyConvention - :keyword custom_host_header_name: The name of the header containing the host of the request. - :paramtype custom_host_header_name: str - :keyword custom_proto_header_name: The name of the header containing the scheme of the request. - :paramtype custom_proto_header_name: str - """ - super().__init__(**kwargs) - self.convention = convention - self.custom_host_header_name = custom_host_header_name - self.custom_proto_header_name = custom_proto_header_name - - -class GitHub(_serialization.Model): - """The configuration settings of the GitHub provider. - - :ivar enabled: :code:`false` if the GitHub provider should not be enabled despite - the set registration; otherwise, :code:`true`. - :vartype enabled: bool - :ivar registration: The configuration settings of the app registration for the GitHub provider. - :vartype registration: ~azure.mgmt.appcontainers.models.ClientRegistration - :ivar login: The configuration settings of the login flow. - :vartype login: ~azure.mgmt.appcontainers.models.LoginScopes - """ - - _attribute_map = { - "enabled": {"key": "enabled", "type": "bool"}, - "registration": {"key": "registration", "type": "ClientRegistration"}, - "login": {"key": "login", "type": "LoginScopes"}, - } - - def __init__( - self, - *, - enabled: Optional[bool] = None, - registration: Optional["_models.ClientRegistration"] = None, - login: Optional["_models.LoginScopes"] = None, - **kwargs: Any - ) -> None: - """ - :keyword enabled: :code:`false` if the GitHub provider should not be enabled - despite the set registration; otherwise, :code:`true`. - :paramtype enabled: bool - :keyword registration: The configuration settings of the app registration for the GitHub - provider. - :paramtype registration: ~azure.mgmt.appcontainers.models.ClientRegistration - :keyword login: The configuration settings of the login flow. - :paramtype login: ~azure.mgmt.appcontainers.models.LoginScopes - """ - super().__init__(**kwargs) - self.enabled = enabled - self.registration = registration - self.login = login - - -class GithubActionConfiguration(_serialization.Model): - """Configuration properties that define the mutable settings of a Container App SourceControl. - - :ivar registry_info: Registry configurations. - :vartype registry_info: ~azure.mgmt.appcontainers.models.RegistryInfo - :ivar azure_credentials: AzureCredentials configurations. - :vartype azure_credentials: ~azure.mgmt.appcontainers.models.AzureCredentials - :ivar context_path: Context path. - :vartype context_path: str - :ivar image: Image name. - :vartype image: str - :ivar publish_type: Code or Image. - :vartype publish_type: str - :ivar os: Operation system. - :vartype os: str - :ivar runtime_stack: Runtime stack. - :vartype runtime_stack: str - :ivar runtime_version: Runtime version. - :vartype runtime_version: str - """ - - _attribute_map = { - "registry_info": {"key": "registryInfo", "type": "RegistryInfo"}, - "azure_credentials": {"key": "azureCredentials", "type": "AzureCredentials"}, - "context_path": {"key": "contextPath", "type": "str"}, - "image": {"key": "image", "type": "str"}, - "publish_type": {"key": "publishType", "type": "str"}, - "os": {"key": "os", "type": "str"}, - "runtime_stack": {"key": "runtimeStack", "type": "str"}, - "runtime_version": {"key": "runtimeVersion", "type": "str"}, - } - - def __init__( - self, - *, - registry_info: Optional["_models.RegistryInfo"] = None, - azure_credentials: Optional["_models.AzureCredentials"] = None, - context_path: Optional[str] = None, - image: Optional[str] = None, - publish_type: Optional[str] = None, - os: Optional[str] = None, - runtime_stack: Optional[str] = None, - runtime_version: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword registry_info: Registry configurations. - :paramtype registry_info: ~azure.mgmt.appcontainers.models.RegistryInfo - :keyword azure_credentials: AzureCredentials configurations. - :paramtype azure_credentials: ~azure.mgmt.appcontainers.models.AzureCredentials - :keyword context_path: Context path. - :paramtype context_path: str - :keyword image: Image name. - :paramtype image: str - :keyword publish_type: Code or Image. - :paramtype publish_type: str - :keyword os: Operation system. - :paramtype os: str - :keyword runtime_stack: Runtime stack. - :paramtype runtime_stack: str - :keyword runtime_version: Runtime version. - :paramtype runtime_version: str - """ - super().__init__(**kwargs) - self.registry_info = registry_info - self.azure_credentials = azure_credentials - self.context_path = context_path - self.image = image - self.publish_type = publish_type - self.os = os - self.runtime_stack = runtime_stack - self.runtime_version = runtime_version - - -class GlobalValidation(_serialization.Model): - """The configuration settings that determines the validation flow of users using ContainerApp - Service Authentication/Authorization. - - :ivar unauthenticated_client_action: The action to take when an unauthenticated client attempts - to access the app. Known values are: "RedirectToLoginPage", "AllowAnonymous", "Return401", and - "Return403". - :vartype unauthenticated_client_action: str or - ~azure.mgmt.appcontainers.models.UnauthenticatedClientActionV2 - :ivar redirect_to_provider: The default authentication provider to use when multiple providers - are configured. - This setting is only needed if multiple providers are configured and the unauthenticated - client - action is set to "RedirectToLoginPage". - :vartype redirect_to_provider: str - :ivar excluded_paths: The paths for which unauthenticated flow would not be redirected to the - login page. - :vartype excluded_paths: list[str] - """ - - _attribute_map = { - "unauthenticated_client_action": {"key": "unauthenticatedClientAction", "type": "str"}, - "redirect_to_provider": {"key": "redirectToProvider", "type": "str"}, - "excluded_paths": {"key": "excludedPaths", "type": "[str]"}, - } - - def __init__( - self, - *, - unauthenticated_client_action: Optional[Union[str, "_models.UnauthenticatedClientActionV2"]] = None, - redirect_to_provider: Optional[str] = None, - excluded_paths: Optional[List[str]] = None, - **kwargs: Any - ) -> None: - """ - :keyword unauthenticated_client_action: The action to take when an unauthenticated client - attempts to access the app. Known values are: "RedirectToLoginPage", "AllowAnonymous", - "Return401", and "Return403". - :paramtype unauthenticated_client_action: str or - ~azure.mgmt.appcontainers.models.UnauthenticatedClientActionV2 - :keyword redirect_to_provider: The default authentication provider to use when multiple - providers are configured. - This setting is only needed if multiple providers are configured and the unauthenticated - client - action is set to "RedirectToLoginPage". - :paramtype redirect_to_provider: str - :keyword excluded_paths: The paths for which unauthenticated flow would not be redirected to - the login page. - :paramtype excluded_paths: list[str] - """ - super().__init__(**kwargs) - self.unauthenticated_client_action = unauthenticated_client_action - self.redirect_to_provider = redirect_to_provider - self.excluded_paths = excluded_paths - - -class Google(_serialization.Model): - """The configuration settings of the Google provider. - - :ivar enabled: :code:`false` if the Google provider should not be enabled despite - the set registration; otherwise, :code:`true`. - :vartype enabled: bool - :ivar registration: The configuration settings of the app registration for the Google provider. - :vartype registration: ~azure.mgmt.appcontainers.models.ClientRegistration - :ivar login: The configuration settings of the login flow. - :vartype login: ~azure.mgmt.appcontainers.models.LoginScopes - :ivar validation: The configuration settings of the Azure Active Directory token validation - flow. - :vartype validation: ~azure.mgmt.appcontainers.models.AllowedAudiencesValidation - """ - - _attribute_map = { - "enabled": {"key": "enabled", "type": "bool"}, - "registration": {"key": "registration", "type": "ClientRegistration"}, - "login": {"key": "login", "type": "LoginScopes"}, - "validation": {"key": "validation", "type": "AllowedAudiencesValidation"}, - } - - def __init__( - self, - *, - enabled: Optional[bool] = None, - registration: Optional["_models.ClientRegistration"] = None, - login: Optional["_models.LoginScopes"] = None, - validation: Optional["_models.AllowedAudiencesValidation"] = None, - **kwargs: Any - ) -> None: - """ - :keyword enabled: :code:`false` if the Google provider should not be enabled - despite the set registration; otherwise, :code:`true`. - :paramtype enabled: bool - :keyword registration: The configuration settings of the app registration for the Google - provider. - :paramtype registration: ~azure.mgmt.appcontainers.models.ClientRegistration - :keyword login: The configuration settings of the login flow. - :paramtype login: ~azure.mgmt.appcontainers.models.LoginScopes - :keyword validation: The configuration settings of the Azure Active Directory token validation - flow. - :paramtype validation: ~azure.mgmt.appcontainers.models.AllowedAudiencesValidation - """ - super().__init__(**kwargs) - self.enabled = enabled - self.registration = registration - self.login = login - self.validation = validation - - -class HttpScaleRule(_serialization.Model): - """Container App container Http scaling rule. - - :ivar metadata: Metadata properties to describe http scale rule. - :vartype metadata: dict[str, str] - :ivar auth: Authentication secrets for the custom scale rule. - :vartype auth: list[~azure.mgmt.appcontainers.models.ScaleRuleAuth] - """ - - _attribute_map = { - "metadata": {"key": "metadata", "type": "{str}"}, - "auth": {"key": "auth", "type": "[ScaleRuleAuth]"}, - } - - def __init__( - self, - *, - metadata: Optional[Dict[str, str]] = None, - auth: Optional[List["_models.ScaleRuleAuth"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword metadata: Metadata properties to describe http scale rule. - :paramtype metadata: dict[str, str] - :keyword auth: Authentication secrets for the custom scale rule. - :paramtype auth: list[~azure.mgmt.appcontainers.models.ScaleRuleAuth] - """ - super().__init__(**kwargs) - self.metadata = metadata - self.auth = auth - - -class HttpSettings(_serialization.Model): - """The configuration settings of the HTTP requests for authentication and authorization requests - made against ContainerApp Service Authentication/Authorization. - - :ivar require_https: :code:`false` if the authentication/authorization responses - not having the HTTPS scheme are permissible; otherwise, :code:`true`. - :vartype require_https: bool - :ivar routes: The configuration settings of the paths HTTP requests. - :vartype routes: ~azure.mgmt.appcontainers.models.HttpSettingsRoutes - :ivar forward_proxy: The configuration settings of a forward proxy used to make the requests. - :vartype forward_proxy: ~azure.mgmt.appcontainers.models.ForwardProxy - """ - - _attribute_map = { - "require_https": {"key": "requireHttps", "type": "bool"}, - "routes": {"key": "routes", "type": "HttpSettingsRoutes"}, - "forward_proxy": {"key": "forwardProxy", "type": "ForwardProxy"}, - } - - def __init__( - self, - *, - require_https: Optional[bool] = None, - routes: Optional["_models.HttpSettingsRoutes"] = None, - forward_proxy: Optional["_models.ForwardProxy"] = None, - **kwargs: Any - ) -> None: - """ - :keyword require_https: :code:`false` if the authentication/authorization - responses not having the HTTPS scheme are permissible; otherwise, :code:`true`. - :paramtype require_https: bool - :keyword routes: The configuration settings of the paths HTTP requests. - :paramtype routes: ~azure.mgmt.appcontainers.models.HttpSettingsRoutes - :keyword forward_proxy: The configuration settings of a forward proxy used to make the - requests. - :paramtype forward_proxy: ~azure.mgmt.appcontainers.models.ForwardProxy - """ - super().__init__(**kwargs) - self.require_https = require_https - self.routes = routes - self.forward_proxy = forward_proxy - - -class HttpSettingsRoutes(_serialization.Model): - """The configuration settings of the paths HTTP requests. - - :ivar api_prefix: The prefix that should precede all the authentication/authorization paths. - :vartype api_prefix: str - """ - - _attribute_map = { - "api_prefix": {"key": "apiPrefix", "type": "str"}, - } - - def __init__(self, *, api_prefix: Optional[str] = None, **kwargs: Any) -> None: - """ - :keyword api_prefix: The prefix that should precede all the authentication/authorization paths. - :paramtype api_prefix: str - """ - super().__init__(**kwargs) - self.api_prefix = api_prefix - - -class IdentityProviders(_serialization.Model): - """The configuration settings of each of the identity providers used to configure ContainerApp - Service Authentication/Authorization. - - :ivar azure_active_directory: The configuration settings of the Azure Active directory - provider. - :vartype azure_active_directory: ~azure.mgmt.appcontainers.models.AzureActiveDirectory - :ivar facebook: The configuration settings of the Facebook provider. - :vartype facebook: ~azure.mgmt.appcontainers.models.Facebook - :ivar git_hub: The configuration settings of the GitHub provider. - :vartype git_hub: ~azure.mgmt.appcontainers.models.GitHub - :ivar google: The configuration settings of the Google provider. - :vartype google: ~azure.mgmt.appcontainers.models.Google - :ivar twitter: The configuration settings of the Twitter provider. - :vartype twitter: ~azure.mgmt.appcontainers.models.Twitter - :ivar apple: The configuration settings of the Apple provider. - :vartype apple: ~azure.mgmt.appcontainers.models.Apple - :ivar azure_static_web_apps: The configuration settings of the Azure Static Web Apps provider. - :vartype azure_static_web_apps: ~azure.mgmt.appcontainers.models.AzureStaticWebApps - :ivar custom_open_id_connect_providers: The map of the name of the alias of each custom Open ID - Connect provider to the - configuration settings of the custom Open ID Connect provider. - :vartype custom_open_id_connect_providers: dict[str, - ~azure.mgmt.appcontainers.models.CustomOpenIdConnectProvider] - """ - - _attribute_map = { - "azure_active_directory": {"key": "azureActiveDirectory", "type": "AzureActiveDirectory"}, - "facebook": {"key": "facebook", "type": "Facebook"}, - "git_hub": {"key": "gitHub", "type": "GitHub"}, - "google": {"key": "google", "type": "Google"}, - "twitter": {"key": "twitter", "type": "Twitter"}, - "apple": {"key": "apple", "type": "Apple"}, - "azure_static_web_apps": {"key": "azureStaticWebApps", "type": "AzureStaticWebApps"}, - "custom_open_id_connect_providers": { - "key": "customOpenIdConnectProviders", - "type": "{CustomOpenIdConnectProvider}", - }, - } - - def __init__( - self, - *, - azure_active_directory: Optional["_models.AzureActiveDirectory"] = None, - facebook: Optional["_models.Facebook"] = None, - git_hub: Optional["_models.GitHub"] = None, - google: Optional["_models.Google"] = None, - twitter: Optional["_models.Twitter"] = None, - apple: Optional["_models.Apple"] = None, - azure_static_web_apps: Optional["_models.AzureStaticWebApps"] = None, - custom_open_id_connect_providers: Optional[Dict[str, "_models.CustomOpenIdConnectProvider"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword azure_active_directory: The configuration settings of the Azure Active directory - provider. - :paramtype azure_active_directory: ~azure.mgmt.appcontainers.models.AzureActiveDirectory - :keyword facebook: The configuration settings of the Facebook provider. - :paramtype facebook: ~azure.mgmt.appcontainers.models.Facebook - :keyword git_hub: The configuration settings of the GitHub provider. - :paramtype git_hub: ~azure.mgmt.appcontainers.models.GitHub - :keyword google: The configuration settings of the Google provider. - :paramtype google: ~azure.mgmt.appcontainers.models.Google - :keyword twitter: The configuration settings of the Twitter provider. - :paramtype twitter: ~azure.mgmt.appcontainers.models.Twitter - :keyword apple: The configuration settings of the Apple provider. - :paramtype apple: ~azure.mgmt.appcontainers.models.Apple - :keyword azure_static_web_apps: The configuration settings of the Azure Static Web Apps - provider. - :paramtype azure_static_web_apps: ~azure.mgmt.appcontainers.models.AzureStaticWebApps - :keyword custom_open_id_connect_providers: The map of the name of the alias of each custom Open - ID Connect provider to the - configuration settings of the custom Open ID Connect provider. - :paramtype custom_open_id_connect_providers: dict[str, - ~azure.mgmt.appcontainers.models.CustomOpenIdConnectProvider] - """ - super().__init__(**kwargs) - self.azure_active_directory = azure_active_directory - self.facebook = facebook - self.git_hub = git_hub - self.google = google - self.twitter = twitter - self.apple = apple - self.azure_static_web_apps = azure_static_web_apps - self.custom_open_id_connect_providers = custom_open_id_connect_providers - - -class Ingress(_serialization.Model): # pylint: disable=too-many-instance-attributes - """Container App Ingress configuration. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar fqdn: Hostname. - :vartype fqdn: str - :ivar external: Bool indicating if app exposes an external http endpoint. - :vartype external: bool - :ivar target_port: Target Port in containers for traffic from ingress. - :vartype target_port: int - :ivar exposed_port: Exposed Port in containers for TCP traffic from ingress. - :vartype exposed_port: int - :ivar transport: Ingress transport protocol. Known values are: "auto", "http", "http2", and - "tcp". - :vartype transport: str or ~azure.mgmt.appcontainers.models.IngressTransportMethod - :ivar traffic: Traffic weights for app's revisions. - :vartype traffic: list[~azure.mgmt.appcontainers.models.TrafficWeight] - :ivar custom_domains: custom domain bindings for Container Apps' hostnames. - :vartype custom_domains: list[~azure.mgmt.appcontainers.models.CustomDomain] - :ivar allow_insecure: Bool indicating if HTTP connections to is allowed. If set to false HTTP - connections are automatically redirected to HTTPS connections. - :vartype allow_insecure: bool - :ivar ip_security_restrictions: Rules to restrict incoming IP address. - :vartype ip_security_restrictions: - list[~azure.mgmt.appcontainers.models.IpSecurityRestrictionRule] - :ivar sticky_sessions: Sticky Sessions for Single Revision Mode. - :vartype sticky_sessions: ~azure.mgmt.appcontainers.models.IngressStickySessions - :ivar client_certificate_mode: Client certificate mode for mTLS authentication. Ignore - indicates server drops client certificate on forwarding. Accept indicates server forwards - client certificate but does not require a client certificate. Require indicates server requires - a client certificate. Known values are: "ignore", "accept", and "require". - :vartype client_certificate_mode: str or - ~azure.mgmt.appcontainers.models.IngressClientCertificateMode - :ivar cors_policy: CORS policy for container app. - :vartype cors_policy: ~azure.mgmt.appcontainers.models.CorsPolicy - """ - - _validation = { - "fqdn": {"readonly": True}, - } - - _attribute_map = { - "fqdn": {"key": "fqdn", "type": "str"}, - "external": {"key": "external", "type": "bool"}, - "target_port": {"key": "targetPort", "type": "int"}, - "exposed_port": {"key": "exposedPort", "type": "int"}, - "transport": {"key": "transport", "type": "str"}, - "traffic": {"key": "traffic", "type": "[TrafficWeight]"}, - "custom_domains": {"key": "customDomains", "type": "[CustomDomain]"}, - "allow_insecure": {"key": "allowInsecure", "type": "bool"}, - "ip_security_restrictions": {"key": "ipSecurityRestrictions", "type": "[IpSecurityRestrictionRule]"}, - "sticky_sessions": {"key": "stickySessions", "type": "IngressStickySessions"}, - "client_certificate_mode": {"key": "clientCertificateMode", "type": "str"}, - "cors_policy": {"key": "corsPolicy", "type": "CorsPolicy"}, - } - - def __init__( - self, - *, - external: bool = False, - target_port: Optional[int] = None, - exposed_port: Optional[int] = None, - transport: Union[str, "_models.IngressTransportMethod"] = "auto", - traffic: Optional[List["_models.TrafficWeight"]] = None, - custom_domains: Optional[List["_models.CustomDomain"]] = None, - allow_insecure: bool = False, - ip_security_restrictions: Optional[List["_models.IpSecurityRestrictionRule"]] = None, - sticky_sessions: Optional["_models.IngressStickySessions"] = None, - client_certificate_mode: Optional[Union[str, "_models.IngressClientCertificateMode"]] = None, - cors_policy: Optional["_models.CorsPolicy"] = None, - **kwargs: Any - ) -> None: - """ - :keyword external: Bool indicating if app exposes an external http endpoint. - :paramtype external: bool - :keyword target_port: Target Port in containers for traffic from ingress. - :paramtype target_port: int - :keyword exposed_port: Exposed Port in containers for TCP traffic from ingress. - :paramtype exposed_port: int - :keyword transport: Ingress transport protocol. Known values are: "auto", "http", "http2", and - "tcp". - :paramtype transport: str or ~azure.mgmt.appcontainers.models.IngressTransportMethod - :keyword traffic: Traffic weights for app's revisions. - :paramtype traffic: list[~azure.mgmt.appcontainers.models.TrafficWeight] - :keyword custom_domains: custom domain bindings for Container Apps' hostnames. - :paramtype custom_domains: list[~azure.mgmt.appcontainers.models.CustomDomain] - :keyword allow_insecure: Bool indicating if HTTP connections to is allowed. If set to false - HTTP connections are automatically redirected to HTTPS connections. - :paramtype allow_insecure: bool - :keyword ip_security_restrictions: Rules to restrict incoming IP address. - :paramtype ip_security_restrictions: - list[~azure.mgmt.appcontainers.models.IpSecurityRestrictionRule] - :keyword sticky_sessions: Sticky Sessions for Single Revision Mode. - :paramtype sticky_sessions: ~azure.mgmt.appcontainers.models.IngressStickySessions - :keyword client_certificate_mode: Client certificate mode for mTLS authentication. Ignore - indicates server drops client certificate on forwarding. Accept indicates server forwards - client certificate but does not require a client certificate. Require indicates server requires - a client certificate. Known values are: "ignore", "accept", and "require". - :paramtype client_certificate_mode: str or - ~azure.mgmt.appcontainers.models.IngressClientCertificateMode - :keyword cors_policy: CORS policy for container app. - :paramtype cors_policy: ~azure.mgmt.appcontainers.models.CorsPolicy - """ - super().__init__(**kwargs) - self.fqdn = None - self.external = external - self.target_port = target_port - self.exposed_port = exposed_port - self.transport = transport - self.traffic = traffic - self.custom_domains = custom_domains - self.allow_insecure = allow_insecure - self.ip_security_restrictions = ip_security_restrictions - self.sticky_sessions = sticky_sessions - self.client_certificate_mode = client_certificate_mode - self.cors_policy = cors_policy - - -class IngressStickySessions(_serialization.Model): - """Sticky Sessions for Single Revision Mode. - - :ivar affinity: Sticky Session Affinity. Known values are: "sticky" and "none". - :vartype affinity: str or ~azure.mgmt.appcontainers.models.Affinity - """ - - _attribute_map = { - "affinity": {"key": "affinity", "type": "str"}, - } - - def __init__(self, *, affinity: Optional[Union[str, "_models.Affinity"]] = None, **kwargs: Any) -> None: - """ - :keyword affinity: Sticky Session Affinity. Known values are: "sticky" and "none". - :paramtype affinity: str or ~azure.mgmt.appcontainers.models.Affinity - """ - super().__init__(**kwargs) - self.affinity = affinity - - -class InitContainer(BaseContainer): - """Container App init container definition. - - :ivar image: Container image tag. - :vartype image: str - :ivar name: Custom container name. - :vartype name: str - :ivar command: Container start command. - :vartype command: list[str] - :ivar args: Container start command arguments. - :vartype args: list[str] - :ivar env: Container environment variables. - :vartype env: list[~azure.mgmt.appcontainers.models.EnvironmentVar] - :ivar resources: Container resource requirements. - :vartype resources: ~azure.mgmt.appcontainers.models.ContainerResources - :ivar volume_mounts: Container volume mounts. - :vartype volume_mounts: list[~azure.mgmt.appcontainers.models.VolumeMount] - """ - - _attribute_map = { - "image": {"key": "image", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "command": {"key": "command", "type": "[str]"}, - "args": {"key": "args", "type": "[str]"}, - "env": {"key": "env", "type": "[EnvironmentVar]"}, - "resources": {"key": "resources", "type": "ContainerResources"}, - "volume_mounts": {"key": "volumeMounts", "type": "[VolumeMount]"}, - } - - def __init__( - self, - *, - image: Optional[str] = None, - name: Optional[str] = None, - command: Optional[List[str]] = None, - args: Optional[List[str]] = None, - env: Optional[List["_models.EnvironmentVar"]] = None, - resources: Optional["_models.ContainerResources"] = None, - volume_mounts: Optional[List["_models.VolumeMount"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword image: Container image tag. - :paramtype image: str - :keyword name: Custom container name. - :paramtype name: str - :keyword command: Container start command. - :paramtype command: list[str] - :keyword args: Container start command arguments. - :paramtype args: list[str] - :keyword env: Container environment variables. - :paramtype env: list[~azure.mgmt.appcontainers.models.EnvironmentVar] - :keyword resources: Container resource requirements. - :paramtype resources: ~azure.mgmt.appcontainers.models.ContainerResources - :keyword volume_mounts: Container volume mounts. - :paramtype volume_mounts: list[~azure.mgmt.appcontainers.models.VolumeMount] - """ - super().__init__( - image=image, - name=name, - command=command, - args=args, - env=env, - resources=resources, - volume_mounts=volume_mounts, - **kwargs - ) - - -class IpSecurityRestrictionRule(_serialization.Model): - """Rule to restrict incoming IP address. - - All required parameters must be populated in order to send to Azure. - - :ivar name: Name for the IP restriction rule. Required. - :vartype name: str - :ivar description: Describe the IP restriction rule that is being sent to the container-app. - This is an optional field. - :vartype description: str - :ivar ip_address_range: CIDR notation to match incoming IP address. Required. - :vartype ip_address_range: str - :ivar action: Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of - ALL Allow or ALL Deny. Required. Known values are: "Allow" and "Deny". - :vartype action: str or ~azure.mgmt.appcontainers.models.Action - """ - - _validation = { - "name": {"required": True}, - "ip_address_range": {"required": True}, - "action": {"required": True}, - } - - _attribute_map = { - "name": {"key": "name", "type": "str"}, - "description": {"key": "description", "type": "str"}, - "ip_address_range": {"key": "ipAddressRange", "type": "str"}, - "action": {"key": "action", "type": "str"}, - } - - def __init__( - self, - *, - name: str, - ip_address_range: str, - action: Union[str, "_models.Action"], - description: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword name: Name for the IP restriction rule. Required. - :paramtype name: str - :keyword description: Describe the IP restriction rule that is being sent to the container-app. - This is an optional field. - :paramtype description: str - :keyword ip_address_range: CIDR notation to match incoming IP address. Required. - :paramtype ip_address_range: str - :keyword action: Allow or Deny rules to determine for incoming IP. Note: Rules can only consist - of ALL Allow or ALL Deny. Required. Known values are: "Allow" and "Deny". - :paramtype action: str or ~azure.mgmt.appcontainers.models.Action - """ - super().__init__(**kwargs) - self.name = name - self.description = description - self.ip_address_range = ip_address_range - self.action = action - - -class ContainerAppsJob(TrackedResource): - """Container Apps Job. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. E.g. - "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy - and modifiedBy information. - :vartype system_data: ~commondefinitions.models.SystemData - :param tags: Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives - :type location: str - :param identity: managed identities for the Container App to interact with - other Azure services without maintaining any secrets or credentials in - code. - :type identity: ~commondefinitions.models.ManagedServiceIdentity - :ivar provisioning_state: Provisioning state of the Container App. - Possible values include: 'InProgress', 'Succeeded', 'Failed', 'Canceled' - :vartype provisioning_state: str or - ~commondefinitions.models.ContainerAppProvisioningState - :param managed_environment_id: Resource ID of the Container App's - environment. - :type managed_environment_id: str - :param jobConfiguration: Non versioned Container Apps job configuration - properties. - :type jobConfiguration: ~commondefinitions.models.JobConfiguration - :param jobTemplate: Container App versioned application definition. - :type template: ~commondefinitions.models.JobTemplate - :ivar outbound_ip_addresses: Outbound IP Addresses for container app. - :vartype outbound_ip_addresses: list[str] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - 'location': {'required': True}, - 'provisioning_state': {'readonly': True}, - "outbound_ip_addresses": {"readonly": True}, - "event_stream_endpoint": {"readonly": True} - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - "outbound_ip_addresses": {"key": "properties.outboundIpAddresses", "type": "[str]"}, - 'managed_environment_id': {'key': 'properties.managedEnvironmentId', 'type': 'str'}, - "environment_id": {"key": "properties.environmentId", "type": "str"}, - "workload_profile_name": {"key": "properties.workloadProfileName", "type": "str"}, - 'configuration': {'key': 'properties.configuration', 'type': 'JobConfiguration'}, - 'template': {'key': 'properties.template', 'type': 'JobTemplate'}, - "event_stream_endpoint": {"key": "properties.eventStreamEndpoint", "type": "str"}, - } - - def __init__( - self, - *, - location: str, - tags: Optional[Dict[str, str]] = None, - identity: Optional["_models.ManagedServiceIdentity"] = None, - managed_by: Optional[str] = None, - managed_environment_id: Optional[str] = None, - environment_id: Optional[str] = None, - workload_profile_name: Optional[str] = None, - configuration: Optional["_models.JobConfiguration"] = None, - template: Optional["_models.JobTemplate"] = None, - **kwargs: Any - ) -> None: - """ - :keyword tags: Resource tags. - :paramtype tags: dict[str, str] - :keyword location: The geo-location where the resource lives. Required. - :paramtype location: str - :keyword identity: managed identities for the Container Apps Job to interact with other Azure - services without maintaining any secrets or credentials in code. - :paramtype identity: ~commondefinitions.models.ManagedServiceIdentity - :keyword managed_environment_id: Deprecated. Resource ID of the Container Apps Job's environment. - :paramtype managed_environment_id: str - :keyword environment_id: Resource ID of environment. - :paramtype environment_id: str - :keyword workload_profile_name: Workload profile name to pin for container app execution. - :paramtype workload_profile_name: str - :param jobConfiguration: Non versioned Container Apps job configuration - properties. - :type jobConfiguration: ~commondefinitions.models.JobConfiguration - :param jobTemplate: Container App versioned application definition. - :type template: ~commondefinitions.models.JobTemplate - """ - super().__init__(tags=tags, location=location, **kwargs) - self.identity = identity - self.managed_by = managed_by - self.provisioning_state = None - self.outbound_ip_addresses = None - self.managed_environment_id = managed_environment_id - self.environment_id = environment_id - self.workload_profile_name = workload_profile_name - self.configuration = configuration - self.template = template - self.event_stream_endpoint = None - - -class Job(TrackedResource): # pylint: disable=too-many-instance-attributes - """Container App Job. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar location: The geo-location where the resource lives. Required. - :vartype location: str - :ivar identity: Managed identities needed by a container app job to interact with other Azure - services to not maintain any secrets or credentials in code. - :vartype identity: ~azure.mgmt.appcontainers.models.ManagedServiceIdentity - :ivar provisioning_state: Provisioning state of the Container Apps Job. Known values are: - "InProgress", "Succeeded", "Failed", "Canceled", and "Deleting". - :vartype provisioning_state: str or ~azure.mgmt.appcontainers.models.JobProvisioningState - :ivar environment_id: Resource ID of environment. - :vartype environment_id: str - :ivar workload_profile_name: Workload profile name to pin for container apps job execution. - :vartype workload_profile_name: str - :ivar configuration: Container Apps Job configuration properties. - :vartype configuration: ~azure.mgmt.appcontainers.models.JobConfiguration - :ivar template: Container Apps job definition. - :vartype template: ~azure.mgmt.appcontainers.models.JobTemplate - :ivar outbound_ip_addresses: Outbound IP Addresses of a container apps job. - :vartype outbound_ip_addresses: list[str] - :ivar event_stream_endpoint: The endpoint of the eventstream of the container apps job. - :vartype event_stream_endpoint: str - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - "location": {"required": True}, - "provisioning_state": {"readonly": True}, - "outbound_ip_addresses": {"readonly": True}, - "event_stream_endpoint": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - "tags": {"key": "tags", "type": "{str}"}, - "location": {"key": "location", "type": "str"}, - "identity": {"key": "identity", "type": "ManagedServiceIdentity"}, - "provisioning_state": {"key": "properties.provisioningState", "type": "str"}, - "environment_id": {"key": "properties.environmentId", "type": "str"}, - "workload_profile_name": {"key": "properties.workloadProfileName", "type": "str"}, - "configuration": {"key": "properties.configuration", "type": "JobConfiguration"}, - "template": {"key": "properties.template", "type": "JobTemplate"}, - "outbound_ip_addresses": {"key": "properties.outboundIpAddresses", "type": "[str]"}, - "event_stream_endpoint": {"key": "properties.eventStreamEndpoint", "type": "str"}, - } - - def __init__( - self, - *, - location: str, - tags: Optional[Dict[str, str]] = None, - identity: Optional["_models.ManagedServiceIdentity"] = None, - environment_id: Optional[str] = None, - workload_profile_name: Optional[str] = None, - configuration: Optional["_models.JobConfiguration"] = None, - template: Optional["_models.JobTemplate"] = None, - **kwargs: Any - ) -> None: - """ - :keyword tags: Resource tags. - :paramtype tags: dict[str, str] - :keyword location: The geo-location where the resource lives. Required. - :paramtype location: str - :keyword identity: Managed identities needed by a container app job to interact with other - Azure services to not maintain any secrets or credentials in code. - :paramtype identity: ~azure.mgmt.appcontainers.models.ManagedServiceIdentity - :keyword environment_id: Resource ID of environment. - :paramtype environment_id: str - :keyword workload_profile_name: Workload profile name to pin for container apps job execution. - :paramtype workload_profile_name: str - :keyword configuration: Container Apps Job configuration properties. - :paramtype configuration: ~azure.mgmt.appcontainers.models.JobConfiguration - :keyword template: Container Apps job definition. - :paramtype template: ~azure.mgmt.appcontainers.models.JobTemplate - """ - super().__init__(tags=tags, location=location, **kwargs) - self.identity = identity - self.provisioning_state = None - self.environment_id = environment_id - self.workload_profile_name = workload_profile_name - self.configuration = configuration - self.template = template - self.outbound_ip_addresses = None - self.event_stream_endpoint = None - - -class JobConfiguration(_serialization.Model): - """Non versioned Container Apps Job configuration properties. - - All required parameters must be populated in order to send to Azure. - - :ivar secrets: Collection of secrets used by a Container Apps Job. - :vartype secrets: list[~azure.mgmt.appcontainers.models.Secret] - :ivar trigger_type: Trigger type of the job. Known values are: "Scheduled", "Event", and - "Manual". - :vartype trigger_type: str or ~azure.mgmt.appcontainers.models.TriggerType - :ivar replica_timeout: Maximum number of seconds a replica is allowed to run. Required. - :vartype replica_timeout: int - :ivar replica_retry_limit: Maximum number of retries before failing the job. - :vartype replica_retry_limit: int - :ivar manual_trigger_config: Manual trigger configuration for a single execution job. - Properties replicaCompletionCount and parallelism would be set to 1 by default. - :vartype manual_trigger_config: - ~azure.mgmt.appcontainers.models.JobConfigurationManualTriggerConfig - :ivar schedule_trigger_config: Cron formatted repeating trigger schedule ("\\* * * * *") for - cronjobs. Properties completions and parallelism would be set to 1 by default. - :vartype schedule_trigger_config: - ~azure.mgmt.appcontainers.models.JobConfigurationScheduleTriggerConfig - :ivar event_trigger_config: Event trigger configuration for a single execution job with scale rules. - Properties replicaCompletionCount and parallelism would be set to 1 by default. - :vartype event_trigger_config: - ~azure.mgmt.appcontainers.models.JobConfigurationEventTriggerConfig - :ivar registries: Collection of private container registry credentials used by a Container apps - job. - :vartype registries: list[~azure.mgmt.appcontainers.models.RegistryCredentials] - """ - - _validation = { - "trigger_type": {"required": True}, - "replica_timeout": {"required": True}, - } - - _attribute_map = { - "secrets": {"key": "secrets", "type": "[Secret]"}, - "trigger_type": {"key": "triggerType", "type": "str"}, - "replica_timeout": {"key": "replicaTimeout", "type": "int"}, - "replica_retry_limit": {"key": "replicaRetryLimit", "type": "int"}, - "manual_trigger_config": {"key": "manualTriggerConfig", "type": "JobConfigurationManualTriggerConfig"}, - "schedule_trigger_config": {"key": "scheduleTriggerConfig", "type": "JobConfigurationScheduleTriggerConfig"}, - "event_trigger_config": {"key": "eventTriggerConfig", "type": "JobConfigurationEventTriggerConfig"}, - "registries": {"key": "registries", "type": "[RegistryCredentials]"}, - } - - def __init__( - self, - *, - trigger_type: Union[str, "_models.TriggerType"] = "Manual", - replica_timeout: int, - secrets: Optional[List["_models.Secret"]] = None, - replica_retry_limit: Optional[int] = None, - manual_trigger_config: Optional["_models.JobConfigurationManualTriggerConfig"] = None, - schedule_trigger_config: Optional["_models.JobConfigurationScheduleTriggerConfig"] = None, - event_trigger_config: Optional["_models.JobConfigurationEventTriggerConfig"] = None, - registries: Optional[List["_models.RegistryCredentials"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword secrets: Collection of secrets used by a Container Apps Job. - :paramtype secrets: list[~azure.mgmt.appcontainers.models.Secret] - :keyword trigger_type: Trigger type of the job. Known values are: "Scheduled", "Event", and - "Manual". - :paramtype trigger_type: str or ~azure.mgmt.appcontainers.models.TriggerType - :keyword replica_timeout: Maximum number of seconds a replica is allowed to run. Required. - :paramtype replica_timeout: int - :keyword replica_retry_limit: Maximum number of retries before failing the job. - :paramtype replica_retry_limit: int - :keyword manual_trigger_config: Manual trigger configuration for a single execution job. - Properties replicaCompletionCount and parallelism would be set to 1 by default. - :paramtype manual_trigger_config: - ~azure.mgmt.appcontainers.models.JobConfigurationManualTriggerConfig - :keyword schedule_trigger_config: Cron formatted repeating trigger schedule ("\\ * * * * *") for - cronjobs. Properties completions and parallelism would be set to 1 by default. - :paramtype schedule_trigger_config: - ~azure.mgmt.appcontainers.models.JobConfigurationScheduleTriggerConfig - :ivar event_trigger_config: Event trigger configuration for a single execution job with scale rules. - Properties replicaCompletionCount and parallelism would be set to 1 by default. - :vartype event_trigger_config: - ~azure.mgmt.appcontainers.models.JobConfigurationEventTriggerConfig - :keyword registries: Collection of private container registry credentials used by a Container - apps job. - :paramtype registries: list[~azure.mgmt.appcontainers.models.RegistryCredentials] - """ - super().__init__(**kwargs) - self.secrets = secrets - self.trigger_type = trigger_type - self.replica_timeout = replica_timeout - self.replica_retry_limit = replica_retry_limit - self.manual_trigger_config = manual_trigger_config - self.schedule_trigger_config = schedule_trigger_config - self.event_trigger_config = event_trigger_config - self.registries = registries - - -class JobConfigurationManualTriggerConfig(_serialization.Model): - """Manual trigger configuration for a single execution job. Properties replicaCompletionCount and - parallelism would be set to 1 by default. - - :ivar replica_completion_count: Minimum number of successful replica completions before overall - job completion. - :vartype replica_completion_count: int - :ivar parallelism: Number of parallel replicas of a job that can run at a given time. - :vartype parallelism: int - """ - - _attribute_map = { - "replica_completion_count": {"key": "replicaCompletionCount", "type": "int"}, - "parallelism": {"key": "parallelism", "type": "int"}, - } - - def __init__( - self, *, replica_completion_count: Optional[int] = None, parallelism: Optional[int] = None, **kwargs: Any - ) -> None: - """ - :keyword replica_completion_count: Minimum number of successful replica completions before - overall job completion. - :paramtype replica_completion_count: int - :keyword parallelism: Number of parallel replicas of a job that can run at a given time. - :paramtype parallelism: int - """ - super().__init__(**kwargs) - self.replica_completion_count = replica_completion_count - self.parallelism = parallelism - - -class JobConfigurationScheduleTriggerConfig(_serialization.Model): - """Cron formatted repeating trigger schedule ("\\ * * * * *") for cronjobs. Properties completions - and parallelism would be set to 1 by default. - - All required parameters must be populated in order to send to Azure. - - :ivar replica_completion_count: Minimum number of successful replica completions before overall - job completion. - :vartype replica_completion_count: int - :ivar cron_expression: Cron formatted repeating schedule ("\\ * * * * *") of a Cron Job. - Required. - :vartype cron_expression: str - :ivar parallelism: Number of parallel replicas of a job that can run at a given time. - :vartype parallelism: int - """ - - _validation = { - "cron_expression": {"required": True}, - } - - _attribute_map = { - "replica_completion_count": {"key": "replicaCompletionCount", "type": "int"}, - "cron_expression": {"key": "cronExpression", "type": "str"}, - "parallelism": {"key": "parallelism", "type": "int"}, - } - - def __init__( - self, - *, - cron_expression: str, - replica_completion_count: Optional[int] = None, - parallelism: Optional[int] = None, - **kwargs: Any - ) -> None: - """ - :keyword replica_completion_count: Minimum number of successful replica completions before - overall job completion. - :paramtype replica_completion_count: int - :keyword cron_expression: Cron formatted repeating schedule ("\\ * * * * *") of a Cron Job. - Required. - :paramtype cron_expression: str - :keyword parallelism: Number of parallel replicas of a job that can run at a given time. - :paramtype parallelism: int - """ - super().__init__(**kwargs) - self.replica_completion_count = replica_completion_count - self.cron_expression = cron_expression - self.parallelism = parallelism - - -class JobConfigurationEventTriggerConfig(_serialization.Model): - """Event trigger configuration for a single execution job with scale rules. Properties - replicaCompletionCount and parallelism would be set to 1 by default. - - All required parameters must be populated in order to send to Azure. - - :ivar replica_completion_count: Minimum number of successful replica completions before overall - job completion. - :vartype replica_completion_count: int - :ivar parallelism: Number of parallel replicas of a job that can run at a given time. - :vartype parallelism: int - :ivar scale: Scale defination of an event triggered job. - Required. - :vartype scale: JobScale - """ - - _validation = { - "scale": {"required": True}, - } - - _attribute_map = { - "replica_completion_count": {"key": "replicaCompletionCount", "type": "int"}, - "parallelism": {"key": "parallelism", "type": "int"}, - "scale": {"key": "scale", "type": "JobScale"}, - } - - def __init__( - self, - *, - scale: Optional["_models.JobScale"] = None, - replica_completion_count: Optional[int] = None, - parallelism: Optional[int] = None, - **kwargs: Any - ) -> None: - """ - :keyword replica_completion_count: Minimum number of successful replica completions before - overall job completion. - :paramtype replica_completion_count: int - :keyword cron_expression: Cron formatted repeating schedule ("\\ * * * * *") of a Cron Job. - Required. - :paramtype cron_expression: str - :keyword parallelism: Number of parallel replicas of a job that can run at a given time. - :paramtype parallelism: int - """ - super().__init__(**kwargs) - self.replica_completion_count = replica_completion_count - self.scale = scale - self.parallelism = parallelism - - -class JobExecution(_serialization.Model): - """Container Apps Jobs execution. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar name: Job execution Name. - :vartype name: str - :ivar id: Job execution Id. - :vartype id: str - :ivar type: Job Type. - :vartype type: str - :ivar status: Current running State of the job. Known values are: "Running", "Processing", - "Stopped", "Degraded", "Failed", "Unknown", and "Succeeded". - :vartype status: str or ~azure.mgmt.appcontainers.models.JobExecutionRunningState - :ivar start_time: Job execution start time. - :vartype start_time: ~datetime.datetime - :ivar end_time: Job execution start time. - :vartype end_time: ~datetime.datetime - :ivar template: Job's execution container. - :vartype template: ~azure.mgmt.appcontainers.models.JobExecutionTemplate - """ - - _validation = { - "status": {"readonly": True}, - } - - _attribute_map = { - "name": {"key": "name", "type": "str"}, - "id": {"key": "id", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "status": {"key": "status", "type": "str"}, - "start_time": {"key": "startTime", "type": "iso-8601"}, - "end_time": {"key": "endTime", "type": "iso-8601"}, - "template": {"key": "template", "type": "JobExecutionTemplate"}, - } - - def __init__( - self, - *, - name: Optional[str] = None, - id: Optional[str] = None, # pylint: disable=redefined-builtin - type: Optional[str] = None, - start_time: Optional[datetime.datetime] = None, - end_time: Optional[datetime.datetime] = None, - template: Optional["_models.JobExecutionTemplate"] = None, - **kwargs: Any - ) -> None: - """ - :keyword name: Job execution Name. - :paramtype name: str - :keyword id: Job execution Id. - :paramtype id: str - :keyword type: Job Type. - :paramtype type: str - :keyword start_time: Job execution start time. - :paramtype start_time: ~datetime.datetime - :keyword end_time: Job execution start time. - :paramtype end_time: ~datetime.datetime - :keyword template: Job's execution container. - :paramtype template: ~azure.mgmt.appcontainers.models.JobExecutionTemplate - """ - super().__init__(**kwargs) - self.name = name - self.id = id - self.type = type - self.status = None - self.start_time = start_time - self.end_time = end_time - self.template = template - - -class JobExecutionBase(_serialization.Model): - """Container App's Job execution name. - - :ivar name: Job execution name. - :vartype name: str - :ivar id: Job execution Id. - :vartype id: str - """ - - _attribute_map = { - "name": {"key": "name", "type": "str"}, - "id": {"key": "id", "type": "str"}, - } - - def __init__( - self, - *, - name: Optional[str] = None, - id: Optional[str] = None, # pylint: disable=redefined-builtin - **kwargs: Any - ) -> None: - """ - :keyword name: Job execution name. - :paramtype name: str - :keyword id: Job execution Id. - :paramtype id: str - """ - super().__init__(**kwargs) - self.name = name - self.id = id - - -class JobExecutionContainer(_serialization.Model): - """Container Apps Jobs execution container definition. - - :ivar image: Container image tag. - :vartype image: str - :ivar name: Custom container name. - :vartype name: str - :ivar command: Container start command. - :vartype command: list[str] - :ivar args: Container start command arguments. - :vartype args: list[str] - :ivar env: Container environment variables. - :vartype env: list[~azure.mgmt.appcontainers.models.EnvironmentVar] - :ivar resources: Container resource requirements. - :vartype resources: ~azure.mgmt.appcontainers.models.ContainerResources - """ - - _attribute_map = { - "image": {"key": "image", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "command": {"key": "command", "type": "[str]"}, - "args": {"key": "args", "type": "[str]"}, - "env": {"key": "env", "type": "[EnvironmentVar]"}, - "resources": {"key": "resources", "type": "ContainerResources"}, - } - - def __init__( - self, - *, - image: Optional[str] = None, - name: Optional[str] = None, - command: Optional[List[str]] = None, - args: Optional[List[str]] = None, - env: Optional[List["_models.EnvironmentVar"]] = None, - resources: Optional["_models.ContainerResources"] = None, - **kwargs: Any - ) -> None: - """ - :keyword image: Container image tag. - :paramtype image: str - :keyword name: Custom container name. - :paramtype name: str - :keyword command: Container start command. - :paramtype command: list[str] - :keyword args: Container start command arguments. - :paramtype args: list[str] - :keyword env: Container environment variables. - :paramtype env: list[~azure.mgmt.appcontainers.models.EnvironmentVar] - :keyword resources: Container resource requirements. - :paramtype resources: ~azure.mgmt.appcontainers.models.ContainerResources - """ - super().__init__(**kwargs) - self.image = image - self.name = name - self.command = command - self.args = args - self.env = env - self.resources = resources - - -class JobExecutionNamesCollection(_serialization.Model): - """Container App executions names list. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of resources. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.JobExecutionBase] - """ - - _validation = { - "value": {"required": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[JobExecutionBase]"}, - } - - def __init__(self, *, value: List["_models.JobExecutionBase"], **kwargs: Any) -> None: - """ - :keyword value: Collection of resources. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.JobExecutionBase] - """ - super().__init__(**kwargs) - self.value = value - - -class JobExecutionTemplate(_serialization.Model): - """Job's execution template, containing container configuration for a job's execution. - - :ivar containers: List of container definitions for the Container Apps Job. - :vartype containers: list[~azure.mgmt.appcontainers.models.JobExecutionContainer] - :ivar init_containers: List of specialized containers that run before job containers. - :vartype init_containers: list[~azure.mgmt.appcontainers.models.JobExecutionContainer] - """ - - _attribute_map = { - "containers": {"key": "containers", "type": "[JobExecutionContainer]"}, - "init_containers": {"key": "initContainers", "type": "[JobExecutionContainer]"}, - } - - def __init__( - self, - *, - containers: Optional[List["_models.JobExecutionContainer"]] = None, - init_containers: Optional[List["_models.JobExecutionContainer"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword containers: List of container definitions for the Container Apps Job. - :paramtype containers: list[~azure.mgmt.appcontainers.models.JobExecutionContainer] - :keyword init_containers: List of specialized containers that run before job containers. - :paramtype init_containers: list[~azure.mgmt.appcontainers.models.JobExecutionContainer] - """ - super().__init__(**kwargs) - self.containers = containers - self.init_containers = init_containers - - -class JobPatchProperties(_serialization.Model): - """Container Apps Job resource specific properties. - - :ivar identity: Managed identities needed by a container app job to interact with other Azure - services to not maintain any secrets or credentials in code. - :vartype identity: ~azure.mgmt.appcontainers.models.ManagedServiceIdentity - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar properties: - :vartype properties: ~azure.mgmt.appcontainers.models.JobPatchPropertiesProperties - """ - - _attribute_map = { - "identity": {"key": "identity", "type": "ManagedServiceIdentity"}, - "tags": {"key": "tags", "type": "{str}"}, - "properties": {"key": "properties", "type": "JobPatchPropertiesProperties"}, - } - - def __init__( - self, - *, - identity: Optional["_models.ManagedServiceIdentity"] = None, - tags: Optional[Dict[str, str]] = None, - properties: Optional["_models.JobPatchPropertiesProperties"] = None, - **kwargs: Any - ) -> None: - """ - :keyword identity: Managed identities needed by a container app job to interact with other - Azure services to not maintain any secrets or credentials in code. - :paramtype identity: ~azure.mgmt.appcontainers.models.ManagedServiceIdentity - :keyword tags: Resource tags. - :paramtype tags: dict[str, str] - :keyword properties: - :paramtype properties: ~azure.mgmt.appcontainers.models.JobPatchPropertiesProperties - """ - super().__init__(**kwargs) - self.identity = identity - self.tags = tags - self.properties = properties - - -class JobPatchPropertiesProperties(_serialization.Model): - """JobPatchPropertiesProperties. - - :ivar environment_id: Resource ID of environment. - :vartype environment_id: str - :ivar configuration: Container Apps Job configuration properties. - :vartype configuration: ~azure.mgmt.appcontainers.models.JobConfiguration - :ivar template: Container Apps job definition. - :vartype template: ~azure.mgmt.appcontainers.models.JobTemplate - :ivar outbound_ip_addresses: Outbound IP Addresses of a container apps job. - :vartype outbound_ip_addresses: list[str] - :ivar event_stream_endpoint: The endpoint of the eventstream of the container apps job. - :vartype event_stream_endpoint: str - """ - - _attribute_map = { - "environment_id": {"key": "environmentId", "type": "str"}, - "configuration": {"key": "configuration", "type": "JobConfiguration"}, - "template": {"key": "template", "type": "JobTemplate"}, - "outbound_ip_addresses": {"key": "outboundIpAddresses", "type": "[str]"}, - "event_stream_endpoint": {"key": "eventStreamEndpoint", "type": "str"}, - } - - def __init__( - self, - *, - environment_id: Optional[str] = None, - configuration: Optional["_models.JobConfiguration"] = None, - template: Optional["_models.JobTemplate"] = None, - outbound_ip_addresses: Optional[List[str]] = None, - event_stream_endpoint: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword environment_id: Resource ID of environment. - :paramtype environment_id: str - :keyword configuration: Container Apps Job configuration properties. - :paramtype configuration: ~azure.mgmt.appcontainers.models.JobConfiguration - :keyword template: Container Apps job definition. - :paramtype template: ~azure.mgmt.appcontainers.models.JobTemplate - :keyword outbound_ip_addresses: Outbound IP Addresses of a container apps job. - :paramtype outbound_ip_addresses: list[str] - :keyword event_stream_endpoint: The endpoint of the eventstream of the container apps job. - :paramtype event_stream_endpoint: str - """ - super().__init__(**kwargs) - self.environment_id = environment_id - self.configuration = configuration - self.template = template - self.outbound_ip_addresses = outbound_ip_addresses - self.event_stream_endpoint = event_stream_endpoint - - -class JobsCollection(_serialization.Model): - """Container Apps Jobs collection ARM resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of resources. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.Job] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - "value": {"required": True}, - "next_link": {"readonly": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[Job]"}, - "next_link": {"key": "nextLink", "type": "str"}, - } - - def __init__(self, *, value: List["_models.Job"], **kwargs: Any) -> None: - """ - :keyword value: Collection of resources. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.Job] - """ - super().__init__(**kwargs) - self.value = value - self.next_link = None - - -class JobSecretsCollection(_serialization.Model): - """Container Apps Job Secrets Collection ARM resource. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of resources. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.Secret] - """ - - _validation = { - "value": {"required": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[Secret]"}, - } - - def __init__(self, *, value: List["_models.Secret"], **kwargs: Any) -> None: - """ - :keyword value: Collection of resources. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.Secret] - """ - super().__init__(**kwargs) - self.value = value - - -class JobTemplate(_serialization.Model): - """Container Apps Job versioned application definition. Defines the desired state of an immutable - revision. Any changes to this section Will result in a new revision being created. - - :ivar init_containers: List of specialized containers that run before app containers. - :vartype init_containers: list[~azure.mgmt.appcontainers.models.InitContainer] - :ivar containers: List of container definitions for the Container App. - :vartype containers: list[~azure.mgmt.appcontainers.models.Container] - :ivar volumes: List of volume definitions for the Container App. - :vartype volumes: list[~azure.mgmt.appcontainers.models.Volume] - """ - - _attribute_map = { - "init_containers": {"key": "initContainers", "type": "[InitContainer]"}, - "containers": {"key": "containers", "type": "[Container]"}, - "volumes": {"key": "volumes", "type": "[Volume]"}, - } - - def __init__( - self, - *, - init_containers: Optional[List["_models.InitContainer"]] = None, - containers: Optional[List["_models.Container"]] = None, - volumes: Optional[List["_models.Volume"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword init_containers: List of specialized containers that run before app containers. - :paramtype init_containers: list[~azure.mgmt.appcontainers.models.InitContainer] - :keyword containers: List of container definitions for the Container App. - :paramtype containers: list[~azure.mgmt.appcontainers.models.Container] - :keyword volumes: List of volume definitions for the Container App. - :paramtype volumes: list[~azure.mgmt.appcontainers.models.Volume] - """ - super().__init__(**kwargs) - self.init_containers = init_containers - self.containers = containers - self.volumes = volumes - - -class JwtClaimChecks(_serialization.Model): - """The configuration settings of the checks that should be made while validating the JWT Claims. - - :ivar allowed_groups: The list of the allowed groups. - :vartype allowed_groups: list[str] - :ivar allowed_client_applications: The list of the allowed client applications. - :vartype allowed_client_applications: list[str] - """ - - _attribute_map = { - "allowed_groups": {"key": "allowedGroups", "type": "[str]"}, - "allowed_client_applications": {"key": "allowedClientApplications", "type": "[str]"}, - } - - def __init__( - self, - *, - allowed_groups: Optional[List[str]] = None, - allowed_client_applications: Optional[List[str]] = None, - **kwargs: Any - ) -> None: - """ - :keyword allowed_groups: The list of the allowed groups. - :paramtype allowed_groups: list[str] - :keyword allowed_client_applications: The list of the allowed client applications. - :paramtype allowed_client_applications: list[str] - """ - super().__init__(**kwargs) - self.allowed_groups = allowed_groups - self.allowed_client_applications = allowed_client_applications - - -class KedaConfiguration(_serialization.Model): - """Configuration properties Keda component. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar version: The version of Keda. - :vartype version: str - """ - - _validation = { - "version": {"readonly": True}, - } - - _attribute_map = { - "version": {"key": "version", "type": "str"}, - } - - def __init__(self, **kwargs: Any) -> None: - """ """ - super().__init__(**kwargs) - self.version = None - - -class LogAnalyticsConfiguration(_serialization.Model): - """Log analytics configuration. - - :ivar customer_id: Log analytics customer id. - :vartype customer_id: str - :ivar shared_key: Log analytics customer key. - :vartype shared_key: str - """ - - _attribute_map = { - "customer_id": {"key": "customerId", "type": "str"}, - "shared_key": {"key": "sharedKey", "type": "str"}, - } - - def __init__(self, *, customer_id: Optional[str] = None, shared_key: Optional[str] = None, **kwargs: Any) -> None: - """ - :keyword customer_id: Log analytics customer id. - :paramtype customer_id: str - :keyword shared_key: Log analytics customer key. - :paramtype shared_key: str - """ - super().__init__(**kwargs) - self.customer_id = customer_id - self.shared_key = shared_key - - -class Login(_serialization.Model): - """The configuration settings of the login flow of users using ContainerApp Service - Authentication/Authorization. - - :ivar routes: The routes that specify the endpoints used for login and logout requests. - :vartype routes: ~azure.mgmt.appcontainers.models.LoginRoutes - :ivar preserve_url_fragments_for_logins: :code:`true` if the fragments from the - request are preserved after the login request is made; otherwise, :code:`false`. - :vartype preserve_url_fragments_for_logins: bool - :ivar allowed_external_redirect_urls: External URLs that can be redirected to as part of - logging in or logging out of the app. Note that the query string part of the URL is ignored. - This is an advanced setting typically only needed by Windows Store application backends. - Note that URLs within the current domain are always implicitly allowed. - :vartype allowed_external_redirect_urls: list[str] - :ivar cookie_expiration: The configuration settings of the session cookie's expiration. - :vartype cookie_expiration: ~azure.mgmt.appcontainers.models.CookieExpiration - :ivar nonce: The configuration settings of the nonce used in the login flow. - :vartype nonce: ~azure.mgmt.appcontainers.models.Nonce - """ - - _attribute_map = { - "routes": {"key": "routes", "type": "LoginRoutes"}, - "preserve_url_fragments_for_logins": {"key": "preserveUrlFragmentsForLogins", "type": "bool"}, - "allowed_external_redirect_urls": {"key": "allowedExternalRedirectUrls", "type": "[str]"}, - "cookie_expiration": {"key": "cookieExpiration", "type": "CookieExpiration"}, - "nonce": {"key": "nonce", "type": "Nonce"}, - } - - def __init__( - self, - *, - routes: Optional["_models.LoginRoutes"] = None, - preserve_url_fragments_for_logins: Optional[bool] = None, - allowed_external_redirect_urls: Optional[List[str]] = None, - cookie_expiration: Optional["_models.CookieExpiration"] = None, - nonce: Optional["_models.Nonce"] = None, - **kwargs: Any - ) -> None: - """ - :keyword routes: The routes that specify the endpoints used for login and logout requests. - :paramtype routes: ~azure.mgmt.appcontainers.models.LoginRoutes - :keyword preserve_url_fragments_for_logins: :code:`true` if the fragments from the - request are preserved after the login request is made; otherwise, :code:`false`. - :paramtype preserve_url_fragments_for_logins: bool - :keyword allowed_external_redirect_urls: External URLs that can be redirected to as part of - logging in or logging out of the app. Note that the query string part of the URL is ignored. - This is an advanced setting typically only needed by Windows Store application backends. - Note that URLs within the current domain are always implicitly allowed. - :paramtype allowed_external_redirect_urls: list[str] - :keyword cookie_expiration: The configuration settings of the session cookie's expiration. - :paramtype cookie_expiration: ~azure.mgmt.appcontainers.models.CookieExpiration - :keyword nonce: The configuration settings of the nonce used in the login flow. - :paramtype nonce: ~azure.mgmt.appcontainers.models.Nonce - """ - super().__init__(**kwargs) - self.routes = routes - self.preserve_url_fragments_for_logins = preserve_url_fragments_for_logins - self.allowed_external_redirect_urls = allowed_external_redirect_urls - self.cookie_expiration = cookie_expiration - self.nonce = nonce - - -class LoginRoutes(_serialization.Model): - """The routes that specify the endpoints used for login and logout requests. - - :ivar logout_endpoint: The endpoint at which a logout request should be made. - :vartype logout_endpoint: str - """ - - _attribute_map = { - "logout_endpoint": {"key": "logoutEndpoint", "type": "str"}, - } - - def __init__(self, *, logout_endpoint: Optional[str] = None, **kwargs: Any) -> None: - """ - :keyword logout_endpoint: The endpoint at which a logout request should be made. - :paramtype logout_endpoint: str - """ - super().__init__(**kwargs) - self.logout_endpoint = logout_endpoint - - -class LoginScopes(_serialization.Model): - """The configuration settings of the login flow, including the scopes that should be requested. - - :ivar scopes: A list of the scopes that should be requested while authenticating. - :vartype scopes: list[str] - """ - - _attribute_map = { - "scopes": {"key": "scopes", "type": "[str]"}, - } - - def __init__(self, *, scopes: Optional[List[str]] = None, **kwargs: Any) -> None: - """ - :keyword scopes: A list of the scopes that should be requested while authenticating. - :paramtype scopes: list[str] - """ - super().__init__(**kwargs) - self.scopes = scopes - - -class ManagedCertificate(TrackedResource): - """Managed certificates used for Custom Domain bindings of Container Apps in a Managed - Environment. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar location: The geo-location where the resource lives. Required. - :vartype location: str - :ivar properties: Certificate resource specific properties. - :vartype properties: ~azure.mgmt.appcontainers.models.ManagedCertificateProperties - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - "location": {"required": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - "tags": {"key": "tags", "type": "{str}"}, - "location": {"key": "location", "type": "str"}, - "properties": {"key": "properties", "type": "ManagedCertificateProperties"}, - } - - def __init__( - self, - *, - location: str, - tags: Optional[Dict[str, str]] = None, - properties: Optional["_models.ManagedCertificateProperties"] = None, - **kwargs: Any - ) -> None: - """ - :keyword tags: Resource tags. - :paramtype tags: dict[str, str] - :keyword location: The geo-location where the resource lives. Required. - :paramtype location: str - :keyword properties: Certificate resource specific properties. - :paramtype properties: ~azure.mgmt.appcontainers.models.ManagedCertificateProperties - """ - super().__init__(tags=tags, location=location, **kwargs) - self.properties = properties - - -class ManagedCertificateCollection(_serialization.Model): - """Collection of Managed Certificates. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of resources. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.ManagedCertificate] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - "value": {"required": True}, - "next_link": {"readonly": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[ManagedCertificate]"}, - "next_link": {"key": "nextLink", "type": "str"}, - } - - def __init__(self, *, value: List["_models.ManagedCertificate"], **kwargs: Any) -> None: - """ - :keyword value: Collection of resources. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.ManagedCertificate] - """ - super().__init__(**kwargs) - self.value = value - self.next_link = None - - -class ManagedCertificatePatch(_serialization.Model): - """A managed certificate to update. - - :ivar tags: Application-specific metadata in the form of key-value pairs. - :vartype tags: dict[str, str] - """ - - _attribute_map = { - "tags": {"key": "tags", "type": "{str}"}, - } - - def __init__(self, *, tags: Optional[Dict[str, str]] = None, **kwargs: Any) -> None: - """ - :keyword tags: Application-specific metadata in the form of key-value pairs. - :paramtype tags: dict[str, str] - """ - super().__init__(**kwargs) - self.tags = tags - - -class ManagedCertificateProperties(_serialization.Model): - """Certificate resource specific properties. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar provisioning_state: Provisioning state of the certificate. Known values are: "Succeeded", - "Failed", "Canceled", "DeleteFailed", and "Pending". - :vartype provisioning_state: str or - ~azure.mgmt.appcontainers.models.CertificateProvisioningState - :ivar subject_name: Subject name of the certificate. - :vartype subject_name: str - :ivar error: Any error occurred during the certificate provision. - :vartype error: str - :ivar domain_control_validation: Selected type of domain control validation for managed - certificates. Known values are: "CNAME", "HTTP", and "TXT". - :vartype domain_control_validation: str or - ~azure.mgmt.appcontainers.models.ManagedCertificateDomainControlValidation - :ivar validation_token: A TXT token used for DNS TXT domain control validation when issuing - this type of managed certificates. - :vartype validation_token: str - """ - - _validation = { - "provisioning_state": {"readonly": True}, - "error": {"readonly": True}, - "validation_token": {"readonly": True}, - } - - _attribute_map = { - "provisioning_state": {"key": "provisioningState", "type": "str"}, - "subject_name": {"key": "subjectName", "type": "str"}, - "error": {"key": "error", "type": "str"}, - "domain_control_validation": {"key": "domainControlValidation", "type": "str"}, - "validation_token": {"key": "validationToken", "type": "str"}, - } - - def __init__( - self, - *, - subject_name: Optional[str] = None, - domain_control_validation: Optional[Union[str, "_models.ManagedCertificateDomainControlValidation"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword subject_name: Subject name of the certificate. - :paramtype subject_name: str - :keyword domain_control_validation: Selected type of domain control validation for managed - certificates. Known values are: "CNAME", "HTTP", and "TXT". - :paramtype domain_control_validation: str or - ~azure.mgmt.appcontainers.models.ManagedCertificateDomainControlValidation - """ - super().__init__(**kwargs) - self.provisioning_state = None - self.subject_name = subject_name - self.error = None - self.domain_control_validation = domain_control_validation - self.validation_token = None - - -class ManagedEnvironment(TrackedResource): # pylint: disable=too-many-instance-attributes - """An environment for hosting container apps. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - :ivar tags: Resource tags. - :vartype tags: dict[str, str] - :ivar location: The geo-location where the resource lives. Required. - :vartype location: str - :ivar kind: Kind of the Environment. - :vartype kind: str - :ivar provisioning_state: Provisioning state of the Environment. Known values are: "Succeeded", - "Failed", "Canceled", "Waiting", "InitializationInProgress", "InfrastructureSetupInProgress", - "InfrastructureSetupComplete", "ScheduledForDelete", "UpgradeRequested", and "UpgradeFailed". - :vartype provisioning_state: str or - ~azure.mgmt.appcontainers.models.EnvironmentProvisioningState - :ivar dapr_ai_instrumentation_key: Azure Monitor instrumentation key used by Dapr to export - Service to Service communication telemetry. - :vartype dapr_ai_instrumentation_key: str - :ivar dapr_ai_connection_string: Application Insights connection string used by Dapr to export - Service to Service communication telemetry. - :vartype dapr_ai_connection_string: str - :ivar vnet_configuration: Vnet configuration for the environment. - :vartype vnet_configuration: ~azure.mgmt.appcontainers.models.VnetConfiguration - :ivar deployment_errors: Any errors that occurred during deployment or deployment validation. - :vartype deployment_errors: str - :ivar default_domain: Default Domain Name for the cluster. - :vartype default_domain: str - :ivar static_ip: Static IP of the Environment. - :vartype static_ip: str - :ivar app_logs_configuration: Cluster configuration which enables the log daemon to export - app logs to a destination. Currently only "log-analytics" is - supported. - :vartype app_logs_configuration: ~azure.mgmt.appcontainers.models.AppLogsConfiguration - :ivar zone_redundant: Whether or not this Managed Environment is zone-redundant. - :vartype zone_redundant: bool - :ivar custom_domain_configuration: Custom domain configuration for the environment. - :vartype custom_domain_configuration: - ~azure.mgmt.appcontainers.models.CustomDomainConfiguration - :ivar event_stream_endpoint: The endpoint of the eventstream of the Environment. - :vartype event_stream_endpoint: str - :ivar workload_profiles: Workload profiles configured for the Managed Environment. - :vartype workload_profiles: list[~azure.mgmt.appcontainers.models.WorkloadProfile] - :ivar keda_configuration: The configuration of Keda component. - :vartype keda_configuration: ~azure.mgmt.appcontainers.models.KedaConfiguration - :ivar dapr_configuration: The configuration of Dapr component. - :vartype dapr_configuration: ~azure.mgmt.appcontainers.models.DaprConfiguration - :ivar infrastructure_resource_group: Name of the platform-managed resource group created for - the Managed Environment to host infrastructure resources. If a subnet ID is provided, this - resource group will be created in the same subscription as the subnet. - :vartype infrastructure_resource_group: str - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - "location": {"required": True}, - "provisioning_state": {"readonly": True}, - "deployment_errors": {"readonly": True}, - "default_domain": {"readonly": True}, - "static_ip": {"readonly": True}, - "event_stream_endpoint": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - "tags": {"key": "tags", "type": "{str}"}, - "location": {"key": "location", "type": "str"}, - "kind": {"key": "kind", "type": "str"}, - "provisioning_state": {"key": "properties.provisioningState", "type": "str"}, - "dapr_ai_instrumentation_key": {"key": "properties.daprAIInstrumentationKey", "type": "str"}, - "dapr_ai_connection_string": {"key": "properties.daprAIConnectionString", "type": "str"}, - "vnet_configuration": {"key": "properties.vnetConfiguration", "type": "VnetConfiguration"}, - "deployment_errors": {"key": "properties.deploymentErrors", "type": "str"}, - "default_domain": {"key": "properties.defaultDomain", "type": "str"}, - "static_ip": {"key": "properties.staticIp", "type": "str"}, - "app_logs_configuration": {"key": "properties.appLogsConfiguration", "type": "AppLogsConfiguration"}, - "zone_redundant": {"key": "properties.zoneRedundant", "type": "bool"}, - "custom_domain_configuration": { - "key": "properties.customDomainConfiguration", - "type": "CustomDomainConfiguration", - }, - "event_stream_endpoint": {"key": "properties.eventStreamEndpoint", "type": "str"}, - "workload_profiles": {"key": "properties.workloadProfiles", "type": "[WorkloadProfile]"}, - "keda_configuration": {"key": "properties.kedaConfiguration", "type": "KedaConfiguration"}, - "dapr_configuration": {"key": "properties.daprConfiguration", "type": "DaprConfiguration"}, - "infrastructure_resource_group": {"key": "properties.infrastructureResourceGroup", "type": "str"}, - } - - def __init__( - self, - *, - location: str, - tags: Optional[Dict[str, str]] = None, - kind: Optional[str] = None, - dapr_ai_instrumentation_key: Optional[str] = None, - dapr_ai_connection_string: Optional[str] = None, - vnet_configuration: Optional["_models.VnetConfiguration"] = None, - app_logs_configuration: Optional["_models.AppLogsConfiguration"] = None, - zone_redundant: Optional[bool] = None, - custom_domain_configuration: Optional["_models.CustomDomainConfiguration"] = None, - workload_profiles: Optional[List["_models.WorkloadProfile"]] = None, - keda_configuration: Optional["_models.KedaConfiguration"] = None, - dapr_configuration: Optional["_models.DaprConfiguration"] = None, - infrastructure_resource_group: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword tags: Resource tags. - :paramtype tags: dict[str, str] - :keyword location: The geo-location where the resource lives. Required. - :paramtype location: str - :keyword kind: Kind of the Environment. - :paramtype kind: str - :keyword dapr_ai_instrumentation_key: Azure Monitor instrumentation key used by Dapr to export - Service to Service communication telemetry. - :paramtype dapr_ai_instrumentation_key: str - :keyword dapr_ai_connection_string: Application Insights connection string used by Dapr to - export Service to Service communication telemetry. - :paramtype dapr_ai_connection_string: str - :keyword vnet_configuration: Vnet configuration for the environment. - :paramtype vnet_configuration: ~azure.mgmt.appcontainers.models.VnetConfiguration - :keyword app_logs_configuration: Cluster configuration which enables the log daemon to export - app logs to a destination. Currently only "log-analytics" is - supported. - :paramtype app_logs_configuration: ~azure.mgmt.appcontainers.models.AppLogsConfiguration - :keyword zone_redundant: Whether or not this Managed Environment is zone-redundant. - :paramtype zone_redundant: bool - :keyword custom_domain_configuration: Custom domain configuration for the environment. - :paramtype custom_domain_configuration: - ~azure.mgmt.appcontainers.models.CustomDomainConfiguration - :keyword workload_profiles: Workload profiles configured for the Managed Environment. - :paramtype workload_profiles: list[~azure.mgmt.appcontainers.models.WorkloadProfile] - :keyword keda_configuration: The configuration of Keda component. - :paramtype keda_configuration: ~azure.mgmt.appcontainers.models.KedaConfiguration - :keyword dapr_configuration: The configuration of Dapr component. - :paramtype dapr_configuration: ~azure.mgmt.appcontainers.models.DaprConfiguration - :keyword infrastructure_resource_group: Name of the platform-managed resource group created for - the Managed Environment to host infrastructure resources. If a subnet ID is provided, this - resource group will be created in the same subscription as the subnet. - :paramtype infrastructure_resource_group: str - """ - super().__init__(tags=tags, location=location, **kwargs) - self.kind = kind - self.provisioning_state = None - self.dapr_ai_instrumentation_key = dapr_ai_instrumentation_key - self.dapr_ai_connection_string = dapr_ai_connection_string - self.vnet_configuration = vnet_configuration - self.deployment_errors = None - self.default_domain = None - self.static_ip = None - self.app_logs_configuration = app_logs_configuration - self.zone_redundant = zone_redundant - self.custom_domain_configuration = custom_domain_configuration - self.event_stream_endpoint = None - self.workload_profiles = workload_profiles - self.keda_configuration = keda_configuration - self.dapr_configuration = dapr_configuration - self.infrastructure_resource_group = infrastructure_resource_group - - -class ManagedEnvironmentsCollection(_serialization.Model): - """Collection of Environments. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of resources. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.ManagedEnvironment] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - "value": {"required": True}, - "next_link": {"readonly": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[ManagedEnvironment]"}, - "next_link": {"key": "nextLink", "type": "str"}, - } - - def __init__(self, *, value: List["_models.ManagedEnvironment"], **kwargs: Any) -> None: - """ - :keyword value: Collection of resources. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.ManagedEnvironment] - """ - super().__init__(**kwargs) - self.value = value - self.next_link = None - - -class ManagedEnvironmentStorage(ProxyResource): - """Storage resource for managedEnvironment. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - :ivar properties: Storage properties. - :vartype properties: ~azure.mgmt.appcontainers.models.ManagedEnvironmentStorageProperties - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - "properties": {"key": "properties", "type": "ManagedEnvironmentStorageProperties"}, - } - - def __init__( - self, *, properties: Optional["_models.ManagedEnvironmentStorageProperties"] = None, **kwargs: Any - ) -> None: - """ - :keyword properties: Storage properties. - :paramtype properties: ~azure.mgmt.appcontainers.models.ManagedEnvironmentStorageProperties - """ - super().__init__(**kwargs) - self.properties = properties - - -class ManagedEnvironmentStorageProperties(_serialization.Model): - """Storage properties. - - :ivar azure_file: Azure file properties. - :vartype azure_file: ~azure.mgmt.appcontainers.models.AzureFileProperties - """ - - _attribute_map = { - "azure_file": {"key": "azureFile", "type": "AzureFileProperties"}, - } - - def __init__(self, *, azure_file: Optional["_models.AzureFileProperties"] = None, **kwargs: Any) -> None: - """ - :keyword azure_file: Azure file properties. - :paramtype azure_file: ~azure.mgmt.appcontainers.models.AzureFileProperties - """ - super().__init__(**kwargs) - self.azure_file = azure_file - - -class ManagedEnvironmentStoragesCollection(_serialization.Model): - """Collection of Storage for Environments. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of storage resources. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.ManagedEnvironmentStorage] - """ - - _validation = { - "value": {"required": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[ManagedEnvironmentStorage]"}, - } - - def __init__(self, *, value: List["_models.ManagedEnvironmentStorage"], **kwargs: Any) -> None: - """ - :keyword value: Collection of storage resources. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.ManagedEnvironmentStorage] - """ - super().__init__(**kwargs) - self.value = value - - -class ManagedServiceIdentity(_serialization.Model): - """Managed service identity (system assigned and/or user assigned identities). - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar principal_id: The service principal ID of the system assigned identity. This property - will only be provided for a system assigned identity. - :vartype principal_id: str - :ivar tenant_id: The tenant ID of the system assigned identity. This property will only be - provided for a system assigned identity. - :vartype tenant_id: str - :ivar type: Type of managed service identity (where both SystemAssigned and UserAssigned types - are allowed). Required. Known values are: "None", "SystemAssigned", "UserAssigned", and - "SystemAssigned,UserAssigned". - :vartype type: str or ~azure.mgmt.appcontainers.models.ManagedServiceIdentityType - :ivar user_assigned_identities: The set of user assigned identities associated with the - resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. - The dictionary values can be empty objects ({}) in requests. - :vartype user_assigned_identities: dict[str, - ~azure.mgmt.appcontainers.models.UserAssignedIdentity] - """ - - _validation = { - "principal_id": {"readonly": True}, - "tenant_id": {"readonly": True}, - "type": {"required": True}, - } - - _attribute_map = { - "principal_id": {"key": "principalId", "type": "str"}, - "tenant_id": {"key": "tenantId", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "user_assigned_identities": {"key": "userAssignedIdentities", "type": "{UserAssignedIdentity}"}, - } - - def __init__( - self, - *, - type: Union[str, "_models.ManagedServiceIdentityType"], - user_assigned_identities: Optional[Dict[str, "_models.UserAssignedIdentity"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword type: Type of managed service identity (where both SystemAssigned and UserAssigned - types are allowed). Required. Known values are: "None", "SystemAssigned", "UserAssigned", and - "SystemAssigned,UserAssigned". - :paramtype type: str or ~azure.mgmt.appcontainers.models.ManagedServiceIdentityType - :keyword user_assigned_identities: The set of user assigned identities associated with the - resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. - The dictionary values can be empty objects ({}) in requests. - :paramtype user_assigned_identities: dict[str, - ~azure.mgmt.appcontainers.models.UserAssignedIdentity] - """ - super().__init__(**kwargs) - self.principal_id = None - self.tenant_id = None - self.type = type - self.user_assigned_identities = user_assigned_identities - - -class Nonce(_serialization.Model): - """The configuration settings of the nonce used in the login flow. - - :ivar validate_nonce: :code:`false` if the nonce should not be validated while - completing the login flow; otherwise, :code:`true`. - :vartype validate_nonce: bool - :ivar nonce_expiration_interval: The time after the request is made when the nonce should - expire. - :vartype nonce_expiration_interval: str - """ - - _attribute_map = { - "validate_nonce": {"key": "validateNonce", "type": "bool"}, - "nonce_expiration_interval": {"key": "nonceExpirationInterval", "type": "str"}, - } - - def __init__( - self, *, validate_nonce: Optional[bool] = None, nonce_expiration_interval: Optional[str] = None, **kwargs: Any - ) -> None: - """ - :keyword validate_nonce: :code:`false` if the nonce should not be validated while - completing the login flow; otherwise, :code:`true`. - :paramtype validate_nonce: bool - :keyword nonce_expiration_interval: The time after the request is made when the nonce should - expire. - :paramtype nonce_expiration_interval: str - """ - super().__init__(**kwargs) - self.validate_nonce = validate_nonce - self.nonce_expiration_interval = nonce_expiration_interval - - -class OpenIdConnectClientCredential(_serialization.Model): - """The authentication client credentials of the custom Open ID Connect provider. - - :ivar method: The method that should be used to authenticate the user. Default value is - "ClientSecretPost". - :vartype method: str - :ivar client_secret_setting_name: The app setting that contains the client secret for the - custom Open ID Connect provider. - :vartype client_secret_setting_name: str - """ - - _attribute_map = { - "method": {"key": "method", "type": "str"}, - "client_secret_setting_name": {"key": "clientSecretSettingName", "type": "str"}, - } - - def __init__( - self, - *, - method: Optional[Literal["ClientSecretPost"]] = None, - client_secret_setting_name: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword method: The method that should be used to authenticate the user. Default value is - "ClientSecretPost". - :paramtype method: str - :keyword client_secret_setting_name: The app setting that contains the client secret for the - custom Open ID Connect provider. - :paramtype client_secret_setting_name: str - """ - super().__init__(**kwargs) - self.method = method - self.client_secret_setting_name = client_secret_setting_name - - -class OpenIdConnectConfig(_serialization.Model): - """The configuration settings of the endpoints used for the custom Open ID Connect provider. - - :ivar authorization_endpoint: The endpoint to be used to make an authorization request. - :vartype authorization_endpoint: str - :ivar token_endpoint: The endpoint to be used to request a token. - :vartype token_endpoint: str - :ivar issuer: The endpoint that issues the token. - :vartype issuer: str - :ivar certification_uri: The endpoint that provides the keys necessary to validate the token. - :vartype certification_uri: str - :ivar well_known_open_id_configuration: The endpoint that contains all the configuration - endpoints for the provider. - :vartype well_known_open_id_configuration: str - """ - - _attribute_map = { - "authorization_endpoint": {"key": "authorizationEndpoint", "type": "str"}, - "token_endpoint": {"key": "tokenEndpoint", "type": "str"}, - "issuer": {"key": "issuer", "type": "str"}, - "certification_uri": {"key": "certificationUri", "type": "str"}, - "well_known_open_id_configuration": {"key": "wellKnownOpenIdConfiguration", "type": "str"}, - } - - def __init__( - self, - *, - authorization_endpoint: Optional[str] = None, - token_endpoint: Optional[str] = None, - issuer: Optional[str] = None, - certification_uri: Optional[str] = None, - well_known_open_id_configuration: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword authorization_endpoint: The endpoint to be used to make an authorization request. - :paramtype authorization_endpoint: str - :keyword token_endpoint: The endpoint to be used to request a token. - :paramtype token_endpoint: str - :keyword issuer: The endpoint that issues the token. - :paramtype issuer: str - :keyword certification_uri: The endpoint that provides the keys necessary to validate the - token. - :paramtype certification_uri: str - :keyword well_known_open_id_configuration: The endpoint that contains all the configuration - endpoints for the provider. - :paramtype well_known_open_id_configuration: str - """ - super().__init__(**kwargs) - self.authorization_endpoint = authorization_endpoint - self.token_endpoint = token_endpoint - self.issuer = issuer - self.certification_uri = certification_uri - self.well_known_open_id_configuration = well_known_open_id_configuration - - -class OpenIdConnectLogin(_serialization.Model): - """The configuration settings of the login flow of the custom Open ID Connect provider. - - :ivar name_claim_type: The name of the claim that contains the users name. - :vartype name_claim_type: str - :ivar scopes: A list of the scopes that should be requested while authenticating. - :vartype scopes: list[str] - """ - - _attribute_map = { - "name_claim_type": {"key": "nameClaimType", "type": "str"}, - "scopes": {"key": "scopes", "type": "[str]"}, - } - - def __init__( - self, *, name_claim_type: Optional[str] = None, scopes: Optional[List[str]] = None, **kwargs: Any - ) -> None: - """ - :keyword name_claim_type: The name of the claim that contains the users name. - :paramtype name_claim_type: str - :keyword scopes: A list of the scopes that should be requested while authenticating. - :paramtype scopes: list[str] - """ - super().__init__(**kwargs) - self.name_claim_type = name_claim_type - self.scopes = scopes - - -class OpenIdConnectRegistration(_serialization.Model): - """The configuration settings of the app registration for the custom Open ID Connect provider. - - :ivar client_id: The client id of the custom Open ID Connect provider. - :vartype client_id: str - :ivar client_credential: The authentication credentials of the custom Open ID Connect provider. - :vartype client_credential: ~azure.mgmt.appcontainers.models.OpenIdConnectClientCredential - :ivar open_id_connect_configuration: The configuration settings of the endpoints used for the - custom Open ID Connect provider. - :vartype open_id_connect_configuration: ~azure.mgmt.appcontainers.models.OpenIdConnectConfig - """ - - _attribute_map = { - "client_id": {"key": "clientId", "type": "str"}, - "client_credential": {"key": "clientCredential", "type": "OpenIdConnectClientCredential"}, - "open_id_connect_configuration": {"key": "openIdConnectConfiguration", "type": "OpenIdConnectConfig"}, - } - - def __init__( - self, - *, - client_id: Optional[str] = None, - client_credential: Optional["_models.OpenIdConnectClientCredential"] = None, - open_id_connect_configuration: Optional["_models.OpenIdConnectConfig"] = None, - **kwargs: Any - ) -> None: - """ - :keyword client_id: The client id of the custom Open ID Connect provider. - :paramtype client_id: str - :keyword client_credential: The authentication credentials of the custom Open ID Connect - provider. - :paramtype client_credential: ~azure.mgmt.appcontainers.models.OpenIdConnectClientCredential - :keyword open_id_connect_configuration: The configuration settings of the endpoints used for - the custom Open ID Connect provider. - :paramtype open_id_connect_configuration: ~azure.mgmt.appcontainers.models.OpenIdConnectConfig - """ - super().__init__(**kwargs) - self.client_id = client_id - self.client_credential = client_credential - self.open_id_connect_configuration = open_id_connect_configuration - - -class OperationDetail(_serialization.Model): - """Operation detail payload. - - :ivar name: Name of the operation. - :vartype name: str - :ivar is_data_action: Indicates whether the operation is a data action. - :vartype is_data_action: bool - :ivar display: Display of the operation. - :vartype display: ~azure.mgmt.appcontainers.models.OperationDisplay - :ivar origin: Origin of the operation. - :vartype origin: str - """ - - _attribute_map = { - "name": {"key": "name", "type": "str"}, - "is_data_action": {"key": "isDataAction", "type": "bool"}, - "display": {"key": "display", "type": "OperationDisplay"}, - "origin": {"key": "origin", "type": "str"}, - } - - def __init__( - self, - *, - name: Optional[str] = None, - is_data_action: Optional[bool] = None, - display: Optional["_models.OperationDisplay"] = None, - origin: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword name: Name of the operation. - :paramtype name: str - :keyword is_data_action: Indicates whether the operation is a data action. - :paramtype is_data_action: bool - :keyword display: Display of the operation. - :paramtype display: ~azure.mgmt.appcontainers.models.OperationDisplay - :keyword origin: Origin of the operation. - :paramtype origin: str - """ - super().__init__(**kwargs) - self.name = name - self.is_data_action = is_data_action - self.display = display - self.origin = origin - - -class OperationDisplay(_serialization.Model): - """Operation display payload. - - :ivar provider: Resource provider of the operation. - :vartype provider: str - :ivar resource: Resource of the operation. - :vartype resource: str - :ivar operation: Localized friendly name for the operation. - :vartype operation: str - :ivar description: Localized friendly description for the operation. - :vartype description: str - """ - - _attribute_map = { - "provider": {"key": "provider", "type": "str"}, - "resource": {"key": "resource", "type": "str"}, - "operation": {"key": "operation", "type": "str"}, - "description": {"key": "description", "type": "str"}, - } - - def __init__( - self, - *, - provider: Optional[str] = None, - resource: Optional[str] = None, - operation: Optional[str] = None, - description: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword provider: Resource provider of the operation. - :paramtype provider: str - :keyword resource: Resource of the operation. - :paramtype resource: str - :keyword operation: Localized friendly name for the operation. - :paramtype operation: str - :keyword description: Localized friendly description for the operation. - :paramtype description: str - """ - super().__init__(**kwargs) - self.provider = provider - self.resource = resource - self.operation = operation - self.description = description - - -class QueueScaleRule(_serialization.Model): - """Container App container Azure Queue based scaling rule. - - :ivar queue_name: Queue name. - :vartype queue_name: str - :ivar queue_length: Queue length. - :vartype queue_length: int - :ivar auth: Authentication secrets for the queue scale rule. - :vartype auth: list[~azure.mgmt.appcontainers.models.ScaleRuleAuth] - """ - - _attribute_map = { - "queue_name": {"key": "queueName", "type": "str"}, - "queue_length": {"key": "queueLength", "type": "int"}, - "auth": {"key": "auth", "type": "[ScaleRuleAuth]"}, - } - - def __init__( - self, - *, - queue_name: Optional[str] = None, - queue_length: Optional[int] = None, - auth: Optional[List["_models.ScaleRuleAuth"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword queue_name: Queue name. - :paramtype queue_name: str - :keyword queue_length: Queue length. - :paramtype queue_length: int - :keyword auth: Authentication secrets for the queue scale rule. - :paramtype auth: list[~azure.mgmt.appcontainers.models.ScaleRuleAuth] - """ - super().__init__(**kwargs) - self.queue_name = queue_name - self.queue_length = queue_length - self.auth = auth - - -class RegistryCredentials(_serialization.Model): - """Container App Private Registry. - - :ivar server: Container Registry Server. - :vartype server: str - :ivar username: Container Registry Username. - :vartype username: str - :ivar password_secret_ref: The name of the Secret that contains the registry login password. - :vartype password_secret_ref: str - :ivar identity: A Managed Identity to use to authenticate with Azure Container Registry. For - user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned - identities, use 'system'. - :vartype identity: str - """ - - _attribute_map = { - "server": {"key": "server", "type": "str"}, - "username": {"key": "username", "type": "str"}, - "password_secret_ref": {"key": "passwordSecretRef", "type": "str"}, - "identity": {"key": "identity", "type": "str"}, - } - - def __init__( - self, - *, - server: Optional[str] = None, - username: Optional[str] = None, - password_secret_ref: Optional[str] = None, - identity: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword server: Container Registry Server. - :paramtype server: str - :keyword username: Container Registry Username. - :paramtype username: str - :keyword password_secret_ref: The name of the Secret that contains the registry login password. - :paramtype password_secret_ref: str - :keyword identity: A Managed Identity to use to authenticate with Azure Container Registry. For - user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned - identities, use 'system'. - :paramtype identity: str - """ - super().__init__(**kwargs) - self.server = server - self.username = username - self.password_secret_ref = password_secret_ref - self.identity = identity - - -class RegistryInfo(_serialization.Model): - """Container App registry information. - - :ivar registry_url: registry server Url. - :vartype registry_url: str - :ivar registry_user_name: registry username. - :vartype registry_user_name: str - :ivar registry_password: registry secret. - :vartype registry_password: str - """ - - _attribute_map = { - "registry_url": {"key": "registryUrl", "type": "str"}, - "registry_user_name": {"key": "registryUserName", "type": "str"}, - "registry_password": {"key": "registryPassword", "type": "str"}, - } - - def __init__( - self, - *, - registry_url: Optional[str] = None, - registry_user_name: Optional[str] = None, - registry_password: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword registry_url: registry server Url. - :paramtype registry_url: str - :keyword registry_user_name: registry username. - :paramtype registry_user_name: str - :keyword registry_password: registry secret. - :paramtype registry_password: str - """ - super().__init__(**kwargs) - self.registry_url = registry_url - self.registry_user_name = registry_user_name - self.registry_password = registry_password - - -class Replica(ProxyResource): - """Container App Revision Replica. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - :ivar created_time: Timestamp describing when the pod was created by controller. - :vartype created_time: ~datetime.datetime - :ivar containers: The containers collection under a replica. - :vartype containers: list[~azure.mgmt.appcontainers.models.ReplicaContainer] - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - "created_time": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - "created_time": {"key": "properties.createdTime", "type": "iso-8601"}, - "containers": {"key": "properties.containers", "type": "[ReplicaContainer]"}, - } - - def __init__(self, *, containers: Optional[List["_models.ReplicaContainer"]] = None, **kwargs: Any) -> None: - """ - :keyword containers: The containers collection under a replica. - :paramtype containers: list[~azure.mgmt.appcontainers.models.ReplicaContainer] - """ - super().__init__(**kwargs) - self.created_time = None - self.containers = containers - - -class ReplicaCollection(_serialization.Model): - """Container App Revision Replicas collection ARM resource. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of resources. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.Replica] - """ - - _validation = { - "value": {"required": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[Replica]"}, - } - - def __init__(self, *, value: List["_models.Replica"], **kwargs: Any) -> None: - """ - :keyword value: Collection of resources. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.Replica] - """ - super().__init__(**kwargs) - self.value = value - - -class ReplicaContainer(_serialization.Model): - """Container object under Container App Revision Replica. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar name: The Name of the Container. - :vartype name: str - :ivar container_id: The Id of the Container. - :vartype container_id: str - :ivar ready: The container ready status. - :vartype ready: bool - :ivar started: The container start status. - :vartype started: bool - :ivar restart_count: The container restart count. - :vartype restart_count: int - :ivar log_stream_endpoint: Log Stream endpoint. - :vartype log_stream_endpoint: str - :ivar exec_endpoint: Container exec endpoint. - :vartype exec_endpoint: str - """ - - _validation = { - "log_stream_endpoint": {"readonly": True}, - "exec_endpoint": {"readonly": True}, - } - - _attribute_map = { - "name": {"key": "name", "type": "str"}, - "container_id": {"key": "containerId", "type": "str"}, - "ready": {"key": "ready", "type": "bool"}, - "started": {"key": "started", "type": "bool"}, - "restart_count": {"key": "restartCount", "type": "int"}, - "log_stream_endpoint": {"key": "logStreamEndpoint", "type": "str"}, - "exec_endpoint": {"key": "execEndpoint", "type": "str"}, - } - - def __init__( - self, - *, - name: Optional[str] = None, - container_id: Optional[str] = None, - ready: Optional[bool] = None, - started: Optional[bool] = None, - restart_count: Optional[int] = None, - **kwargs: Any - ) -> None: - """ - :keyword name: The Name of the Container. - :paramtype name: str - :keyword container_id: The Id of the Container. - :paramtype container_id: str - :keyword ready: The container ready status. - :paramtype ready: bool - :keyword started: The container start status. - :paramtype started: bool - :keyword restart_count: The container restart count. - :paramtype restart_count: int - """ - super().__init__(**kwargs) - self.name = name - self.container_id = container_id - self.ready = ready - self.started = started - self.restart_count = restart_count - self.log_stream_endpoint = None - self.exec_endpoint = None - - -class Revision(ProxyResource): # pylint: disable=too-many-instance-attributes - """Container App Revision. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - :ivar created_time: Timestamp describing when the revision was created - by controller. - :vartype created_time: ~datetime.datetime - :ivar last_active_time: Timestamp describing when the revision was last active. Only meaningful - when revision is inactive. - :vartype last_active_time: ~datetime.datetime - :ivar fqdn: Fully qualified domain name of the revision. - :vartype fqdn: str - :ivar template: Container App Revision Template with all possible settings and the - defaults if user did not provide them. The defaults are populated - as they were at the creation time. - :vartype template: ~azure.mgmt.appcontainers.models.Template - :ivar active: Boolean describing if the Revision is Active. - :vartype active: bool - :ivar replicas: Number of pods currently running for this revision. - :vartype replicas: int - :ivar traffic_weight: Traffic weight assigned to this revision. - :vartype traffic_weight: int - :ivar provisioning_error: Optional Field - Platform Error Message. - :vartype provisioning_error: str - :ivar health_state: Current health State of the revision. Known values are: "Healthy", - "Unhealthy", and "None". - :vartype health_state: str or ~azure.mgmt.appcontainers.models.RevisionHealthState - :ivar provisioning_state: Current provisioning State of the revision. Known values are: - "Provisioning", "Provisioned", "Failed", "Deprovisioning", and "Deprovisioned". - :vartype provisioning_state: str or ~azure.mgmt.appcontainers.models.RevisionProvisioningState - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - "created_time": {"readonly": True}, - "last_active_time": {"readonly": True}, - "fqdn": {"readonly": True}, - "template": {"readonly": True}, - "active": {"readonly": True}, - "replicas": {"readonly": True}, - "traffic_weight": {"readonly": True}, - "provisioning_error": {"readonly": True}, - "health_state": {"readonly": True}, - "provisioning_state": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - "created_time": {"key": "properties.createdTime", "type": "iso-8601"}, - "last_active_time": {"key": "properties.lastActiveTime", "type": "iso-8601"}, - "fqdn": {"key": "properties.fqdn", "type": "str"}, - "template": {"key": "properties.template", "type": "Template"}, - "active": {"key": "properties.active", "type": "bool"}, - "replicas": {"key": "properties.replicas", "type": "int"}, - "traffic_weight": {"key": "properties.trafficWeight", "type": "int"}, - "provisioning_error": {"key": "properties.provisioningError", "type": "str"}, - "health_state": {"key": "properties.healthState", "type": "str"}, - "provisioning_state": {"key": "properties.provisioningState", "type": "str"}, - } - - def __init__(self, **kwargs: Any) -> None: - """ """ - super().__init__(**kwargs) - self.created_time = None - self.last_active_time = None - self.fqdn = None - self.template = None - self.active = None - self.replicas = None - self.traffic_weight = None - self.provisioning_error = None - self.health_state = None - self.provisioning_state = None - - -class RevisionCollection(_serialization.Model): - """Container App Revisions collection ARM resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of resources. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.Revision] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - "value": {"required": True}, - "next_link": {"readonly": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[Revision]"}, - "next_link": {"key": "nextLink", "type": "str"}, - } - - def __init__(self, *, value: List["_models.Revision"], **kwargs: Any) -> None: - """ - :keyword value: Collection of resources. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.Revision] - """ - super().__init__(**kwargs) - self.value = value - self.next_link = None - - -class Scale(_serialization.Model): - """Container App scaling configurations. - - :ivar min_replicas: Optional. Minimum number of container replicas. - :vartype min_replicas: int - :ivar max_replicas: Optional. Maximum number of container replicas. Defaults to 10 if not set. - :vartype max_replicas: int - :ivar rules: Scaling rules. - :vartype rules: list[~azure.mgmt.appcontainers.models.ScaleRule] - """ - - _attribute_map = { - "min_replicas": {"key": "minReplicas", "type": "int"}, - "max_replicas": {"key": "maxReplicas", "type": "int"}, - "rules": {"key": "rules", "type": "[ScaleRule]"}, - } - - def __init__( - self, - *, - min_replicas: Optional[int] = None, - max_replicas: int = 10, - rules: Optional[List["_models.ScaleRule"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword min_replicas: Optional. Minimum number of container replicas. - :paramtype min_replicas: int - :keyword max_replicas: Optional. Maximum number of container replicas. Defaults to 10 if not - set. - :paramtype max_replicas: int - :keyword rules: Scaling rules. - :paramtype rules: list[~azure.mgmt.appcontainers.models.ScaleRule] - """ - super().__init__(**kwargs) - self.min_replicas = min_replicas - self.max_replicas = max_replicas - self.rules = rules - - -class JobScale(_serialization.Model): - """Container Apps Job scaling configurations. - - :ivar min_replicas: Optional. Minimum number of container replicas. - :vartype min_replicas: int - :ivar max_replicas: Optional. Maximum number of container replicas. Defaults to 10 if not set. - :vartype max_replicas: int - :ivar pollingInterval: Optional. Time between poll requests. - :vartype pollingInterval: int - :ivar rules: Scaling rules. - :vartype rules: list[~azure.mgmt.appcontainers.models.JobScaleRule] - """ - - _attribute_map = { - "min_replicas": {"key": "minReplicas", "type": "int"}, - "max_replicas": {"key": "maxReplicas", "type": "int"}, - "polling_Interval": {"key": "pollingInterval", "type": "int"}, - "rules": {"key": "rules", "type": "[JobScaleRule]"}, - } - - def __init__( - self, - *, - min_replicas: Optional[int] = None, - max_replicas: int = 10, - polling_Interval: Optional[int] = None, - rules: Optional[List["_models.JobScaleRule"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword min_replicas: Optional. Minimum number of container replicas. - :paramtype min_replicas: int - :keyword max_replicas: Optional. Maximum number of container replicas. Defaults to 10 if not - set. - :paramtype max_replicas: int - :keyword rules: Scaling rules. - :paramtype rules: list[~azure.mgmt.appcontainers.models.JobScaleRule] - """ - super().__init__(**kwargs) - self.min_replicas = min_replicas - self.max_replicas = max_replicas - self.polling_Interval = polling_Interval - self.rules = rules - - -class ServiceBinding(_serialization.Model): - """The metadata for service bindings to a container app. - :ivar service_id: Required. The ARM ID of the service that the Container App will bind to. - :vartype service_id: str - :ivar name: Optional. The custom name for the binding. - :vartype name: str - """ - - _validation = { - 'service_id': {'required': True}, - } - - _attribute_map = { - 'service_id': {'key': 'serviceId', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'} - } - - def __init__( - self, - *, - service_id: str, - name: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword service_id: Required. The ARM ID of the service that the Container App will bind to. - :paramtype service_id: str - :keyword name: Optional. The custom name for the binding. - :paramtype name: str - """ - super().__init__(**kwargs) - self.service_id = service_id - self.name = name - - -class ScaleRule(_serialization.Model): - """Container App container scaling rule. - - :ivar name: Scale Rule Name. - :vartype name: str - :ivar azure_queue: Azure Queue based scaling. - :vartype azure_queue: ~azure.mgmt.appcontainers.models.QueueScaleRule - :ivar custom: Custom scale rule. - :vartype custom: ~azure.mgmt.appcontainers.models.CustomScaleRule - :ivar http: HTTP requests based scaling. - :vartype http: ~azure.mgmt.appcontainers.models.HttpScaleRule - :ivar tcp: Tcp requests based scaling. - :vartype tcp: ~azure.mgmt.appcontainers.models.TcpScaleRule - """ - - _attribute_map = { - "name": {"key": "name", "type": "str"}, - "azure_queue": {"key": "azureQueue", "type": "QueueScaleRule"}, - "custom": {"key": "custom", "type": "CustomScaleRule"}, - "http": {"key": "http", "type": "HttpScaleRule"}, - "tcp": {"key": "tcp", "type": "TcpScaleRule"}, - } - - def __init__( - self, - *, - name: Optional[str] = None, - azure_queue: Optional["_models.QueueScaleRule"] = None, - custom: Optional["_models.CustomScaleRule"] = None, - http: Optional["_models.HttpScaleRule"] = None, - tcp: Optional["_models.TcpScaleRule"] = None, - **kwargs: Any - ) -> None: - """ - :keyword name: Scale Rule Name. - :paramtype name: str - :keyword azure_queue: Azure Queue based scaling. - :paramtype azure_queue: ~azure.mgmt.appcontainers.models.QueueScaleRule - :keyword custom: Custom scale rule. - :paramtype custom: ~azure.mgmt.appcontainers.models.CustomScaleRule - :keyword http: HTTP requests based scaling. - :paramtype http: ~azure.mgmt.appcontainers.models.HttpScaleRule - :keyword tcp: Tcp requests based scaling. - :paramtype tcp: ~azure.mgmt.appcontainers.models.TcpScaleRule - """ - super().__init__(**kwargs) - self.name = name - self.azure_queue = azure_queue - self.custom = custom - self.http = http - self.tcp = tcp - - -class ScaleRuleAuth(_serialization.Model): - """Auth Secrets for Container App Scale Rule. - - :ivar secret_ref: Name of the Container App secret from which to pull the auth params. - :vartype secret_ref: str - :ivar trigger_parameter: Trigger Parameter that uses the secret. - :vartype trigger_parameter: str - """ - - _attribute_map = { - "secret_ref": {"key": "secretRef", "type": "str"}, - "trigger_parameter": {"key": "triggerParameter", "type": "str"}, - } - - def __init__( - self, *, secret_ref: Optional[str] = None, trigger_parameter: Optional[str] = None, **kwargs: Any - ) -> None: - """ - :keyword secret_ref: Name of the Container App secret from which to pull the auth params. - :paramtype secret_ref: str - :keyword trigger_parameter: Trigger Parameter that uses the secret. - :paramtype trigger_parameter: str - """ - super().__init__(**kwargs) - self.secret_ref = secret_ref - self.trigger_parameter = trigger_parameter - - -class Secret(_serialization.Model): - """Secret definition. - - :ivar name: Secret Name. - :vartype name: str - :ivar value: Secret Value. - :vartype value: str - :ivar identity: Resource ID of a managed identity to authenticate with Azure Key Vault, or - System to use a system-assigned identity. - :vartype identity: str - :ivar key_vault_url: Azure Key Vault URL pointing to the secret referenced by the container - app. - :vartype key_vault_url: str - """ - - _attribute_map = { - "name": {"key": "name", "type": "str"}, - "value": {"key": "value", "type": "str"}, - "identity": {"key": "identity", "type": "str"}, - "key_vault_url": {"key": "keyVaultUrl", "type": "str"}, - } - - def __init__( - self, - *, - name: Optional[str] = None, - value: Optional[str] = None, - identity: Optional[str] = None, - key_vault_url: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword name: Secret Name. - :paramtype name: str - :keyword value: Secret Value. - :paramtype value: str - :keyword identity: Resource ID of a managed identity to authenticate with Azure Key Vault, or - System to use a system-assigned identity. - :paramtype identity: str - :keyword key_vault_url: Azure Key Vault URL pointing to the secret referenced by the container - app. - :paramtype key_vault_url: str - """ - super().__init__(**kwargs) - self.name = name - self.value = value - self.identity = identity - self.key_vault_url = key_vault_url - - -class SecretsCollection(_serialization.Model): - """Container App Secrets Collection ARM resource. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of resources. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.ContainerAppSecret] - """ - - _validation = { - "value": {"required": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[ContainerAppSecret]"}, - } - - def __init__(self, *, value: List["_models.ContainerAppSecret"], **kwargs: Any) -> None: - """ - :keyword value: Collection of resources. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.ContainerAppSecret] - """ - super().__init__(**kwargs) - self.value = value - - -class SecretVolumeItem(_serialization.Model): - """Secret to be added to volume. - - :ivar secret_ref: Name of the Container App secret from which to pull the secret value. - :vartype secret_ref: str - :ivar path: Path to project secret to. If no path is provided, path defaults to name of secret - listed in secretRef. - :vartype path: str - """ - - _attribute_map = { - "secret_ref": {"key": "secretRef", "type": "str"}, - "path": {"key": "path", "type": "str"}, - } - - def __init__(self, *, secret_ref: Optional[str] = None, path: Optional[str] = None, **kwargs: Any) -> None: - """ - :keyword secret_ref: Name of the Container App secret from which to pull the secret value. - :paramtype secret_ref: str - :keyword path: Path to project secret to. If no path is provided, path defaults to name of - secret listed in secretRef. - :paramtype path: str - """ - super().__init__(**kwargs) - self.secret_ref = secret_ref - self.path = path - - -class SourceControl(ProxyResource): - """Container App SourceControl. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - :ivar operation_state: Current provisioning State of the operation. Known values are: - "InProgress", "Succeeded", "Failed", and "Canceled". - :vartype operation_state: str or ~azure.mgmt.appcontainers.models.SourceControlOperationState - :ivar repo_url: The repo url which will be integrated to ContainerApp. - :vartype repo_url: str - :ivar branch: The branch which will trigger the auto deployment. - :vartype branch: str - :ivar github_action_configuration: Container App Revision Template with all possible settings - and the - defaults if user did not provide them. The defaults are populated - as they were at the creation time. - :vartype github_action_configuration: - ~azure.mgmt.appcontainers.models.GithubActionConfiguration - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - "operation_state": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - "operation_state": {"key": "properties.operationState", "type": "str"}, - "repo_url": {"key": "properties.repoUrl", "type": "str"}, - "branch": {"key": "properties.branch", "type": "str"}, - "github_action_configuration": { - "key": "properties.githubActionConfiguration", - "type": "GithubActionConfiguration", - }, - } - - def __init__( - self, - *, - repo_url: Optional[str] = None, - branch: Optional[str] = None, - github_action_configuration: Optional["_models.GithubActionConfiguration"] = None, - **kwargs: Any - ) -> None: - """ - :keyword repo_url: The repo url which will be integrated to ContainerApp. - :paramtype repo_url: str - :keyword branch: The branch which will trigger the auto deployment. - :paramtype branch: str - :keyword github_action_configuration: Container App Revision Template with all possible - settings and the - defaults if user did not provide them. The defaults are populated - as they were at the creation time. - :paramtype github_action_configuration: - ~azure.mgmt.appcontainers.models.GithubActionConfiguration - """ - super().__init__(**kwargs) - self.operation_state = None - self.repo_url = repo_url - self.branch = branch - self.github_action_configuration = github_action_configuration - - -class SourceControlCollection(_serialization.Model): - """SourceControl collection ARM resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of resources. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.SourceControl] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - "value": {"required": True}, - "next_link": {"readonly": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[SourceControl]"}, - "next_link": {"key": "nextLink", "type": "str"}, - } - - def __init__(self, *, value: List["_models.SourceControl"], **kwargs: Any) -> None: - """ - :keyword value: Collection of resources. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.SourceControl] - """ - super().__init__(**kwargs) - self.value = value - self.next_link = None - - -class SystemData(_serialization.Model): - """Metadata pertaining to creation and last modification of the resource. - - :ivar created_by: The identity that created the resource. - :vartype created_by: str - :ivar created_by_type: The type of identity that created the resource. Known values are: - "User", "Application", "ManagedIdentity", and "Key". - :vartype created_by_type: str or ~azure.mgmt.appcontainers.models.CreatedByType - :ivar created_at: The timestamp of resource creation (UTC). - :vartype created_at: ~datetime.datetime - :ivar last_modified_by: The identity that last modified the resource. - :vartype last_modified_by: str - :ivar last_modified_by_type: The type of identity that last modified the resource. Known values - are: "User", "Application", "ManagedIdentity", and "Key". - :vartype last_modified_by_type: str or ~azure.mgmt.appcontainers.models.CreatedByType - :ivar last_modified_at: The timestamp of resource last modification (UTC). - :vartype last_modified_at: ~datetime.datetime - """ - - _attribute_map = { - "created_by": {"key": "createdBy", "type": "str"}, - "created_by_type": {"key": "createdByType", "type": "str"}, - "created_at": {"key": "createdAt", "type": "iso-8601"}, - "last_modified_by": {"key": "lastModifiedBy", "type": "str"}, - "last_modified_by_type": {"key": "lastModifiedByType", "type": "str"}, - "last_modified_at": {"key": "lastModifiedAt", "type": "iso-8601"}, - } - - def __init__( - self, - *, - created_by: Optional[str] = None, - created_by_type: Optional[Union[str, "_models.CreatedByType"]] = None, - created_at: Optional[datetime.datetime] = None, - last_modified_by: Optional[str] = None, - last_modified_by_type: Optional[Union[str, "_models.CreatedByType"]] = None, - last_modified_at: Optional[datetime.datetime] = None, - **kwargs: Any - ) -> None: - """ - :keyword created_by: The identity that created the resource. - :paramtype created_by: str - :keyword created_by_type: The type of identity that created the resource. Known values are: - "User", "Application", "ManagedIdentity", and "Key". - :paramtype created_by_type: str or ~azure.mgmt.appcontainers.models.CreatedByType - :keyword created_at: The timestamp of resource creation (UTC). - :paramtype created_at: ~datetime.datetime - :keyword last_modified_by: The identity that last modified the resource. - :paramtype last_modified_by: str - :keyword last_modified_by_type: The type of identity that last modified the resource. Known - values are: "User", "Application", "ManagedIdentity", and "Key". - :paramtype last_modified_by_type: str or ~azure.mgmt.appcontainers.models.CreatedByType - :keyword last_modified_at: The timestamp of resource last modification (UTC). - :paramtype last_modified_at: ~datetime.datetime - """ - super().__init__(**kwargs) - self.created_by = created_by - self.created_by_type = created_by_type - self.created_at = created_at - self.last_modified_by = last_modified_by - self.last_modified_by_type = last_modified_by_type - self.last_modified_at = last_modified_at - - -class TcpScaleRule(_serialization.Model): - """Container App container Tcp scaling rule. - - :ivar metadata: Metadata properties to describe tcp scale rule. - :vartype metadata: dict[str, str] - :ivar auth: Authentication secrets for the tcp scale rule. - :vartype auth: list[~azure.mgmt.appcontainers.models.ScaleRuleAuth] - """ - - _attribute_map = { - "metadata": {"key": "metadata", "type": "{str}"}, - "auth": {"key": "auth", "type": "[ScaleRuleAuth]"}, - } - - def __init__( - self, - *, - metadata: Optional[Dict[str, str]] = None, - auth: Optional[List["_models.ScaleRuleAuth"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword metadata: Metadata properties to describe tcp scale rule. - :paramtype metadata: dict[str, str] - :keyword auth: Authentication secrets for the tcp scale rule. - :paramtype auth: list[~azure.mgmt.appcontainers.models.ScaleRuleAuth] - """ - super().__init__(**kwargs) - self.metadata = metadata - self.auth = auth - - -class Template(_serialization.Model): - """Container App versioned application definition. - Defines the desired state of an immutable revision. - Any changes to this section Will result in a new revision being created. - - :ivar revision_suffix: User friendly suffix that is appended to the revision name. - :vartype revision_suffix: str - :ivar termination_grace_period_seconds: Gracefully shut down periods in seconds for the revision - :vartype termination_grace_period_seconds: int - :ivar init_containers: List of specialized containers that run before app containers. - :vartype init_containers: list[~azure.mgmt.appcontainers.models.InitContainer] - :ivar containers: List of container definitions for the Container App. - :vartype containers: list[~azure.mgmt.appcontainers.models.Container] - :ivar scale: Scaling properties for the Container App. - :vartype scale: ~azure.mgmt.appcontainers.models.Scale - :ivar volumes: List of volume definitions for the Container App. - :vartype volumes: list[~azure.mgmt.appcontainers.models.Volume] - :ivar service_binds: List of service bindings for the Container App. - :vartype service_binds: list[~commondefinitions.models.ServiceBinding] - """ - - _attribute_map = { - "revision_suffix": {"key": "revisionSuffix", "type": "str"}, - "termination_grace_period_seconds": {"key": "terminationGracePeriodSeconds", "type": "int"}, - "init_containers": {"key": "initContainers", "type": "[InitContainer]"}, - "containers": {"key": "containers", "type": "[Container]"}, - "scale": {"key": "scale", "type": "Scale"}, - "volumes": {"key": "volumes", "type": "[Volume]"}, - "service_binds": {"key": "serviceBinds", "type": "[ServiceBinding]"} - } - - def __init__( - self, - *, - revision_suffix: Optional[str] = None, - termination_grace_period_seconds: Optional[int] = None, - init_containers: Optional[List["_models.InitContainer"]] = None, - containers: Optional[List["_models.Container"]] = None, - scale: Optional["_models.Scale"] = None, - volumes: Optional[List["_models.Volume"]] = None, - service_binds: Optional[List["_models.ServiceBinding"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword revision_suffix: User friendly suffix that is appended to the revision name. - :paramtype revision_suffix: str - :keyword termination_grace_period_seconds: Gracefully shut down periods in seconds for the revision - :paramtype termination_grace_period_seconds: int - :keyword init_containers: List of specialized containers that run before app containers. - :paramtype init_containers: list[~azure.mgmt.appcontainers.models.InitContainer] - :keyword containers: List of container definitions for the Container App. - :paramtype containers: list[~azure.mgmt.appcontainers.models.Container] - :keyword scale: Scaling properties for the Container App. - :paramtype scale: ~azure.mgmt.appcontainers.models.Scale - :keyword volumes: List of volume definitions for the Container App. - :paramtype volumes: list[~azure.mgmt.appcontainers.models.Volume] - :param service_binds: List of service bindings for the Container App. - :type service_binds: list[~azure.mgmt.appcontainers.models.ServiceBinding] - """ - super().__init__(**kwargs) - self.revision_suffix = revision_suffix - self.termination_grace_period_seconds = termination_grace_period_seconds - self.init_containers = init_containers - self.containers = containers - self.scale = scale - self.volumes = volumes - self.service_binds = service_binds - - -class TrafficWeight(_serialization.Model): - """Traffic weight assigned to a revision. - - :ivar revision_name: Name of a revision. - :vartype revision_name: str - :ivar weight: Traffic weight assigned to a revision. - :vartype weight: int - :ivar latest_revision: Indicates that the traffic weight belongs to a latest stable revision. - :vartype latest_revision: bool - :ivar label: Associates a traffic label with a revision. - :vartype label: str - """ - - _attribute_map = { - "revision_name": {"key": "revisionName", "type": "str"}, - "weight": {"key": "weight", "type": "int"}, - "latest_revision": {"key": "latestRevision", "type": "bool"}, - "label": {"key": "label", "type": "str"}, - } - - def __init__( - self, - *, - revision_name: Optional[str] = None, - weight: Optional[int] = None, - latest_revision: bool = False, - label: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword revision_name: Name of a revision. - :paramtype revision_name: str - :keyword weight: Traffic weight assigned to a revision. - :paramtype weight: int - :keyword latest_revision: Indicates that the traffic weight belongs to a latest stable - revision. - :paramtype latest_revision: bool - :keyword label: Associates a traffic label with a revision. - :paramtype label: str - """ - super().__init__(**kwargs) - self.revision_name = revision_name - self.weight = weight - self.latest_revision = latest_revision - self.label = label - - -class Twitter(_serialization.Model): - """The configuration settings of the Twitter provider. - - :ivar enabled: :code:`false` if the Twitter provider should not be enabled despite - the set registration; otherwise, :code:`true`. - :vartype enabled: bool - :ivar registration: The configuration settings of the app registration for the Twitter - provider. - :vartype registration: ~azure.mgmt.appcontainers.models.TwitterRegistration - """ - - _attribute_map = { - "enabled": {"key": "enabled", "type": "bool"}, - "registration": {"key": "registration", "type": "TwitterRegistration"}, - } - - def __init__( - self, - *, - enabled: Optional[bool] = None, - registration: Optional["_models.TwitterRegistration"] = None, - **kwargs: Any - ) -> None: - """ - :keyword enabled: :code:`false` if the Twitter provider should not be enabled - despite the set registration; otherwise, :code:`true`. - :paramtype enabled: bool - :keyword registration: The configuration settings of the app registration for the Twitter - provider. - :paramtype registration: ~azure.mgmt.appcontainers.models.TwitterRegistration - """ - super().__init__(**kwargs) - self.enabled = enabled - self.registration = registration - - -class TwitterRegistration(_serialization.Model): - """The configuration settings of the app registration for the Twitter provider. - - :ivar consumer_key: The OAuth 1.0a consumer key of the Twitter application used for sign-in. - This setting is required for enabling Twitter Sign-In. - Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in. - :vartype consumer_key: str - :ivar consumer_secret_setting_name: The app setting name that contains the OAuth 1.0a consumer - secret of the Twitter - application used for sign-in. - :vartype consumer_secret_setting_name: str - """ - - _attribute_map = { - "consumer_key": {"key": "consumerKey", "type": "str"}, - "consumer_secret_setting_name": {"key": "consumerSecretSettingName", "type": "str"}, - } - - def __init__( - self, *, consumer_key: Optional[str] = None, consumer_secret_setting_name: Optional[str] = None, **kwargs: Any - ) -> None: - """ - :keyword consumer_key: The OAuth 1.0a consumer key of the Twitter application used for sign-in. - This setting is required for enabling Twitter Sign-In. - Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in. - :paramtype consumer_key: str - :keyword consumer_secret_setting_name: The app setting name that contains the OAuth 1.0a - consumer secret of the Twitter - application used for sign-in. - :paramtype consumer_secret_setting_name: str - """ - super().__init__(**kwargs) - self.consumer_key = consumer_key - self.consumer_secret_setting_name = consumer_secret_setting_name - - -class UserAssignedIdentity(_serialization.Model): - """User assigned identity properties. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar principal_id: The principal ID of the assigned identity. - :vartype principal_id: str - :ivar client_id: The client ID of the assigned identity. - :vartype client_id: str - """ - - _validation = { - "principal_id": {"readonly": True}, - "client_id": {"readonly": True}, - } - - _attribute_map = { - "principal_id": {"key": "principalId", "type": "str"}, - "client_id": {"key": "clientId", "type": "str"}, - } - - def __init__(self, **kwargs: Any) -> None: - """ """ - super().__init__(**kwargs) - self.principal_id = None - self.client_id = None - - -class VnetConfiguration(_serialization.Model): - """Configuration properties for apps environment to join a Virtual Network. - - :ivar internal: Boolean indicating the environment only has an internal load balancer. These - environments do not have a public static IP resource. They must provide infrastructureSubnetId - if enabling this property. - :vartype internal: bool - :ivar infrastructure_subnet_id: Resource ID of a subnet for infrastructure components. Must not - overlap with any other provided IP ranges. - :vartype infrastructure_subnet_id: str - :ivar docker_bridge_cidr: CIDR notation IP range assigned to the Docker bridge, network. Must - not overlap with any other provided IP ranges. - :vartype docker_bridge_cidr: str - :ivar platform_reserved_cidr: IP range in CIDR notation that can be reserved for environment - infrastructure IP addresses. Must not overlap with any other provided IP ranges. - :vartype platform_reserved_cidr: str - :ivar platform_reserved_dns_ip: An IP address from the IP range defined by platformReservedCidr - that will be reserved for the internal DNS server. - :vartype platform_reserved_dns_ip: str - """ - - _attribute_map = { - "internal": {"key": "internal", "type": "bool"}, - "infrastructure_subnet_id": {"key": "infrastructureSubnetId", "type": "str"}, - "docker_bridge_cidr": {"key": "dockerBridgeCidr", "type": "str"}, - "platform_reserved_cidr": {"key": "platformReservedCidr", "type": "str"}, - "platform_reserved_dns_ip": {"key": "platformReservedDnsIP", "type": "str"}, - } - - def __init__( - self, - *, - internal: Optional[bool] = None, - infrastructure_subnet_id: Optional[str] = None, - docker_bridge_cidr: Optional[str] = None, - platform_reserved_cidr: Optional[str] = None, - platform_reserved_dns_ip: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword internal: Boolean indicating the environment only has an internal load balancer. These - environments do not have a public static IP resource. They must provide infrastructureSubnetId - if enabling this property. - :paramtype internal: bool - :keyword infrastructure_subnet_id: Resource ID of a subnet for infrastructure components. Must - not overlap with any other provided IP ranges. - :paramtype infrastructure_subnet_id: str - :keyword docker_bridge_cidr: CIDR notation IP range assigned to the Docker bridge, network. - Must not overlap with any other provided IP ranges. - :paramtype docker_bridge_cidr: str - :keyword platform_reserved_cidr: IP range in CIDR notation that can be reserved for environment - infrastructure IP addresses. Must not overlap with any other provided IP ranges. - :paramtype platform_reserved_cidr: str - :keyword platform_reserved_dns_ip: An IP address from the IP range defined by - platformReservedCidr that will be reserved for the internal DNS server. - :paramtype platform_reserved_dns_ip: str - """ - super().__init__(**kwargs) - self.internal = internal - self.infrastructure_subnet_id = infrastructure_subnet_id - self.docker_bridge_cidr = docker_bridge_cidr - self.platform_reserved_cidr = platform_reserved_cidr - self.platform_reserved_dns_ip = platform_reserved_dns_ip - - -class Volume(_serialization.Model): - """Volume definitions for the Container App. - - :ivar name: Volume name. - :vartype name: str - :ivar storage_type: Storage type for the volume. If not provided, use EmptyDir. Known values - are: "AzureFile", "EmptyDir", and "Secret". - :vartype storage_type: str or ~azure.mgmt.appcontainers.models.StorageType - :ivar storage_name: Name of storage resource. No need to provide for EmptyDir and Secret. - :vartype storage_name: str - :ivar secrets: List of secrets to be added in volume. If no secrets are provided, all secrets - in collection will be added to volume. - :vartype secrets: list[~azure.mgmt.appcontainers.models.SecretVolumeItem] - :ivar mount_options: Mount options for the AzureFile type volume. - :vartype mount_options: str - """ - - _attribute_map = { - "name": {"key": "name", "type": "str"}, - "storage_type": {"key": "storageType", "type": "str"}, - "storage_name": {"key": "storageName", "type": "str"}, - "secrets": {"key": "secrets", "type": "[SecretVolumeItem]"}, - "mount_options": {"key": "mountOptions", "type": "str"}, - } - - def __init__( - self, - *, - name: Optional[str] = None, - storage_type: Optional[Union[str, "_models.StorageType"]] = None, - storage_name: Optional[str] = None, - secrets: Optional[List["_models.SecretVolumeItem"]] = None, - mount_options: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword name: Volume name. - :paramtype name: str - :keyword storage_type: Storage type for the volume. If not provided, use EmptyDir. Known values - are: "AzureFile", "EmptyDir", and "Secret". - :paramtype storage_type: str or ~azure.mgmt.appcontainers.models.StorageType - :keyword storage_name: Name of storage resource. No need to provide for EmptyDir and Secret. - :paramtype storage_name: str - :keyword secrets: List of secrets to be added in volume. If no secrets are provided, all - secrets in collection will be added to volume. - :paramtype secrets: list[~azure.mgmt.appcontainers.models.SecretVolumeItem] - :keyword mount_options: Mount options for the AzureFile type volume. - :paramtype mount_options: str - """ - super().__init__(**kwargs) - self.name = name - self.storage_type = storage_type - self.storage_name = storage_name - self.secrets = secrets - self.mount_options = mount_options - - -class VolumeMount(_serialization.Model): - """Volume mount for the Container App. - - :ivar volume_name: This must match the Name of a Volume. - :vartype volume_name: str - :ivar mount_path: Path within the container at which the volume should be mounted.Must not - contain ':'. - :vartype mount_path: str - :ivar sub_path: Path within the volume from which the container's volume should be mounted. - :vartype sub_path: str - """ - - _attribute_map = { - "volume_name": {"key": "volumeName", "type": "str"}, - "mount_path": {"key": "mountPath", "type": "str"}, - "sub_path": {"key": "subPath", "type": "str"} - } - - def __init__( - self, - *, - volume_name: Optional[str] = None, - mount_path: Optional[str] = None, - sub_path: Optional[str] = None, - **kwargs: Any - ) -> None: - """ - :keyword volume_name: This must match the Name of a Volume. - :paramtype volume_name: str - :keyword mount_path: Path within the container at which the volume should be mounted.Must not - contain ':'. - :paramtype mount_path: str - :keyword sub_path: Path within the volume from which the container's volume should be mounted. - Defaults to "" (volume's root). - :paramtype sub_path: str - """ - super().__init__(**kwargs) - self.volume_name = volume_name - self.mount_path = mount_path - self.sub_path = sub_path - - -class WorkloadProfile(_serialization.Model): - """Workload profile to scope container app execution. - - All required parameters must be populated in order to send to Azure. - - :ivar name: Workload profile type for the workloads to run on. Required. - :vartype name: str - :ivar workload_profile_type: Workload profile type for the workloads to run on. Required. - :vartype workload_profile_type: str - :ivar minimum_count: The minimum capacity. - :vartype minimum_count: int - :ivar maximum_count: The maximum capacity. - :vartype maximum_count: int - """ - - _validation = { - "name": {"required": True}, - "workload_profile_type": {"required": True}, - } - - _attribute_map = { - "name": {"key": "name", "type": "str"}, - "workload_profile_type": {"key": "workloadProfileType", "type": "str"}, - "minimum_count": {"key": "minimumCount", "type": "int"}, - "maximum_count": {"key": "maximumCount", "type": "int"}, - } - - def __init__( - self, - *, - name: str, - workload_profile_type: str, - minimum_count: Optional[int] = None, - maximum_count: Optional[int] = None, - **kwargs: Any - ) -> None: - """ - :keyword name: Workload profile type for the workloads to run on. Required. - :paramtype name: str - :keyword workload_profile_type: Workload profile type for the workloads to run on. Required. - :paramtype workload_profile_type: str - :keyword minimum_count: The minimum capacity. - :paramtype minimum_count: int - :keyword maximum_count: The maximum capacity. - :paramtype maximum_count: int - """ - super().__init__(**kwargs) - self.name = name - self.workload_profile_type = workload_profile_type - self.minimum_count = minimum_count - self.maximum_count = maximum_count - - -class WorkloadProfileStates(ProxyResource): - """Collection of all the workload Profile States for a Managed Environment.. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy - information. - :vartype system_data: ~azure.mgmt.appcontainers.models.SystemData - :ivar properties: Workload Profile resource specific properties. - :vartype properties: ~azure.mgmt.appcontainers.models.WorkloadProfileStatesProperties - """ - - _validation = { - "id": {"readonly": True}, - "name": {"readonly": True}, - "type": {"readonly": True}, - "system_data": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "system_data": {"key": "systemData", "type": "SystemData"}, - "properties": {"key": "properties", "type": "WorkloadProfileStatesProperties"}, - } - - def __init__( - self, *, properties: Optional["_models.WorkloadProfileStatesProperties"] = None, **kwargs: Any - ) -> None: - """ - :keyword properties: Workload Profile resource specific properties. - :paramtype properties: ~azure.mgmt.appcontainers.models.WorkloadProfileStatesProperties - """ - super().__init__(**kwargs) - self.properties = properties - - -class WorkloadProfileStatesCollection(_serialization.Model): - """Collection of workloadProfileStates. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar value: Collection of resources. Required. - :vartype value: list[~azure.mgmt.appcontainers.models.WorkloadProfileStates] - :ivar next_link: Link to next page of resources. - :vartype next_link: str - """ - - _validation = { - "value": {"required": True}, - "next_link": {"readonly": True}, - } - - _attribute_map = { - "value": {"key": "value", "type": "[WorkloadProfileStates]"}, - "next_link": {"key": "nextLink", "type": "str"}, - } - - def __init__(self, *, value: List["_models.WorkloadProfileStates"], **kwargs: Any) -> None: - """ - :keyword value: Collection of resources. Required. - :paramtype value: list[~azure.mgmt.appcontainers.models.WorkloadProfileStates] - """ - super().__init__(**kwargs) - self.value = value - self.next_link = None - - -class WorkloadProfileStatesProperties(_serialization.Model): - """Workload Profile resource specific properties. - - :ivar minimum_count: Minimum count of instances. - :vartype minimum_count: int - :ivar maximum_count: Maximum count of nodes. - :vartype maximum_count: int - :ivar current_count: Current count of nodes. - :vartype current_count: int - """ - - _attribute_map = { - "minimum_count": {"key": "minimumCount", "type": "int"}, - "maximum_count": {"key": "maximumCount", "type": "int"}, - "current_count": {"key": "currentCount", "type": "int"}, - } - - def __init__( - self, - *, - minimum_count: Optional[int] = None, - maximum_count: Optional[int] = None, - current_count: Optional[int] = None, - **kwargs: Any - ) -> None: - """ - :keyword minimum_count: Minimum count of instances. - :paramtype minimum_count: int - :keyword maximum_count: Maximum count of nodes. - :paramtype maximum_count: int - :keyword current_count: Current count of nodes. - :paramtype current_count: int - """ - super().__init__(**kwargs) - self.minimum_count = minimum_count - self.maximum_count = maximum_count - self.current_count = current_count diff --git a/src/containerapp-preview/azext_containerapp_preview/_transformers.py b/src/containerapp-preview/azext_containerapp_preview/_transformers.py deleted file mode 100644 index c34809b58c4..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/_transformers.py +++ /dev/null @@ -1,21 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - - -def transform_containerapp_output(app): - props = ['name', 'location', 'resourceGroup', 'provisioningState'] - result = {k: app[k] for k in app if k in props} - - try: - result['fqdn'] = app['properties']['configuration']['ingress']['fqdn'] - except: - result['fqdn'] = None - - return result - - -def transform_containerapp_list_output(apps): - return [transform_containerapp_output(a) for a in apps] diff --git a/src/containerapp-preview/azext_containerapp_preview/_utils.py b/src/containerapp-preview/azext_containerapp_preview/_utils.py deleted file mode 100644 index 32f00133d8d..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/_utils.py +++ /dev/null @@ -1,65 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -# pylint: disable=line-too-long - -from azure.cli.core.azclierror import ValidationError -from knack.util import CLIError -from knack.log import get_logger - -from ._constants import MIN_GA_VERSION, GA_CONTAINERAPP_EXTENSION_NAME - -logger = get_logger(__name__) - - -def is_containerapp_extension_available(): - from azure.cli.core.extension import ( - ExtensionNotInstalledException, get_extension) - from packaging.version import parse - try: - ext = get_extension(GA_CONTAINERAPP_EXTENSION_NAME) - # Check extension version - if ext and parse(ext.version) < parse(MIN_GA_VERSION): - return False - except ExtensionNotInstalledException: - return False - return True - - -def _get_azext_containerapp_module(module_name): - try: - if not is_containerapp_extension_available(): - raise ValidationError(f"The command requires the version of {GA_CONTAINERAPP_EXTENSION_NAME} >= {MIN_GA_VERSION}. Run 'az extension add --upgrade -n {GA_CONTAINERAPP_EXTENSION_NAME}' to install extension") - - # Adding the installed extension in the path - from azure.cli.core.extension.operations import add_extension_to_path - add_extension_to_path(GA_CONTAINERAPP_EXTENSION_NAME) - # Import the extension module - from importlib import import_module - azext_custom = import_module(module_name) - - # need to reload preview's _help, because the containerapp's _help will overwrite the preview's _help after importing the containerapp module. - from azext_containerapp_preview import _help - from importlib import reload - reload(_help) - - return azext_custom - except ImportError as ie: - raise CLIError(ie) from ie - - -def auto_install_containerapp_extension_if_not_exist(cmd): - from azure.cli.core.extension import extension_exists - - if not extension_exists(GA_CONTAINERAPP_EXTENSION_NAME): - _install_containerapp_extension(cmd, GA_CONTAINERAPP_EXTENSION_NAME) - - -def _install_containerapp_extension(cmd, extension_name, upgrade=False): - try: - from azure.cli.core.extension import operations - operations.add_extension(cmd=cmd, extension_name=extension_name, upgrade=upgrade) - except Exception: # nopa pylint: disable=broad-except - return False - return True diff --git a/src/containerapp-preview/azext_containerapp_preview/_validators.py b/src/containerapp-preview/azext_containerapp_preview/_validators.py deleted file mode 100644 index 2325d246538..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/_validators.py +++ /dev/null @@ -1,52 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -from ._constants import (MANAGED_ENVIRONMENT_TYPE, - CONNECTED_ENVIRONMENT_TYPE, - MANAGED_ENVIRONMENT_RESOURCE_TYPE, - CONNECTED_ENVIRONMENT_RESOURCE_TYPE, - CONTAINER_APPS_RP) - - -def validate_env_name_or_id(cmd, namespace): - from azure.cli.core.commands.client_factory import get_subscription_id - from msrestazure.tools import is_valid_resource_id, resource_id, parse_resource_id - - if not namespace.managed_env or not namespace.resource_group_name: - return - - # Set environment type - environment_type = None - - if namespace.__dict__.get("environment_type"): - environment_type = namespace.environment_type - - if namespace.managed_env: - if is_valid_resource_id(namespace.managed_env): - env_dict = parse_resource_id(namespace.managed_env) - resource_type = env_dict.get("resource_type") - if resource_type: - if CONNECTED_ENVIRONMENT_RESOURCE_TYPE.lower() == resource_type.lower(): - environment_type = CONNECTED_ENVIRONMENT_TYPE - if MANAGED_ENVIRONMENT_RESOURCE_TYPE.lower() == resource_type.lower(): - environment_type = MANAGED_ENVIRONMENT_TYPE - # Validate resource id / format resource id - if environment_type == CONNECTED_ENVIRONMENT_TYPE: - if not is_valid_resource_id(namespace.managed_env): - namespace.managed_env = resource_id( - subscription=get_subscription_id(cmd.cli_ctx), - resource_group=namespace.resource_group_name, - namespace=CONTAINER_APPS_RP, - type=CONNECTED_ENVIRONMENT_RESOURCE_TYPE, - name=namespace.managed_env - ) - elif environment_type == MANAGED_ENVIRONMENT_TYPE: - if not is_valid_resource_id(namespace.managed_env): - namespace.managed_env = resource_id( - subscription=get_subscription_id(cmd.cli_ctx), - resource_group=namespace.resource_group_name, - namespace=CONTAINER_APPS_RP, - type=MANAGED_ENVIRONMENT_RESOURCE_TYPE, - name=namespace.managed_env - ) diff --git a/src/containerapp-preview/azext_containerapp_preview/azext_metadata.json b/src/containerapp-preview/azext_containerapp_preview/azext_metadata.json deleted file mode 100644 index c38d8b36b38..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/azext_metadata.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "azext.isPreview": true, - "azext.minCliCoreVersion": "2.45.0" -} diff --git a/src/containerapp-preview/azext_containerapp_preview/commands.py b/src/containerapp-preview/azext_containerapp_preview/commands.py deleted file mode 100644 index 27480745e90..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/commands.py +++ /dev/null @@ -1,21 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -# pylint: disable=line-too-long - -from azure.cli.command_modules.appservice.commands import ex_handler_factory -from ._transformers import (transform_containerapp_output, - transform_containerapp_list_output) - - -# This method cannot directly rely on GA resources. -# When the switch core.use_command_index is turned off, possibly unrelated commands may also trigger unnecessary loads. -# It will throw a error if the GA resource does not exist. -def load_command_table(self, _): - - with self.command_group('containerapp') as g: - g.custom_show_command('show', 'show_containerapp', table_transformer=transform_containerapp_output, is_preview=True) - g.custom_command('list', 'list_containerapp', table_transformer=transform_containerapp_list_output, is_preview=True) - g.custom_command('delete', 'delete_containerapp', supports_no_wait=True, confirmation=True, exception_handler=ex_handler_factory(), is_preview=True) - g.custom_command('create', 'create_containerapp', supports_no_wait=True, exception_handler=ex_handler_factory(), table_transformer=transform_containerapp_output, is_preview=True) diff --git a/src/containerapp-preview/azext_containerapp_preview/containerapp_decorator.py b/src/containerapp-preview/azext_containerapp_preview/containerapp_decorator.py deleted file mode 100644 index 1b3c444b938..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/containerapp_decorator.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -from typing import Dict, Any -from knack.log import get_logger - -from azure.cli.core.commands import AzCliCommand -from azure.cli.core.azclierror import ValidationError, RequiredArgumentMissingError -from msrestazure.tools import parse_resource_id - -from ._clients import ManagedEnvironmentClient, ConnectedEnvironmentClient, ContainerAppClient -from ._constants import (CONNECTED_ENVIRONMENT_RESOURCE_TYPE, - MANAGED_ENVIRONMENT_TYPE, - CONNECTED_ENVIRONMENT_TYPE) -from ._utils import (_get_azext_containerapp_module) - -logger = get_logger(__name__) - - -def get_containerapp_base_decorator(cmd, raw_parameters): - azext_decorator = _get_azext_containerapp_module("azext_containerapp.containerapp_decorator") - - containerapp_base_decorator = azext_decorator.BaseContainerAppDecorator( - cmd=cmd, - client=ContainerAppClient, - raw_parameters=raw_parameters, - models="azext_containerapp._sdk_models" - ) - return containerapp_base_decorator - - -class ContainerAppPreviewCreateDecorator(_get_azext_containerapp_module("azext_containerapp.containerapp_decorator").ContainerAppCreateDecorator): - def __init__( - self, cmd: AzCliCommand, client: Any, raw_parameters: Dict, models: str - ): - super().__init__(cmd, client, raw_parameters, models) - self.azext_decorator_utils = _get_azext_containerapp_module("azext_containerapp._decorator_utils") - self.azext_default_utils = _get_azext_containerapp_module("azext_containerapp._utils") - - def construct_containerapp(self): - super().construct_containerapp() - self.set_up_extended_location() - - def set_up_extended_location(self): - if self.get_argument_environment_type() == CONNECTED_ENVIRONMENT_TYPE: - if not self.containerapp_def.get('extendedLocation'): - parsed_env = parse_resource_id(self.get_argument_managed_env()) # custom_location check here perhaps - env_name = parsed_env['name'] - env_rg = parsed_env['resource_group'] - env_info = self.get_environment_client().show(cmd=self.cmd, resource_group_name=env_rg, name=env_name) - self.containerapp_def["extendedLocation"] = env_info["extendedLocation"] - - def get_environment_client(self): - if self.get_argument_yaml(): - env = self.azext_default_utils.safe_get(self.containerapp_def, "properties", "environmentId") - else: - env = self.get_argument_managed_env() - - environment_type = self.get_argument_environment_type() - if not env and not environment_type: - return ManagedEnvironmentClient - - parsed_env = parse_resource_id(env) - - # Validate environment type - if parsed_env.get('resource_type').lower() == CONNECTED_ENVIRONMENT_RESOURCE_TYPE.lower(): - if environment_type == MANAGED_ENVIRONMENT_TYPE: - logger.warning("User passed a connectedEnvironment resource id but did not specify --environment-type connected. Using environment type connected.") - environment_type = CONNECTED_ENVIRONMENT_TYPE - else: - if environment_type == CONNECTED_ENVIRONMENT_TYPE: - logger.warning("User passed a managedEnvironment resource id but specified --environment-type connected. Using environment type managed.") - - self.set_argument_environment_type(environment_type) - self.set_argument_managed_env(env) - - if environment_type == CONNECTED_ENVIRONMENT_TYPE: - return ConnectedEnvironmentClient - else: - return ManagedEnvironmentClient - - def get_yaml_containerapp(self): - load_file = self.azext_decorator_utils.load_yaml_file(self.get_argument_yaml()) - return self.azext_decorator_utils.process_loaded_yaml(load_file) - - def get_argument_environment_type(self): - return self.get_param("environment_type") - - def set_argument_environment_type(self, environment_type): - self.set_param("environment_type", environment_type) diff --git a/src/containerapp-preview/azext_containerapp_preview/custom.py b/src/containerapp-preview/azext_containerapp_preview/custom.py deleted file mode 100644 index 49a1b3d201c..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/custom.py +++ /dev/null @@ -1,97 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -from knack.log import get_logger - -from ._clients import ContainerAppClient -from ._constants import CONTAINER_APPS_RP -from .containerapp_decorator import ContainerAppPreviewCreateDecorator, get_containerapp_base_decorator - -logger = get_logger(__name__) - - -def show_containerapp(cmd, name, resource_group_name, show_secrets=False): - raw_parameters = locals() - containerapp_base_decorator = get_containerapp_base_decorator(cmd, raw_parameters) - containerapp_base_decorator.validate_subscription_registered(CONTAINER_APPS_RP) - return containerapp_base_decorator.show_containerapp() - - -def list_containerapp(cmd, resource_group_name=None, managed_env=None): - raw_parameters = locals() - containerapp_base_decorator = get_containerapp_base_decorator(cmd, raw_parameters) - containerapp_base_decorator.validate_subscription_registered(CONTAINER_APPS_RP) - return containerapp_base_decorator.list_containerapp() - - -def delete_containerapp(cmd, name, resource_group_name, no_wait=False): - raw_parameters = locals() - containerapp_base_decorator = get_containerapp_base_decorator(cmd, raw_parameters) - containerapp_base_decorator.validate_subscription_registered(CONTAINER_APPS_RP) - return containerapp_base_decorator.delete_containerapp() - - -def create_containerapp(cmd, - name, - resource_group_name, - yaml=None, - image=None, - container_name=None, - managed_env=None, - min_replicas=None, - max_replicas=None, - scale_rule_name=None, - scale_rule_type=None, - scale_rule_http_concurrency=None, - scale_rule_metadata=None, - scale_rule_auth=None, - target_port=None, - exposed_port=None, - transport="auto", - ingress=None, - revisions_mode="single", - secrets=None, - env_vars=None, - cpu=None, - memory=None, - registry_server=None, - registry_user=None, - registry_pass=None, - dapr_enabled=False, - dapr_app_port=None, - dapr_app_id=None, - dapr_app_protocol=None, - dapr_http_read_buffer_size=None, - dapr_http_max_request_size=None, - dapr_log_level=None, - dapr_enable_api_logging=False, - service_type=None, - service_bindings=None, - revision_suffix=None, - startup_command=None, - args=None, - tags=None, - no_wait=False, - system_assigned=False, - disable_warnings=False, - user_assigned=None, - registry_identity=None, - workload_profile_name=None, - termination_grace_period=None, - secret_volume_mount=None, - environment_type="managed"): - raw_parameters = locals() - containerapp_preview_create_decorator = ContainerAppPreviewCreateDecorator( - cmd=cmd, - client=ContainerAppClient, - raw_parameters=raw_parameters, - models="azext_containerapp_preview._sdk_models" - ) - containerapp_preview_create_decorator.register_provider(CONTAINER_APPS_RP) - containerapp_preview_create_decorator.validate_arguments() - containerapp_preview_create_decorator.construct_containerapp() - r = containerapp_preview_create_decorator.create_containerapp() - containerapp_preview_create_decorator.construct_containerapp_for_post_process(r) - r = containerapp_preview_create_decorator.post_process_containerapp(r) - return r diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/__init__.py b/src/containerapp-preview/azext_containerapp_preview/tests/__init__.py deleted file mode 100644 index 99c0f28cd71..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/tests/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -# ----------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# ----------------------------------------------------------------------------- diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/__init__.py b/src/containerapp-preview/azext_containerapp_preview/tests/latest/__init__.py deleted file mode 100644 index 99c0f28cd71..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -# ----------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# ----------------------------------------------------------------------------- diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/common.py b/src/containerapp-preview/azext_containerapp_preview/tests/latest/common.py deleted file mode 100644 index 63eadd4ab2c..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/common.py +++ /dev/null @@ -1,21 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -import os -from azure.cli.testsdk import (ScenarioTest) - -TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) -TEST_LOCATION = os.getenv("CLITestLocation") if os.getenv("CLITestLocation") else "eastus" - - -def write_test_file(filename, content): - test_file = open(filename, "w", encoding='utf-8') - _ = test_file.write(content) - test_file.close() - - -def clean_up_test_file(filename): - if os.path.exists(filename): - os.remove(filename) diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_preview_e2e.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_preview_e2e.yaml deleted file mode 100644 index 1eac702912d..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_preview_e2e.yaml +++ /dev/null @@ -1,2966 +0,0 @@ -interactions: -- request: - body: '{"location": "eastus", "properties": {"retentionInDays": 30, "sku": {"name": - "PerGB2018"}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - monitor log-analytics workspace create - Connection: - - keep-alive - Content-Length: - - '91' - Content-Type: - - application/json - ParameterSetName: - - -g -n -l - User-Agent: - - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004?api-version=2021-12-01-preview - response: - body: - string: '{"properties":{"customerId":"e6b1150d-d82e-4472-ac5c-a7ae59735f01","provisioningState":"Creating","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-07-18T03:59:26.2146259Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-07-18T17:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-07-18T03:59:26.2146259Z","modifiedDate":"2023-07-18T03:59:26.2146259Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' - headers: - access-control-allow-origin: - - '*' - api-supported-versions: - - 2021-12-01-preview - cache-control: - - no-cache - content-length: - - '851' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 03:59:26 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004?api-version=2021-12-01-preview - pragma: - - no-cache - request-context: - - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - x-powered-by: - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - monitor log-analytics workspace create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l - User-Agent: - - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004?api-version=2021-12-01-preview - response: - body: - string: '{"properties":{"customerId":"e6b1150d-d82e-4472-ac5c-a7ae59735f01","provisioningState":"Succeeded","sku":{"name":"PerGB2018","lastSkuUpdate":"2023-07-18T03:59:26.2146259Z"},"retentionInDays":30,"features":{"legacy":0,"searchVersion":1,"enableLogAccessUsingOnlyResourcePermissions":true},"workspaceCapping":{"dailyQuotaGb":-1.0,"quotaNextResetTime":"2023-07-18T17:00:00Z","dataIngestionStatus":"RespectQuota"},"publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled","createdDate":"2023-07-18T03:59:26.2146259Z","modifiedDate":"2023-07-18T03:59:26.2146259Z"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004","name":"containerapp-env000004","type":"Microsoft.OperationalInsights/workspaces"}' - headers: - access-control-allow-origin: - - '*' - api-supported-versions: - - 2021-12-01-preview - cache-control: - - no-cache - content-length: - - '852' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 03:59:27 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - monitor log-analytics workspace get-shared-keys - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/containerapp-env000004/sharedKeys?api-version=2020-08-01 - response: - body: - string: '{"primarySharedKey":"x2t405tvHUYawk8MobMRIDCaPPDWRhMv5sLtwLcjchEI3DzwzleLZYgQ9NV7PrEyG8xiynUlOKTgLYmu1KGE3w==","secondarySharedKey":"gE/EmuDc/jvNzuHB91HKu9/aPBL9Yc4dxRtTOowIlnic6tZseLjUgIW/I5hAh40e6Y2UGmLxpT1KLNyFCaX59A=="}' - headers: - access-control-allow-origin: - - '*' - api-supported-versions: - - 2015-03-20, 2020-08-01, 2020-10-01, 2021-06-01, 2022-10-01 - cache-control: - - no-cache - content-length: - - '223' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 03:59:30 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:e6336c63-aab2-45f0-996a-e5dbab2a1508 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 03:59: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 03:59: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 03:59: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 env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 03:59: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: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey": - null, "vnetConfiguration": null, "appLogsConfiguration": {"destination": "log-analytics", - "logAnalyticsConfiguration": {"customerId": "e6b1150d-d82e-4472-ac5c-a7ae59735f01", - "sharedKey": "x2t405tvHUYawk8MobMRIDCaPPDWRhMv5sLtwLcjchEI3DzwzleLZYgQ9NV7PrEyG8xiynUlOKTgLYmu1KGE3w=="}}, - "customDomainConfiguration": null, "workloadProfiles": null, "zoneRedundant": - false}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - Content-Length: - - '446' - Content-Type: - - application/json - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2023-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"East - US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T03:59:40.2760331Z","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T03:59:40.2760331Z"},"properties":{"provisioningState":"Waiting","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"yellowhill-e7098d78.eastus.azurecontainerapps.io","staticIp":"20.242.197.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6b1150d-d82e-4472-ac5c-a7ae59735f01","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","dnsSuffix":null,"certificateValue":null,"certificatePassword":null,"thumbprint":null,"subjectName":null,"expirationDate":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":false}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/dd810bae-6939-44b2-8c4d-516905866b0a?api-version=2023-04-01-preview&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '1569' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 03:59:44 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-async-operation-timeout: - - PT15M - x-ms-ratelimit-remaining-subscription-resource-requests: - - '99' - x-powered-by: - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/dd810bae-6939-44b2-8c4d-516905866b0a?api-version=2023-04-01-preview&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/dd810bae-6939-44b2-8c4d-516905866b0a","name":"dd810bae-6939-44b2-8c4d-516905866b0a","status":"InProgress","startTime":"2023-07-18T03:59:43.2347528"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '284' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 03:59: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.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/dd810bae-6939-44b2-8c4d-516905866b0a?api-version=2023-04-01-preview&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/dd810bae-6939-44b2-8c4d-516905866b0a","name":"dd810bae-6939-44b2-8c4d-516905866b0a","status":"InProgress","startTime":"2023-07-18T03:59:43.2347528"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '284' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 03:59: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.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/dd810bae-6939-44b2-8c4d-516905866b0a?api-version=2023-04-01-preview&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/dd810bae-6939-44b2-8c4d-516905866b0a","name":"dd810bae-6939-44b2-8c4d-516905866b0a","status":"InProgress","startTime":"2023-07-18T03:59:43.2347528"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '284' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 03:59: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.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/dd810bae-6939-44b2-8c4d-516905866b0a?api-version=2023-04-01-preview&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/dd810bae-6939-44b2-8c4d-516905866b0a","name":"dd810bae-6939-44b2-8c4d-516905866b0a","status":"InProgress","startTime":"2023-07-18T03:59:43.2347528"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '284' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 03:59:57 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/dd810bae-6939-44b2-8c4d-516905866b0a?api-version=2023-04-01-preview&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/dd810bae-6939-44b2-8c4d-516905866b0a","name":"dd810bae-6939-44b2-8c4d-516905866b0a","status":"InProgress","startTime":"2023-07-18T03:59:43.2347528"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '284' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/dd810bae-6939-44b2-8c4d-516905866b0a?api-version=2023-04-01-preview&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/dd810bae-6939-44b2-8c4d-516905866b0a","name":"dd810bae-6939-44b2-8c4d-516905866b0a","status":"Succeeded","startTime":"2023-07-18T03:59:43.2347528"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '283' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00:04 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env create - Connection: - - keep-alive - ParameterSetName: - - -g -n --logs-workspace-id --logs-workspace-key - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2023-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"East - US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T03:59:40.2760331","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T03:59:40.2760331"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"yellowhill-e7098d78.eastus.azurecontainerapps.io","staticIp":"20.242.197.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6b1150d-d82e-4472-ac5c-a7ae59735f01","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","dnsSuffix":null,"certificateValue":null,"certificatePassword":null,"thumbprint":null,"subjectName":null,"expirationDate":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":false}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '1569' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00: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.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00:09 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2023-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"East - US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T03:59:40.2760331","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T03:59:40.2760331"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"yellowhill-e7098d78.eastus.azurecontainerapps.io","staticIp":"20.242.197.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6b1150d-d82e-4472-ac5c-a7ae59735f01","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","dnsSuffix":null,"certificateValue":null,"certificatePassword":null,"thumbprint":null,"subjectName":null,"expirationDate":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":false}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '1569' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00: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 env show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00:11 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp env show - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2023-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"East - US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T03:59:40.2760331","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T03:59:40.2760331"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"yellowhill-e7098d78.eastus.azurecontainerapps.io","staticIp":"20.242.197.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6b1150d-d82e-4472-ac5c-a7ae59735f01","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","dnsSuffix":null,"certificateValue":null,"certificatePassword":null,"thumbprint":null,"subjectName":null,"expirationDate":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":false}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '1569' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp create - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --environment --image --environment-type - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00: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: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp create - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --environment --image --environment-type - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002?api-version=2023-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","name":"containerapp-env000002","type":"Microsoft.App/managedEnvironments","location":"East - US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T03:59:40.2760331","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T03:59:40.2760331"},"properties":{"provisioningState":"Succeeded","daprAIInstrumentationKey":null,"daprAIConnectionString":null,"vnetConfiguration":null,"defaultDomain":"yellowhill-e7098d78.eastus.azurecontainerapps.io","staticIp":"20.242.197.217","appLogsConfiguration":{"destination":"log-analytics","logAnalyticsConfiguration":{"customerId":"e6b1150d-d82e-4472-ac5c-a7ae59735f01","sharedKey":null}},"zoneRedundant":false,"kedaConfiguration":{"version":"2.10.0"},"daprConfiguration":{"version":"1.10.8"},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/managedEnvironments/containerapp-env000002/eventstream","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","dnsSuffix":null,"certificateValue":null,"certificatePassword":null,"thumbprint":null,"subjectName":null,"expirationDate":null},"workloadProfiles":null,"firstPartyConfiguration":null,"infrastructureResourceGroup":null,"peerAuthentication":{"mtls":{"enabled":false}}}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '1569' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00: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 create - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --environment --image --environment-type - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00:19 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "East US", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"environmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002", - "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": - null, "dapr": null, "registries": null, "service": null}, "template": {"revisionSuffix": - null, "containers": [{"image": "mcr.microsoft.com/k8se/quickstart:latest", "name": - "containerapp000003", "command": null, "args": null, "env": null, "resources": - null, "volumeMounts": null}], "initContainers": null, "scale": null, "volumes": - null, "serviceBinds": null}, "workloadProfileName": null}, "tags": null}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp create - Connection: - - keep-alive - Content-Length: - - '754' - Content-Type: - - application/json - ParameterSetName: - - --name --resource-group --environment --image --environment-type - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2023-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:00:26.1552862Z","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:00:26.1552862Z"},"properties":{"provisioningState":"InProgress","runningStatus":"Running","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","workloadProfileName":null,"outboundIpAddresses":["20.232.6.53"],"latestRevisionName":"","latestReadyRevisionName":"","latestRevisionFqdn":"","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":null,"registries":null,"dapr":null,"maxInactiveRevisions":null,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"scale":{"minReplicas":null,"maxReplicas":10,"rules":null},"volumes":null,"serviceBinds":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/containerapp000003/eventstream"},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/6ba7efde-ea28-4192-80eb-d99762256288?api-version=2023-04-01-preview&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '1845' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00:28 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-async-operation-timeout: - - PT15M - x-ms-ratelimit-remaining-subscription-resource-requests: - - '699' - x-powered-by: - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp create - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --environment --image --environment-type - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/6ba7efde-ea28-4192-80eb-d99762256288?api-version=2023-04-01-preview&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/6ba7efde-ea28-4192-80eb-d99762256288","name":"6ba7efde-ea28-4192-80eb-d99762256288","status":"InProgress","startTime":"2023-07-18T04:00:26.3601893"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '278' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00: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 create - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --environment --image --environment-type - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/6ba7efde-ea28-4192-80eb-d99762256288?api-version=2023-04-01-preview&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/6ba7efde-ea28-4192-80eb-d99762256288","name":"6ba7efde-ea28-4192-80eb-d99762256288","status":"Succeeded","startTime":"2023-07-18T04:00:26.3601893"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '277' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00:33 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp create - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --environment --image --environment-type - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2023-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:00:26.1552862","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:00:26.1552862"},"properties":{"provisioningState":"Succeeded","runningStatus":"Running","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","workloadProfileName":null,"outboundIpAddresses":["20.232.6.53"],"latestRevisionName":"containerapp000003--wq8c5la","latestReadyRevisionName":"containerapp000003--wq8c5la","latestRevisionFqdn":"","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":null,"registries":null,"dapr":null,"maxInactiveRevisions":null,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"scale":{"minReplicas":null,"maxReplicas":10,"rules":null},"volumes":null,"serviceBinds":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/containerapp000003/eventstream"},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '1896' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp show - Connection: - - keep-alive - ParameterSetName: - - -n -g - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00:37 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp show - Connection: - - keep-alive - ParameterSetName: - - -n -g - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2023-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:00:26.1552862","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:00:26.1552862"},"properties":{"provisioningState":"Succeeded","runningStatus":"Running","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","workloadProfileName":null,"outboundIpAddresses":["20.232.6.53"],"latestRevisionName":"containerapp000003--wq8c5la","latestReadyRevisionName":"containerapp000003--wq8c5la","latestRevisionFqdn":"","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":null,"registries":null,"dapr":null,"maxInactiveRevisions":null,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"scale":{"minReplicas":null,"maxReplicas":10,"rules":null},"volumes":null,"serviceBinds":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/containerapp000003/eventstream"},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '1896' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp list - Connection: - - keep-alive - ParameterSetName: - - -g - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00:41 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp list - Connection: - - keep-alive - ParameterSetName: - - -g - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps?api-version=2023-04-01-preview - response: - body: - string: '{"value":[{"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":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:00:26.1552862","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:00:26.1552862"},"properties":{"provisioningState":"Succeeded","runningStatus":"Running","managedEnvironmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/managedEnvironments/containerapp-env000002","workloadProfileName":null,"outboundIpAddresses":["20.232.6.53"],"latestRevisionName":"containerapp000003--wq8c5la","latestReadyRevisionName":"containerapp000003--wq8c5la","latestRevisionFqdn":"","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":null,"registries":null,"dapr":null,"maxInactiveRevisions":null,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"scale":{"minReplicas":null,"maxReplicas":10,"rules":null},"volumes":null,"serviceBinds":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/containerapp000003/eventstream"},"identity":{"type":"None"}}]}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '1908' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp delete - Connection: - - keep-alive - ParameterSetName: - - --ids --yes - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00:45 GMT - expires: - - '-1' - pragma: - - 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 delete - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --ids --yes - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2023-04-01-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '0' - date: - - Tue, 18 Jul 2023 04:00:49 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/6ba7efde-ea28-4192-80eb-d99762256288?api-version=2023-04-01-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp delete - Connection: - - keep-alive - ParameterSetName: - - --ids --yes - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/6ba7efde-ea28-4192-80eb-d99762256288?api-version=2023-04-01-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '0' - date: - - Tue, 18 Jul 2023 04:00:51 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/6ba7efde-ea28-4192-80eb-d99762256288?api-version=2023-04-01-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp delete - Connection: - - keep-alive - ParameterSetName: - - --ids --yes - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/6ba7efde-ea28-4192-80eb-d99762256288?api-version=2023-04-01-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - date: - - Tue, 18 Jul 2023 04:00: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-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp list - Connection: - - keep-alive - ParameterSetName: - - -g - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00:58 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp list - Connection: - - keep-alive - ParameterSetName: - - -g - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps?api-version=2023-04-01-preview - response: - body: - string: '{"value":[]}' - headers: - cache-control: - - no-cache - content-length: - - '12' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_preview_environment_type.yaml b/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_preview_environment_type.yaml deleted file mode 100644 index a0b323dbd7e..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/recordings/test_containerapp_preview_environment_type.yaml +++ /dev/null @@ -1,5398 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-aad --generate-ssh-keys --enable-cluster-autoscaler - --min-count --max-count --node-count - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-containerservice/24.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerService/managedClusters/my-aks-cluster?api-version=2023-05-01 - response: - body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.ContainerService/managedClusters/my-aks-cluster'' - under resource group ''clitest.rg000001'' was not found. For more details - please go to https://aka.ms/ARMResourceNotFoundFix"}}' - headers: - cache-control: - - no-cache - content-length: - - '245' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:00:18 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-failure-cause: - - gateway - status: - code: 404 - message: Not Found -- request: - body: '{"location": "eastus", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "my-aks-clu-clitestrgk2jor-23f95f", "agentPoolProfiles": - [{"count": 4, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 0, "osType": "Linux", - "maxCount": 10, "minCount": 4, "enableAutoScaling": true, "type": "VirtualMachineScaleSets", - "mode": "System", "orchestratorVersion": "", "upgradeSettings": {}, "enableNodePublicIP": - false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": - -1.0, "nodeTaints": [], "enableEncryptionAtHost": false, "enableUltraSSD": false, - "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDGk3i/MW4IwP9E5pM45ToHdqeEkcpDrH7qQP0ZX3+NQyUQBJFsjD4+SNF/zPm1a6Q53Xhurdy5w5m3lDlVaEGwWYPRlgIZ2GQkv+vZdiQ+YqH+f7Se5DcEQMmnrrdKIqwbug71n5j/KOOlkpBQfa3sOFaE4bPZkX1ufJW3eO4y/+uASqIYEAh0x6PFljgi17PGgYAiyE4oBUbp7HlvLDNsVutMAQ1zTHvaswdTrvXhVT/Fk+Bbgy/vZtD28i/MIWBjGHcaLXhTzATllQYXxgGbaMJogLfihKpWBFhCWVa/3/jbVxebtkhudU1jQg2tzfKdXHIjF1Yh7qW3FLyeDb5R"}]}}, - "addonProfiles": {}, "enableRBAC": true, "networkProfile": {"networkPlugin": - "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": - "10.0.0.10", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, - "aadProfile": {"managed": true, "enableAzureRBAC": false}, "disableLocalAccounts": - false, "storageProfile": {}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - Content-Length: - - '1474' - Content-Type: - - application/json - ParameterSetName: - - --resource-group --name --enable-aad --generate-ssh-keys --enable-cluster-autoscaler - --min-count --max-count --node-count - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-containerservice/24.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerService/managedClusters/my-aks-cluster?api-version=2023-05-01 - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ContainerService/managedClusters/my-aks-cluster\"\ - ,\n \"location\": \"eastus\",\n \"name\": \"my-aks-cluster\",\n \"type\"\ - : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ - \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ - : \"Running\"\n },\n \"kubernetesVersion\": \"1.25.6\",\n \"currentKubernetesVersion\"\ - : \"1.25.6\",\n \"dnsPrefix\": \"my-aks-clu-clitestrgk2jor-23f95f\",\n \ - \ \"fqdn\": \"my-aks-clu-clitestrgk2jor-23f95f-ny5qcxom.hcp.eastus.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"my-aks-clu-clitestrgk2jor-23f95f-ny5qcxom.portal.hcp.eastus.azmk8s.io\"\ - ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ - \ \"count\": 4,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ - : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ - ,\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ - \ \"maxCount\": 10,\n \"minCount\": 4,\n \"enableAutoScaling\"\ - : true,\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n\ - \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.25.6\"\ - ,\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\"\ - : false,\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n\ - \ \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\"\ - : \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202307.04.0\"\ - ,\n \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n\ - \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\"\ - : {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDGk3i/MW4IwP9E5pM45ToHdqeEkcpDrH7qQP0ZX3+NQyUQBJFsjD4+SNF/zPm1a6Q53Xhurdy5w5m3lDlVaEGwWYPRlgIZ2GQkv+vZdiQ+YqH+f7Se5DcEQMmnrrdKIqwbug71n5j/KOOlkpBQfa3sOFaE4bPZkX1ufJW3eO4y/+uASqIYEAh0x6PFljgi17PGgYAiyE4oBUbp7HlvLDNsVutMAQ1zTHvaswdTrvXhVT/Fk+Bbgy/vZtD28i/MIWBjGHcaLXhTzATllQYXxgGbaMJogLfihKpWBFhCWVa/3/jbVxebtkhudU1jQg2tzfKdXHIjF1Yh7qW3FLyeDb5R\"\ - \n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"\ - clientId\": \"msi\"\n },\n \"nodeResourceGroup\": \"MC_clitest.rg000001_my-aks-cluster_eastus\"\ - ,\n \"enableRBAC\": true,\n \"supportPlan\": \"KubernetesOfficial\",\n\ - \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\"\ - : \"standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\"\ - : {\n \"count\": 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\"\ - ,\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\"\ - ,\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\ - \n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\"\ - : [\n \"IPv4\"\n ]\n },\n \"aadProfile\": {\n \"managed\": true,\n\ - \ \"adminGroupObjectIDs\": null,\n \"adminUsers\": null,\n \"enableAzureRBAC\"\ - : false,\n \"tenantID\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n\ - \ \"maxAgentPools\": 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\"\ - : {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\"\ - : true\n },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n\ - \ \"snapshotController\": {\n \"enabled\": true\n }\n },\n \"\ - oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\"\ - : {}\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\"\ - : \"356911d5-a71d-4311-8aef-5a9f4e9969ec\",\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\ - \n },\n \"sku\": {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n\ - \ }" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/136043bd-f3a6-4b33-9b50-918487453750?api-version=2017-08-31 - cache-control: - - no-cache - content-length: - - '3420' - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:00:30 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - 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: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-aad --generate-ssh-keys --enable-cluster-autoscaler - --min-count --max-count --node-count - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-containerservice/24.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/136043bd-f3a6-4b33-9b50-918487453750?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"bd436013-a6f3-334b-9b50-918487453750\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2023-07-18T04:00:29.1533864Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:00:31 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-aad --generate-ssh-keys --enable-cluster-autoscaler - --min-count --max-count --node-count - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-containerservice/24.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/136043bd-f3a6-4b33-9b50-918487453750?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"bd436013-a6f3-334b-9b50-918487453750\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2023-07-18T04:00:29.1533864Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:01:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-aad --generate-ssh-keys --enable-cluster-autoscaler - --min-count --max-count --node-count - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-containerservice/24.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/136043bd-f3a6-4b33-9b50-918487453750?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"bd436013-a6f3-334b-9b50-918487453750\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2023-07-18T04:00:29.1533864Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:01:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-aad --generate-ssh-keys --enable-cluster-autoscaler - --min-count --max-count --node-count - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-containerservice/24.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/136043bd-f3a6-4b33-9b50-918487453750?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"bd436013-a6f3-334b-9b50-918487453750\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2023-07-18T04:00:29.1533864Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:02:04 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-aad --generate-ssh-keys --enable-cluster-autoscaler - --min-count --max-count --node-count - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-containerservice/24.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/136043bd-f3a6-4b33-9b50-918487453750?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"bd436013-a6f3-334b-9b50-918487453750\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2023-07-18T04:00:29.1533864Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:02:34 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-aad --generate-ssh-keys --enable-cluster-autoscaler - --min-count --max-count --node-count - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-containerservice/24.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/136043bd-f3a6-4b33-9b50-918487453750?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"bd436013-a6f3-334b-9b50-918487453750\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2023-07-18T04:00:29.1533864Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:03:05 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-aad --generate-ssh-keys --enable-cluster-autoscaler - --min-count --max-count --node-count - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-containerservice/24.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/136043bd-f3a6-4b33-9b50-918487453750?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"bd436013-a6f3-334b-9b50-918487453750\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2023-07-18T04:00:29.1533864Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:03:35 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-aad --generate-ssh-keys --enable-cluster-autoscaler - --min-count --max-count --node-count - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-containerservice/24.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/136043bd-f3a6-4b33-9b50-918487453750?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"bd436013-a6f3-334b-9b50-918487453750\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2023-07-18T04:00:29.1533864Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:04:06 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-aad --generate-ssh-keys --enable-cluster-autoscaler - --min-count --max-count --node-count - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-containerservice/24.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/136043bd-f3a6-4b33-9b50-918487453750?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"bd436013-a6f3-334b-9b50-918487453750\",\n \"status\"\ - : \"Succeeded\",\n \"startTime\": \"2023-07-18T04:00:29.1533864Z\",\n \"\ - endTime\": \"2023-07-18T04:04:17.9257099Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '170' - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:04:36 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-aad --generate-ssh-keys --enable-cluster-autoscaler - --min-count --max-count --node-count - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-containerservice/24.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerService/managedClusters/my-aks-cluster?api-version=2023-05-01 - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ContainerService/managedClusters/my-aks-cluster\"\ - ,\n \"location\": \"eastus\",\n \"name\": \"my-aks-cluster\",\n \"type\"\ - : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ - : \"Running\"\n },\n \"kubernetesVersion\": \"1.25.6\",\n \"currentKubernetesVersion\"\ - : \"1.25.6\",\n \"dnsPrefix\": \"my-aks-clu-clitestrgk2jor-23f95f\",\n \ - \ \"fqdn\": \"my-aks-clu-clitestrgk2jor-23f95f-ny5qcxom.hcp.eastus.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"my-aks-clu-clitestrgk2jor-23f95f-ny5qcxom.portal.hcp.eastus.azmk8s.io\"\ - ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ - \ \"count\": 4,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ - : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ - ,\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ - \ \"maxCount\": 10,\n \"minCount\": 4,\n \"enableAutoScaling\"\ - : true,\n \"provisioningState\": \"Succeeded\",\n \"powerState\":\ - \ {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"\ - 1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\"\ - : false,\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n\ - \ \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\"\ - : \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202307.04.0\"\ - ,\n \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n\ - \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\"\ - : {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDGk3i/MW4IwP9E5pM45ToHdqeEkcpDrH7qQP0ZX3+NQyUQBJFsjD4+SNF/zPm1a6Q53Xhurdy5w5m3lDlVaEGwWYPRlgIZ2GQkv+vZdiQ+YqH+f7Se5DcEQMmnrrdKIqwbug71n5j/KOOlkpBQfa3sOFaE4bPZkX1ufJW3eO4y/+uASqIYEAh0x6PFljgi17PGgYAiyE4oBUbp7HlvLDNsVutMAQ1zTHvaswdTrvXhVT/Fk+Bbgy/vZtD28i/MIWBjGHcaLXhTzATllQYXxgGbaMJogLfihKpWBFhCWVa/3/jbVxebtkhudU1jQg2tzfKdXHIjF1Yh7qW3FLyeDb5R\"\ - \n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"\ - clientId\": \"msi\"\n },\n \"nodeResourceGroup\": \"MC_clitest.rg000001_my-aks-cluster_eastus\"\ - ,\n \"enableRBAC\": true,\n \"supportPlan\": \"KubernetesOfficial\",\n\ - \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\"\ - : \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\"\ - : {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n \ - \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest.rg000001_my-aks-cluster_eastus/providers/Microsoft.Network/publicIPAddresses/4cee8d3a-43ce-4390-8225-71b5f8142bf0\"\ - \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ - : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\"\ - : \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n\ - \ \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\"\ - : [\n \"IPv4\"\n ]\n },\n \"aadProfile\": {\n \"managed\": true,\n\ - \ \"adminGroupObjectIDs\": null,\n \"adminUsers\": null,\n \"enableAzureRBAC\"\ - : false,\n \"tenantID\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n\ - \ \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\"\ - : {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest.rg000001_my-aks-cluster_eastus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-aks-cluster-agentpool\"\ - ,\n \"clientId\": \"1ac0164f-dd30-4dc6-afc2-5727733dfe4a\",\n \"objectId\"\ - : \"10361983-6560-4a8c-b180-9d6ba5ca6fc0\"\n }\n },\n \"autoScalerProfile\"\ - : {\n \"balance-similar-node-groups\": \"false\",\n \"expander\": \"\ - random\",\n \"max-empty-bulk-delete\": \"10\",\n \"max-graceful-termination-sec\"\ - : \"600\",\n \"max-node-provision-time\": \"15m\",\n \"max-total-unready-percentage\"\ - : \"45\",\n \"new-pod-scale-up-delay\": \"0s\",\n \"ok-total-unready-count\"\ - : \"3\",\n \"scale-down-delay-after-add\": \"10m\",\n \"scale-down-delay-after-delete\"\ - : \"10s\",\n \"scale-down-delay-after-failure\": \"3m\",\n \"scale-down-unneeded-time\"\ - : \"10m\",\n \"scale-down-unready-time\": \"20m\",\n \"scale-down-utilization-threshold\"\ - : \"0.5\",\n \"scan-interval\": \"10s\",\n \"skip-nodes-with-local-storage\"\ - : \"false\",\n \"skip-nodes-with-system-pods\": \"true\"\n },\n \"\ - disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"storageProfile\"\ - : {\n \"diskCSIDriver\": {\n \"enabled\": true\n },\n \"fileCSIDriver\"\ - : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"\ - enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\"\ - : false\n },\n \"workloadAutoScalerProfile\": {}\n },\n \"identity\"\ - : {\n \"type\": \"SystemAssigned\",\n \"principalId\": \"356911d5-a71d-4311-8aef-5a9f4e9969ec\"\ - ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ - : {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n }" - headers: - cache-control: - - no-cache - content-length: - - '4773' - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:04:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - 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: - - aks get-credentials - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --resource-group --name --overwrite-existing --admin - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-containerservice/24.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerService/managedClusters/my-aks-cluster/listClusterAdminCredential?api-version=2023-05-01 - response: - body: - string: "{\n \"kubeconfigs\": [\n {\n \"name\": \"clusterAdmin\",\n \ - \ \"value\": \"YXBpVmVyc2lvbjogdjEKY2x1c3RlcnM6Ci0gY2x1c3RlcjoKICAgIGNlcnRpZmljYXRlLWF1dGhvcml0eS1kYXRhOiBMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VVMlJFTkRRWFJEWjBGM1NVSkJaMGxSVms1cE1VazRMM0JtY1d0dVZteFpOMDFhVlhRd1ZFRk9RbWRyY1docmFVYzVkekJDUVZGelJrRkVRVTRLVFZGemQwTlJXVVJXVVZGRVJYZEthbGxVUVdkR2R6QjVUWHBCTTAxVVozZE5lbFY0VFZSb1lVZEJPSGxOUkZWNlRVUmplRTlFUVRCTlJFVjRUMFp2ZHdwRVZFVk1UVUZyUjBFeFZVVkJlRTFEV1RKRmQyZG5TV2xOUVRCSFExTnhSMU5KWWpORVVVVkNRVkZWUVVFMFNVTkVkMEYzWjJkSlMwRnZTVU5CVVVNekNtazNkVXh3VUZWeFZHZzFOMHAzUTFveGQxaEdTMGxqZEVac2FEQTVTMll4WlZOaVNGRmlUMU16Tm5SSU1tRktlbVpVVjFGMGRIWmFUVzVUTVVWNWJtd0tkREpoVmxWQlZHeHViVFEwTVdaMlRFSnhlV2xDWjFjellqVkxVR0Z2TlZweWQyTm9TallyVW01bVRFTnliRWhOTTBOcWJrRkllbUpxYzA5aGRGbGhkUW96WTFOT1pVOUNNRXBwVG14QmFuSjRWemxyVHl0S1RWaFJTV3gzUzNOUmJWRnNSSGRtWVN0NUsyNXNlSE5xWlRaMVpYVklhM2N4YW5OVlJGZDVhVXRWQ201WVFTOUNOMHBCWmpsQ2FGaGxSamhZTkVkelN5OTFaMHhUTVRJdmFqYzRiMDV2THl0R1ozcFNRa2QwTTB4UVl6UjJVelYxZVdScmNrNTBZVVJOY2tvS1EyaElkelJWYW1Gc2IyaHhSbmR0YkZCWU5HdFlXa0ZxWkVGSlVVNXNibmsxWkhvd1NtMUdOek01WlZBelJUWlRSbEZqWXpCTk1EQjZaM1pxSzJ0SU5nbzVOMXA0VTBVNFRIbFZWbWxDUkVOd2VFNUVRMVZPY0RCRVMxSXpPV2x4YzA5dVVIaEJUV1prWkV0UVkybG5ka00xWjJSd1VGSXpWR3RQY21ZeE9XeDRDbEZEU1hoTk1qSktkSEJYV25kT1IxWldLMmRDUm01alpFOXZSRmx0TlVsdVowc3pOVmhCYTFocE1UWkJTR3hKZFhSUGF5OW9ZMHN4VTJWNk1EbGxTVXNLZUV0c1FuQkhNamRaWlRObE0waHFSbEZ3UkVReWVEVkxkV0pEUVVZd1NVRXdhbkJFYmxKclUydHlLMkZsYjJkdFZXRTJiV1JQWVRSQ1NWRlNRWEoyT0FwaWJHMWhaMmhySzJGNU0zUldiRmh1Wm05aWIyTkJNUzlUYmpOWFpWQTFURUZUWWxOWFJWZG9kWE5CZUdWT1dWbHpkbWd3VkVwSlZrcFhabVJJYnpsVENqWmpZblI2TkhaSlNqRTNhVWR3VmtsRGIxVTBOa0p5VFU1S2VVVnFkV2hUVEVWM1ZpdEJhWEF6U2xkclZsQkRVR2RIU2xsSWVrMTRjMEpKTURadVkwUUtRekZuZWxoR2JqZFJZMHRWYVcxdk0zZHlPRFl4YW1OU1RqZFJTMHhUTnpWYUsyZExiblozYWxaUlNVUkJVVUZDYnpCSmQxRkVRVTlDWjA1V1NGRTRRZ3BCWmpoRlFrRk5RMEZ4VVhkRWQxbEVWbEl3VkVGUlNDOUNRVlYzUVhkRlFpOTZRV1JDWjA1V1NGRTBSVVpuVVZWUU5FZFJOamQwY0hkMFdFWk9lWEV4Q2tGcVJIUXJTMVpQWWpJNGQwUlJXVXBMYjFwSmFIWmpUa0ZSUlV4Q1VVRkVaMmRKUWtGTE5qQlhNVVZKTmxkSlVtZEtOM0pyWkhKMGJUWldVbUpNVEU4S1ZIbGhNM0pOZFVNNU1HcHdhbk4yUzFWWFREUkhUM1J0VGpnM2NIY3lhVzlQZFVzMU4yaEhjbFJtTWs1VWEyNHlZa3QwZHpZMGFEZFFkVUpJZFhkTVZBcGhNM0ZwVVdaV2RFdzNhblF6T1ZCV2QxVTVORVl5YVVoVlFteG1TM0p4UzJ4cmVFbENXRVZ3VlRNMlpXTnZPVVJJWVVGV09FcFpjbXgwVkhwbWFrUnFDbGR6Y1hoSVduWnpTakE0YjNWTWVFTjJlbVV2WVZOcGNrSk1SSFpRVGxOa1JuQldWemN6UmtaRWRFMWtTMVY2ZWtKd1Jub3JVRk5LVkUxM1lqaEROVThLZGxBelVESkJkMm94U0ZaeFVYUk9NbVl6ZUZweFNVdEVVMHhzU3paNlZHcDBXalJuU1Zaa1dTODFUWEoyU0VjcldtOVROemsxTnpkemVEQjJXV1JXVEFvNGFIUnhZMFI0UjNoblRrZHhaemxQTVdobFMySjVUMXB5UTB0VWQxTkZORFp4WXpsbmNrczRZazlNSzA1bVZrdFNhWFF3TjI0d1UxSlFLM3B5VmpkVENtZHdOVWQ1VVRrMlkyOTFlbFoyVVVveU1IWk5RalZ2WlhFM2JuaFZVRlpITlhGdk5tUkVkRlJXTkhkTGJEZFFlVzVpTUdnMFpXdERXa2xFYnpaemJuQUtjR1JPTlZsRk1FczNTRzAzWlhCdFNrbHNTWEY1TnpoeE0wUjJjemROZEhWWmJVMVlVVzR3YTJaTFEyNVBNMFpSUXpSbU5DdHRLMmREV0VKM1RqSTJVZ29yZVZKcWFHZzRkV0pVTkhaclJXMWpTV0p6YkZGRVJrVk1Zazl5TTFoaFZVUlFVRFZtUWtaNVNqaGtka2xsVW1WU1RuaG1jRGh2U2xVd1FsVmpRbGhUQ25SVU9HSmtTM1ZNVEdoQk9FTk9VRWRDUmpkUlNsTm5RM2xEVWt4aFpFRlRiV3hsWlV4V1IxaFpjSEV2TnpCa1VEWklNbGhaZUZaSWVHMDNlRWMwYUdFS2VtUnNXa0p0VG1wSU0wOUhiRXRzWlhGYVZYSlVNV2xIUjFKc2VFSlljbU51VkVaa05URnRZMFp6VFU1cllXaExXVWMzYWpBemFEVnFiRGh6ZWtNcmJBcDNkakl5UmxCaWIySmliRXByZFV4ckNpMHRMUzB0UlU1RUlFTkZVbFJKUmtsRFFWUkZMUzB0TFMwSwogICAgc2VydmVyOiBodHRwczovL215LWFrcy1jbHUtY2xpdGVzdHJnazJqb3ItMjNmOTVmLW55NXFjeG9tLmhjcC5lYXN0dXMuYXptazhzLmlvOjQ0MwogIG5hbWU6IG15LWFrcy1jbHVzdGVyCmNvbnRleHRzOgotIGNvbnRleHQ6CiAgICBjbHVzdGVyOiBteS1ha3MtY2x1c3RlcgogICAgdXNlcjogY2x1c3RlckFkbWluX2NsaXRlc3QucmdrMmpvcl9teS1ha3MtY2x1c3RlcgogIG5hbWU6IG15LWFrcy1jbHVzdGVyCmN1cnJlbnQtY29udGV4dDogbXktYWtzLWNsdXN0ZXIKa2luZDogQ29uZmlnCnByZWZlcmVuY2VzOiB7fQp1c2VyczoKLSBuYW1lOiBjbHVzdGVyQWRtaW5fY2xpdGVzdC5yZ2syam9yX215LWFrcy1jbHVzdGVyCiAgdXNlcjoKICAgIGNsaWVudC1jZXJ0aWZpY2F0ZS1kYXRhOiBMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VaSVZFTkRRWGRYWjBGM1NVSkJaMGxSVTFsMlYySjVaekZhTjBwc2EwRnVSVE40ZDJWelJFRk9RbWRyY1docmFVYzVkekJDUVZGelJrRkVRVTRLVFZGemQwTlJXVVJXVVZGRVJYZEthbGxVUVdWR2R6QjVUWHBCTTAxVVozZE5lbFY0VFZSb1lVWjNNSGxPVkVFelRWUm5kMDVFUVhoTlZHaGhUVVJCZUFwR2VrRldRbWRPVmtKQmIxUkViazQxWXpOU2JHSlVjSFJaV0U0d1dsaEtlazFTVlhkRmQxbEVWbEZSUkVWM2VIUlpXRTR3V2xoS2FtSkhiR3hpYmxGM0NtZG5TV2xOUVRCSFExTnhSMU5KWWpORVVVVkNRVkZWUVVFMFNVTkVkMEYzWjJkSlMwRnZTVU5CVVVSWlR6SXhiRTFuYkZkTFUzcG5TV1l3VVhoRFIzZ0tkVGRHZDJsMlVFMVdTMnBPVTBWTlVHOHhUWFJ1YVROc1FrZzFSSGRQYlZCS05HZzBSMmh4YVdwT2REZEhibVo2YVhCMVNUaFdlQzlQTkdwd00xUmtjQXBpWW5OWFlsTk9kakF4WVZrdlVqQlhXa01yWW5GdFNITjFTV1pyTjJ0MVltMURSWGRZU1hSU2VuYzNkVzlWUmxsRlJHb3hNbUZTYm1abFpYSjRkRlJSQ25sSlJFaG1WaXRCVUhWd00yVmxPSGswSzNVdlVtTkphRXRCTlRRemJsZElMMlZEV2xCdVkyaGlUVk16T1doUFkwRnhPRGRIZUZkeGNrTk1OR05tZEVRS01pc3JhR055WlZoNEsyeE1XVFV5T1hWSVdFdEpTRGQ0SzBoUFFWQXhaRGhxTUVGM2RWQkVaVFY1T0d4Vk5FUk5TMVZwT1ZFcmRHUkdRMjVWY21JMk9BcENRbEJJTlVwbFpFeHdPSFEzT0dGak9XVkJjMnhGYW5oTlNrNTJjemt6VVhCNFQxcFJhemd4YmtoT1RHWTNSbVJZWkd4aWNIRTVaVlp4YTJsUFNVaElDbU53YjBjeFUzSnlVMWt2VWtaamNEZEhVV3BwWm1GcWJuUTRSMjFaVW01RlQyd3dSVGxYUVhWbUsxTXJkRUZ1T0ZSWVkzRkVZMlIyYjJrclZrZDJNVk1LV0hkMVZVTTFWVzk2ZG5KNldqRTFlbGhTWVhWMU9XWTRhalZzWVN0dGQxZHhNalI2VURreGRFOXVabEZZTDBWT1NuUklPR2d6UVVwbWFXY3dPR1ZUY0FwdUsybFdjM0ZsVVRKTFpqZFRMeXRvVDJ0WlRtODFiM1YwYW5WbEswdFpVRVUxYzNkWGN6SkxWRmRxWmxkTmFqTnNORTA1VEhWb2RESlZjbkZNVUhWbUNsUnNXa1JDUzNaRk5ISkpNbFJuSzB4aVZYTmFWR2h4TDNSNFYyWjZlVzUxTXpKalNVMU9NbWxDTTJ4RlR6YzBXakEyUlROa2JFUTBRa1pVUVhoUGFHa0tielZ6VGtGQ05Fc3dTRWczZW5WQ1pXTkRRMWQyZGtaeGFFdFlhM0JFVUVvemJFdzFka0oxVEhoNldGZGlTaTlRT1hSS1ZrNU1XRlEwV0Uxdk5FY3dWd280Y2pWa2IzZEJVRTFhVW5ORGFXeENLemR0ZW1GM1NVUkJVVUZDYnpGWmQxWkVRVTlDWjA1V1NGRTRRa0ZtT0VWQ1FVMURRbUZCZDBWM1dVUldVakJzQ2tKQmQzZERaMWxKUzNkWlFrSlJWVWhCZDBsM1JFRlpSRlpTTUZSQlVVZ3ZRa0ZKZDBGRVFXWkNaMDVXU0ZOTlJVZEVRVmRuUWxFdloxcEVjblV5YmtNS01XTlZNMHR5VlVOTlR6TTBjRlUxZG1KNlFVNUNaMnR4YUd0cFJ6bDNNRUpCVVhOR1FVRlBRMEZuUlVGWllsbEpXVmRxUlV3dlZWUTNVR0Y0WW1kWk1BcFRhRmd5ZFV0bGF5dERjbk4yTTFkT05sWjZRV2xsVGtRelVtaDJhM3BGVnpaelJHUnNkWGR2YkZKek5IcHpRVkpLWkVnMGVEZGxibXh0V1dvMWJtUlRDazFUV21sVlJIWXpWVVpsVVhkclZub3lkbU1yVmtwdGVqVmllSGw0YmtwWVozcGtSakl4VlZaVGRHWkNiVUZ3U0VwbFNGaHlOV3g2TlhoMU4yMHJjbUlLZVRSalNuVldWRWxYT0hFeFdVaFlOM2t2ZUZKVVJGVTFaRGRJUkhveWRXdEVWMk0yY1hCdkt6Sm5ablYwTVdGQlRFMUpWRGxtT1RSRE1IcDBiMFlyY0FwSlEyUkxTR1ZKWmt0SlZreFFNRFYzVVVVNU5rcFdSVEJHYlhKTk1FTXhTVEEwWVVZMU9WUnVWSFp3YzBaemNpOUpSRXA0VnpsaGJsQmFWRmQ2TTFFMkNsSmFaMGRtSzBrMlNIWklSVmx0Vm5kaVVGWnphbTVvUmxobk9FNDVSRmhLVm0xVFNqUlRVelJMTldFeFpYTk5RazF1WXk5Nk5sbG1RbUprVEN0SGVGQUtVMWRLYm1reU1Fc3lNbmhQZEhSNVVVZHVlaXN5WjNSbFRXOWFWUzltVVc4d2VsZE5TMGRuVkdaT1RGWjZhRlp1YjFWeFJqWnFlbGhaUXpVdldsWlZjUXA0Tm1WM1p6SmhZMVUxYUZORlVIcFdSVlJoVUhWRVdVRmFVek50TmtKSlZ5OU9PRzQ1UzFKek5GVnhNRmxrUkdvdlV6TkVSa04yVHpVM1JFVkdSVzF5Q2tSWU1EUkdhalpuYVdkbWRVSnNkMUJPYTBST1QzSTVjVTlTUkRSd1JIcGpUVUZIUzNZeFUwSXpaRzlKWjJOaFQzSnlkMW9yVDBoTVJ6Vk5Ta2R3Um1VS2VWWjBOV1Y0TjFCak5GZG5aemRxTTJ4UFJEaE5VelY2Y2pGUFltdzBhbmhwWlZrdk1sZEJiV05rYUZkdmFsbDZjemxqZVVseVduRnVkRFpDVVRBM1F3cHhPVTVVVm5VelNXdGFRVlV5UkhWalZFdG9VbHBwWnpKQ1ZWQnJPVlkyTjJsVFEzTmxla1ZPUlU5NU5VTnJiRzVMUVRkT1YwOW1iR1ZMTVdSWmJGQXdDbXQ0TlZKT1JrUm9Oa3B6Unk5b1RFbG9ZbmxFV1dKSlBRb3RMUzB0TFVWT1JDQkRSVkpVU1VaSlEwRlVSUzB0TFMwdENnPT0KICAgIGNsaWVudC1rZXktZGF0YTogTFMwdExTMUNSVWRKVGlCU1UwRWdVRkpKVmtGVVJTQkxSVmt0TFMwdExRcE5TVWxLUzFGSlFrRkJTME5CWjBWQk1rUjBkRnBVU1VwV2FXdHpORU5JT1VWTlVXaHpZblY0WTBseWVucEdVMjk2VldoRVJEWk9WRXhhTkhRMVVWSXJDbEU0UkhCcWVXVkpaVUp2WVc5dmVtSmxlSEF6T0RSeFltbFFSbU5tZW5WSk5tUXdNMkZYTWpkR2JUQnFZamxPVjIxUU1HUkdiVkYyYlRad2FEZE1hVWdLTlU4MVRHMDFaMmhOUm5sTVZXTTRUemR4UmtKWFFrRTBPV1J0YTFvek0yNXhPR0pWTUUxcFFYZ3pNV1puUkRkeFpETnVkazExVUhKMk1GaERTVk5uVHdwbFRqVXhhQzh6WjIxVU5UTkpWM3BGZEM5WlZHNUJTM1pQZUhOV2NYRjNhU3RJU0RkUk9YWjJiMWhMTTJ3NFpuQlRNazlrZG1Kb01YbHBRaXM0Wm1oNkNtZEVPVmhtU1RsQlRVeHFkek4xWTNaS1ZrOUJla05zU1haVlVISllVbEZ3TVVzeUszWkJVVlI0SzFOWWJsTTJaa3hsTDBkdVVGaG5URXBTU1RoVVExUUtZamRRWkRCTFkxUnRWVXBRVGxwNGVsTXpLM2hZVmpOYVZ6WmhkbGhzWVhCSmFtbENlRE5MWVVKMFZYRTJNRzFRTUZKWVMyVjRhMGswYmpKdk5UZG1RZ3B3YlVWYWVFUndaRUpRVm1kTWJpOXJkbkpSU2k5Rk1UTkxaek5JWWpaSmRteFNjamxWYkRoTWJFRjFWa3ROTnpZNE1tUmxZekV3VjNKeWRsZ3ZTU3RhQ2xkMmNITkdjWFIxVFhvdlpHSlVjRE13Umk5NFJGTmlVaTlKWkhkRFdEUnZUbEJJYTNGYUwyOXNZa3R1YTA1cGJpc3dkaTl2VkhCSFJHRlBZVXh5V1RjS2JuWnBiVVI0VDJKTlJuSk9hV3N4YnpNeGFrazVOV1ZFVUZNM2IySmtiRXMyYVhvM2JqQTFWMUYzVTNKNFQwdDVUbXMwVUdreU1VeEhWVFJoZGpkalZncHVPRGh3TjNRNWJrTkVSR1J2WjJRMVVrUjFLMGRrVDJoT00xcFJLMEZTVlhkTlZHOVpjVTlpUkZGQlpVTjBRbmdyT0RkbldHNUJaMnh5TjNoaGIxTnNDalZMVVhwNVpEVlRLMkozWW1rNFl6RXhiWGxtZWk5aVUxWlVVekV3SzBaNlMwOUNkRVoyU3l0WVlVMUJSSHBIVldKQmIzQlJablUxY3pKelEwRjNSVUVLUVZGTFEwRm5Ra0ZqVERGNVYyYzBWVkZ0VFdkVVMwUktabFp1TlZOT1JtaHJPV1ZEVUc1NWNqWlBkM0pZWlZsMFFYbFlNRk5ZYlVSdlduTTFWVmhRU0FwTWVXaGxOWGhIUm5neVlWZERkVzA1VkhkcVl6Rm9Xa0ZqS3k5UGJVdG5XSG9yUTNWek9VaHlLMEZ5VTBsSWRHSnlaRkpRU1hST1JUZzBkRTk2U0VObUNuQkJWRlpHV25ORGJrMVpTR2MxV1cxR2JqRTNXbXBrUkhCNFlraFFaVzAzUTJVNFRFaHFWSEk1UldaSU5UaHlZa1IxVVVNd05XY3dhSG9yU21weGVDOEtiblpGVERSbmJHbE9Xa013Wm5ONFVVWm5kRWdyVGt4WVRHTnFUeXRXTWxwNFRVWlpSak5wT0ZGbGVrSnVTbHBzTjFoa1NHb3hOa1ZwZEhZNGQwRm9Sd3BRVDJSNk1XNTJhbUZPV2t0blkyTjFkVWMwVGt0RVVYSk5UR2hXSzJaVldFeHNXRTEyZUdOeVRHNXJTRlF2VGtZNVl6aHFTMlpJVjJGVmEybHdTbWRtQ25CWVdreHhUblJ1Vmxvck4wUnVkak5hTVRVclFUa3JWakZxWXl0a0wyNUhOV2t3Vm5jd09XbEZVV2dyUVZoUVJYSm9kR2h2TnpWYWQyaHZOM0pwYTFrS2RWUTVjRFF6TlhoRFRHSnRSM0o2YVc1VFZtVkROR0UxT1RkUFYyeGtMMHBzTVdkU1QzYzVSamRKVG1acmRFdG1hVEZPU21wT1YxZG9ReTlVVkd4aFRRcFFZa1ZxVnpoeFVETnVSMnRMTDBkUVl5OTFPWE5SZG1sU1ozQnBTbWRMUTJKaVpsTkdkRFZRVWs5WGFUSkplRWM0Y1Voc04zTnhOVEZTWTIxNkswNHhDbFpuUnk5MFVVa3lWbkpRYkRKbFpXSjVhVTFxZW1wbE1WWnhVMEpKYlc5d1RFNU5UVmxUTmxsMU5uQnpRell4UkRWek0wSllTVWRhYkhGWlMyRTRPSElLYm1jNFREQkxaMGcxVFVkQlVVVjBhVlpzTlhCVmFITjBMMVp1TmtKR05tWk1RMlZNTWxaR1pHMXVVVWhqYzFKSldqTlZWMGhhVG5sS1JrSkxUM2t6THdwT00yOTFNaXN5WTA5UksyZG9kMFJ6V1U5NU1HWmtUbFZsVFVkTmFUTTBVak15ZDFweVozUmFRa1pvV1RaVWJVdHBVVXREUVZGRlFUWjFjbGswVDBWc0NrRTVSV1JvUW5WTGQySnpWbXRsY0doRlkxZG9WMlF6TXl0cVFqQmFSMmxoWjJ4cFNrdFRWWE5OUTJsTlJ6RXJiRzV2VTBWWFZsazBMMDV5TDIxcVF6TUtWRkJpZDBkb2JYcHVZbFZNUVVVeVprUjZibUZPUzFVMVJucDZjVFJxWTJJeWJXVm9PV2t4VVdabUwxcHVTbXN6WjB0aVNIQmxOWE0yY1d3eWNYQnhTUW96T1RKaWJHTkVkMkpzU1VsWFMxUXlkWFZtYzAxMlZFdHhabGM0WmxsaU1HWTVkek16U1hkNE9TOTZRVGxQV1VaMlkyWXliR0ZvTkZsTVlVVXdRWGRUQ21sSWVITlJhRTlOTm1NMGNsQk5lVU53TjI5Qk5IWklMemRoWmxwamVtNURNMVV2VmxBNU4waEhkWGxEUWl0aWRVNVZXblZOUnl0WVRraEZlbUpsVFcwS1dVZElSRlp0V0dwRk4zWk9URUpSVURoaVpqQlRRbVJYVjB3MVkxRklhMFpoZGs5R1IxbHdjaXR1VnpodVluVTVaelZKWkU5UlNWaGhTVkp1UkdSM0x3cDJTakpuV25scmRXb3dOMWxrVVV0RFFWRkZRVFkyVGtzNGMyWjVXWFo0VGtaNGFVOTBPVkppTldNMVNYbDNZVzR2T1ZBMlRFaHZSV2hqZHl0VE4wTkRDbVEzWmpKUU5rdHlaamtyWkU5c1VURndaV3RIYUVKbU5HOXJiVTVsYWtwNk1rUkRUWEIzYmxoa1NGbG9SRWhhTlhjeGFqQk1TVU5HYzFOdk1FY3pMMjBLV0V0TmRUWXZlVXc0U1ZwNlVGZHFXWEkzWVdwUlZVRXpZVGxxWkhsSldXbHNkWFJzYVRNeFZITTRaVTgzVlRVMVRXRm9NVEp0WmtzMU15dFZZWEUxS3dwTU1reEVWVm81U2pGUlUyWlpSMWR3YTJKbFNDOVZWWG8wYW5CaldqUlBkaTlIV0UwNU1uTndZMWN3Y21SQkwzcFphVTFvYW1Ob1EzRlVXRTFPZVVOSENuY3pRMmh1YUVFMmNUaExUMk4wWWsxaE1HNDBXbkY1TURkUmNXczBZMUpZTURKcE5VRmxOR1o1VFZSVGFWaHBMelUySzFSQ2NHWnRXVlZJZVVGdU5XWUtjRGQxWm5CSGMyZHBjR0ptVXpkUFZqRkxiMUpKVTFwVE1YTkdNalYwUWpCdmJFSmxVbUV6WjFoM1MwTkJVVUZMTTBkNlIybFBTa1JQVDI1aFlqaFBUUXBxVnk5RU0xVm5OMjlDTWtSdlExZFZOV0ZUWWprNVNXTTRTMkl5ZUdkamVTdHplblptZHpaVVRUWkdRekpDSzNWWlVtMXpUVlpDYjA5SmNVWlRiV0p3Q21oaVRrdG5hM2N5VldkQ2NYRnlSRzVEUTFBM04xaDRWMHh5UW05U01WRlFXREJNWVZsTFRWZFRXaXN4V21vMlZ6UjBjbVp5UjBacWNVVldTRTlVU21zS2FERndibUp6YTFKbWVVOUhaalZpV0VsTmRHdExiR051YVdwRWVTc3pRbUl2VFRKWVFsRlBRemhNYmxBeFdXZHlVVWxWU0dOWFpIZzRMell4VmpFMFR3cGxWQ3MyWjJWSlVXbDVURGRYZVVSM1FtWkRhSGxUZG1aUE5DdHhZMnQ0VjFSR1ZDdDBTV2xUTkdaNU5rNUpObFJIUTBNcmJHUXZlVmRPVEVaTVpGTXZDakYwUkROc2NqTmtLMUpzVFUwdlowVkNiR3RTYVdkaVkwZFJTWGRYYUhZdk5tMHlZMEpXUVZCM2VrOXBjbEozVkRoMmMyOTNkVkZZWm14dmNVdDBaRU1LVUU5Nk5VRnZTVUpCVVVONlJUaENUSHBsVkVwclZrUk5PSEEzVkRKb1IxWkVhbUZKUWxORU56ZFpPRGcyWlZsNVFVMTRMMGhVSzNBeVEySlBjV05QU1FwU1RuSnhhakJFVDA4NEx6RTFNMjVRWVM5TFdFbFhlV3R4YUVSaGFWVkplV2RsZDFBeWNVbHBPR0ZHZG1sTFZWSjRVemhuYW5kNk1EZG9ZMnQ0VTA1akNuZG1SVzFvUmpOWkwwRlpTaXQwUjJwd2IyRXlaRU52Y0ZrdlFXbEhSR0poWkVKcFRrSkplR0ZVZEhCNVFqRjBUMjQ0YVdSWmMzTklTRUp0ZDBkRmR6SUtSbGhPUTBGVlJHcFBkMWRuVmpBeFl6WnNiRGRYWW5OUVMwSmhha2RqS3k5SlpWcGhTMEl3YUZGbE1tOUpURGswWkZObmFqVlNXa1o0V0RCME9FMTFSZ28yVXk4d01tOVZNRXhHTUZwUGNuVjBVV1FyV1hKSGVrdG1PVmhMVURkMmMwTndhWFZZVWxGTE9GbFlaRUoxWmxGc2FIUnJRbU5MVVdGTGFXdG1ZakpZQ2xaYU1sSnVTVTlNZDFWMVVGVTVOakF3ZDJGWU1USm5jMU56VHpaV1RFRnNRVzlKUWtGUlF5dDRXVlZ0WjFFNGJDdFFMMnhoVlhaQ1JFcE5hSE5YYVdRS2IyMUtkRkJVY2tSaVpVVllNMU5xUm5vME9VMDNZMHRrZEVOUWNEUnlZbmhaTlVkTFNUWlNaemc0U21vNVYyRnpXblYzTHpSV1RESXZlSGRPVjJwS1NncFdSRlpNV1hKNmIwTktkUzlJYVV4R1FraG5iVWhFVVhCclREZEVaMDlTZEVVMlNHRjRXakJsUnpkWGVUWlNOQzl4VVRrMGIzTkxiaXRxUzFvNVdtdE9DalJUVTNWRmRDdHJjQzlyTlVWRmQwWk5iWGs0YlVkMk1tTk5WbVpJVkZNeFRIVlBZWEoxYzBWTU5GSTVXbmxQZHpWb2QxTmhja2RTTDFsMVZ6VXlkRVVLYW5SaFNsUkJiR1oxVEV4SFlpdEJNM2RYVDNGc2NrcG5jWEUwWVRKMlZrcHZjbGxMUzJkS2FFZDVNQ3RRWkd0SllsaENZbmwwU2xGSlkzQnRVR3d2YWdwMmQyRmxaV2h1V0VzMVFsVllUVXBHTlRKNmRUSlhUVVJ1VEdKR1ExQmFjbEV3T1RCNEwxcFlOMlJ6V0cxSFJEaEJXbXBFVkdKc1luZFVjbThLTFMwdExTMUZUa1FnVWxOQklGQlNTVlpCVkVVZ1MwVlpMUzB0TFMwSwogICAgdG9rZW46IHJpbXBib242NnJvMWJ3cXBuaHJmeXVpaGp6N25sNnlvZGZmZ3hrZWt0bDF2MzV2NHN1dTQyY3hxZTVmaTFieGx1c3I4b21sZXF0cGR6a2k5azdiNTY4Y2F6d3pvbjcwM2g0NGZnc3Bsb2V0bTg4OXV6cjN4cGwzZjB0eDRjcDVwCg==\"\ - \n }\n ]\n }" - headers: - cache-control: - - no-cache - content-length: - - '13077' - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:04:41 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - 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' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - connectedk8s connect - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Kubernetes?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Kubernetes","namespace":"Microsoft.Kubernetes","authorizations":[{"applicationId":"64b12d6e-6549-484c-8cc6-6281839ba394","roleDefinitionId":"1d1d44cf-68a1-4def-a2b6-cd7efc3515af"},{"applicationId":"359431ad-ece5-496b-8768-be4bbfd82f36","roleDefinitionId":"1b5c71b7-9814-4b40-b62a-23018af874d8"},{"applicationId":"0000dab9-8b21-4ba2-807f-1743968cef00","roleDefinitionId":"1b5c71b7-9814-4b40-b62a-23018af874d8"},{"applicationId":"8edd93e1-2103-40b4-bd70-6e34e586362d","roleDefinitionId":"eb67887a-31e8-4e4e-bf5b-14ff79351a6f"}],"resourceTypes":[{"resourceType":"connectedClusters","locations":["West - Europe","East US","West Central US","South Central US","Southeast Asia","UK - South","East US 2","West US 2","Australia East","North Europe","France Central","Central - US","West US","North Central US","Korea Central","Japan East","East Asia","West - US 3","Canada East","Canada Central","Switzerland North","South Africa North","Brazil - South","UAE North","Central India","Sweden Central","East US 2 EUAP"],"apiVersions":["2022-10-01-preview","2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"SystemAssignedResourceIdentity, - SupportsTags, SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-10-01-preview","2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East - US 2 EUAP","West Europe","East US","West Central US","South Central US","Southeast - Asia","UK South","East US 2","West US 2","Australia East","North Europe","France - Central","Central US","West US","North Central US","Korea Central","Japan - East","East Asia","West US 3","Canada East","Canada Central","Switzerland - North","South Africa North","Brazil South","UAE North","Central India","Sweden - Central","Norway East","UK West"],"apiVersions":["2022-10-01-preview","2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"registeredSubscriptions","locations":[],"apiVersions":["2022-10-01-preview","2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"Operations","locations":[],"apiVersions":["2022-10-01-preview","2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview","2019-11-01-preview","2019-09-01-privatepreview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '2642' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:04: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: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - connectedk8s connect - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KubernetesConfiguration?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KubernetesConfiguration","namespace":"Microsoft.KubernetesConfiguration","authorizations":[{"applicationId":"c699bf69-fb1d-4eaf-999b-99e6b2ae4d85","roleDefinitionId":"90155430-a360-410f-af5d-89dc284d85c6"},{"applicationId":"03db181c-e9d3-4868-9097-f0b728327182","roleDefinitionId":"DE2ADB97-42D8-49C8-8FCF-DBB53EF936AC"},{"applicationId":"a0f92522-89de-4c5e-9a75-0044ccf66efd","roleDefinitionId":"b3429810-7d5c-420e-8605-cf280f3099f2"},{"applicationId":"bd9b7cd5-dac1-495f-b013-ac871e98fa5f","roleDefinitionId":"0d44c8f0-08b9-44d4-9f59-e51c83f95200"},{"applicationId":"585fc3c3-9a59-4720-8319-53cce041a605","roleDefinitionId":"4a9ce2ee-6de2-43ba-a7bd-8f316de763a7"}],"resourceTypes":[{"resourceType":"sourceControlConfigurations","locations":["East - US","West Europe","West Central US","West US 2","West US 3","South Central - US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France - Central","Central US","North Central US","West US","Korea Central","East Asia","Japan - East","Canada East","Canada Central","Norway East","Germany West Central","Sweden - Central","Switzerland North","Australia Southeast","Central India","South - India","Japan West","Uk West","France South","Korea South","South Africa North","Brazil - South","Uae North","Norway West","Germany North","Jio India West"],"apiVersions":["2023-05-01","2022-11-01","2022-07-01","2022-03-01","2021-03-01","2020-10-01-preview","2020-07-01-preview","2019-11-01-preview"],"defaultApiVersion":"2022-03-01","capabilities":"SupportsExtension"},{"resourceType":"extensions","locations":["East - US","West Europe","West Central US","West US 2","West US 3","South Central - US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France - Central","Central US","North Central US","West US","Korea Central","East Asia","Japan - East","Canada East","Canada Central","Norway East","Germany West Central","Sweden - Central","Switzerland North","Australia Southeast","Central India","South - India","Japan West","Uk West","France South","Korea South","South Africa North","Brazil - South","Uae North","Norway West","Germany North","Jio India West","East US - 2 EUAP","Central US EUAP"],"apiVersions":["2023-05-01","2022-11-01","2022-07-01","2022-03-01","2020-07-01-preview"],"defaultApiVersion":"2022-07-01","capabilities":"SystemAssignedResourceIdentity, - SupportsExtension"},{"resourceType":"fluxConfigurations","locations":["East - US","West Europe","West Central US","West US 2","West US 3","South Central - US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France - Central","Central US","North Central US","West US","Korea Central","East Asia","Japan - East","Canada East","Canada Central","Norway East","Germany West Central","Sweden - Central","Switzerland North","Australia Southeast","Central India","South - India","Japan West","Uk West","Korea South","France South","South Africa North","Brazil - South","Uae North","Norway West","Germany North","Jio India West"],"apiVersions":["2023-05-01","2022-11-01","2022-07-01","2022-03-01","2022-01-01-preview","2021-11-01-preview","2021-06-01-preview"],"defaultApiVersion":"2022-07-01","capabilities":"SupportsExtension"},{"resourceType":"operations","locations":[],"apiVersions":["2023-05-01-preview","2023-05-01","2022-11-01","2022-03-01","2022-01-01-preview","2021-12-01-preview","2021-11-01-preview","2021-09-01","2021-06-01-preview","2021-05-01-preview","2021-03-01","2020-10-01-preview","2020-07-01-preview","2019-11-01-preview"],"capabilities":"None"},{"resourceType":"extensionTypes","locations":["West - US 2","East US","West Europe","West Central US","West US 3","South Central - US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France - Central","Central US","North Central US","West US","Korea Central","East Asia","Japan - East","Canada Central","Canada East","Norway East","Central India","South - India","Australia Southeast","Germany West Central","Switzerland North","Sweden - Central","Japan West","Uk West","Korea South","France South","South Africa - North","Brazil South","Uae North","Norway West","Germany North","Jio India - West"],"apiVersions":["2023-05-01-preview","2022-01-15-preview"],"capabilities":"SupportsExtension"},{"resourceType":"locations/extensionTypes","locations":["West - US 2","East US","West Europe","West Central US","West US 3","South Central - US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France - Central","Central US","North Central US","West US","Korea Central","East Asia","Japan - East","Canada Central","Canada East","Central India","South India","Norway - East","Australia Southeast","Germany West Central","Switzerland North","Sweden - Central","Japan West","Uk West","Korea South","France South","South Africa - North","Brazil South","Uae North","Norway West","Germany North","Jio India - West"],"apiVersions":["2023-05-01-preview","2022-01-15-preview"],"capabilities":"None"},{"resourceType":"locations/extensionTypes/versions","locations":["West - US 2","East US","West Europe","West Central US","West US 3","South Central - US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France - Central","Central US","North Central US","West US","Korea Central","East Asia","Japan - East","Canada Central","Canada East","Central India","Norway East","Australia - Southeast","Germany West Central","Switzerland North","Sweden Central","Japan - West","Uk West","Korea South","France South","South Africa North","South India","Brazil - South","Uae North","Norway West","Germany North","Jio India West"],"apiVersions":["2023-05-01-preview","2022-01-15-preview"],"capabilities":"None"},{"resourceType":"privateLinkScopes","locations":["East - US","West Europe","West Central US","West US 2","West US 3","South Central - US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France - Central","Central US","North Central US","West US","Korea Central","East Asia","Japan - East","Canada East","Canada Central","Norway East","Germany West Central","Sweden - Central","Switzerland North","Australia Southeast","Central India","South - India","Japan West","Uk West","Korea South","France South","South Africa North","Brazil - South","Uae North","East US 2 EUAP","Central US EUAP"],"apiVersions":["2022-04-02-preview"],"capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"privateLinkScopes/privateEndpointConnections","locations":["East - US","West Europe","West Central US","West US 2","West US 3","South Central - US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France - Central","Central US","North Central US","West US","Korea Central","East Asia","Japan - East","Canada East","Canada Central","Norway East","Germany West Central","Sweden - Central","Switzerland North","Australia Southeast","Central India","South - India","Japan West","Uk West","France South","Korea South","South Africa North","Brazil - South","Uae North","East US 2 EUAP","Central US EUAP"],"apiVersions":["2022-04-02-preview"],"capabilities":"None"},{"resourceType":"privateLinkScopes/privateEndpointConnectionProxies","locations":["East - US","West Europe","West Central US","West US 2","West US 3","South Central - US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France - Central","Central US","North Central US","West US","Korea Central","East Asia","Japan - East","Canada East","Canada Central","Norway East","Germany West Central","Sweden - Central","Switzerland North","Australia Southeast","Central India","South - India","Japan West","Uk West","South Africa North","Korea South","France South","Brazil - South","Uae North","East US 2 EUAP","Central US EUAP"],"apiVersions":["2022-04-02-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '7825' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:04: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: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAPI-Generator/24.2.0/python - method: GET - uri: https://my-aks-clu-clitestrgk2jor-23f95f-ny5qcxom.hcp.eastus.azmk8s.io/version/ - response: - body: - string: "{\n \"major\": \"1\",\n \"minor\": \"25\",\n \"gitVersion\": \"\ - v1.25.6\",\n \"gitCommit\": \"94c50547e633f1db5d4c56b2b305670e14987d59\"\ - ,\n \"gitTreeState\": \"clean\",\n \"buildDate\": \"2023-06-12T18:46:30Z\"\ - ,\n \"goVersion\": \"go1.19.5\",\n \"compiler\": \"gc\",\n \"platform\"\ - : \"linux/amd64\"\n}" - headers: - audit-id: - - 706de735-89a5-4831-9d68-3ce04961acfa - cache-control: - - no-cache, private - content-length: - - '263' - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:04:53 GMT - x-kubernetes-pf-flowschema-uid: - - 06d58723-4e43-4779-8080-d2b76d218281 - x-kubernetes-pf-prioritylevel-uid: - - d0544e5d-d80e-42e2-a912-baa99546921d - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAPI-Generator/24.2.0/python - method: GET - uri: https://my-aks-clu-clitestrgk2jor-23f95f-ny5qcxom.hcp.eastus.azmk8s.io/api/v1/nodes - response: - body: - string: '{"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"1663"},"items":[{"metadata":{"name":"aks-nodepool1-28130607-vmss000000","uid":"659ef9db-ee35-4b97-8fe8-55f21cf445be","resourceVersion":"1296","creationTimestamp":"2023-07-18T04:03:01Z","labels":{"agentpool":"nodepool1","beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"Standard_DS2_v2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"eastus","failure-domain.beta.kubernetes.io/zone":"0","kubernetes.azure.com/agentpool":"nodepool1","kubernetes.azure.com/cluster":"MC_clitest.rg000001_my-aks-cluster_eastus","kubernetes.azure.com/consolidated-additional-properties":"a23d8120-251f-11ee-aa23-86e3690fb616","kubernetes.azure.com/kubelet-identity-client-id":"1ac0164f-dd30-4dc6-afc2-5727733dfe4a","kubernetes.azure.com/mode":"system","kubernetes.azure.com/node-image-version":"AKSUbuntu-2204gen2containerd-202307.04.0","kubernetes.azure.com/nodepool-type":"VirtualMachineScaleSets","kubernetes.azure.com/os-sku":"Ubuntu","kubernetes.azure.com/role":"agent","kubernetes.azure.com/storageprofile":"managed","kubernetes.azure.com/storagetier":"Premium_LRS","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"aks-nodepool1-28130607-vmss000000","kubernetes.io/os":"linux","kubernetes.io/role":"agent","node-role.kubernetes.io/agent":"","node.kubernetes.io/instance-type":"Standard_DS2_v2","storageprofile":"managed","storagetier":"Premium_LRS","topology.disk.csi.azure.com/zone":"","topology.kubernetes.io/region":"eastus","topology.kubernetes.io/zone":"0"},"annotations":{"csi.volume.kubernetes.io/nodeid":"{\"disk.csi.azure.com\":\"aks-nodepool1-28130607-vmss000000\",\"file.csi.azure.com\":\"aks-nodepool1-28130607-vmss000000\"}","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"cloud-controller-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:01Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.244.0.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:01Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:agentpool":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/os":{},"f:kubernetes.azure.com/agentpool":{},"f:kubernetes.azure.com/cluster":{},"f:kubernetes.azure.com/consolidated-additional-properties":{},"f:kubernetes.azure.com/kubelet-identity-client-id":{},"f:kubernetes.azure.com/mode":{},"f:kubernetes.azure.com/node-image-version":{},"f:kubernetes.azure.com/nodepool-type":{},"f:kubernetes.azure.com/os-sku":{},"f:kubernetes.azure.com/role":{},"f:kubernetes.azure.com/storageprofile":{},"f:kubernetes.azure.com/storagetier":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:20Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:kubernetes.io/role":{},"f:node-role.kubernetes.io/agent":{}}}}},{"manager":"cloud-node-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:21Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:failure-domain.beta.kubernetes.io/zone":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{},"f:topology.kubernetes.io/zone":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"cloud-node-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:21Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"NetworkUnavailable\"}":{".":{},"f:type":{}}}}},"subresource":"status"},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:21Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:25Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:csi.volume.kubernetes.io/nodeid":{}},"f:labels":{"f:topology.disk.csi.azure.com/zone":{}}},"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}}}}},"subresource":"status"},{"manager":"cloud-controller-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"NetworkUnavailable\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.244.0.0/24","podCIDRs":["10.244.0.0/24"],"providerID":"azure:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mc_clitest.rg000001_my-aks-cluster_eastus/providers/Microsoft.Compute/virtualMachineScaleSets/aks-nodepool1-28130607-vmss/virtualMachines/0"},"status":{"capacity":{"cpu":"2","ephemeral-storage":"129886128Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"7097616Ki","pods":"110"},"allocatable":{"cpu":"1900m","ephemeral-storage":"119703055367","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4652304Ki","pods":"110"},"conditions":[{"type":"NetworkUnavailable","status":"False","lastHeartbeatTime":"2023-07-18T04:04:05Z","lastTransitionTime":"2023-07-18T04:04:05Z","reason":"RouteCreated","message":"RouteController - created a route"},{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2023-07-18T04:03:07Z","lastTransitionTime":"2023-07-18T04:03:00Z","reason":"KubeletHasSufficientMemory","message":"kubelet - has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2023-07-18T04:03:07Z","lastTransitionTime":"2023-07-18T04:03:00Z","reason":"KubeletHasNoDiskPressure","message":"kubelet - has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2023-07-18T04:03:07Z","lastTransitionTime":"2023-07-18T04:03:00Z","reason":"KubeletHasSufficientPID","message":"kubelet - has sufficient PID available"},{"type":"Ready","status":"True","lastHeartbeatTime":"2023-07-18T04:03:07Z","lastTransitionTime":"2023-07-18T04:03:07Z","reason":"KubeletReady","message":"kubelet - is posting ready status. AppArmor enabled"}],"addresses":[{"type":"InternalIP","address":"10.224.0.4"},{"type":"Hostname","address":"aks-nodepool1-28130607-vmss000000"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"f991f85da9fd4682a5f3c3926204bc9a","systemUUID":"1708768d-4d3a-4cc1-8cd1-b39348168996","bootID":"9c2c82e8-af50-4f81-9573-5c6c40810acd","kernelVersion":"5.15.0-1041-azure","osImage":"Ubuntu - 22.04.2 LTS","containerRuntimeVersion":"containerd://1.7.1+azure-1","kubeletVersion":"v1.25.6","kubeProxyVersion":"v1.25.6","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["mcr.microsoft.com/oss/calico/cni:v3.23.3"],"sizeBytes":254912666},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod/prometheus-collector/images:6.7.1-main-06-02-2023-d384b035"],"sizeBytes":248536003},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod/prometheus-collector/images:6.7.2-main-06-26-2023-6ee07896"],"sizeBytes":248531695},{"names":["mcr.microsoft.com/oss/calico/node:v3.24.0"],"sizeBytes":242155228},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:3.1.9"],"sizeBytes":233471149},{"names":["mcr.microsoft.com/oss/calico/node:v3.23.3"],"sizeBytes":210001116},{"names":["mcr.microsoft.com/oss/calico/cni:v3.24.0"],"sizeBytes":197455452},{"names":["mcr.microsoft.com/oss/tigera/operator:v1.23.8"],"sizeBytes":184105789},{"names":["mcr.microsoft.com/oss/cilium/cilium:1.12.10"],"sizeBytes":167997013},{"names":["mcr.microsoft.com/containernetworking/azure-cns:v1.5.5"],"sizeBytes":142303271},{"names":["mcr.microsoft.com/containernetworking/azure-cns:v1.4.44.2"],"sizeBytes":141720174},{"names":["mcr.microsoft.com/oss/calico/kube-controllers:v3.23.3"],"sizeBytes":127665612},{"names":["mcr.microsoft.com/oss/calico/typha:v3.23.3"],"sizeBytes":123064920},{"names":["mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.22.1"],"sizeBytes":110093780},{"names":["mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.21.4"],"sizeBytes":109733402},{"names":["mcr.microsoft.com/containernetworking/azure-cns:v1.4.39"],"sizeBytes":108128135},{"names":["mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.19.5"],"sizeBytes":108020905},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:v1.2.1"],"sizeBytes":107169290},{"names":["mcr.microsoft.com/oss/calico/node:v3.8.9.5"],"sizeBytes":101794833},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.4.45"],"sizeBytes":90870486},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.4.32"],"sizeBytes":90048618},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.24.2"],"sizeBytes":80821309},{"names":["mcr.microsoft.com/oss/nvidia/k8s-device-plugin:v0.13.0.7"],"sizeBytes":80468007},{"names":["mcr.microsoft.com/oss/calico/kube-controllers:v3.24.0"],"sizeBytes":71347091},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.25.6-hotfix.20230509-3"],"sizeBytes":71304559},{"names":["mcr.microsoft.com/containernetworking/cni-dropgz:v0.0.9"],"sizeBytes":71276563},{"names":["mcr.microsoft.com/containernetworking/cni-dropgz:v0.0.4"],"sizeBytes":68392344},{"names":["mcr.microsoft.com/oss/tigera/operator:v1.28.0"],"sizeBytes":67441354},{"names":["mcr.microsoft.com/oss/calico/typha:v3.24.0"],"sizeBytes":65983776},{"names":["mcr.microsoft.com/oss/tigera/operator:v1.27.12"],"sizeBytes":64784076},{"names":["mcr.microsoft.com/oss/calico/cni:v3.8.9.3"],"sizeBytes":63581323},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.25.6-hotfix.20230612"],"sizeBytes":63292766},{"names":["mcr.microsoft.com/oss/kubernetes-csi/secrets-store/driver:v1.3.4"],"sizeBytes":62878088},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.28.1"],"sizeBytes":57649401},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.28.0"],"sizeBytes":57603207},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.26.5"],"sizeBytes":57300072},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.28.0-1"],"sizeBytes":47543160},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.26.3.1"],"sizeBytes":47346604},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.24.3"],"sizeBytes":46168971},{"names":["mcr.microsoft.com/oss/kubernetes/kube-state-metrics:v2.6.0"],"sizeBytes":39699428},{"names":["mcr.microsoft.com/oss/open-policy-agent/gatekeeper:v3.11.1"],"sizeBytes":35440937},{"names":["mcr.microsoft.com/oss/kubernetes/metrics-server:v0.6.3"],"sizeBytes":29942862},{"names":["mcr.microsoft.com/aks/msi/addon-token-adapter:master.221118.2"],"sizeBytes":28315804},{"names":["mcr.microsoft.com/oss/kubernetes/ip-masq-agent:v2.5.0.12"],"sizeBytes":26547457},{"names":["mcr.microsoft.com/azure-policy/policy-kubernetes-addon-prod:1.1.0"],"sizeBytes":26084896},{"names":["mcr.microsoft.com/azure-policy/policy-kubernetes-addon-prod:1.0.1"],"sizeBytes":26076059},{"names":["mcr.microsoft.com/azure-policy/policy-kubernetes-webhook:1.0.1"],"sizeBytes":22781356},{"names":["mcr.microsoft.com/azure-policy/policy-kubernetes-webhook:1.1.0"],"sizeBytes":22775975},{"names":["mcr.microsoft.com/oss/kubernetes/external-dns:v0.10.2"],"sizeBytes":21974909},{"names":["mcr.microsoft.com/oss/kubernetes/autoscaler/cluster-proportional-autoscaler:1.8.6"],"sizeBytes":20292616}]}},{"metadata":{"name":"aks-nodepool1-28130607-vmss000001","uid":"94dd21e3-d9ab-4b91-b75f-cee9af74436a","resourceVersion":"1480","creationTimestamp":"2023-07-18T04:03:02Z","labels":{"agentpool":"nodepool1","beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"Standard_DS2_v2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"eastus","failure-domain.beta.kubernetes.io/zone":"0","kubernetes.azure.com/agentpool":"nodepool1","kubernetes.azure.com/cluster":"MC_clitest.rg000001_my-aks-cluster_eastus","kubernetes.azure.com/consolidated-additional-properties":"a23d8120-251f-11ee-aa23-86e3690fb616","kubernetes.azure.com/kubelet-identity-client-id":"1ac0164f-dd30-4dc6-afc2-5727733dfe4a","kubernetes.azure.com/mode":"system","kubernetes.azure.com/node-image-version":"AKSUbuntu-2204gen2containerd-202307.04.0","kubernetes.azure.com/nodepool-type":"VirtualMachineScaleSets","kubernetes.azure.com/os-sku":"Ubuntu","kubernetes.azure.com/role":"agent","kubernetes.azure.com/storageprofile":"managed","kubernetes.azure.com/storagetier":"Premium_LRS","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"aks-nodepool1-28130607-vmss000001","kubernetes.io/os":"linux","kubernetes.io/role":"agent","node-role.kubernetes.io/agent":"","node.kubernetes.io/instance-type":"Standard_DS2_v2","storageprofile":"managed","storagetier":"Premium_LRS","topology.disk.csi.azure.com/zone":"","topology.kubernetes.io/region":"eastus","topology.kubernetes.io/zone":"0"},"annotations":{"csi.volume.kubernetes.io/nodeid":"{\"disk.csi.azure.com\":\"aks-nodepool1-28130607-vmss000001\",\"file.csi.azure.com\":\"aks-nodepool1-28130607-vmss000001\"}","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"cloud-controller-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:02Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.244.1.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:02Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:agentpool":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/os":{},"f:kubernetes.azure.com/agentpool":{},"f:kubernetes.azure.com/cluster":{},"f:kubernetes.azure.com/consolidated-additional-properties":{},"f:kubernetes.azure.com/kubelet-identity-client-id":{},"f:kubernetes.azure.com/mode":{},"f:kubernetes.azure.com/node-image-version":{},"f:kubernetes.azure.com/nodepool-type":{},"f:kubernetes.azure.com/os-sku":{},"f:kubernetes.azure.com/role":{},"f:kubernetes.azure.com/storageprofile":{},"f:kubernetes.azure.com/storagetier":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{}}}}},{"manager":"cloud-node-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:20Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:failure-domain.beta.kubernetes.io/zone":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{},"f:topology.kubernetes.io/zone":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"cloud-node-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:20Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"NetworkUnavailable\"}":{".":{},"f:type":{}}}}},"subresource":"status"},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:20Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:20Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:kubernetes.io/role":{},"f:node-role.kubernetes.io/agent":{}}}}},{"manager":"cloud-controller-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"NetworkUnavailable\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}}}}},"subresource":"status"},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:04:24Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:csi.volume.kubernetes.io/nodeid":{}},"f:labels":{"f:topology.disk.csi.azure.com/zone":{}}},"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}}},"f:images":{}}},"subresource":"status"}]},"spec":{"podCIDR":"10.244.1.0/24","podCIDRs":["10.244.1.0/24"],"providerID":"azure:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mc_clitest.rg000001_my-aks-cluster_eastus/providers/Microsoft.Compute/virtualMachineScaleSets/aks-nodepool1-28130607-vmss/virtualMachines/1"},"status":{"capacity":{"cpu":"2","ephemeral-storage":"129886128Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"7097616Ki","pods":"110"},"allocatable":{"cpu":"1900m","ephemeral-storage":"119703055367","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4652304Ki","pods":"110"},"conditions":[{"type":"NetworkUnavailable","status":"False","lastHeartbeatTime":"2023-07-18T04:04:05Z","lastTransitionTime":"2023-07-18T04:04:05Z","reason":"RouteCreated","message":"RouteController - created a route"},{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2023-07-18T04:04:24Z","lastTransitionTime":"2023-07-18T04:03:02Z","reason":"KubeletHasSufficientMemory","message":"kubelet - has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2023-07-18T04:04:24Z","lastTransitionTime":"2023-07-18T04:03:02Z","reason":"KubeletHasNoDiskPressure","message":"kubelet - has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2023-07-18T04:04:24Z","lastTransitionTime":"2023-07-18T04:03:02Z","reason":"KubeletHasSufficientPID","message":"kubelet - has sufficient PID available"},{"type":"Ready","status":"True","lastHeartbeatTime":"2023-07-18T04:04:24Z","lastTransitionTime":"2023-07-18T04:03:12Z","reason":"KubeletReady","message":"kubelet - is posting ready status. AppArmor enabled"}],"addresses":[{"type":"InternalIP","address":"10.224.0.7"},{"type":"Hostname","address":"aks-nodepool1-28130607-vmss000001"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"dc05c9f83d754b38a781f4c3ec772b9a","systemUUID":"ca023e30-5405-450c-a0a6-2434ced061c7","bootID":"816343e6-01dc-465f-a354-e64a94979c55","kernelVersion":"5.15.0-1041-azure","osImage":"Ubuntu - 22.04.2 LTS","containerRuntimeVersion":"containerd://1.7.1+azure-1","kubeletVersion":"v1.25.6","kubeProxyVersion":"v1.25.6","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["mcr.microsoft.com/oss/calico/cni:v3.23.3"],"sizeBytes":254912666},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod/prometheus-collector/images:6.7.1-main-06-02-2023-d384b035"],"sizeBytes":248536003},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod/prometheus-collector/images:6.7.2-main-06-26-2023-6ee07896"],"sizeBytes":248531695},{"names":["mcr.microsoft.com/oss/calico/node:v3.24.0"],"sizeBytes":242155228},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:3.1.9"],"sizeBytes":233471149},{"names":["mcr.microsoft.com/oss/calico/node:v3.23.3"],"sizeBytes":210001116},{"names":["mcr.microsoft.com/oss/calico/cni:v3.24.0"],"sizeBytes":197455452},{"names":["mcr.microsoft.com/oss/tigera/operator:v1.23.8"],"sizeBytes":184105789},{"names":["mcr.microsoft.com/oss/cilium/cilium:1.12.10"],"sizeBytes":167997013},{"names":["mcr.microsoft.com/containernetworking/azure-cns:v1.5.5"],"sizeBytes":142303271},{"names":["mcr.microsoft.com/containernetworking/azure-cns:v1.4.44.2"],"sizeBytes":141720174},{"names":["mcr.microsoft.com/oss/calico/kube-controllers:v3.23.3"],"sizeBytes":127665612},{"names":["mcr.microsoft.com/oss/calico/typha:v3.23.3"],"sizeBytes":123064920},{"names":["mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.22.1"],"sizeBytes":110093780},{"names":["mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.21.4"],"sizeBytes":109733402},{"names":["mcr.microsoft.com/containernetworking/azure-cns:v1.4.39"],"sizeBytes":108128135},{"names":["mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.19.5"],"sizeBytes":108020905},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:v1.2.1"],"sizeBytes":107169290},{"names":["mcr.microsoft.com/oss/calico/node:v3.8.9.5"],"sizeBytes":101794833},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.4.45"],"sizeBytes":90870486},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.4.32"],"sizeBytes":90048618},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.24.2"],"sizeBytes":80821309},{"names":["mcr.microsoft.com/oss/nvidia/k8s-device-plugin:v0.13.0.7"],"sizeBytes":80468007},{"names":["mcr.microsoft.com/oss/calico/kube-controllers:v3.24.0"],"sizeBytes":71347091},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.25.6-hotfix.20230509-3"],"sizeBytes":71304559},{"names":["mcr.microsoft.com/containernetworking/cni-dropgz:v0.0.9"],"sizeBytes":71276563},{"names":["mcr.microsoft.com/containernetworking/cni-dropgz:v0.0.4"],"sizeBytes":68392344},{"names":["mcr.microsoft.com/oss/tigera/operator:v1.28.0"],"sizeBytes":67441354},{"names":["mcr.microsoft.com/oss/calico/typha:v3.24.0"],"sizeBytes":65983776},{"names":["mcr.microsoft.com/oss/tigera/operator:v1.27.12"],"sizeBytes":64784076},{"names":["mcr.microsoft.com/oss/calico/cni:v3.8.9.3"],"sizeBytes":63581323},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.25.6-hotfix.20230612"],"sizeBytes":63292766},{"names":["mcr.microsoft.com/oss/kubernetes-csi/secrets-store/driver:v1.3.4"],"sizeBytes":62878088},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.28.1"],"sizeBytes":57649401},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.28.0"],"sizeBytes":57603207},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.26.5"],"sizeBytes":57300072},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.28.0-1"],"sizeBytes":47543160},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.26.3.1"],"sizeBytes":47346604},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.24.3"],"sizeBytes":46168971},{"names":["mcr.microsoft.com/oss/kubernetes/autoscaler/cluster-proportional-autoscaler@sha256:2c523f932183e8e1ffdde941e190a950793b384aa8eb1ab5163af33da8ff3dad","mcr.microsoft.com/oss/kubernetes/autoscaler/cluster-proportional-autoscaler:1.8.5.3"],"sizeBytes":42864605},{"names":["mcr.microsoft.com/oss/kubernetes/kube-state-metrics:v2.6.0"],"sizeBytes":39699428},{"names":["mcr.microsoft.com/oss/open-policy-agent/gatekeeper:v3.11.1"],"sizeBytes":35440937},{"names":["mcr.microsoft.com/oss/kubernetes/metrics-server:v0.6.3"],"sizeBytes":29942862},{"names":["mcr.microsoft.com/aks/msi/addon-token-adapter:master.221118.2"],"sizeBytes":28315804},{"names":["mcr.microsoft.com/oss/kubernetes/ip-masq-agent:v2.5.0.12"],"sizeBytes":26547457},{"names":["mcr.microsoft.com/azure-policy/policy-kubernetes-addon-prod:1.1.0"],"sizeBytes":26084896},{"names":["mcr.microsoft.com/azure-policy/policy-kubernetes-addon-prod:1.0.1"],"sizeBytes":26076059},{"names":["mcr.microsoft.com/azure-policy/policy-kubernetes-webhook:1.0.1"],"sizeBytes":22781356},{"names":["mcr.microsoft.com/azure-policy/policy-kubernetes-webhook:1.1.0"],"sizeBytes":22775975},{"names":["mcr.microsoft.com/oss/kubernetes/external-dns:v0.10.2"],"sizeBytes":21974909}]}},{"metadata":{"name":"aks-nodepool1-28130607-vmss000002","uid":"004c0061-2dbe-4401-b971-80c1f5a7b4f7","resourceVersion":"1298","creationTimestamp":"2023-07-18T04:03:03Z","labels":{"agentpool":"nodepool1","beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"Standard_DS2_v2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"eastus","failure-domain.beta.kubernetes.io/zone":"0","kubernetes.azure.com/agentpool":"nodepool1","kubernetes.azure.com/cluster":"MC_clitest.rg000001_my-aks-cluster_eastus","kubernetes.azure.com/consolidated-additional-properties":"a23d8120-251f-11ee-aa23-86e3690fb616","kubernetes.azure.com/kubelet-identity-client-id":"1ac0164f-dd30-4dc6-afc2-5727733dfe4a","kubernetes.azure.com/mode":"system","kubernetes.azure.com/node-image-version":"AKSUbuntu-2204gen2containerd-202307.04.0","kubernetes.azure.com/nodepool-type":"VirtualMachineScaleSets","kubernetes.azure.com/os-sku":"Ubuntu","kubernetes.azure.com/role":"agent","kubernetes.azure.com/storageprofile":"managed","kubernetes.azure.com/storagetier":"Premium_LRS","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"aks-nodepool1-28130607-vmss000002","kubernetes.io/os":"linux","kubernetes.io/role":"agent","node-role.kubernetes.io/agent":"","node.kubernetes.io/instance-type":"Standard_DS2_v2","storageprofile":"managed","storagetier":"Premium_LRS","topology.disk.csi.azure.com/zone":"","topology.kubernetes.io/region":"eastus","topology.kubernetes.io/zone":"0"},"annotations":{"csi.volume.kubernetes.io/nodeid":"{\"disk.csi.azure.com\":\"aks-nodepool1-28130607-vmss000002\",\"file.csi.azure.com\":\"aks-nodepool1-28130607-vmss000002\"}","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"cloud-controller-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:03Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.244.3.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:03Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:agentpool":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/os":{},"f:kubernetes.azure.com/agentpool":{},"f:kubernetes.azure.com/cluster":{},"f:kubernetes.azure.com/consolidated-additional-properties":{},"f:kubernetes.azure.com/kubelet-identity-client-id":{},"f:kubernetes.azure.com/mode":{},"f:kubernetes.azure.com/node-image-version":{},"f:kubernetes.azure.com/nodepool-type":{},"f:kubernetes.azure.com/os-sku":{},"f:kubernetes.azure.com/role":{},"f:kubernetes.azure.com/storageprofile":{},"f:kubernetes.azure.com/storagetier":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:20Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:kubernetes.io/role":{},"f:node-role.kubernetes.io/agent":{}}}}},{"manager":"cloud-node-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:26Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:failure-domain.beta.kubernetes.io/zone":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{},"f:topology.kubernetes.io/zone":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"cloud-node-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:26Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"NetworkUnavailable\"}":{".":{},"f:type":{}}}}},"subresource":"status"},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:26Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:28Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:csi.volume.kubernetes.io/nodeid":{}},"f:labels":{"f:topology.disk.csi.azure.com/zone":{}}},"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}}}}},"subresource":"status"},{"manager":"cloud-controller-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"NetworkUnavailable\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.244.3.0/24","podCIDRs":["10.244.3.0/24"],"providerID":"azure:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mc_clitest.rg000001_my-aks-cluster_eastus/providers/Microsoft.Compute/virtualMachineScaleSets/aks-nodepool1-28130607-vmss/virtualMachines/2"},"status":{"capacity":{"cpu":"2","ephemeral-storage":"129886128Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"7097616Ki","pods":"110"},"allocatable":{"cpu":"1900m","ephemeral-storage":"119703055367","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4652304Ki","pods":"110"},"conditions":[{"type":"NetworkUnavailable","status":"False","lastHeartbeatTime":"2023-07-18T04:04:05Z","lastTransitionTime":"2023-07-18T04:04:05Z","reason":"RouteCreated","message":"RouteController - created a route"},{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2023-07-18T04:03:08Z","lastTransitionTime":"2023-07-18T04:03:03Z","reason":"KubeletHasSufficientMemory","message":"kubelet - has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2023-07-18T04:03:08Z","lastTransitionTime":"2023-07-18T04:03:03Z","reason":"KubeletHasNoDiskPressure","message":"kubelet - has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2023-07-18T04:03:08Z","lastTransitionTime":"2023-07-18T04:03:03Z","reason":"KubeletHasSufficientPID","message":"kubelet - has sufficient PID available"},{"type":"Ready","status":"True","lastHeartbeatTime":"2023-07-18T04:03:08Z","lastTransitionTime":"2023-07-18T04:03:08Z","reason":"KubeletReady","message":"kubelet - is posting ready status. AppArmor enabled"}],"addresses":[{"type":"InternalIP","address":"10.224.0.6"},{"type":"Hostname","address":"aks-nodepool1-28130607-vmss000002"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"bd1da8d1375e4d7abef7c582230e894d","systemUUID":"479a8b4c-a4e0-4b7e-b072-201ebe9243b9","bootID":"99156b09-7128-45a0-8a51-10d41037a055","kernelVersion":"5.15.0-1041-azure","osImage":"Ubuntu - 22.04.2 LTS","containerRuntimeVersion":"containerd://1.7.1+azure-1","kubeletVersion":"v1.25.6","kubeProxyVersion":"v1.25.6","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["mcr.microsoft.com/oss/calico/cni:v3.23.3"],"sizeBytes":254912666},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod/prometheus-collector/images:6.7.1-main-06-02-2023-d384b035"],"sizeBytes":248536003},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod/prometheus-collector/images:6.7.2-main-06-26-2023-6ee07896"],"sizeBytes":248531695},{"names":["mcr.microsoft.com/oss/calico/node:v3.24.0"],"sizeBytes":242155228},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:3.1.9"],"sizeBytes":233471149},{"names":["mcr.microsoft.com/oss/calico/node:v3.23.3"],"sizeBytes":210001116},{"names":["mcr.microsoft.com/oss/calico/cni:v3.24.0"],"sizeBytes":197455452},{"names":["mcr.microsoft.com/oss/tigera/operator:v1.23.8"],"sizeBytes":184105789},{"names":["mcr.microsoft.com/oss/cilium/cilium:1.12.10"],"sizeBytes":167997013},{"names":["mcr.microsoft.com/containernetworking/azure-cns:v1.5.5"],"sizeBytes":142303271},{"names":["mcr.microsoft.com/containernetworking/azure-cns:v1.4.44.2"],"sizeBytes":141720174},{"names":["mcr.microsoft.com/oss/calico/kube-controllers:v3.23.3"],"sizeBytes":127665612},{"names":["mcr.microsoft.com/oss/calico/typha:v3.23.3"],"sizeBytes":123064920},{"names":["mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.22.1"],"sizeBytes":110093780},{"names":["mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.21.4"],"sizeBytes":109733402},{"names":["mcr.microsoft.com/containernetworking/azure-cns:v1.4.39"],"sizeBytes":108128135},{"names":["mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.19.5"],"sizeBytes":108020905},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:v1.2.1"],"sizeBytes":107169290},{"names":["mcr.microsoft.com/oss/calico/node:v3.8.9.5"],"sizeBytes":101794833},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.4.45"],"sizeBytes":90870486},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.4.32"],"sizeBytes":90048618},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.24.2"],"sizeBytes":80821309},{"names":["mcr.microsoft.com/oss/nvidia/k8s-device-plugin:v0.13.0.7"],"sizeBytes":80468007},{"names":["mcr.microsoft.com/oss/calico/kube-controllers:v3.24.0"],"sizeBytes":71347091},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.25.6-hotfix.20230509-3"],"sizeBytes":71304559},{"names":["mcr.microsoft.com/containernetworking/cni-dropgz:v0.0.9"],"sizeBytes":71276563},{"names":["mcr.microsoft.com/containernetworking/cni-dropgz:v0.0.4"],"sizeBytes":68392344},{"names":["mcr.microsoft.com/oss/tigera/operator:v1.28.0"],"sizeBytes":67441354},{"names":["mcr.microsoft.com/oss/calico/typha:v3.24.0"],"sizeBytes":65983776},{"names":["mcr.microsoft.com/oss/tigera/operator:v1.27.12"],"sizeBytes":64784076},{"names":["mcr.microsoft.com/oss/calico/cni:v3.8.9.3"],"sizeBytes":63581323},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.25.6-hotfix.20230612"],"sizeBytes":63292766},{"names":["mcr.microsoft.com/oss/kubernetes-csi/secrets-store/driver:v1.3.4"],"sizeBytes":62878088},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.28.1"],"sizeBytes":57649401},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.28.0"],"sizeBytes":57603207},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.26.5"],"sizeBytes":57300072},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.28.0-1"],"sizeBytes":47543160},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.26.3.1"],"sizeBytes":47346604},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.24.3"],"sizeBytes":46168971},{"names":["mcr.microsoft.com/oss/kubernetes/kube-state-metrics:v2.6.0"],"sizeBytes":39699428},{"names":["mcr.microsoft.com/oss/open-policy-agent/gatekeeper:v3.11.1"],"sizeBytes":35440937},{"names":["mcr.microsoft.com/oss/kubernetes/metrics-server:v0.6.3"],"sizeBytes":29942862},{"names":["mcr.microsoft.com/aks/msi/addon-token-adapter:master.221118.2"],"sizeBytes":28315804},{"names":["mcr.microsoft.com/oss/kubernetes/ip-masq-agent:v2.5.0.12"],"sizeBytes":26547457},{"names":["mcr.microsoft.com/azure-policy/policy-kubernetes-addon-prod:1.1.0"],"sizeBytes":26084896},{"names":["mcr.microsoft.com/azure-policy/policy-kubernetes-addon-prod:1.0.1"],"sizeBytes":26076059},{"names":["mcr.microsoft.com/azure-policy/policy-kubernetes-webhook:1.0.1"],"sizeBytes":22781356},{"names":["mcr.microsoft.com/azure-policy/policy-kubernetes-webhook:1.1.0"],"sizeBytes":22775975},{"names":["mcr.microsoft.com/oss/kubernetes/external-dns:v0.10.2"],"sizeBytes":21974909},{"names":["mcr.microsoft.com/oss/kubernetes/autoscaler/cluster-proportional-autoscaler:1.8.6"],"sizeBytes":20292616}]}},{"metadata":{"name":"aks-nodepool1-28130607-vmss000003","uid":"b68af12d-ac92-441e-91b8-bdb8fdb29861","resourceVersion":"1299","creationTimestamp":"2023-07-18T04:03:02Z","labels":{"agentpool":"nodepool1","beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"Standard_DS2_v2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"eastus","failure-domain.beta.kubernetes.io/zone":"0","kubernetes.azure.com/agentpool":"nodepool1","kubernetes.azure.com/cluster":"MC_clitest.rg000001_my-aks-cluster_eastus","kubernetes.azure.com/consolidated-additional-properties":"a23d8120-251f-11ee-aa23-86e3690fb616","kubernetes.azure.com/kubelet-identity-client-id":"1ac0164f-dd30-4dc6-afc2-5727733dfe4a","kubernetes.azure.com/mode":"system","kubernetes.azure.com/node-image-version":"AKSUbuntu-2204gen2containerd-202307.04.0","kubernetes.azure.com/nodepool-type":"VirtualMachineScaleSets","kubernetes.azure.com/os-sku":"Ubuntu","kubernetes.azure.com/role":"agent","kubernetes.azure.com/storageprofile":"managed","kubernetes.azure.com/storagetier":"Premium_LRS","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"aks-nodepool1-28130607-vmss000003","kubernetes.io/os":"linux","kubernetes.io/role":"agent","node-role.kubernetes.io/agent":"","node.kubernetes.io/instance-type":"Standard_DS2_v2","storageprofile":"managed","storagetier":"Premium_LRS","topology.disk.csi.azure.com/zone":"","topology.kubernetes.io/region":"eastus","topology.kubernetes.io/zone":"0"},"annotations":{"csi.volume.kubernetes.io/nodeid":"{\"disk.csi.azure.com\":\"aks-nodepool1-28130607-vmss000003\",\"file.csi.azure.com\":\"aks-nodepool1-28130607-vmss000003\"}","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"cloud-controller-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:02Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.244.2.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:02Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:agentpool":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/os":{},"f:kubernetes.azure.com/agentpool":{},"f:kubernetes.azure.com/cluster":{},"f:kubernetes.azure.com/consolidated-additional-properties":{},"f:kubernetes.azure.com/kubelet-identity-client-id":{},"f:kubernetes.azure.com/mode":{},"f:kubernetes.azure.com/node-image-version":{},"f:kubernetes.azure.com/nodepool-type":{},"f:kubernetes.azure.com/os-sku":{},"f:kubernetes.azure.com/role":{},"f:kubernetes.azure.com/storageprofile":{},"f:kubernetes.azure.com/storagetier":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:20Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:kubernetes.io/role":{},"f:node-role.kubernetes.io/agent":{}}}}},{"manager":"cloud-node-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:22Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:failure-domain.beta.kubernetes.io/zone":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{},"f:topology.kubernetes.io/zone":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"cloud-node-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:22Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"NetworkUnavailable\"}":{".":{},"f:type":{}}}}},"subresource":"status"},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:22Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:03:23Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:csi.volume.kubernetes.io/nodeid":{}},"f:labels":{"f:topology.disk.csi.azure.com/zone":{}}},"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}}},"f:images":{}}},"subresource":"status"},{"manager":"cloud-controller-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"NetworkUnavailable\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.244.2.0/24","podCIDRs":["10.244.2.0/24"],"providerID":"azure:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mc_clitest.rg000001_my-aks-cluster_eastus/providers/Microsoft.Compute/virtualMachineScaleSets/aks-nodepool1-28130607-vmss/virtualMachines/3"},"status":{"capacity":{"cpu":"2","ephemeral-storage":"129886128Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"7097616Ki","pods":"110"},"allocatable":{"cpu":"1900m","ephemeral-storage":"119703055367","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4652304Ki","pods":"110"},"conditions":[{"type":"NetworkUnavailable","status":"False","lastHeartbeatTime":"2023-07-18T04:04:05Z","lastTransitionTime":"2023-07-18T04:04:05Z","reason":"RouteCreated","message":"RouteController - created a route"},{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2023-07-18T04:03:13Z","lastTransitionTime":"2023-07-18T04:03:02Z","reason":"KubeletHasSufficientMemory","message":"kubelet - has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2023-07-18T04:03:13Z","lastTransitionTime":"2023-07-18T04:03:02Z","reason":"KubeletHasNoDiskPressure","message":"kubelet - has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2023-07-18T04:03:13Z","lastTransitionTime":"2023-07-18T04:03:02Z","reason":"KubeletHasSufficientPID","message":"kubelet - has sufficient PID available"},{"type":"Ready","status":"True","lastHeartbeatTime":"2023-07-18T04:03:13Z","lastTransitionTime":"2023-07-18T04:03:04Z","reason":"KubeletReady","message":"kubelet - is posting ready status. AppArmor enabled"}],"addresses":[{"type":"InternalIP","address":"10.224.0.5"},{"type":"Hostname","address":"aks-nodepool1-28130607-vmss000003"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"7e5ac2202a7d4029989daba7e8b78748","systemUUID":"186bcd85-1027-425b-bb84-fac7816e52f5","bootID":"7b525df9-10d8-41d5-84cc-f25035139a8d","kernelVersion":"5.15.0-1041-azure","osImage":"Ubuntu - 22.04.2 LTS","containerRuntimeVersion":"containerd://1.7.1+azure-1","kubeletVersion":"v1.25.6","kubeProxyVersion":"v1.25.6","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["mcr.microsoft.com/oss/calico/cni:v3.23.3"],"sizeBytes":254912666},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod/prometheus-collector/images:6.7.1-main-06-02-2023-d384b035"],"sizeBytes":248536003},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod/prometheus-collector/images:6.7.2-main-06-26-2023-6ee07896"],"sizeBytes":248531695},{"names":["mcr.microsoft.com/oss/calico/node:v3.24.0"],"sizeBytes":242155228},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:3.1.9"],"sizeBytes":233471149},{"names":["mcr.microsoft.com/oss/calico/node:v3.23.3"],"sizeBytes":210001116},{"names":["mcr.microsoft.com/oss/calico/cni:v3.24.0"],"sizeBytes":197455452},{"names":["mcr.microsoft.com/oss/tigera/operator:v1.23.8"],"sizeBytes":184105789},{"names":["mcr.microsoft.com/oss/cilium/cilium:1.12.10"],"sizeBytes":167997013},{"names":["mcr.microsoft.com/containernetworking/azure-cns:v1.5.5"],"sizeBytes":142303271},{"names":["mcr.microsoft.com/containernetworking/azure-cns:v1.4.44.2"],"sizeBytes":141720174},{"names":["mcr.microsoft.com/oss/calico/kube-controllers:v3.23.3"],"sizeBytes":127665612},{"names":["mcr.microsoft.com/oss/calico/typha:v3.23.3"],"sizeBytes":123064920},{"names":["mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.22.1"],"sizeBytes":110093780},{"names":["mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.21.4"],"sizeBytes":109733402},{"names":["mcr.microsoft.com/containernetworking/azure-cns:v1.4.39"],"sizeBytes":108128135},{"names":["mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.19.5"],"sizeBytes":108020905},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:v1.2.1"],"sizeBytes":107169290},{"names":["mcr.microsoft.com/oss/calico/node:v3.8.9.5"],"sizeBytes":101794833},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.4.45"],"sizeBytes":90870486},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.4.32"],"sizeBytes":90048618},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.24.2"],"sizeBytes":80821309},{"names":["mcr.microsoft.com/oss/nvidia/k8s-device-plugin:v0.13.0.7"],"sizeBytes":80468007},{"names":["mcr.microsoft.com/oss/calico/kube-controllers:v3.24.0"],"sizeBytes":71347091},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.25.6-hotfix.20230509-3"],"sizeBytes":71304559},{"names":["mcr.microsoft.com/containernetworking/cni-dropgz:v0.0.9"],"sizeBytes":71276563},{"names":["mcr.microsoft.com/containernetworking/cni-dropgz:v0.0.4"],"sizeBytes":68392344},{"names":["mcr.microsoft.com/oss/tigera/operator:v1.28.0"],"sizeBytes":67441354},{"names":["mcr.microsoft.com/oss/calico/typha:v3.24.0"],"sizeBytes":65983776},{"names":["mcr.microsoft.com/oss/tigera/operator:v1.27.12"],"sizeBytes":64784076},{"names":["mcr.microsoft.com/oss/calico/cni:v3.8.9.3"],"sizeBytes":63581323},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.25.6-hotfix.20230612"],"sizeBytes":63292766},{"names":["mcr.microsoft.com/oss/kubernetes-csi/secrets-store/driver:v1.3.4"],"sizeBytes":62878088},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.28.1"],"sizeBytes":57649401},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.28.0"],"sizeBytes":57603207},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.26.5"],"sizeBytes":57300072},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.28.0-1"],"sizeBytes":47543160},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.26.3.1"],"sizeBytes":47346604},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.24.3"],"sizeBytes":46168971},{"names":["mcr.microsoft.com/oss/kubernetes/kube-state-metrics:v2.6.0"],"sizeBytes":39699428},{"names":["mcr.microsoft.com/oss/open-policy-agent/gatekeeper:v3.11.1"],"sizeBytes":35440937},{"names":["mcr.microsoft.com/oss/kubernetes/metrics-server:v0.6.3"],"sizeBytes":29942862},{"names":["mcr.microsoft.com/aks/msi/addon-token-adapter:master.221118.2"],"sizeBytes":28315804},{"names":["mcr.microsoft.com/oss/kubernetes/ip-masq-agent:v2.5.0.12"],"sizeBytes":26547457},{"names":["mcr.microsoft.com/azure-policy/policy-kubernetes-addon-prod:1.1.0"],"sizeBytes":26084896},{"names":["mcr.microsoft.com/azure-policy/policy-kubernetes-addon-prod:1.0.1"],"sizeBytes":26076059},{"names":["mcr.microsoft.com/azure-policy/policy-kubernetes-webhook:1.0.1"],"sizeBytes":22781356},{"names":["mcr.microsoft.com/azure-policy/policy-kubernetes-webhook:1.1.0"],"sizeBytes":22775975},{"names":["mcr.microsoft.com/oss/kubernetes/external-dns:v0.10.2"],"sizeBytes":21974909},{"names":["mcr.microsoft.com/oss/kubernetes/autoscaler/cluster-proportional-autoscaler:1.8.6"],"sizeBytes":20292616}]}}]} - - ' - headers: - audit-id: - - 2fa7708c-0d13-4c19-b98c-1e94c947e9f7 - cache-control: - - no-cache, private - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:04:54 GMT - transfer-encoding: - - chunked - x-kubernetes-pf-flowschema-uid: - - 06d58723-4e43-4779-8080-d2b76d218281 - x-kubernetes-pf-prioritylevel-uid: - - d0544e5d-d80e-42e2-a912-baa99546921d - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAPI-Generator/24.2.0/python - method: GET - uri: https://my-aks-clu-clitestrgk2jor-23f95f-ny5qcxom.hcp.eastus.azmk8s.io/apis/batch/v1/namespaces/azure-arc-release/jobs?labelSelector=&timeoutSeconds=60&watch=True - response: - body: - string: '{"type":"ADDED","object":{"kind":"Job","apiVersion":"batch/v1","metadata":{"name":"cluster-diagnostic-checks-job","namespace":"azure-arc-release","uid":"8fdc92a6-b894-447f-a5c9-31770f07f238","resourceVersion":"1730","generation":1,"creationTimestamp":"2023-07-18T04:05:07Z","labels":{"app":"cluster-diagnostic-checks","app.kubernetes.io/managed-by":"Helm"},"annotations":{"batch.kubernetes.io/job-tracking":"","meta.helm.sh/release-name":"cluster-diagnostic-checks","meta.helm.sh/release-namespace":"azure-arc-release"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"batch/v1","time":"2023-07-18T04:05:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app":{},"f:app.kubernetes.io/managed-by":{}}},"f:spec":{"f:backoffLimit":{},"f:completionMode":{},"f:completions":{},"f:parallelism":{},"f:suspend":{},"f:template":{"f:metadata":{"f:labels":{".":{},"f:app":{}},"f:namespace":{}},"f:spec":{"f:affinity":{".":{},"f:nodeAffinity":{".":{},"f:requiredDuringSchedulingIgnoredDuringExecution":{}}},"f:containers":{"k:{\"name\":\"cluster-diagnostic-checks-container\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:securityContext":{".":{},"f:allowPrivilegeEscalation":{},"f:readOnlyRootFilesystem":{},"f:runAsGroup":{},"f:runAsNonRoot":{},"f:runAsUser":{}},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:nodeSelector":{},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"batch/v1","time":"2023-07-18T04:05:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:active":{},"f:ready":{},"f:startTime":{},"f:uncountedTerminatedPods":{}}},"subresource":"status"}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":4,"selector":{"matchLabels":{"controller-uid":"8fdc92a6-b894-447f-a5c9-31770f07f238"}},"template":{"metadata":{"namespace":"azure-arc-release","creationTimestamp":null,"labels":{"app":"cluster-diagnostic-checks","controller-uid":"8fdc92a6-b894-447f-a5c9-31770f07f238","job-name":"cluster-diagnostic-checks-job"}},"spec":{"containers":[{"name":"cluster-diagnostic-checks-container","image":"mcr.microsoft.com/azurearck8s/clusterdiagnosticchecks:v0.1.1","command":["/bin/bash","/cluster_diagnostic_checks_job_script.sh"],"args":["None","None","None","eastus","AZUREPUBLICCLOUD"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always","securityContext":{"runAsUser":13243,"runAsGroup":12434,"runAsNonRoot":true,"readOnlyRootFilesystem":true,"allowPrivilegeEscalation":false}}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"cluster-diagnostic-checkssa","serviceAccount":"cluster-diagnostic-checkssa","securityContext":{},"affinity":{"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"kubernetes.io/arch","operator":"In","values":["amd64","arm64"]}]}]}}},"schedulerName":"default-scheduler"}},"completionMode":"NonIndexed","suspend":false},"status":{"startTime":"2023-07-18T04:05:07Z","active":1,"uncountedTerminatedPods":{},"ready":0}}} - - {"type":"MODIFIED","object":{"kind":"Job","apiVersion":"batch/v1","metadata":{"name":"cluster-diagnostic-checks-job","namespace":"azure-arc-release","uid":"8fdc92a6-b894-447f-a5c9-31770f07f238","resourceVersion":"1756","generation":1,"creationTimestamp":"2023-07-18T04:05:07Z","labels":{"app":"cluster-diagnostic-checks","app.kubernetes.io/managed-by":"Helm"},"annotations":{"batch.kubernetes.io/job-tracking":"","meta.helm.sh/release-name":"cluster-diagnostic-checks","meta.helm.sh/release-namespace":"azure-arc-release"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"batch/v1","time":"2023-07-18T04:05:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app":{},"f:app.kubernetes.io/managed-by":{}}},"f:spec":{"f:backoffLimit":{},"f:completionMode":{},"f:completions":{},"f:parallelism":{},"f:suspend":{},"f:template":{"f:metadata":{"f:labels":{".":{},"f:app":{}},"f:namespace":{}},"f:spec":{"f:affinity":{".":{},"f:nodeAffinity":{".":{},"f:requiredDuringSchedulingIgnoredDuringExecution":{}}},"f:containers":{"k:{\"name\":\"cluster-diagnostic-checks-container\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:securityContext":{".":{},"f:allowPrivilegeEscalation":{},"f:readOnlyRootFilesystem":{},"f:runAsGroup":{},"f:runAsNonRoot":{},"f:runAsUser":{}},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:nodeSelector":{},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"batch/v1","time":"2023-07-18T04:05:13Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:active":{},"f:ready":{},"f:startTime":{},"f:uncountedTerminatedPods":{}}},"subresource":"status"}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":4,"selector":{"matchLabels":{"controller-uid":"8fdc92a6-b894-447f-a5c9-31770f07f238"}},"template":{"metadata":{"namespace":"azure-arc-release","creationTimestamp":null,"labels":{"app":"cluster-diagnostic-checks","controller-uid":"8fdc92a6-b894-447f-a5c9-31770f07f238","job-name":"cluster-diagnostic-checks-job"}},"spec":{"containers":[{"name":"cluster-diagnostic-checks-container","image":"mcr.microsoft.com/azurearck8s/clusterdiagnosticchecks:v0.1.1","command":["/bin/bash","/cluster_diagnostic_checks_job_script.sh"],"args":["None","None","None","eastus","AZUREPUBLICCLOUD"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always","securityContext":{"runAsUser":13243,"runAsGroup":12434,"runAsNonRoot":true,"readOnlyRootFilesystem":true,"allowPrivilegeEscalation":false}}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"cluster-diagnostic-checkssa","serviceAccount":"cluster-diagnostic-checkssa","securityContext":{},"affinity":{"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"kubernetes.io/arch","operator":"In","values":["amd64","arm64"]}]}]}}},"schedulerName":"default-scheduler"}},"completionMode":"NonIndexed","suspend":false},"status":{"startTime":"2023-07-18T04:05:07Z","active":1,"uncountedTerminatedPods":{},"ready":1}}} - - {"type":"MODIFIED","object":{"kind":"Job","apiVersion":"batch/v1","metadata":{"name":"cluster-diagnostic-checks-job","namespace":"azure-arc-release","uid":"8fdc92a6-b894-447f-a5c9-31770f07f238","resourceVersion":"1790","generation":1,"creationTimestamp":"2023-07-18T04:05:07Z","labels":{"app":"cluster-diagnostic-checks","app.kubernetes.io/managed-by":"Helm"},"annotations":{"batch.kubernetes.io/job-tracking":"","meta.helm.sh/release-name":"cluster-diagnostic-checks","meta.helm.sh/release-namespace":"azure-arc-release"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"batch/v1","time":"2023-07-18T04:05:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app":{},"f:app.kubernetes.io/managed-by":{}}},"f:spec":{"f:backoffLimit":{},"f:completionMode":{},"f:completions":{},"f:parallelism":{},"f:suspend":{},"f:template":{"f:metadata":{"f:labels":{".":{},"f:app":{}},"f:namespace":{}},"f:spec":{"f:affinity":{".":{},"f:nodeAffinity":{".":{},"f:requiredDuringSchedulingIgnoredDuringExecution":{}}},"f:containers":{"k:{\"name\":\"cluster-diagnostic-checks-container\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:securityContext":{".":{},"f:allowPrivilegeEscalation":{},"f:readOnlyRootFilesystem":{},"f:runAsGroup":{},"f:runAsNonRoot":{},"f:runAsUser":{}},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:nodeSelector":{},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"batch/v1","time":"2023-07-18T04:05:17Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:active":{},"f:ready":{},"f:startTime":{},"f:uncountedTerminatedPods":{}}},"subresource":"status"}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":4,"selector":{"matchLabels":{"controller-uid":"8fdc92a6-b894-447f-a5c9-31770f07f238"}},"template":{"metadata":{"namespace":"azure-arc-release","creationTimestamp":null,"labels":{"app":"cluster-diagnostic-checks","controller-uid":"8fdc92a6-b894-447f-a5c9-31770f07f238","job-name":"cluster-diagnostic-checks-job"}},"spec":{"containers":[{"name":"cluster-diagnostic-checks-container","image":"mcr.microsoft.com/azurearck8s/clusterdiagnosticchecks:v0.1.1","command":["/bin/bash","/cluster_diagnostic_checks_job_script.sh"],"args":["None","None","None","eastus","AZUREPUBLICCLOUD"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always","securityContext":{"runAsUser":13243,"runAsGroup":12434,"runAsNonRoot":true,"readOnlyRootFilesystem":true,"allowPrivilegeEscalation":false}}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"cluster-diagnostic-checkssa","serviceAccount":"cluster-diagnostic-checkssa","securityContext":{},"affinity":{"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"kubernetes.io/arch","operator":"In","values":["amd64","arm64"]}]}]}}},"schedulerName":"default-scheduler"}},"completionMode":"NonIndexed","suspend":false},"status":{"startTime":"2023-07-18T04:05:07Z","active":1,"uncountedTerminatedPods":{},"ready":0}}} - - {"type":"MODIFIED","object":{"kind":"Job","apiVersion":"batch/v1","metadata":{"name":"cluster-diagnostic-checks-job","namespace":"azure-arc-release","uid":"8fdc92a6-b894-447f-a5c9-31770f07f238","resourceVersion":"1811","generation":1,"creationTimestamp":"2023-07-18T04:05:07Z","labels":{"app":"cluster-diagnostic-checks","app.kubernetes.io/managed-by":"Helm"},"annotations":{"batch.kubernetes.io/job-tracking":"","meta.helm.sh/release-name":"cluster-diagnostic-checks","meta.helm.sh/release-namespace":"azure-arc-release"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"batch/v1","time":"2023-07-18T04:05:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app":{},"f:app.kubernetes.io/managed-by":{}}},"f:spec":{"f:backoffLimit":{},"f:completionMode":{},"f:completions":{},"f:parallelism":{},"f:suspend":{},"f:template":{"f:metadata":{"f:labels":{".":{},"f:app":{}},"f:namespace":{}},"f:spec":{"f:affinity":{".":{},"f:nodeAffinity":{".":{},"f:requiredDuringSchedulingIgnoredDuringExecution":{}}},"f:containers":{"k:{\"name\":\"cluster-diagnostic-checks-container\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:securityContext":{".":{},"f:allowPrivilegeEscalation":{},"f:readOnlyRootFilesystem":{},"f:runAsGroup":{},"f:runAsNonRoot":{},"f:runAsUser":{}},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:nodeSelector":{},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"batch/v1","time":"2023-07-18T04:05:19Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:ready":{},"f:startTime":{},"f:uncountedTerminatedPods":{".":{},"f:succeeded":{".":{},"v:\"bb59d8ed-2699-404a-94ae-d2f4c4cb326c\"":{}}}}},"subresource":"status"}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":4,"selector":{"matchLabels":{"controller-uid":"8fdc92a6-b894-447f-a5c9-31770f07f238"}},"template":{"metadata":{"namespace":"azure-arc-release","creationTimestamp":null,"labels":{"app":"cluster-diagnostic-checks","controller-uid":"8fdc92a6-b894-447f-a5c9-31770f07f238","job-name":"cluster-diagnostic-checks-job"}},"spec":{"containers":[{"name":"cluster-diagnostic-checks-container","image":"mcr.microsoft.com/azurearck8s/clusterdiagnosticchecks:v0.1.1","command":["/bin/bash","/cluster_diagnostic_checks_job_script.sh"],"args":["None","None","None","eastus","AZUREPUBLICCLOUD"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always","securityContext":{"runAsUser":13243,"runAsGroup":12434,"runAsNonRoot":true,"readOnlyRootFilesystem":true,"allowPrivilegeEscalation":false}}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"cluster-diagnostic-checkssa","serviceAccount":"cluster-diagnostic-checkssa","securityContext":{},"affinity":{"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"kubernetes.io/arch","operator":"In","values":["amd64","arm64"]}]}]}}},"schedulerName":"default-scheduler"}},"completionMode":"NonIndexed","suspend":false},"status":{"startTime":"2023-07-18T04:05:07Z","uncountedTerminatedPods":{"succeeded":["bb59d8ed-2699-404a-94ae-d2f4c4cb326c"]},"ready":0}}} - - {"type":"MODIFIED","object":{"kind":"Job","apiVersion":"batch/v1","metadata":{"name":"cluster-diagnostic-checks-job","namespace":"azure-arc-release","uid":"8fdc92a6-b894-447f-a5c9-31770f07f238","resourceVersion":"1814","generation":1,"creationTimestamp":"2023-07-18T04:05:07Z","labels":{"app":"cluster-diagnostic-checks","app.kubernetes.io/managed-by":"Helm"},"annotations":{"batch.kubernetes.io/job-tracking":"","meta.helm.sh/release-name":"cluster-diagnostic-checks","meta.helm.sh/release-namespace":"azure-arc-release"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"batch/v1","time":"2023-07-18T04:05:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app":{},"f:app.kubernetes.io/managed-by":{}}},"f:spec":{"f:backoffLimit":{},"f:completionMode":{},"f:completions":{},"f:parallelism":{},"f:suspend":{},"f:template":{"f:metadata":{"f:labels":{".":{},"f:app":{}},"f:namespace":{}},"f:spec":{"f:affinity":{".":{},"f:nodeAffinity":{".":{},"f:requiredDuringSchedulingIgnoredDuringExecution":{}}},"f:containers":{"k:{\"name\":\"cluster-diagnostic-checks-container\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:securityContext":{".":{},"f:allowPrivilegeEscalation":{},"f:readOnlyRootFilesystem":{},"f:runAsGroup":{},"f:runAsNonRoot":{},"f:runAsUser":{}},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:nodeSelector":{},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"batch/v1","time":"2023-07-18T04:05:19Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:completionTime":{},"f:conditions":{},"f:ready":{},"f:startTime":{},"f:succeeded":{},"f:uncountedTerminatedPods":{}}},"subresource":"status"}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":4,"selector":{"matchLabels":{"controller-uid":"8fdc92a6-b894-447f-a5c9-31770f07f238"}},"template":{"metadata":{"namespace":"azure-arc-release","creationTimestamp":null,"labels":{"app":"cluster-diagnostic-checks","controller-uid":"8fdc92a6-b894-447f-a5c9-31770f07f238","job-name":"cluster-diagnostic-checks-job"}},"spec":{"containers":[{"name":"cluster-diagnostic-checks-container","image":"mcr.microsoft.com/azurearck8s/clusterdiagnosticchecks:v0.1.1","command":["/bin/bash","/cluster_diagnostic_checks_job_script.sh"],"args":["None","None","None","eastus","AZUREPUBLICCLOUD"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always","securityContext":{"runAsUser":13243,"runAsGroup":12434,"runAsNonRoot":true,"readOnlyRootFilesystem":true,"allowPrivilegeEscalation":false}}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"cluster-diagnostic-checkssa","serviceAccount":"cluster-diagnostic-checkssa","securityContext":{},"affinity":{"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"kubernetes.io/arch","operator":"In","values":["amd64","arm64"]}]}]}}},"schedulerName":"default-scheduler"}},"completionMode":"NonIndexed","suspend":false},"status":{"conditions":[{"type":"Complete","status":"True","lastProbeTime":"2023-07-18T04:05:19Z","lastTransitionTime":"2023-07-18T04:05:19Z"}],"startTime":"2023-07-18T04:05:07Z","completionTime":"2023-07-18T04:05:19Z","succeeded":1,"uncountedTerminatedPods":{},"ready":0}}} - - ' - headers: - audit-id: - - 93216783-1985-405c-a28e-2684e819fd66 - cache-control: - - no-cache, private - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:05:08 GMT - transfer-encoding: - - chunked - x-kubernetes-pf-flowschema-uid: - - 06d58723-4e43-4779-8080-d2b76d218281 - x-kubernetes-pf-prioritylevel-uid: - - d0544e5d-d80e-42e2-a912-baa99546921d - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAPI-Generator/24.2.0/python - method: GET - uri: https://my-aks-clu-clitestrgk2jor-23f95f-ny5qcxom.hcp.eastus.azmk8s.io/api/v1/namespaces/azure-arc-release/pods - response: - body: - string: '{"kind":"PodList","apiVersion":"v1","metadata":{"resourceVersion":"2046"},"items":[{"metadata":{"name":"cluster-diagnostic-checks-job-c8x64","generateName":"cluster-diagnostic-checks-job-","namespace":"azure-arc-release","uid":"bb59d8ed-2699-404a-94ae-d2f4c4cb326c","resourceVersion":"1812","creationTimestamp":"2023-07-18T04:05:07Z","labels":{"app":"cluster-diagnostic-checks","controller-uid":"8fdc92a6-b894-447f-a5c9-31770f07f238","job-name":"cluster-diagnostic-checks-job"},"ownerReferences":[{"apiVersion":"batch/v1","kind":"Job","name":"cluster-diagnostic-checks-job","uid":"8fdc92a6-b894-447f-a5c9-31770f07f238","controller":true,"blockOwnerDeletion":true}],"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:05:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:generateName":{},"f:labels":{".":{},"f:app":{},"f:controller-uid":{},"f:job-name":{}},"f:ownerReferences":{".":{},"k:{\"uid\":\"8fdc92a6-b894-447f-a5c9-31770f07f238\"}":{}}},"f:spec":{"f:affinity":{".":{},"f:nodeAffinity":{".":{},"f:requiredDuringSchedulingIgnoredDuringExecution":{}}},"f:containers":{"k:{\"name\":\"cluster-diagnostic-checks-container\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:securityContext":{".":{},"f:allowPrivilegeEscalation":{},"f:readOnlyRootFilesystem":{},"f:runAsGroup":{},"f:runAsNonRoot":{},"f:runAsUser":{}},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:enableServiceLinks":{},"f:nodeSelector":{},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:05:18Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"ContainersReady\"}":{".":{},"f:lastProbeTime":{},"f:lastTransitionTime":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"Initialized\"}":{".":{},"f:lastProbeTime":{},"f:lastTransitionTime":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"Ready\"}":{".":{},"f:lastProbeTime":{},"f:lastTransitionTime":{},"f:reason":{},"f:status":{},"f:type":{}}},"f:containerStatuses":{},"f:hostIP":{},"f:phase":{},"f:podIP":{},"f:podIPs":{".":{},"k:{\"ip\":\"10.244.2.3\"}":{".":{},"f:ip":{}}},"f:startTime":{}}},"subresource":"status"}]},"spec":{"volumes":[{"name":"kube-api-access-9kwmh","projected":{"sources":[{"serviceAccountToken":{"expirationSeconds":3607,"path":"token"}},{"configMap":{"name":"kube-root-ca.crt","items":[{"key":"ca.crt","path":"ca.crt"}]}},{"downwardAPI":{"items":[{"path":"namespace","fieldRef":{"apiVersion":"v1","fieldPath":"metadata.namespace"}}]}}],"defaultMode":420}}],"containers":[{"name":"cluster-diagnostic-checks-container","image":"mcr.microsoft.com/azurearck8s/clusterdiagnosticchecks:v0.1.1","command":["/bin/bash","/cluster_diagnostic_checks_job_script.sh"],"args":["None","None","None","eastus","AZUREPUBLICCLOUD"],"resources":{},"volumeMounts":[{"name":"kube-api-access-9kwmh","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always","securityContext":{"runAsUser":13243,"runAsGroup":12434,"runAsNonRoot":true,"readOnlyRootFilesystem":true,"allowPrivilegeEscalation":false}}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"cluster-diagnostic-checkssa","serviceAccount":"cluster-diagnostic-checkssa","nodeName":"aks-nodepool1-28130607-vmss000003","securityContext":{},"affinity":{"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"kubernetes.io/arch","operator":"In","values":["amd64","arm64"]}]}]}}},"schedulerName":"default-scheduler","tolerations":[{"key":"node.kubernetes.io/not-ready","operator":"Exists","effect":"NoExecute","tolerationSeconds":300},{"key":"node.kubernetes.io/unreachable","operator":"Exists","effect":"NoExecute","tolerationSeconds":300}],"priority":0,"enableServiceLinks":true,"preemptionPolicy":"PreemptLowerPriority"},"status":{"phase":"Succeeded","conditions":[{"type":"Initialized","status":"True","lastProbeTime":null,"lastTransitionTime":"2023-07-18T04:05:07Z","reason":"PodCompleted"},{"type":"Ready","status":"False","lastProbeTime":null,"lastTransitionTime":"2023-07-18T04:05:16Z","reason":"PodCompleted"},{"type":"ContainersReady","status":"False","lastProbeTime":null,"lastTransitionTime":"2023-07-18T04:05:16Z","reason":"PodCompleted"},{"type":"PodScheduled","status":"True","lastProbeTime":null,"lastTransitionTime":"2023-07-18T04:05:07Z"}],"hostIP":"10.224.0.5","podIP":"10.244.2.3","podIPs":[{"ip":"10.244.2.3"}],"startTime":"2023-07-18T04:05:07Z","containerStatuses":[{"name":"cluster-diagnostic-checks-container","state":{"terminated":{"exitCode":0,"reason":"Completed","startedAt":"2023-07-18T04:05:11Z","finishedAt":"2023-07-18T04:05:12Z","containerID":"containerd://4f8d57c38dbd8cfb291ed557b41d9ab2b063b870c04b4bc6da93e889dfc2d610"}},"lastState":{},"ready":false,"restartCount":0,"image":"mcr.microsoft.com/azurearck8s/clusterdiagnosticchecks:v0.1.1","imageID":"mcr.microsoft.com/azurearck8s/clusterdiagnosticchecks@sha256:5ff5e423ed7892671b2d973eca09c424fe625a1d1b8663ff8f9d3964f5f53a2d","containerID":"containerd://4f8d57c38dbd8cfb291ed557b41d9ab2b063b870c04b4bc6da93e889dfc2d610","started":false}],"qosClass":"BestEffort"}}]} - - ' - headers: - audit-id: - - f504b068-a8f1-4f64-803b-1720367afbea - cache-control: - - no-cache, private - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:06:09 GMT - transfer-encoding: - - chunked - x-kubernetes-pf-flowschema-uid: - - 06d58723-4e43-4779-8080-d2b76d218281 - x-kubernetes-pf-prioritylevel-uid: - - d0544e5d-d80e-42e2-a912-baa99546921d - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAPI-Generator/24.2.0/python - method: GET - uri: https://my-aks-clu-clitestrgk2jor-23f95f-ny5qcxom.hcp.eastus.azmk8s.io/api/v1/namespaces/azure-arc-release/pods - response: - body: - string: '{"kind":"PodList","apiVersion":"v1","metadata":{"resourceVersion":"2064"},"items":[{"metadata":{"name":"cluster-diagnostic-checks-job-c8x64","generateName":"cluster-diagnostic-checks-job-","namespace":"azure-arc-release","uid":"bb59d8ed-2699-404a-94ae-d2f4c4cb326c","resourceVersion":"1812","creationTimestamp":"2023-07-18T04:05:07Z","labels":{"app":"cluster-diagnostic-checks","controller-uid":"8fdc92a6-b894-447f-a5c9-31770f07f238","job-name":"cluster-diagnostic-checks-job"},"ownerReferences":[{"apiVersion":"batch/v1","kind":"Job","name":"cluster-diagnostic-checks-job","uid":"8fdc92a6-b894-447f-a5c9-31770f07f238","controller":true,"blockOwnerDeletion":true}],"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:05:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:generateName":{},"f:labels":{".":{},"f:app":{},"f:controller-uid":{},"f:job-name":{}},"f:ownerReferences":{".":{},"k:{\"uid\":\"8fdc92a6-b894-447f-a5c9-31770f07f238\"}":{}}},"f:spec":{"f:affinity":{".":{},"f:nodeAffinity":{".":{},"f:requiredDuringSchedulingIgnoredDuringExecution":{}}},"f:containers":{"k:{\"name\":\"cluster-diagnostic-checks-container\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:securityContext":{".":{},"f:allowPrivilegeEscalation":{},"f:readOnlyRootFilesystem":{},"f:runAsGroup":{},"f:runAsNonRoot":{},"f:runAsUser":{}},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:enableServiceLinks":{},"f:nodeSelector":{},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2023-07-18T04:05:18Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"ContainersReady\"}":{".":{},"f:lastProbeTime":{},"f:lastTransitionTime":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"Initialized\"}":{".":{},"f:lastProbeTime":{},"f:lastTransitionTime":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"Ready\"}":{".":{},"f:lastProbeTime":{},"f:lastTransitionTime":{},"f:reason":{},"f:status":{},"f:type":{}}},"f:containerStatuses":{},"f:hostIP":{},"f:phase":{},"f:podIP":{},"f:podIPs":{".":{},"k:{\"ip\":\"10.244.2.3\"}":{".":{},"f:ip":{}}},"f:startTime":{}}},"subresource":"status"}]},"spec":{"volumes":[{"name":"kube-api-access-9kwmh","projected":{"sources":[{"serviceAccountToken":{"expirationSeconds":3607,"path":"token"}},{"configMap":{"name":"kube-root-ca.crt","items":[{"key":"ca.crt","path":"ca.crt"}]}},{"downwardAPI":{"items":[{"path":"namespace","fieldRef":{"apiVersion":"v1","fieldPath":"metadata.namespace"}}]}}],"defaultMode":420}}],"containers":[{"name":"cluster-diagnostic-checks-container","image":"mcr.microsoft.com/azurearck8s/clusterdiagnosticchecks:v0.1.1","command":["/bin/bash","/cluster_diagnostic_checks_job_script.sh"],"args":["None","None","None","eastus","AZUREPUBLICCLOUD"],"resources":{},"volumeMounts":[{"name":"kube-api-access-9kwmh","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always","securityContext":{"runAsUser":13243,"runAsGroup":12434,"runAsNonRoot":true,"readOnlyRootFilesystem":true,"allowPrivilegeEscalation":false}}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"cluster-diagnostic-checkssa","serviceAccount":"cluster-diagnostic-checkssa","nodeName":"aks-nodepool1-28130607-vmss000003","securityContext":{},"affinity":{"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"kubernetes.io/arch","operator":"In","values":["amd64","arm64"]}]}]}}},"schedulerName":"default-scheduler","tolerations":[{"key":"node.kubernetes.io/not-ready","operator":"Exists","effect":"NoExecute","tolerationSeconds":300},{"key":"node.kubernetes.io/unreachable","operator":"Exists","effect":"NoExecute","tolerationSeconds":300}],"priority":0,"enableServiceLinks":true,"preemptionPolicy":"PreemptLowerPriority"},"status":{"phase":"Succeeded","conditions":[{"type":"Initialized","status":"True","lastProbeTime":null,"lastTransitionTime":"2023-07-18T04:05:07Z","reason":"PodCompleted"},{"type":"Ready","status":"False","lastProbeTime":null,"lastTransitionTime":"2023-07-18T04:05:16Z","reason":"PodCompleted"},{"type":"ContainersReady","status":"False","lastProbeTime":null,"lastTransitionTime":"2023-07-18T04:05:16Z","reason":"PodCompleted"},{"type":"PodScheduled","status":"True","lastProbeTime":null,"lastTransitionTime":"2023-07-18T04:05:07Z"}],"hostIP":"10.224.0.5","podIP":"10.244.2.3","podIPs":[{"ip":"10.244.2.3"}],"startTime":"2023-07-18T04:05:07Z","containerStatuses":[{"name":"cluster-diagnostic-checks-container","state":{"terminated":{"exitCode":0,"reason":"Completed","startedAt":"2023-07-18T04:05:11Z","finishedAt":"2023-07-18T04:05:12Z","containerID":"containerd://4f8d57c38dbd8cfb291ed557b41d9ab2b063b870c04b4bc6da93e889dfc2d610"}},"lastState":{},"ready":false,"restartCount":0,"image":"mcr.microsoft.com/azurearck8s/clusterdiagnosticchecks:v0.1.1","imageID":"mcr.microsoft.com/azurearck8s/clusterdiagnosticchecks@sha256:5ff5e423ed7892671b2d973eca09c424fe625a1d1b8663ff8f9d3964f5f53a2d","containerID":"containerd://4f8d57c38dbd8cfb291ed557b41d9ab2b063b870c04b4bc6da93e889dfc2d610","started":false}],"qosClass":"BestEffort"}}]} - - ' - headers: - audit-id: - - cadc7f45-896a-4e21-879b-d34af3da4f3c - cache-control: - - no-cache, private - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:06:12 GMT - transfer-encoding: - - chunked - x-kubernetes-pf-flowschema-uid: - - 06d58723-4e43-4779-8080-d2b76d218281 - x-kubernetes-pf-prioritylevel-uid: - - d0544e5d-d80e-42e2-a912-baa99546921d - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAPI-Generator/24.2.0/python - method: GET - uri: https://my-aks-clu-clitestrgk2jor-23f95f-ny5qcxom.hcp.eastus.azmk8s.io/api/v1/namespaces/azure-arc-release/pods/cluster-diagnostic-checks-job-c8x64/log?container=cluster-diagnostic-checks-container - response: - body: - string: "Executing DNS and outbound connectivity check\nDNS Result:Server:\t\ - \t10.0.0.10\nAddress:\t10.0.0.10#53\n\nName:\tkubernetes.default.svc.cluster.local\n\ - Address: 10.0.0.1\nChecking outbound connectivity for Cluster Connect Pre-check\ - \ Endpoint. This is an optional endpoint required only for cluster-connect\ - \ functionality\nOutbound Network Connectivity Check for Cluster Connect :\ - \ https://eastus.obo.arc.azure.com:8084/ : 401\nChecking outbound connectivity\ - \ for Onboarding Pre-check Endpoint. This is a mandatory endpoint.\nOutbound\ - \ Network Connectivity Check for Onboarding Result : https://mcr.microsoft.com\ - \ : 200\n" - headers: - audit-id: - - 04da5108-988b-45d6-bd6c-e3b87ad28921 - cache-control: - - no-cache, private - content-type: - - text/plain - date: - - Tue, 18 Jul 2023 04:06:13 GMT - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: '{"spec": {"resourceAttributes": {"verb": "create", "resource": "clusterrolebindings", - "group": "rbac.authorization.k8s.io"}}}' - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - OpenAPI-Generator/24.2.0/python - method: POST - uri: https://my-aks-clu-clitestrgk2jor-23f95f-ny5qcxom.hcp.eastus.azmk8s.io/apis/authorization.k8s.io/v1/selfsubjectaccessreviews - response: - body: - string: '{"kind":"SelfSubjectAccessReview","apiVersion":"authorization.k8s.io/v1","metadata":{"creationTimestamp":null,"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"authorization.k8s.io/v1","time":"2023-07-18T04:06:14Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:resourceAttributes":{".":{},"f:group":{},"f:resource":{},"f:verb":{}}}}}]},"spec":{"resourceAttributes":{"verb":"create","group":"rbac.authorization.k8s.io","resource":"clusterrolebindings"}},"status":{"allowed":true}} - - ' - headers: - audit-id: - - 9d8dc2a1-28f0-4d15-8b0a-01697e6dc49c - cache-control: - - no-cache, private - content-length: - - '516' - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:06:14 GMT - x-kubernetes-pf-flowschema-uid: - - 06d58723-4e43-4779-8080-d2b76d218281 - x-kubernetes-pf-prioritylevel-uid: - - d0544e5d-d80e-42e2-a912-baa99546921d - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - connectedk8s connect - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Kubernetes?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Kubernetes","namespace":"Microsoft.Kubernetes","authorizations":[{"applicationId":"64b12d6e-6549-484c-8cc6-6281839ba394","roleDefinitionId":"1d1d44cf-68a1-4def-a2b6-cd7efc3515af"},{"applicationId":"359431ad-ece5-496b-8768-be4bbfd82f36","roleDefinitionId":"1b5c71b7-9814-4b40-b62a-23018af874d8"},{"applicationId":"0000dab9-8b21-4ba2-807f-1743968cef00","roleDefinitionId":"1b5c71b7-9814-4b40-b62a-23018af874d8"},{"applicationId":"8edd93e1-2103-40b4-bd70-6e34e586362d","roleDefinitionId":"eb67887a-31e8-4e4e-bf5b-14ff79351a6f"}],"resourceTypes":[{"resourceType":"connectedClusters","locations":["West - Europe","East US","West Central US","South Central US","Southeast Asia","UK - South","East US 2","West US 2","Australia East","North Europe","France Central","Central - US","West US","North Central US","Korea Central","Japan East","East Asia","West - US 3","Canada East","Canada Central","Switzerland North","South Africa North","Brazil - South","UAE North","Central India","Sweden Central","East US 2 EUAP"],"apiVersions":["2022-10-01-preview","2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"SystemAssignedResourceIdentity, - SupportsTags, SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-10-01-preview","2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East - US 2 EUAP","West Europe","East US","West Central US","South Central US","Southeast - Asia","UK South","East US 2","West US 2","Australia East","North Europe","France - Central","Central US","West US","North Central US","Korea Central","Japan - East","East Asia","West US 3","Canada East","Canada Central","Switzerland - North","South Africa North","Brazil South","UAE North","Central India","Sweden - Central","Norway East","UK West"],"apiVersions":["2022-10-01-preview","2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"registeredSubscriptions","locations":[],"apiVersions":["2022-10-01-preview","2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"Operations","locations":[],"apiVersions":["2022-10-01-preview","2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview","2019-11-01-preview","2019-09-01-privatepreview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '2642' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:06:15 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - connectedk8s connect - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name - User-Agent: - - AZURECLI/2.50.0 azsdk-python-mgmt-hybridkubernetes/1.0.0b1 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster?api-version=2021-10-01 - response: - body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Kubernetes/connectedClusters/my-connected-cluster'' - under resource group ''clitest.rg000001'' was not found. For more details - please go to https://aka.ms/ARMResourceNotFoundFix"}}' - headers: - cache-control: - - no-cache - content-length: - - '247' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:06:17 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-failure-cause: - - gateway - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - connectedk8s connect - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2022-09-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","test":"test_containerapp_preview_environment_type","date":"2023-07-18T04:00:08Z","module":"containerapp-preview"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '394' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:06:38 GMT - expires: - - '-1' - pragma: - - 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: - - connectedk8s connect - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --resource-group --name - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: POST - uri: https://eastus.dp.kubernetesconfiguration.azure.com/azure-arc-k8sagents/GetLatestHelmPackagePath?api-version=2019-11-01-preview&releaseTrain=stable - response: - body: - string: '{"repositoryPath":"mcr.microsoft.com/azurearck8s/batch1/stable/azure-arc-k8sagents:1.11.7"}' - headers: - api-supported-versions: - - 2019-11-01-Preview - connection: - - close - content-length: - - '91' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:06:39 GMT - strict-transport-security: - - max-age=15724800; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"tags": {}, "location": "eastus", "identity": {"type": "SystemAssigned"}, - "properties": {"agentPublicKeyCertificate": "MIICCgKCAgEAoSqv+OpZ1jC1AjNUQTqDaXv06I+opCjgwP/s1EnhkeBxgdFWRGLYwqbbU7j3oXPLh/EWYtlf+xmqH3DZvFMhM3iO5DRcrRdoDQBGEnCur2ryEVBCTw7Xylx0d5/FWrCmD+uJGqF/Qj5ll9ErPPFOUGyAOHEalw01J4SLJcsKfblyCpSn0OJ9RTgLTrzJ09Z0ZU2/2rbO0Aivd8NhzSK0/JdGFtAlPuNMPbN9T3j3d6qvaip+6u/OXwGtEi/82cqwV5BfkqxBUtCfdgW/yncRrWP5ikedaLAT6+QwvbczPXdxS0vyXlH92EaIkFUtsUSpTxoWoNFDPxXY8Od2sGduk6Q9qrgQv4REAeojZOQdWEu5O3mevcO7B1NRsZEUZGp4Wr6EvjjZU8Wqgg7MaOOSa033e/ny//5s1NjppxL7cJ4AId672BjNaAMGyWczDEhMxkrPsdY0uz4c95WpmT9mCK847kzRTsLCNVLACi2CxstM8AwJrRbq+lMhQWa+RpW9IDXfD7qVlqPRVex7FPKryr8In3W9kKMEBJ08I8EXP580Dwr2ELJk7pd0Ee5zKIjjDFf66cUl7qt5XjF/gOJ8EmMB1m3dH9/pNDms1JMdKZaIf9ddHIg+y4MQopIx30Tpq1c7w5fVVn/3HA1f70bcjODbNNHHfcX4QBp1o0I806sCAwEAAQ==", - "distribution": "aks", "infrastructure": "azure"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - connectedk8s connect - Connection: - - keep-alive - Content-Length: - - '877' - Content-Type: - - application/json - ParameterSetName: - - --resource-group --name - User-Agent: - - AZURECLI/2.50.0 azsdk-python-mgmt-hybridkubernetes/1.0.0b1 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster?api-version=2021-10-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster","name":"my-connected-cluster","type":"microsoft.kubernetes/connectedclusters","location":"eastus","tags":{},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:06:48.2889994Z","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:06:48.2889994Z"},"identity":{"principalId":"97ac1f87-a2c3-473a-8fac-c336155366ea","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Accepted","connectivityStatus":"Connecting","agentPublicKeyCertificate":"MIICCgKCAgEAoSqv+OpZ1jC1AjNUQTqDaXv06I+opCjgwP/s1EnhkeBxgdFWRGLYwqbbU7j3oXPLh/EWYtlf+xmqH3DZvFMhM3iO5DRcrRdoDQBGEnCur2ryEVBCTw7Xylx0d5/FWrCmD+uJGqF/Qj5ll9ErPPFOUGyAOHEalw01J4SLJcsKfblyCpSn0OJ9RTgLTrzJ09Z0ZU2/2rbO0Aivd8NhzSK0/JdGFtAlPuNMPbN9T3j3d6qvaip+6u/OXwGtEi/82cqwV5BfkqxBUtCfdgW/yncRrWP5ikedaLAT6+QwvbczPXdxS0vyXlH92EaIkFUtsUSpTxoWoNFDPxXY8Od2sGduk6Q9qrgQv4REAeojZOQdWEu5O3mevcO7B1NRsZEUZGp4Wr6EvjjZU8Wqgg7MaOOSa033e/ny//5s1NjppxL7cJ4AId672BjNaAMGyWczDEhMxkrPsdY0uz4c95WpmT9mCK847kzRTsLCNVLACi2CxstM8AwJrRbq+lMhQWa+RpW9IDXfD7qVlqPRVex7FPKryr8In3W9kKMEBJ08I8EXP580Dwr2ELJk7pd0Ee5zKIjjDFf66cUl7qt5XjF/gOJ8EmMB1m3dH9/pNDms1JMdKZaIf9ddHIg+y4MQopIx30Tpq1c7w5fVVn/3HA1f70bcjODbNNHHfcX4QBp1o0I806sCAwEAAQ==","distribution":"aks","infrastructure":"azure"}}' - headers: - azure-asyncoperation: - - https://management.azure.com/providers/Microsoft.Kubernetes/locations/EASTUS/operationStatuses/35ed03ed-9f65-40d2-bcd1-2ea90377cd81*4C7017216F7E467963DF0CBE6AFD47360EED4D0A50891924F3395C15618A8BE3?api-version=2021-10-01 - cache-control: - - no-cache - content-length: - - '1509' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:06:52 GMT - etag: - - '"8c0a5c9f-0000-0100-0000-64b60fdb0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - connectedk8s connect - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name - User-Agent: - - AZURECLI/2.50.0 azsdk-python-mgmt-hybridkubernetes/1.0.0b1 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Kubernetes/locations/EASTUS/operationStatuses/35ed03ed-9f65-40d2-bcd1-2ea90377cd81*4C7017216F7E467963DF0CBE6AFD47360EED4D0A50891924F3395C15618A8BE3?api-version=2021-10-01 - response: - body: - string: '{"id":"/providers/Microsoft.Kubernetes/locations/EASTUS/operationStatuses/35ed03ed-9f65-40d2-bcd1-2ea90377cd81*4C7017216F7E467963DF0CBE6AFD47360EED4D0A50891924F3395C15618A8BE3","name":"35ed03ed-9f65-40d2-bcd1-2ea90377cd81*4C7017216F7E467963DF0CBE6AFD47360EED4D0A50891924F3395C15618A8BE3","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster","status":"Accepted","startTime":"2023-07-18T04:06:50.9592387Z"}' - headers: - cache-control: - - no-cache - content-length: - - '520' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:06:53 GMT - etag: - - '"1109fa61-0000-0100-0000-64b60fda0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - connectedk8s connect - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name - User-Agent: - - AZURECLI/2.50.0 azsdk-python-mgmt-hybridkubernetes/1.0.0b1 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Kubernetes/locations/EASTUS/operationStatuses/35ed03ed-9f65-40d2-bcd1-2ea90377cd81*4C7017216F7E467963DF0CBE6AFD47360EED4D0A50891924F3395C15618A8BE3?api-version=2021-10-01 - response: - body: - string: '{"id":"/providers/Microsoft.Kubernetes/locations/EASTUS/operationStatuses/35ed03ed-9f65-40d2-bcd1-2ea90377cd81*4C7017216F7E467963DF0CBE6AFD47360EED4D0A50891924F3395C15618A8BE3","name":"35ed03ed-9f65-40d2-bcd1-2ea90377cd81*4C7017216F7E467963DF0CBE6AFD47360EED4D0A50891924F3395C15618A8BE3","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster","status":"Succeeded","startTime":"2023-07-18T04:06:50.9592387Z","endTime":"2023-07-18T04:07:05.776259Z","properties":null}' - headers: - cache-control: - - no-cache - content-length: - - '579' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:07:24 GMT - etag: - - '"1109b064-0000-0100-0000-64b60fe90000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - connectedk8s connect - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name - User-Agent: - - AZURECLI/2.50.0 azsdk-python-mgmt-hybridkubernetes/1.0.0b1 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster?api-version=2021-10-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster","name":"my-connected-cluster","type":"microsoft.kubernetes/connectedclusters","location":"eastus","tags":{},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:06:48.2889994Z","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:06:48.2889994Z"},"identity":{"principalId":"97ac1f87-a2c3-473a-8fac-c336155366ea","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","connectivityStatus":"Connecting","agentPublicKeyCertificate":"MIICCgKCAgEAoSqv+OpZ1jC1AjNUQTqDaXv06I+opCjgwP/s1EnhkeBxgdFWRGLYwqbbU7j3oXPLh/EWYtlf+xmqH3DZvFMhM3iO5DRcrRdoDQBGEnCur2ryEVBCTw7Xylx0d5/FWrCmD+uJGqF/Qj5ll9ErPPFOUGyAOHEalw01J4SLJcsKfblyCpSn0OJ9RTgLTrzJ09Z0ZU2/2rbO0Aivd8NhzSK0/JdGFtAlPuNMPbN9T3j3d6qvaip+6u/OXwGtEi/82cqwV5BfkqxBUtCfdgW/yncRrWP5ikedaLAT6+QwvbczPXdxS0vyXlH92EaIkFUtsUSpTxoWoNFDPxXY8Od2sGduk6Q9qrgQv4REAeojZOQdWEu5O3mevcO7B1NRsZEUZGp4Wr6EvjjZU8Wqgg7MaOOSa033e/ny//5s1NjppxL7cJ4AId672BjNaAMGyWczDEhMxkrPsdY0uz4c95WpmT9mCK847kzRTsLCNVLACi2CxstM8AwJrRbq+lMhQWa+RpW9IDXfD7qVlqPRVex7FPKryr8In3W9kKMEBJ08I8EXP580Dwr2ELJk7pd0Ee5zKIjjDFf66cUl7qt5XjF/gOJ8EmMB1m3dH9/pNDms1JMdKZaIf9ddHIg+y4MQopIx30Tpq1c7w5fVVn/3HA1f70bcjODbNNHHfcX4QBp1o0I806sCAwEAAQ==","distribution":"aks","infrastructure":"azure"}}' - headers: - cache-control: - - no-cache - content-length: - - '1510' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:07:24 GMT - etag: - - '"8c0a36a3-0000-0100-0000-64b60fe90000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - connectedk8s connect - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ExtendedLocation?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ExtendedLocation","namespace":"Microsoft.ExtendedLocation","authorizations":[{"applicationId":"bc313c14-388c-4e7d-a58e-70017303ee3b","roleDefinitionId":"a775b938-2819-4dd0-8067-01f6e3b06392"},{"applicationId":"319f651f-7ddb-4fc6-9857-7aef9250bd05","roleDefinitionId":"0981f4e0-04a7-4e31-bd2b-b2ac2fc6ba4e"}],"resourceTypes":[{"resourceType":"locations","locations":[],"apiVersions":["2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"customLocations","locations":["East - US","West Europe","North Europe","France Central","Southeast Asia","Australia - East","East US 2","West US 2","UK South","Central US","West Central US","West - US","North Central US","South Central US","Korea Central","Japan East","East - Asia","West US 3","Canada Central","Canada East","Switzerland North","Sweden - Central","South Africa North","UAE North","Brazil South","Central India","East - US 2 EUAP"],"apiVersions":["2021-08-31-preview","2021-08-15","2021-03-15-preview","2020-07-15-privatepreview"],"defaultApiVersion":"2021-08-15","capabilities":"SystemAssignedResourceIdentity, - SupportsTags, SupportsLocation"},{"resourceType":"customLocations/enabledResourceTypes","locations":["East - US","West Europe","North Europe","France Central","Southeast Asia","Australia - East","East US 2","West US 2","UK South","Central US","West Central US","West - US","North Central US","South Central US","Korea Central","Japan East","East - Asia","West US 3","Canada Central","Canada East","Switzerland North","Sweden - Central","South Africa North","UAE North","Brazil South","Central India","East - US 2 EUAP"],"apiVersions":["2021-08-31-preview","2021-08-15","2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"customLocations/resourceSyncRules","locations":["East - US","West Europe","North Europe","France Central","Southeast Asia","Australia - East","East US 2","West US 2","UK South","Central US","West Central US","West - US","North Central US","South Central US","Korea Central","Japan East","East - Asia","West US 3","Canada Central","Canada East","Switzerland North","Sweden - Central","South Africa North","UAE North","Brazil South","Central India","East - US 2 EUAP"],"apiVersions":["2021-08-31-preview"],"defaultApiVersion":"2021-08-31-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/operationsstatus","locations":["East - US","West Europe","North Europe","France Central","Southeast Asia","Australia - East","East US 2","West US 2","UK South","Central US","West Central US","West - US","North Central US","South Central US","Korea Central","Japan East","East - Asia","West US 3","Canada Central","Canada East","Switzerland North","Sweden - Central","South Africa North","UAE North","Brazil South","Central India","East - US 2 Euap"],"apiVersions":["2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"locations/operationresults","locations":["East - US","West Europe","North Europe","France Central","Southeast Asia","Australia - East","East US 2","West US 2","UK South","Central US","West Central US","West - US","North Central US","South Central US","Korea Central","Japan East","East - Asia","West US 3","Canada Central","Canada East","Switzerland North","Sweden - Central","South Africa North","UAE North","Brazil South","Central India","East - US 2 Euap"],"apiVersions":["2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-08-31-preview","2021-08-15","2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '3811' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:07:25 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - connectedk8s connect - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) msrest/0.7.1 msrest_azure/0.6.4 - azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.50.0 - accept-language: - - en-US - method: GET - uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/servicePrincipals?$filter=displayName%20eq%20%27Custom%20Locations%20RP%27&api-version=1.6 - response: - body: - string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[{"odata.type":"Microsoft.DirectoryServices.ServicePrincipal","objectType":"ServicePrincipal","objectId":"51dfe1e8-70c6-4de5-a08e-e18aff23d815","deletionTimestamp":null,"accountEnabled":true,"addIns":[],"alternativeNames":[],"appDisplayName":"Custom - Locations RP","appId":"bc313c14-388c-4e7d-a58e-70017303ee3b","applicationTemplateId":null,"appOwnerTenantId":"f8cdef31-a31e-4b4a-93e4-5f571e91255a","appRoleAssignmentRequired":false,"appRoles":[],"displayName":"Custom - Locations RP","errorUrl":null,"homepage":null,"informationalUrls":{"termsOfService":null,"support":null,"privacy":null,"marketing":null},"keyCredentials":[],"logoutUrl":null,"notificationEmailAddresses":[],"oauth2Permissions":[],"passwordCredentials":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyEndDateTime":null,"preferredTokenSigningKeyThumbprint":null,"publisherName":"Microsoft - Services","replyUrls":[],"samlMetadataUrl":null,"samlSingleSignOnSettings":null,"servicePrincipalNames":["bc313c14-388c-4e7d-a58e-70017303ee3b"],"servicePrincipalType":"Application","signInAudience":"AzureADMultipleOrgs","tags":[],"tokenEncryptionKeyId":null}]}' - headers: - access-control-allow-origin: - - '*' - cache-control: - - no-cache - content-length: - - '1246' - content-type: - - application/json; odata=minimalmetadata; streaming=true; charset=utf-8 - dataserviceversion: - - 3.0; - date: - - Tue, 18 Jul 2023 04:07:26 GMT - duration: - - '1829285' - expires: - - '-1' - ocp-aad-diagnostics-server-name: - - v+aYsJkPjYpAyMETFK/lTF0AgmFbQrvWla0Sfqjfcb8= - ocp-aad-session-key: - - PGGzGvOxpFlSwqFq6UKBBbRbAUMZoxjltU1fIQzZ6u1EmT-4QLa6Gy3gZYQwT470HzX9GmUSrV7NRVDBjmGCYxFICBaAvSrry1yNPvVzahQraEA4g9Lh4i-elOuLIJnb.rzBljR55PyzOEW-hhO5RverDO3-OoS6YkauKx4X5g0k - pragma: - - no-cache - request-id: - - c2d2dbad-36d7-47f8-ba7c-80f66fb93c1f - strict-transport-security: - - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-ms-dirapi-data-contract-version: - - '1.6' - x-ms-resource-unit: - - '1' - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - connectedk8s show - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name - User-Agent: - - AZURECLI/2.50.0 azsdk-python-mgmt-hybridkubernetes/1.0.0b1 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster?api-version=2022-10-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster","name":"my-connected-cluster","type":"microsoft.kubernetes/connectedclusters","location":"eastus","tags":{},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:06:48.2889994Z","lastModifiedBy":"64b12d6e-6549-484c-8cc6-6281839ba394","lastModifiedByType":"Application","lastModifiedAt":"2023-07-18T04:08:17.0836941Z"},"identity":{"principalId":"97ac1f87-a2c3-473a-8fac-c336155366ea","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","connectivityStatus":"Connected","privateLinkState":"Disabled","azureHybridBenefit":"NotApplicable","agentPublicKeyCertificate":"MIICCgKCAgEAoSqv+OpZ1jC1AjNUQTqDaXv06I+opCjgwP/s1EnhkeBxgdFWRGLYwqbbU7j3oXPLh/EWYtlf+xmqH3DZvFMhM3iO5DRcrRdoDQBGEnCur2ryEVBCTw7Xylx0d5/FWrCmD+uJGqF/Qj5ll9ErPPFOUGyAOHEalw01J4SLJcsKfblyCpSn0OJ9RTgLTrzJ09Z0ZU2/2rbO0Aivd8NhzSK0/JdGFtAlPuNMPbN9T3j3d6qvaip+6u/OXwGtEi/82cqwV5BfkqxBUtCfdgW/yncRrWP5ikedaLAT6+QwvbczPXdxS0vyXlH92EaIkFUtsUSpTxoWoNFDPxXY8Od2sGduk6Q9qrgQv4REAeojZOQdWEu5O3mevcO7B1NRsZEUZGp4Wr6EvjjZU8Wqgg7MaOOSa033e/ny//5s1NjppxL7cJ4AId672BjNaAMGyWczDEhMxkrPsdY0uz4c95WpmT9mCK847kzRTsLCNVLACi2CxstM8AwJrRbq+lMhQWa+RpW9IDXfD7qVlqPRVex7FPKryr8In3W9kKMEBJ08I8EXP580Dwr2ELJk7pd0Ee5zKIjjDFf66cUl7qt5XjF/gOJ8EmMB1m3dH9/pNDms1JMdKZaIf9ddHIg+y4MQopIx30Tpq1c7w5fVVn/3HA1f70bcjODbNNHHfcX4QBp1o0I806sCAwEAAQ==","distribution":"aks","infrastructure":"azure","kubernetesVersion":"1.25.6","totalNodeCount":4,"agentVersion":"1.11.7","totalCoreCount":8,"lastConnectivityTime":"2023-07-18T04:08:08.024Z","managedIdentityCertificateExpirationTime":"2023-10-16T04:01:00Z"}}' - headers: - cache-control: - - no-cache - content-length: - - '1803' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:08:52 GMT - etag: - - '"8c0a20b6-0000-0100-0000-64b610310000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - k8s-extension create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --cluster-type --cluster-name --extension-type --release-train - --auto-upgrade-minor-version --scope --release-namespace --configuration-settings - --configuration-settings --configuration-settings --configuration-settings - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KubernetesConfiguration?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KubernetesConfiguration","namespace":"Microsoft.KubernetesConfiguration","authorizations":[{"applicationId":"c699bf69-fb1d-4eaf-999b-99e6b2ae4d85","roleDefinitionId":"90155430-a360-410f-af5d-89dc284d85c6"},{"applicationId":"03db181c-e9d3-4868-9097-f0b728327182","roleDefinitionId":"DE2ADB97-42D8-49C8-8FCF-DBB53EF936AC"},{"applicationId":"a0f92522-89de-4c5e-9a75-0044ccf66efd","roleDefinitionId":"b3429810-7d5c-420e-8605-cf280f3099f2"},{"applicationId":"bd9b7cd5-dac1-495f-b013-ac871e98fa5f","roleDefinitionId":"0d44c8f0-08b9-44d4-9f59-e51c83f95200"},{"applicationId":"585fc3c3-9a59-4720-8319-53cce041a605","roleDefinitionId":"4a9ce2ee-6de2-43ba-a7bd-8f316de763a7"}],"resourceTypes":[{"resourceType":"sourceControlConfigurations","locations":["East - US","West Europe","West Central US","West US 2","West US 3","South Central - US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France - Central","Central US","North Central US","West US","Korea Central","East Asia","Japan - East","Canada East","Canada Central","Norway East","Germany West Central","Sweden - Central","Switzerland North","Australia Southeast","Central India","South - India","Japan West","Uk West","France South","Korea South","South Africa North","Brazil - South","Uae North","Norway West","Germany North","Jio India West"],"apiVersions":["2023-05-01","2022-11-01","2022-07-01","2022-03-01","2021-03-01","2020-10-01-preview","2020-07-01-preview","2019-11-01-preview"],"defaultApiVersion":"2022-03-01","capabilities":"SupportsExtension"},{"resourceType":"extensions","locations":["East - US","West Europe","West Central US","West US 2","West US 3","South Central - US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France - Central","Central US","North Central US","West US","Korea Central","East Asia","Japan - East","Canada East","Canada Central","Norway East","Germany West Central","Sweden - Central","Switzerland North","Australia Southeast","Central India","South - India","Japan West","Uk West","France South","Korea South","South Africa North","Brazil - South","Uae North","Norway West","Germany North","Jio India West","East US - 2 EUAP","Central US EUAP"],"apiVersions":["2023-05-01","2022-11-01","2022-07-01","2022-03-01","2020-07-01-preview"],"defaultApiVersion":"2022-07-01","capabilities":"SystemAssignedResourceIdentity, - SupportsExtension"},{"resourceType":"fluxConfigurations","locations":["East - US","West Europe","West Central US","West US 2","West US 3","South Central - US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France - Central","Central US","North Central US","West US","Korea Central","East Asia","Japan - East","Canada East","Canada Central","Norway East","Germany West Central","Sweden - Central","Switzerland North","Australia Southeast","Central India","South - India","Japan West","Uk West","Korea South","France South","South Africa North","Brazil - South","Uae North","Norway West","Germany North","Jio India West"],"apiVersions":["2023-05-01","2022-11-01","2022-07-01","2022-03-01","2022-01-01-preview","2021-11-01-preview","2021-06-01-preview"],"defaultApiVersion":"2022-07-01","capabilities":"SupportsExtension"},{"resourceType":"operations","locations":[],"apiVersions":["2023-05-01-preview","2023-05-01","2022-11-01","2022-03-01","2022-01-01-preview","2021-12-01-preview","2021-11-01-preview","2021-09-01","2021-06-01-preview","2021-05-01-preview","2021-03-01","2020-10-01-preview","2020-07-01-preview","2019-11-01-preview"],"capabilities":"None"},{"resourceType":"extensionTypes","locations":["West - US 2","East US","West Europe","West Central US","West US 3","South Central - US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France - Central","Central US","North Central US","West US","Korea Central","East Asia","Japan - East","Canada Central","Canada East","Norway East","Central India","South - India","Australia Southeast","Germany West Central","Switzerland North","Sweden - Central","Japan West","Uk West","Korea South","France South","South Africa - North","Brazil South","Uae North","Norway West","Germany North","Jio India - West"],"apiVersions":["2023-05-01-preview","2022-01-15-preview"],"capabilities":"SupportsExtension"},{"resourceType":"locations/extensionTypes","locations":["West - US 2","East US","West Europe","West Central US","West US 3","South Central - US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France - Central","Central US","North Central US","West US","Korea Central","East Asia","Japan - East","Canada Central","Canada East","Central India","South India","Norway - East","Australia Southeast","Germany West Central","Switzerland North","Sweden - Central","Japan West","Uk West","Korea South","France South","South Africa - North","Brazil South","Uae North","Norway West","Germany North","Jio India - West"],"apiVersions":["2023-05-01-preview","2022-01-15-preview"],"capabilities":"None"},{"resourceType":"locations/extensionTypes/versions","locations":["West - US 2","East US","West Europe","West Central US","West US 3","South Central - US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France - Central","Central US","North Central US","West US","Korea Central","East Asia","Japan - East","Canada Central","Canada East","Central India","Norway East","Australia - Southeast","Germany West Central","Switzerland North","Sweden Central","Japan - West","Uk West","Korea South","France South","South Africa North","South India","Brazil - South","Uae North","Norway West","Germany North","Jio India West"],"apiVersions":["2023-05-01-preview","2022-01-15-preview"],"capabilities":"None"},{"resourceType":"privateLinkScopes","locations":["East - US","West Europe","West Central US","West US 2","West US 3","South Central - US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France - Central","Central US","North Central US","West US","Korea Central","East Asia","Japan - East","Canada East","Canada Central","Norway East","Germany West Central","Sweden - Central","Switzerland North","Australia Southeast","Central India","South - India","Japan West","Uk West","Korea South","France South","South Africa North","Brazil - South","Uae North","East US 2 EUAP","Central US EUAP"],"apiVersions":["2022-04-02-preview"],"capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"privateLinkScopes/privateEndpointConnections","locations":["East - US","West Europe","West Central US","West US 2","West US 3","South Central - US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France - Central","Central US","North Central US","West US","Korea Central","East Asia","Japan - East","Canada East","Canada Central","Norway East","Germany West Central","Sweden - Central","Switzerland North","Australia Southeast","Central India","South - India","Japan West","Uk West","France South","Korea South","South Africa North","Brazil - South","Uae North","East US 2 EUAP","Central US EUAP"],"apiVersions":["2022-04-02-preview"],"capabilities":"None"},{"resourceType":"privateLinkScopes/privateEndpointConnectionProxies","locations":["East - US","West Europe","West Central US","West US 2","West US 3","South Central - US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France - Central","Central US","North Central US","West US","Korea Central","East Asia","Japan - East","Canada East","Canada Central","Norway East","Germany West Central","Sweden - Central","Switzerland North","Australia Southeast","Central India","South - India","Japan West","Uk West","South Africa North","Korea South","France South","Brazil - South","Uae North","East US 2 EUAP","Central US EUAP"],"apiVersions":["2022-04-02-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '7825' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:08: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: - - k8s-extension create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --cluster-type --cluster-name --extension-type --release-train - --auto-upgrade-minor-version --scope --release-namespace --configuration-settings - --configuration-settings --configuration-settings --configuration-settings - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster?api-version=2021-10-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster","name":"my-connected-cluster","type":"microsoft.kubernetes/connectedclusters","location":"eastus","tags":{},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:06:48.2889994Z","lastModifiedBy":"64b12d6e-6549-484c-8cc6-6281839ba394","lastModifiedByType":"Application","lastModifiedAt":"2023-07-18T04:08:17.0836941Z"},"identity":{"principalId":"97ac1f87-a2c3-473a-8fac-c336155366ea","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","connectivityStatus":"Connected","agentPublicKeyCertificate":"MIICCgKCAgEAoSqv+OpZ1jC1AjNUQTqDaXv06I+opCjgwP/s1EnhkeBxgdFWRGLYwqbbU7j3oXPLh/EWYtlf+xmqH3DZvFMhM3iO5DRcrRdoDQBGEnCur2ryEVBCTw7Xylx0d5/FWrCmD+uJGqF/Qj5ll9ErPPFOUGyAOHEalw01J4SLJcsKfblyCpSn0OJ9RTgLTrzJ09Z0ZU2/2rbO0Aivd8NhzSK0/JdGFtAlPuNMPbN9T3j3d6qvaip+6u/OXwGtEi/82cqwV5BfkqxBUtCfdgW/yncRrWP5ikedaLAT6+QwvbczPXdxS0vyXlH92EaIkFUtsUSpTxoWoNFDPxXY8Od2sGduk6Q9qrgQv4REAeojZOQdWEu5O3mevcO7B1NRsZEUZGp4Wr6EvjjZU8Wqgg7MaOOSa033e/ny//5s1NjppxL7cJ4AId672BjNaAMGyWczDEhMxkrPsdY0uz4c95WpmT9mCK847kzRTsLCNVLACi2CxstM8AwJrRbq+lMhQWa+RpW9IDXfD7qVlqPRVex7FPKryr8In3W9kKMEBJ08I8EXP580Dwr2ELJk7pd0Ee5zKIjjDFf66cUl7qt5XjF/gOJ8EmMB1m3dH9/pNDms1JMdKZaIf9ddHIg+y4MQopIx30Tpq1c7w5fVVn/3HA1f70bcjODbNNHHfcX4QBp1o0I806sCAwEAAQ==","distribution":"aks","infrastructure":"azure","kubernetesVersion":"1.25.6","totalNodeCount":4,"agentVersion":"1.11.7","totalCoreCount":8,"lastConnectivityTime":"2023-07-18T04:08:08.024Z","managedIdentityCertificateExpirationTime":"2023-10-16T04:01:00Z"}}' - headers: - cache-control: - - no-cache - content-length: - - '1736' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:08:56 GMT - etag: - - '"8c0a20b6-0000-0100-0000-64b610310000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"extensionType": - "microsoft.app.environment", "autoUpgradeMinorVersion": true, "releaseTrain": - "stable", "scope": {"cluster": {"releaseNamespace": "appplat-ns"}}, "configurationSettings": - {"Microsoft.CustomLocation.ServiceAccount": "default", "appsNamespace": "appplat-ns", - "clusterName": "my-connected-cluster", "envoy.annotations.service.beta.kubernetes.io/azure-load-balancer-resource-group": - "clitest.rg000001"}, "configurationProtectedSettings": {}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - k8s-extension create - Connection: - - keep-alive - Content-Length: - - '511' - Content-Type: - - application/json - ParameterSetName: - - --resource-group --name --cluster-type --cluster-name --extension-type --release-train - --auto-upgrade-minor-version --scope --release-namespace --configuration-settings - --configuration-settings --configuration-settings --configuration-settings - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-kubernetesconfiguration/2.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext?api-version=2022-11-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext","name":"containerapp-ext","type":"Microsoft.KubernetesConfiguration/extensions","properties":{"extensionType":"microsoft.app.environment","autoUpgradeMinorVersion":true,"releaseTrain":"stable","version":null,"currentVersion":null,"scope":{"cluster":{"releaseNamespace":"appplat-ns"}},"provisioningState":"Creating","configurationSettings":{"Microsoft.CustomLocation.ServiceAccount":"default","appsNamespace":"appplat-ns","clusterName":"my-connected-cluster","envoy.annotations.service.beta.kubernetes.io/azure-load-balancer-resource-group":"clitest.rg000001"},"configurationProtectedSettings":{},"statuses":[],"aksAssignedIdentity":null,"isSystemExtension":false},"systemData":{"createdBy":null,"createdByType":null,"createdAt":"2023-07-18T04:09:01.9781783+00:00","lastModifiedBy":null,"lastModifiedByType":null,"lastModifiedAt":"2023-07-18T04:09:01.9781783+00:00"},"identity":{"type":"SystemAssigned","principalId":"29f6e416-a330-483e-abc2-f9abeae850a1"}}' - headers: - api-supported-versions: - - '2022-11-01' - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/ConnectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext/operations/e5026322-ad63-4256-9909-3b24dc21c8b9?api-Version=2022-11-01 - cache-control: - - no-cache - content-length: - - '1190' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:09:02 GMT - expires: - - '-1' - location: - - https://eastus.rp.kubernetesconfiguration.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/ConnectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext - 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: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - k8s-extension create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --cluster-type --cluster-name --extension-type --release-train - --auto-upgrade-minor-version --scope --release-namespace --configuration-settings - --configuration-settings --configuration-settings --configuration-settings - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-kubernetesconfiguration/2.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/ConnectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext/operations/e5026322-ad63-4256-9909-3b24dc21c8b9?api-Version=2022-11-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/ConnectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext/operations/e5026322-ad63-4256-9909-3b24dc21c8b9","name":"e5026322-ad63-4256-9909-3b24dc21c8b9","status":"Creating"}' - headers: - api-supported-versions: - - 2019-11-01-Preview, 2021-05-01-preview, 2021-06-01-preview, 2021-09-01, 2021-11-01-preview, - 2022-01-01-preview, 2022-03-01, 2022-04-02-preview, 2022-07-01, 2022-11-01, - 2023-05-01 - cache-control: - - no-cache - content-length: - - '348' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:09:04 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - k8s-extension create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --cluster-type --cluster-name --extension-type --release-train - --auto-upgrade-minor-version --scope --release-namespace --configuration-settings - --configuration-settings --configuration-settings --configuration-settings - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-kubernetesconfiguration/2.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/ConnectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext/operations/e5026322-ad63-4256-9909-3b24dc21c8b9?api-Version=2022-11-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/ConnectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext/operations/e5026322-ad63-4256-9909-3b24dc21c8b9","name":"e5026322-ad63-4256-9909-3b24dc21c8b9","status":"Creating"}' - headers: - api-supported-versions: - - 2019-11-01-Preview, 2021-05-01-preview, 2021-06-01-preview, 2021-09-01, 2021-11-01-preview, - 2022-01-01-preview, 2022-03-01, 2022-04-02-preview, 2022-07-01, 2022-11-01, - 2023-05-01 - cache-control: - - no-cache - content-length: - - '348' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:09:35 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - k8s-extension create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --cluster-type --cluster-name --extension-type --release-train - --auto-upgrade-minor-version --scope --release-namespace --configuration-settings - --configuration-settings --configuration-settings --configuration-settings - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-kubernetesconfiguration/2.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/ConnectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext/operations/e5026322-ad63-4256-9909-3b24dc21c8b9?api-Version=2022-11-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/ConnectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext/operations/e5026322-ad63-4256-9909-3b24dc21c8b9","name":"e5026322-ad63-4256-9909-3b24dc21c8b9","status":"Creating"}' - headers: - api-supported-versions: - - 2019-11-01-Preview, 2021-05-01-preview, 2021-06-01-preview, 2021-09-01, 2021-11-01-preview, - 2022-01-01-preview, 2022-03-01, 2022-04-02-preview, 2022-07-01, 2022-11-01, - 2023-05-01 - cache-control: - - no-cache - content-length: - - '348' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:10:06 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - k8s-extension create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --cluster-type --cluster-name --extension-type --release-train - --auto-upgrade-minor-version --scope --release-namespace --configuration-settings - --configuration-settings --configuration-settings --configuration-settings - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-kubernetesconfiguration/2.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/ConnectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext/operations/e5026322-ad63-4256-9909-3b24dc21c8b9?api-Version=2022-11-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/ConnectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext/operations/e5026322-ad63-4256-9909-3b24dc21c8b9","name":"e5026322-ad63-4256-9909-3b24dc21c8b9","status":"Creating"}' - headers: - api-supported-versions: - - 2019-11-01-Preview, 2021-05-01-preview, 2021-06-01-preview, 2021-09-01, 2021-11-01-preview, - 2022-01-01-preview, 2022-03-01, 2022-04-02-preview, 2022-07-01, 2022-11-01, - 2023-05-01 - cache-control: - - no-cache - content-length: - - '348' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:10:37 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - k8s-extension create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --cluster-type --cluster-name --extension-type --release-train - --auto-upgrade-minor-version --scope --release-namespace --configuration-settings - --configuration-settings --configuration-settings --configuration-settings - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-kubernetesconfiguration/2.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/ConnectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext/operations/e5026322-ad63-4256-9909-3b24dc21c8b9?api-Version=2022-11-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/ConnectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext/operations/e5026322-ad63-4256-9909-3b24dc21c8b9","name":"e5026322-ad63-4256-9909-3b24dc21c8b9","status":"Creating"}' - headers: - api-supported-versions: - - 2019-11-01-Preview, 2021-05-01-preview, 2021-06-01-preview, 2021-09-01, 2021-11-01-preview, - 2022-01-01-preview, 2022-03-01, 2022-04-02-preview, 2022-07-01, 2022-11-01, - 2023-05-01 - cache-control: - - no-cache - content-length: - - '348' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:11:08 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - k8s-extension create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --cluster-type --cluster-name --extension-type --release-train - --auto-upgrade-minor-version --scope --release-namespace --configuration-settings - --configuration-settings --configuration-settings --configuration-settings - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-kubernetesconfiguration/2.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/ConnectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext/operations/e5026322-ad63-4256-9909-3b24dc21c8b9?api-Version=2022-11-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/ConnectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext/operations/e5026322-ad63-4256-9909-3b24dc21c8b9","name":"e5026322-ad63-4256-9909-3b24dc21c8b9","status":"Succeeded"}' - headers: - api-supported-versions: - - 2019-11-01-Preview, 2021-05-01-preview, 2021-06-01-preview, 2021-09-01, 2021-11-01-preview, - 2022-01-01-preview, 2022-03-01, 2022-04-02-preview, 2022-07-01, 2022-11-01, - 2023-05-01 - cache-control: - - no-cache - content-length: - - '349' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:11:40 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - k8s-extension create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --cluster-type --cluster-name --extension-type --release-train - --auto-upgrade-minor-version --scope --release-namespace --configuration-settings - --configuration-settings --configuration-settings --configuration-settings - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-kubernetesconfiguration/2.0.0 Python/3.10.11 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext?api-version=2022-11-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext","name":"containerapp-ext","type":"Microsoft.KubernetesConfiguration/extensions","properties":{"extensionType":"microsoft.app.environment","autoUpgradeMinorVersion":true,"releaseTrain":"stable","version":null,"currentVersion":"1.12.8","scope":{"cluster":{"releaseNamespace":"appplat-ns"}},"provisioningState":"Succeeded","configurationSettings":{"Microsoft.CustomLocation.ServiceAccount":"default","appsNamespace":"appplat-ns","clusterName":"my-connected-cluster","envoy.annotations.service.beta.kubernetes.io/azure-load-balancer-resource-group":"clitest.rg000001"},"configurationProtectedSettings":{},"statuses":[],"aksAssignedIdentity":null,"isSystemExtension":false},"systemData":{"createdBy":null,"createdByType":null,"createdAt":"2023-07-18T04:09:01.9781783+00:00","lastModifiedBy":null,"lastModifiedByType":null,"lastModifiedAt":"2023-07-18T04:09:01.9781783+00:00"},"identity":{"type":"SystemAssigned","principalId":"29f6e416-a330-483e-abc2-f9abeae850a1"}}' - headers: - api-supported-versions: - - '2022-11-01' - cache-control: - - no-cache - content-length: - - '1195' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:11:41 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - 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: - - customlocation create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l --host-resource-id --namespace -c - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ExtendedLocation?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ExtendedLocation","namespace":"Microsoft.ExtendedLocation","authorizations":[{"applicationId":"bc313c14-388c-4e7d-a58e-70017303ee3b","roleDefinitionId":"a775b938-2819-4dd0-8067-01f6e3b06392"},{"applicationId":"319f651f-7ddb-4fc6-9857-7aef9250bd05","roleDefinitionId":"0981f4e0-04a7-4e31-bd2b-b2ac2fc6ba4e"}],"resourceTypes":[{"resourceType":"locations","locations":[],"apiVersions":["2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"customLocations","locations":["East - US","West Europe","North Europe","France Central","Southeast Asia","Australia - East","East US 2","West US 2","UK South","Central US","West Central US","West - US","North Central US","South Central US","Korea Central","Japan East","East - Asia","West US 3","Canada Central","Canada East","Switzerland North","Sweden - Central","South Africa North","UAE North","Brazil South","Central India","East - US 2 EUAP"],"apiVersions":["2021-08-31-preview","2021-08-15","2021-03-15-preview","2020-07-15-privatepreview"],"defaultApiVersion":"2021-08-15","capabilities":"SystemAssignedResourceIdentity, - SupportsTags, SupportsLocation"},{"resourceType":"customLocations/enabledResourceTypes","locations":["East - US","West Europe","North Europe","France Central","Southeast Asia","Australia - East","East US 2","West US 2","UK South","Central US","West Central US","West - US","North Central US","South Central US","Korea Central","Japan East","East - Asia","West US 3","Canada Central","Canada East","Switzerland North","Sweden - Central","South Africa North","UAE North","Brazil South","Central India","East - US 2 EUAP"],"apiVersions":["2021-08-31-preview","2021-08-15","2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"customLocations/resourceSyncRules","locations":["East - US","West Europe","North Europe","France Central","Southeast Asia","Australia - East","East US 2","West US 2","UK South","Central US","West Central US","West - US","North Central US","South Central US","Korea Central","Japan East","East - Asia","West US 3","Canada Central","Canada East","Switzerland North","Sweden - Central","South Africa North","UAE North","Brazil South","Central India","East - US 2 EUAP"],"apiVersions":["2021-08-31-preview"],"defaultApiVersion":"2021-08-31-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/operationsstatus","locations":["East - US","West Europe","North Europe","France Central","Southeast Asia","Australia - East","East US 2","West US 2","UK South","Central US","West Central US","West - US","North Central US","South Central US","Korea Central","Japan East","East - Asia","West US 3","Canada Central","Canada East","Switzerland North","Sweden - Central","South Africa North","UAE North","Brazil South","Central India","East - US 2 Euap"],"apiVersions":["2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"locations/operationresults","locations":["East - US","West Europe","North Europe","France Central","Southeast Asia","Australia - East","East US 2","West US 2","UK South","Central US","West Central US","West - US","North Central US","South Central US","Korea Central","Japan East","East - Asia","West US 3","Canada Central","Canada East","Switzerland North","Sweden - Central","South Africa North","UAE North","Brazil South","Central India","East - US 2 Euap"],"apiVersions":["2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-08-31-preview","2021-08-15","2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '3811' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:11:42 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"clusterExtensionIds": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext"], - "displayName": "my-custom-location", "hostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster", - "hostType": "Kubernetes", "namespace": "appplat-ns"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - customlocation create - Connection: - - keep-alive - Content-Length: - - '557' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n -l --host-resource-id --namespace -c - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) msrest/0.7.1 msrest_azure/0.6.4 - customlocations/2021-08-15 Azure-SDK-For-Python AZURECLI/2.50.0 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ExtendedLocation/customLocations/my-custom-location?api-version=2021-08-15 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","name":"my-custom-location","location":"eastus","type":"Microsoft.ExtendedLocation/customLocations","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:11:50.551881Z","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:11:50.551881Z"},"properties":{"hostType":"Kubernetes","hostResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster","namespace":"appplat-ns","displayName":"my-custom-location","provisioningState":"Creating","clusterExtensionIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext"],"authentication":{}}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.extendedlocation/locations/eastus/operationsstatus/d65a932e-2479-4c9d-9bd6-d2c28516cf33?api-version=2021-03-15-preview - cache-control: - - no-cache - content-length: - - '1075' - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:11:54 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-async-operation-timeout: - - PT90M - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - customlocation create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l --host-resource-id --namespace -c - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) msrest/0.7.1 msrest_azure/0.6.4 - customlocations/2021-08-15 Azure-SDK-For-Python AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.extendedlocation/locations/eastus/operationsstatus/d65a932e-2479-4c9d-9bd6-d2c28516cf33?api-version=2021-03-15-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ExtendedLocation/locations/eastus/operationsstatus/d65a932e-2479-4c9d-9bd6-d2c28516cf33","name":"d65a932e-2479-4c9d-9bd6-d2c28516cf33","status":"Succeeded","startTime":"2023-07-18T04:11:52.560085726Z","endTime":"2023-07-18T04:11:55.213576047Z"}' - headers: - cache-control: - - no-cache - content-length: - - '323' - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:12:25 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - 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: - - customlocation create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l --host-resource-id --namespace -c - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) msrest/0.7.1 msrest_azure/0.6.4 - customlocations/2021-08-15 Azure-SDK-For-Python AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ExtendedLocation/customLocations/my-custom-location?api-version=2021-08-15 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","name":"my-custom-location","location":"eastus","type":"Microsoft.ExtendedLocation/customLocations","systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:11:50.551881Z","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:11:50.551881Z"},"properties":{"hostType":"Kubernetes","hostResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster","namespace":"appplat-ns","displayName":"my-custom-location","provisioningState":"Succeeded","clusterExtensionIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Kubernetes/connectedClusters/my-connected-cluster/providers/Microsoft.KubernetesConfiguration/extensions/containerapp-ext"],"authentication":{}}}' - headers: - cache-control: - - no-cache - content-length: - - '1076' - content-type: - - application/json - date: - - Tue, 18 Jul 2023 04:12:26 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "extendedLocation": {"name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location", - "type": "CustomLocation"}, "Properties": {}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - rest - Connection: - - keep-alive - Content-Length: - - '255' - Content-Type: - - application/json - ParameterSetName: - - --method --uri --body - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env?api-version=2022-06-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env","name":"my-connected-env","type":"Microsoft.App/connectedEnvironments","location":"eastus","extendedLocation":{"name":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","type":"CustomLocation"},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:12:34.1357342Z","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:12:34.1357342Z"},"properties":{"provisioningState":"Waiting","defaultDomain":"my-connected-env-q9jrvg9.eastus.k4apps.io","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00"}}}' - headers: - api-supported-versions: - - 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, - 2023-05-02-preview - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/connectedEnvironmentOperationStatuses/69b73b7c-a2e8-4485-a7c1-5f0ce5828211?api-version=2022-06-01-preview&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '925' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:12: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: - - '99' - x-powered-by: - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - rest - Connection: - - keep-alive - ParameterSetName: - - --method --uri - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env?api-version=2022-06-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env","name":"my-connected-env","type":"Microsoft.App/connectedEnvironments","location":"eastus","extendedLocation":{"name":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","type":"CustomLocation"},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:12:34.1357342","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:12:34.1357342"},"properties":{"provisioningState":"Waiting","defaultDomain":"my-connected-env-q9jrvg9.eastus.k4apps.io","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00"}}}' - headers: - api-supported-versions: - - 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, - 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '923' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:12: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: - - rest - Connection: - - keep-alive - ParameterSetName: - - --method --uri - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env?api-version=2022-06-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env","name":"my-connected-env","type":"Microsoft.App/connectedEnvironments","location":"eastus","extendedLocation":{"name":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","type":"CustomLocation"},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:12:34.1357342","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:12:34.1357342"},"properties":{"provisioningState":"InfrastructureSetupInProgress","defaultDomain":"my-connected-env-q9jrvg9.eastus.k4apps.io","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00"}}}' - headers: - api-supported-versions: - - 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, - 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '945' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:12: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: - - rest - Connection: - - keep-alive - ParameterSetName: - - --method --uri - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env?api-version=2022-06-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env","name":"my-connected-env","type":"Microsoft.App/connectedEnvironments","location":"eastus","extendedLocation":{"name":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","type":"CustomLocation"},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:12:34.1357342","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:12:34.1357342"},"properties":{"provisioningState":"InfrastructureSetupInProgress","defaultDomain":"my-connected-env-q9jrvg9.eastus.k4apps.io","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00"}}}' - headers: - api-supported-versions: - - 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, - 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '945' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:12:57 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - rest - Connection: - - keep-alive - ParameterSetName: - - --method --uri - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env?api-version=2022-06-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env","name":"my-connected-env","type":"Microsoft.App/connectedEnvironments","location":"eastus","extendedLocation":{"name":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","type":"CustomLocation"},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:12:34.1357342","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:12:34.1357342"},"properties":{"provisioningState":"InfrastructureSetupInProgress","defaultDomain":"my-connected-env-q9jrvg9.eastus.k4apps.io","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00"}}}' - headers: - api-supported-versions: - - 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, - 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '945' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:13:03 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - rest - Connection: - - keep-alive - ParameterSetName: - - --method --uri - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env?api-version=2022-06-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env","name":"my-connected-env","type":"Microsoft.App/connectedEnvironments","location":"eastus","extendedLocation":{"name":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","type":"CustomLocation"},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:12:34.1357342","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:12:34.1357342"},"properties":{"provisioningState":"InfrastructureSetupComplete","defaultDomain":"my-connected-env-q9jrvg9.eastus.k4apps.io","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00"}}}' - headers: - api-supported-versions: - - 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, - 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '943' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:13: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: - - rest - Connection: - - keep-alive - ParameterSetName: - - --method --uri - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env?api-version=2022-06-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env","name":"my-connected-env","type":"Microsoft.App/connectedEnvironments","location":"eastus","extendedLocation":{"name":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","type":"CustomLocation"},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:12:34.1357342","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:12:34.1357342"},"properties":{"provisioningState":"InfrastructureSetupInProgress","defaultDomain":"my-connected-env-q9jrvg9.eastus.k4apps.io","staticIp":"40.88.200.54","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00"}}}' - headers: - api-supported-versions: - - 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, - 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '971' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:13: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: - - rest - Connection: - - keep-alive - ParameterSetName: - - --method --uri - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env?api-version=2022-06-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env","name":"my-connected-env","type":"Microsoft.App/connectedEnvironments","location":"eastus","extendedLocation":{"name":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","type":"CustomLocation"},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:12:34.1357342","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:12:34.1357342"},"properties":{"provisioningState":"InitializationInProgress","defaultDomain":"my-connected-env-q9jrvg9.eastus.k4apps.io","staticIp":"40.88.200.54","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00"}}}' - headers: - api-supported-versions: - - 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, - 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '966' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:13:26 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - rest - Connection: - - keep-alive - ParameterSetName: - - --method --uri - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env?api-version=2022-06-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env","name":"my-connected-env","type":"Microsoft.App/connectedEnvironments","location":"eastus","extendedLocation":{"name":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","type":"CustomLocation"},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:12:34.1357342","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:12:34.1357342"},"properties":{"provisioningState":"InitializationInProgress","defaultDomain":"my-connected-env-q9jrvg9.eastus.k4apps.io","staticIp":"40.88.200.54","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00"}}}' - headers: - api-supported-versions: - - 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, - 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '966' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:13: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: - - rest - Connection: - - keep-alive - ParameterSetName: - - --method --uri - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env?api-version=2022-06-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env","name":"my-connected-env","type":"Microsoft.App/connectedEnvironments","location":"eastus","extendedLocation":{"name":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","type":"CustomLocation"},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:12:34.1357342","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:12:34.1357342"},"properties":{"provisioningState":"Succeeded","defaultDomain":"my-connected-env-q9jrvg9.eastus.k4apps.io","staticIp":"40.88.200.54","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00"}}}' - headers: - api-supported-versions: - - 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, - 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '951' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:13:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp create - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --environment --image --environment-type - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:13:44 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp create - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --environment --image --environment-type - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env?api-version=2023-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env","name":"my-connected-env","type":"Microsoft.App/connectedEnvironments","location":"eastus","extendedLocation":{"name":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","type":"CustomLocation"},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:12:34.1357342","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:12:34.1357342"},"properties":{"provisioningState":"Succeeded","defaultDomain":"my-connected-env-q9jrvg9.eastus.k4apps.io","staticIp":"40.88.200.54","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00"}}}' - headers: - api-supported-versions: - - 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, - 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '951' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:13:47 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp create - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --environment --image --environment-type - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:13: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 create - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --environment --image --environment-type - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env?api-version=2023-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env","name":"my-connected-env","type":"Microsoft.App/connectedEnvironments","location":"eastus","extendedLocation":{"name":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","type":"CustomLocation"},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:12:34.1357342","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:12:34.1357342"},"properties":{"provisioningState":"Succeeded","defaultDomain":"my-connected-env-q9jrvg9.eastus.k4apps.io","staticIp":"40.88.200.54","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00"}}}' - headers: - api-supported-versions: - - 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, - 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '951' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:13:49 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"environmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env", - "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": - null, "dapr": null, "registries": null, "service": null}, "template": {"revisionSuffix": - null, "containers": [{"image": "mcr.microsoft.com/k8se/quickstart:latest", "name": - "containerapp000002", "command": null, "args": null, "env": null, "resources": - null, "volumeMounts": null}], "initContainers": null, "scale": null, "volumes": - null, "serviceBinds": null}, "workloadProfileName": null}, "tags": null, "extendedLocation": - {"name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location", - "type": "CustomLocation"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp create - Connection: - - keep-alive - Content-Length: - - '964' - Content-Type: - - application/json - ParameterSetName: - - --name --resource-group --environment --image --environment-type - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000002?api-version=2023-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp000002","name":"containerapp000002","type":"Microsoft.App/containerApps","location":"East - US","extendedLocation":{"name":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","type":"CustomLocation"},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:13:55.8984085Z","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:13:55.8984085Z"},"properties":{"provisioningState":"InProgress","runningStatus":"Running","managedEnvironmentId":null,"environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env","workloadProfileName":null,"outboundIpAddresses":null,"latestRevisionName":"containerapp000002--b5ne8jc","latestReadyRevisionName":"containerapp000002--b5ne8jc","latestRevisionFqdn":"","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":null,"registries":null,"dapr":null,"maxInactiveRevisions":null,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"containerapp000002","resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"scale":{"minReplicas":null,"maxReplicas":10,"rules":null},"volumes":null,"serviceBinds":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/containerapp000002/eventstream"},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/4f0b7775-8d2c-4688-91b6-106ea1050190?api-version=2023-04-01-preview&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '1946' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:13:59 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-async-operation-timeout: - - PT15M - x-ms-ratelimit-remaining-subscription-resource-requests: - - '699' - x-powered-by: - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp create - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --environment --image --environment-type - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/4f0b7775-8d2c-4688-91b6-106ea1050190?api-version=2023-04-01-preview&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/4f0b7775-8d2c-4688-91b6-106ea1050190","name":"4f0b7775-8d2c-4688-91b6-106ea1050190","status":"InProgress","startTime":"2023-07-18T04:13:57.3197945"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '278' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:14: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 create - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --environment --image --environment-type - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/4f0b7775-8d2c-4688-91b6-106ea1050190?api-version=2023-04-01-preview&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/4f0b7775-8d2c-4688-91b6-106ea1050190","name":"4f0b7775-8d2c-4688-91b6-106ea1050190","status":"Succeeded","startTime":"2023-07-18T04:13:57.3197945"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '277' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:14:05 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp create - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --environment --image --environment-type - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000002?api-version=2023-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp000002","name":"containerapp000002","type":"Microsoft.App/containerApps","location":"East - US","extendedLocation":{"name":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","type":"CustomLocation"},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:13:55.8984085","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:13:55.8984085"},"properties":{"provisioningState":"Succeeded","runningStatus":"Running","managedEnvironmentId":null,"environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env","workloadProfileName":null,"outboundIpAddresses":null,"latestRevisionName":"containerapp000002--b5ne8jc","latestReadyRevisionName":"containerapp000002--b5ne8jc","latestRevisionFqdn":"","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":null,"registries":null,"dapr":null,"maxInactiveRevisions":null,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"containerapp000002","resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"scale":{"minReplicas":null,"maxReplicas":10,"rules":null},"volumes":null,"serviceBinds":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/containerapp000002/eventstream"},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '1943' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:14: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: - - --name --resource-group --environment --image --environment-type - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:14: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 create - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --environment --image --environment-type - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env?api-version=2023-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env","name":"my-connected-env","type":"Microsoft.App/connectedEnvironments","location":"eastus","extendedLocation":{"name":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","type":"CustomLocation"},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:12:34.1357342","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:12:34.1357342"},"properties":{"provisioningState":"Succeeded","defaultDomain":"my-connected-env-q9jrvg9.eastus.k4apps.io","staticIp":"40.88.200.54","customDomainConfiguration":{"customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00"}}}' - headers: - api-supported-versions: - - 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, - 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '951' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:14: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: - - containerapp create - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --environment --image --environment-type - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:14:10 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "identity": {"type": "None", "userAssignedIdentities": - null}, "properties": {"environmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env", - "configuration": {"secrets": null, "activeRevisionsMode": "single", "ingress": - null, "dapr": null, "registries": null, "service": null}, "template": {"revisionSuffix": - null, "containers": [{"image": "mcr.microsoft.com/k8se/quickstart:latest", "name": - "containerapp000003", "command": null, "args": null, "env": null, "resources": - null, "volumeMounts": null}], "initContainers": null, "scale": null, "volumes": - null, "serviceBinds": null}, "workloadProfileName": null}, "tags": null, "extendedLocation": - {"name": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location", - "type": "CustomLocation"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp create - Connection: - - keep-alive - Content-Length: - - '964' - Content-Type: - - application/json - ParameterSetName: - - --name --resource-group --environment --image --environment-type - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2023-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","extendedLocation":{"name":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","type":"CustomLocation"},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:14:17.2128189Z","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:14:17.2128189Z"},"properties":{"provisioningState":"InProgress","runningStatus":"Running","managedEnvironmentId":null,"environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env","workloadProfileName":null,"outboundIpAddresses":null,"latestRevisionFqdn":"","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":null,"registries":null,"dapr":null,"maxInactiveRevisions":null,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"scale":{"minReplicas":null,"maxReplicas":10,"rules":null},"volumes":null,"serviceBinds":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/containerapp000003/eventstream"},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/1dd023b1-e34e-4ea4-9c78-2b6d43f92d9d?api-version=2023-04-01-preview&azureAsyncOperation=true - cache-control: - - no-cache - content-length: - - '1839' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:14:19 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-async-operation-timeout: - - PT15M - x-ms-ratelimit-remaining-subscription-resource-requests: - - '699' - x-powered-by: - - ASP.NET - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp create - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --environment --image --environment-type - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/1dd023b1-e34e-4ea4-9c78-2b6d43f92d9d?api-version=2023-04-01-preview&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/1dd023b1-e34e-4ea4-9c78-2b6d43f92d9d","name":"1dd023b1-e34e-4ea4-9c78-2b6d43f92d9d","status":"InProgress","startTime":"2023-07-18T04:14:18.5776426"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '278' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:14: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: - - --name --resource-group --environment --image --environment-type - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/1dd023b1-e34e-4ea4-9c78-2b6d43f92d9d?api-version=2023-04-01-preview&azureAsyncOperation=true - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/1dd023b1-e34e-4ea4-9c78-2b6d43f92d9d","name":"1dd023b1-e34e-4ea4-9c78-2b6d43f92d9d","status":"Succeeded","startTime":"2023-07-18T04:14:18.5776426"}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '277' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:14: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 create - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --environment --image --environment-type - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2023-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","extendedLocation":{"name":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","type":"CustomLocation"},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:14:17.2128189","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:14:17.2128189"},"properties":{"provisioningState":"Succeeded","runningStatus":"Running","managedEnvironmentId":null,"environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env","workloadProfileName":null,"outboundIpAddresses":null,"latestRevisionName":"containerapp000003--d1z0l31","latestReadyRevisionName":"containerapp000003--d1z0l31","latestRevisionFqdn":"","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":null,"registries":null,"dapr":null,"maxInactiveRevisions":null,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"scale":{"minReplicas":null,"maxReplicas":10,"rules":null},"volumes":null,"serviceBinds":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/containerapp000003/eventstream"},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '1943' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:14:27 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp list - Connection: - - keep-alive - ParameterSetName: - - -g - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:14: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 list - Connection: - - keep-alive - ParameterSetName: - - -g - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps?api-version=2023-04-01-preview - response: - body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp000002","name":"containerapp000002","type":"Microsoft.App/containerApps","location":"East - US","extendedLocation":{"name":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","type":"CustomLocation"},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:13:55.8984085","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:13:55.8984085"},"properties":{"provisioningState":"Succeeded","runningStatus":"Running","managedEnvironmentId":null,"environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env","workloadProfileName":null,"outboundIpAddresses":null,"latestRevisionName":"containerapp000002--b5ne8jc","latestReadyRevisionName":"containerapp000002--b5ne8jc","latestRevisionFqdn":"","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":null,"registries":null,"dapr":null,"maxInactiveRevisions":null,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"containerapp000002","resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"scale":{"minReplicas":null,"maxReplicas":10,"rules":null},"volumes":null,"serviceBinds":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/containerapp000002/eventstream"},"identity":{"type":"None"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","extendedLocation":{"name":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","type":"CustomLocation"},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:14:17.2128189","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:14:17.2128189"},"properties":{"provisioningState":"Succeeded","runningStatus":"Running","managedEnvironmentId":null,"environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env","workloadProfileName":null,"outboundIpAddresses":null,"latestRevisionName":"containerapp000003--d1z0l31","latestReadyRevisionName":"containerapp000003--d1z0l31","latestRevisionFqdn":"","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":null,"registries":null,"dapr":null,"maxInactiveRevisions":null,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"scale":{"minReplicas":null,"maxReplicas":10,"rules":null},"volumes":null,"serviceBinds":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/containerapp000003/eventstream"},"identity":{"type":"None"}}]}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '3899' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:14: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 show - Connection: - - keep-alive - ParameterSetName: - - -n -g - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:14: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 show - Connection: - - keep-alive - ParameterSetName: - - -n -g - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2023-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerapps/containerapp000003","name":"containerapp000003","type":"Microsoft.App/containerApps","location":"East - US","extendedLocation":{"name":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.extendedlocation/customlocations/my-custom-location","type":"CustomLocation"},"systemData":{"createdBy":"xinyupang@microsoft.com","createdByType":"User","createdAt":"2023-07-18T04:14:17.2128189","lastModifiedBy":"xinyupang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-18T04:14:17.2128189"},"properties":{"provisioningState":"Succeeded","runningStatus":"Running","managedEnvironmentId":null,"environmentId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/connectedEnvironments/my-connected-env","workloadProfileName":null,"outboundIpAddresses":null,"latestRevisionName":"containerapp000003--d1z0l31","latestReadyRevisionName":"containerapp000003--d1z0l31","latestRevisionFqdn":"","customDomainVerificationId":"D3F71C85EB6552E36A89A3E4A080C3CFB00181670B659B0003264FC673AA9B00","configuration":{"secrets":null,"activeRevisionsMode":"Single","ingress":null,"registries":null,"dapr":null,"maxInactiveRevisions":null,"service":null},"template":{"revisionSuffix":"","terminationGracePeriodSeconds":null,"containers":[{"image":"mcr.microsoft.com/k8se/quickstart:latest","name":"containerapp000003","resources":{"cpu":0.5,"memory":"1Gi","ephemeralStorage":"2Gi"}}],"initContainers":null,"scale":{"minReplicas":null,"maxReplicas":10,"rules":null},"volumes":null,"serviceBinds":null},"eventStreamEndpoint":"https://eastus.azurecontainerapps.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/containerApps/containerapp000003/eventstream"},"identity":{"type":"None"}}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '1943' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:14:34 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp delete - Connection: - - keep-alive - ParameterSetName: - - --ids --yes - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:14:35 GMT - expires: - - '-1' - pragma: - - 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 delete - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --ids --yes - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000003?api-version=2023-04-01-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '0' - date: - - Tue, 18 Jul 2023 04:14:39 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/1dd023b1-e34e-4ea4-9c78-2b6d43f92d9d?api-version=2023-04-01-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp delete - Connection: - - keep-alive - ParameterSetName: - - --ids --yes - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/1dd023b1-e34e-4ea4-9c78-2b6d43f92d9d?api-version=2023-04-01-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '0' - date: - - Tue, 18 Jul 2023 04:14:40 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/1dd023b1-e34e-4ea4-9c78-2b6d43f92d9d?api-version=2023-04-01-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp delete - Connection: - - keep-alive - ParameterSetName: - - --ids --yes - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/1dd023b1-e34e-4ea4-9c78-2b6d43f92d9d?api-version=2023-04-01-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - date: - - Tue, 18 Jul 2023 04:14:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp delete - Connection: - - keep-alive - ParameterSetName: - - -n -g --yes - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:14: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 delete - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -n -g --yes - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps/containerapp000002?api-version=2023-04-01-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '0' - date: - - Tue, 18 Jul 2023 04:14:51 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/4f0b7775-8d2c-4688-91b6-106ea1050190?api-version=2023-04-01-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp delete - Connection: - - keep-alive - ParameterSetName: - - -n -g --yes - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/4f0b7775-8d2c-4688-91b6-106ea1050190?api-version=2023-04-01-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '0' - date: - - Tue, 18 Jul 2023 04:14:52 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/4f0b7775-8d2c-4688-91b6-106ea1050190?api-version=2023-04-01-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp delete - Connection: - - keep-alive - ParameterSetName: - - -n -g --yes - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App/locations/eastus/containerappOperationResults/4f0b7775-8d2c-4688-91b6-106ea1050190?api-version=2023-04-01-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - date: - - Tue, 18 Jul 2023 04:14:57 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp list - Connection: - - keep-alive - ParameterSetName: - - -g - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.11 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.App","namespace":"Microsoft.App","authorizations":[{"applicationId":"7e3bc4fd-85a3-4192-b177-5b8bfc87f42c","roleDefinitionId":"39a74f72-b40f-4bdc-b639-562fe2260bf0"},{"applicationId":"3734c1a4-2bed-4998-a37a-ff1a9e7bf019","roleDefinitionId":"5c779a4f-5cb2-4547-8c41-478d9be8ba90"},{"applicationId":"55ebbb62-3b9c-49fd-9b87-9595226dd4ac","roleDefinitionId":"e49ca620-7992-4561-a7df-4ed67dad77b5","managedByRoleDefinitionId":"9e3af657-a8ff-583c-a75c-2fe7c4bcb635"}],"resourceTypes":[{"resourceType":"operations","locations":["North - Central US (Stage)","Central US EUAP","East US 2 EUAP","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-04-01-preview","2023-02-01","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"managedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"managedEnvironments/managedCertificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"containerApps","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"jobs","locations":["Central US EUAP","East - US 2 EUAP","North Central US (Stage)","West US 2","Southeast Asia","Sweden - Central","Canada Central","West Europe","North Europe","East US","East US - 2","East Asia","Australia East","Germany West Central","Japan East","UK South","West - US","Central US","North Central US","South Central US","Korea Central","Brazil - South","West US 3","France Central","South Africa North","Norway East","Switzerland - North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/managedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-03-01","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/containerappsjobOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"connectedEnvironments","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"connectedEnvironments/certificates","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/connectedEnvironmentOperationResults","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/connectedEnvironmentOperationStatuses","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","North Central US","East - US","East Asia","West Europe"],"apiVersions":["2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/billingMeters","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview","2022-01-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"},{"resourceType":"locations/availableManagedEnvironmentsWorkloadProfileTypes","locations":["Central - US EUAP","East US 2 EUAP","North Central US (Stage)","West US 2","Southeast - Asia","Sweden Central","Canada Central","West Europe","North Europe","East - US","East US 2","East Asia","Australia East","Germany West Central","Japan - East","UK South","West US","Central US","North Central US","South Central - US","Korea Central","Brazil South","West US 3","France Central","South Africa - North","Norway East","Switzerland North","UAE North"],"apiVersions":["2023-05-02-preview","2023-05-01","2023-04-01-preview","2022-11-01-preview","2022-10-01","2022-06-01-preview"],"defaultApiVersion":"2023-04-01-preview","capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '12831' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:14:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - containerapp list - Connection: - - keep-alive - ParameterSetName: - - -g - User-Agent: - - python/3.10.11 (Windows-10-10.0.22621-SP0) AZURECLI/2.50.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.App/containerApps?api-version=2023-04-01-preview - response: - body: - string: '{"value":[]}' - headers: - api-supported-versions: - - 2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01, 2022-11-01-preview, - 2023-04-01-preview, 2023-05-01, 2023-05-02-preview - cache-control: - - no-cache - content-length: - - '12' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 Jul 2023 04:15:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -version: 1 diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py b/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py deleted file mode 100644 index 98ab2709b84..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/test_containerapp_preview_scenario.py +++ /dev/null @@ -1,147 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -import os -import time -from time import sleep -from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer, JMESPathCheck, live_only) -from subprocess import run - -from .common import (write_test_file, TEST_LOCATION, clean_up_test_file) -from .utils import create_containerapp_env - -TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) - - -class ContainerappScenarioTest(ScenarioTest): - def __init__(self, method_name, config_file=None, recording_name=None, recording_processors=None, - replay_processors=None, recording_patches=None, replay_patches=None, random_config_dir=False): - - super().__init__(method_name, config_file, recording_name, recording_processors, replay_processors, - recording_patches, replay_patches, random_config_dir) - cmd = ['azdev', 'extension', 'add', 'containerapp'] - run(cmd, check=True) - cmd = ['azdev', 'extension', 'add', 'connectedk8s'] - run(cmd, check=True) - cmd = ['azdev', 'extension', 'add', 'k8s-extension'] - run(cmd, check=True) - # Wait for extensions to be installed - # We mock time.sleep in azure-sdk-tools, that's why we need to use sleep here. - sleep(120) - - @ResourceGroupPreparer(location="eastus", random_name_length=15) - def test_containerapp_preview_environment_type(self, resource_group): - self.cmd('configure --defaults location={}'.format(TEST_LOCATION)) - aks_name = "my-aks-cluster" - connected_cluster_name = "my-connected-cluster" - custom_location_id = None - try: - self.cmd(f'aks create --resource-group {resource_group} --name {aks_name} --enable-aad --generate-ssh-keys --enable-cluster-autoscaler --min-count 4 --max-count 10 --node-count 4') - self.cmd(f'aks get-credentials --resource-group {resource_group} --name {aks_name} --overwrite-existing --admin') - - self.cmd(f'connectedk8s connect --resource-group {resource_group} --name {connected_cluster_name}') - connected_cluster = self.cmd(f'az connectedk8s show --resource-group {resource_group} --name {connected_cluster_name}').get_output_in_json() - - connected_cluster_id = connected_cluster.get('id') - extension = self.cmd(f'az k8s-extension create' - f' --resource-group {resource_group}' - f' --name containerapp-ext' - f' --cluster-type connectedClusters' - f' --cluster-name {connected_cluster_name}' - f' --extension-type "Microsoft.App.Environment" ' - f' --release-train stable' - f' --auto-upgrade-minor-version true' - f' --scope cluster' - f' --release-namespace appplat-ns' - f' --configuration-settings "Microsoft.CustomLocation.ServiceAccount=default"' - f' --configuration-settings "appsNamespace=appplat-ns"' - f' --configuration-settings "clusterName={connected_cluster_name}"' - f' --configuration-settings "envoy.annotations.service.beta.kubernetes.io/azure-load-balancer-resource-group={resource_group}"').get_output_in_json() - custom_location_name = "my-custom-location" - custom_location_id = self.cmd(f'az customlocation create -g {resource_group} -n {custom_location_name} -l {TEST_LOCATION} --host-resource-id {connected_cluster_id} --namespace appplat-ns -c {extension["id"]}').get_output_in_json()['id'] - except: - pass - - # create connected environment with client or create a command for connected? - sub_id = self.cmd('az account show').get_output_in_json()['id'] - - connected_env_name = 'my-connected-env' - connected_env_resource_id = f"/subscriptions/{sub_id}/resourceGroups/{resource_group}/providers/Microsoft.App/connectedEnvironments/{connected_env_name}" - file = f"{resource_group}.json" - env_payload = '{{ "location": "{location}", "extendedLocation": {{ "name": "{custom_location_id}", "type": "CustomLocation" }}, "Properties": {{}}}}' \ - .format(location=TEST_LOCATION, custom_location_id=custom_location_id) - write_test_file(file, env_payload) - self.cmd(f'az rest --method put --uri "{connected_env_resource_id}?api-version=2022-06-01-preview" --body "@{file}"') - containerapp_env = self.cmd(f'az rest --method get --uri "{connected_env_resource_id}?api-version=2022-06-01-preview"').get_output_in_json() - while containerapp_env["properties"]["provisioningState"].lower() != "succeeded": - time.sleep(5) - containerapp_env = self.cmd( - f'az rest --method get --uri "{connected_env_resource_id}?api-version=2022-06-01-preview"').get_output_in_json() - - ca_name = self.create_random_name(prefix='containerapp', length=24) - self.cmd( - f'az containerapp create --name {ca_name} --resource-group {resource_group} --environment {connected_env_name} --image "mcr.microsoft.com/k8se/quickstart:latest" --environment-type connected', - checks=[ - JMESPathCheck('properties.environmentId', connected_env_resource_id), - JMESPathCheck('properties.provisioningState', "Succeeded") - ]) - ca_name2 = self.create_random_name(prefix='containerapp', length=24) - self.cmd( - f'az containerapp create --name {ca_name2} --resource-group {resource_group} --environment {connected_env_resource_id} --image "mcr.microsoft.com/k8se/quickstart:latest" --environment-type connected', - checks=[ - JMESPathCheck('properties.environmentId', connected_env_resource_id), - JMESPathCheck('properties.provisioningState', "Succeeded") - ]) - - # test show/list/delete - self.cmd('containerapp list -g {}'.format(resource_group), checks=[ - JMESPathCheck('length(@)', 2) - ]) - - app2 = self.cmd('containerapp show -n {} -g {}'.format(ca_name2, resource_group)).get_output_in_json() - self.cmd('containerapp delete --ids {} --yes'.format(app2['id'])) - - self.cmd('containerapp delete -n {} -g {} --yes'.format(ca_name, resource_group)) - - self.cmd('containerapp list -g {}'.format(resource_group), checks=[ - JMESPathCheck('length(@)', 0) - ]) - clean_up_test_file(file) - - @ResourceGroupPreparer(location="eastus") - def test_containerapp_preview_e2e(self, resource_group): - self.cmd('configure --defaults location={}'.format(TEST_LOCATION)) - - env_name = self.create_random_name(prefix='containerapp-env', length=24) - ca_name = self.create_random_name(prefix='containerapp', length=24) - - create_containerapp_env(self, env_name, resource_group) - - containerapp_env = self.cmd('containerapp env show -g {} -n {}'.format(resource_group, env_name)).get_output_in_json() - - self.cmd( - f'az containerapp create --name {ca_name} --resource-group {resource_group} --environment {env_name} --image "mcr.microsoft.com/k8se/quickstart:latest" --environment-type managed', - checks=[ - JMESPathCheck('properties.environmentId', containerapp_env['id']), - JMESPathCheck('properties.provisioningState', "Succeeded") - ]) - - app = self.cmd( - 'containerapp show -n {} -g {}'.format(ca_name, resource_group), - checks=[ - JMESPathCheck('properties.environmentId', containerapp_env['id']), - JMESPathCheck('properties.provisioningState', "Succeeded"), - JMESPathCheck('name', ca_name), - ] - ).get_output_in_json() - - self.cmd('containerapp list -g {}'.format(resource_group), checks=[ - JMESPathCheck('length(@)', 1) - ]) - self.cmd('containerapp delete --ids {} --yes'.format(app['id'])) - - self.cmd('containerapp list -g {}'.format(resource_group), checks=[ - JMESPathCheck('length(@)', 0) - ]) diff --git a/src/containerapp-preview/azext_containerapp_preview/tests/latest/utils.py b/src/containerapp-preview/azext_containerapp_preview/tests/latest/utils.py deleted file mode 100644 index 78d194d42bd..00000000000 --- a/src/containerapp-preview/azext_containerapp_preview/tests/latest/utils.py +++ /dev/null @@ -1,23 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -import time - - -def create_containerapp_env(test_cls, env_name, resource_group, location=None): - logs_workspace_name = test_cls.create_random_name(prefix='containerapp-env', length=24) - logs_workspace_id = test_cls.cmd('monitor log-analytics workspace create -g {} -n {} -l eastus'.format(resource_group, logs_workspace_name)).get_output_in_json()["customerId"] - logs_workspace_key = test_cls.cmd('monitor log-analytics workspace get-shared-keys -g {} -n {}'.format(resource_group, logs_workspace_name)).get_output_in_json()["primarySharedKey"] - - if location: - test_cls.cmd(f'containerapp env create -g {resource_group} -n {env_name} --logs-workspace-id {logs_workspace_id} --logs-workspace-key {logs_workspace_key} -l {location}') - else: - test_cls.cmd(f'containerapp env create -g {resource_group} -n {env_name} --logs-workspace-id {logs_workspace_id} --logs-workspace-key {logs_workspace_key}') - - containerapp_env = test_cls.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 = test_cls.cmd('containerapp env show -g {} -n {}'.format(resource_group, env_name)).get_output_in_json() diff --git a/src/containerapp-preview/setup.cfg b/src/containerapp-preview/setup.cfg deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/src/containerapp-preview/setup.py b/src/containerapp-preview/setup.py deleted file mode 100644 index e202e3cb0eb..00000000000 --- a/src/containerapp-preview/setup.py +++ /dev/null @@ -1,59 +0,0 @@ -#!/usr/bin/env python - -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - - -from codecs import open -from setuptools import setup, find_packages -try: - from azure_bdist_wheel import cmdclass -except ImportError: - from distutils import log as logger - logger.warn("Wheel is not available, disabling bdist_wheel hook") - -# TODO: Confirm this is the right version number you want and it matches your -# HISTORY.rst entry. -VERSION = '1.0.0b1' - -# The full list of classifiers is available at -# https://pypi.python.org/pypi?%3Aaction=list_classifiers -CLASSIFIERS = [ - 'Development Status :: 4 - Beta', - 'Intended Audience :: Developers', - 'Intended Audience :: System Administrators', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: MIT License', -] - -# TODO: Add any additional SDK dependencies here -DEPENDENCIES = [] - -with open('README.rst', 'r', encoding='utf-8') as f: - README = f.read() -with open('HISTORY.rst', 'r', encoding='utf-8') as f: - HISTORY = f.read() - -setup( - name='containerapp-preview', - version=VERSION, - description='Microsoft Azure Command-Line Tools Containerapp-preview Extension', - # TODO: Update author and email, if applicable - author='Microsoft Corporation', - author_email='azpycli@microsoft.com', - # TODO: change to your extension source code repo if the code will not be put in azure-cli-extensions repo - url='https://github.com/Azure/azure-cli-extensions/tree/master/src/containerapp-preview', - long_description=README + '\n\n' + HISTORY, - license='MIT', - classifiers=CLASSIFIERS, - packages=find_packages(), - install_requires=DEPENDENCIES, - package_data={'azext_containerapp_preview': ['azext_metadata.json']}, -) From e6d57b6e7068fae07f536ab7126ff45ada8cfd37 Mon Sep 17 00:00:00 2001 From: xinyu pang <1042945277@qq.com> Date: Tue, 8 Aug 2023 19:13:57 +0800 Subject: [PATCH 2/3] remove containerapp-preview in index.json --- src/index.json | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) diff --git a/src/index.json b/src/index.json index 787b3c342cc..939b88d5b7e 100644 --- a/src/index.json +++ b/src/index.json @@ -26401,52 +26401,6 @@ "sha256Digest": "233c449a1dd754fe559fbbc4b2cb1ce148d791fdc28b4b15fdc0349b40df13a3" } ], - "containerapp-preview": [ - { - "downloadUrl": "https://azcliprod.blob.core.windows.net/cli-extensions/containerapp_preview-1.0.0b1-py3-none-any.whl", - "filename": "containerapp_preview-1.0.0b1-py3-none-any.whl", - "metadata": { - "azext.isPreview": true, - "azext.minCliCoreVersion": "2.45.0", - "classifiers": [ - "Development Status :: 4 - Beta", - "Intended Audience :: Developers", - "Intended Audience :: System Administrators", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "License :: OSI Approved :: MIT License" - ], - "extensions": { - "python.details": { - "contacts": [ - { - "email": "azpycli@microsoft.com", - "name": "Microsoft Corporation", - "role": "author" - } - ], - "document_names": { - "description": "DESCRIPTION.rst" - }, - "project_urls": { - "Home": "https://github.com/Azure/azure-cli-extensions/tree/master/src/containerapp-preview" - } - } - }, - "generator": "bdist_wheel (0.30.0)", - "license": "MIT", - "metadata_version": "2.0", - "name": "containerapp-preview", - "summary": "Microsoft Azure Command-Line Tools Containerapp-preview Extension", - "version": "1.0.0b1" - }, - "sha256Digest": "fd79bb8ec5e9f7ecc5dc57f8dd02f442343ce01866d314d380c8e99cf0b377de" - } - ], "cosmosdb-preview": [ { "downloadUrl": "https://azurecliprod.blob.core.windows.net/cli-extensions/cosmosdb_preview-0.1.0-py2.py3-none-any.whl", From a36a791c22616969e5015206f2a15557caba9341 Mon Sep 17 00:00:00 2001 From: xinyu pang <1042945277@qq.com> Date: Wed, 9 Aug 2023 14:09:54 +0800 Subject: [PATCH 3/3] fix rebase --- src/index.json | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/src/index.json b/src/index.json index 939b88d5b7e..787b3c342cc 100644 --- a/src/index.json +++ b/src/index.json @@ -26401,6 +26401,52 @@ "sha256Digest": "233c449a1dd754fe559fbbc4b2cb1ce148d791fdc28b4b15fdc0349b40df13a3" } ], + "containerapp-preview": [ + { + "downloadUrl": "https://azcliprod.blob.core.windows.net/cli-extensions/containerapp_preview-1.0.0b1-py3-none-any.whl", + "filename": "containerapp_preview-1.0.0b1-py3-none-any.whl", + "metadata": { + "azext.isPreview": true, + "azext.minCliCoreVersion": "2.45.0", + "classifiers": [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "License :: OSI Approved :: MIT License" + ], + "extensions": { + "python.details": { + "contacts": [ + { + "email": "azpycli@microsoft.com", + "name": "Microsoft Corporation", + "role": "author" + } + ], + "document_names": { + "description": "DESCRIPTION.rst" + }, + "project_urls": { + "Home": "https://github.com/Azure/azure-cli-extensions/tree/master/src/containerapp-preview" + } + } + }, + "generator": "bdist_wheel (0.30.0)", + "license": "MIT", + "metadata_version": "2.0", + "name": "containerapp-preview", + "summary": "Microsoft Azure Command-Line Tools Containerapp-preview Extension", + "version": "1.0.0b1" + }, + "sha256Digest": "fd79bb8ec5e9f7ecc5dc57f8dd02f442343ce01866d314d380c8e99cf0b377de" + } + ], "cosmosdb-preview": [ { "downloadUrl": "https://azurecliprod.blob.core.windows.net/cli-extensions/cosmosdb_preview-0.1.0-py2.py3-none-any.whl",