From eff14fa4fbc5436feb620a4c2bab39921e67c674 Mon Sep 17 00:00:00 2001 From: khushishah513 Date: Mon, 4 Aug 2025 09:56:00 +0000 Subject: [PATCH 1/3] fixing help description for kind argument in az containerapp create command --- src/containerapp/HISTORY.rst | 4 ++++ src/containerapp/azext_containerapp/_params.py | 2 +- src/containerapp/setup.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/containerapp/HISTORY.rst b/src/containerapp/HISTORY.rst index 9d44e41b7cb..088157afdac 100644 --- a/src/containerapp/HISTORY.rst +++ b/src/containerapp/HISTORY.rst @@ -6,6 +6,10 @@ upcoming ++++++ * 'az containerapp session code-interpreter': Fix `--path` in examples +1.2.0b4 +++++++ +* 'az containerapp create': Update help text for `--kind` parameter to clarify its usage for Azure Functions. + 1.2.0b3 ++++++ * 'az containerapp job list': Fix only 20 items returned diff --git a/src/containerapp/azext_containerapp/_params.py b/src/containerapp/azext_containerapp/_params.py index c47722aa35c..b344abf4637 100644 --- a/src/containerapp/azext_containerapp/_params.py +++ b/src/containerapp/azext_containerapp/_params.py @@ -36,7 +36,7 @@ def load_arguments(self, _): c.argument('build_env_vars', nargs='*', help="A list of environment variable(s) for the build. Space-separated values in 'key=value' format.", validator=validate_build_env_vars, is_preview=True) c.argument('max_inactive_revisions', type=int, help="Max inactive revisions a Container App can have.", is_preview=True) - c.argument('kind', type=str, help="Set to 'functionapp' to get built in support and autoscaling to run Azure functions on Azure Container apps", is_preview=True) + c.argument('kind', type=str, help="Set the kind property to 'functionapp' when deploying Azure Functions container images to Azure Container Apps. This configuration enables built-in support and autoscaling capabilities.", is_preview=True) c.argument('registry_identity', help="The managed identity with which to authenticate to the Azure Container Registry (instead of username/password). Use 'system' for a system-defined identity, Use 'system-environment' for an environment level system-defined identity or a resource id for a user-defined environment/containerapp level identity. The managed identity should have been assigned acrpull permissions on the ACR before deployment (use 'az role assignment create --role acrpull ...').") c.argument('target_label', help="The label to apply to new revisions. Required for revisions-mode 'labels'.", is_preview=True) diff --git a/src/containerapp/setup.py b/src/containerapp/setup.py index 87227b1a077..f7cee6db663 100644 --- a/src/containerapp/setup.py +++ b/src/containerapp/setup.py @@ -28,7 +28,7 @@ # TODO: Confirm this is the right version number you want and it matches your # HISTORY.rst entry. -VERSION = '1.2.0b3' +VERSION = '1.2.0b4' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers From e35d94dc9f8199756e5d5c94a740db15465e10d2 Mon Sep 17 00:00:00 2001 From: khushishah513 Date: Wed, 6 Aug 2025 06:48:17 +0000 Subject: [PATCH 2/3] undoing version change --- src/containerapp/HISTORY.rst | 4 ---- src/containerapp/setup.py | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/containerapp/HISTORY.rst b/src/containerapp/HISTORY.rst index 088157afdac..9d44e41b7cb 100644 --- a/src/containerapp/HISTORY.rst +++ b/src/containerapp/HISTORY.rst @@ -6,10 +6,6 @@ upcoming ++++++ * 'az containerapp session code-interpreter': Fix `--path` in examples -1.2.0b4 -++++++ -* 'az containerapp create': Update help text for `--kind` parameter to clarify its usage for Azure Functions. - 1.2.0b3 ++++++ * 'az containerapp job list': Fix only 20 items returned diff --git a/src/containerapp/setup.py b/src/containerapp/setup.py index f7cee6db663..87227b1a077 100644 --- a/src/containerapp/setup.py +++ b/src/containerapp/setup.py @@ -28,7 +28,7 @@ # TODO: Confirm this is the right version number you want and it matches your # HISTORY.rst entry. -VERSION = '1.2.0b4' +VERSION = '1.2.0b3' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers From 4d18b0eef5f47e68bbeb49b526eaa6a5ef64f54a Mon Sep 17 00:00:00 2001 From: khushishah513 Date: Wed, 13 Aug 2025 07:10:47 +0000 Subject: [PATCH 3/3] modifying help description for king argument in containerapp create --- src/containerapp/azext_containerapp/_params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containerapp/azext_containerapp/_params.py b/src/containerapp/azext_containerapp/_params.py index b344abf4637..f8568897d2d 100644 --- a/src/containerapp/azext_containerapp/_params.py +++ b/src/containerapp/azext_containerapp/_params.py @@ -36,7 +36,7 @@ def load_arguments(self, _): c.argument('build_env_vars', nargs='*', help="A list of environment variable(s) for the build. Space-separated values in 'key=value' format.", validator=validate_build_env_vars, is_preview=True) c.argument('max_inactive_revisions', type=int, help="Max inactive revisions a Container App can have.", is_preview=True) - c.argument('kind', type=str, help="Set the kind property to 'functionapp' when deploying Azure Functions container images to Azure Container Apps. This configuration enables built-in support and autoscaling capabilities.", is_preview=True) + c.argument('kind', type=str, help="Set to 'functionapp' to enable built-in support and autoscaling for Azure Functions on Azure Container Apps.", is_preview=True) c.argument('registry_identity', help="The managed identity with which to authenticate to the Azure Container Registry (instead of username/password). Use 'system' for a system-defined identity, Use 'system-environment' for an environment level system-defined identity or a resource id for a user-defined environment/containerapp level identity. The managed identity should have been assigned acrpull permissions on the ACR before deployment (use 'az role assignment create --role acrpull ...').") c.argument('target_label', help="The label to apply to new revisions. Required for revisions-mode 'labels'.", is_preview=True)