Skip to content

Commit 441a32d

Browse files
author
Christine WANJAU
committed
update param store
1 parent c140dba commit 441a32d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/azure-cli/azure/cli/command_modules/appconfig/_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def load_arguments(self, _):
177177
c.argument('enable_arm_private_network_access', arg_type=enable_arm_private_network_access_arg_type)
178178

179179
with self.argument_context('appconfig update') as c:
180-
c.argument('sku', help='The sku of the App Configuration store', arg_type=get_enum_type(['Free', 'Premium', 'Standard']))
180+
c.argument('sku', help='The sku of the App Configuration store', arg_type=get_enum_type(['Free', 'Developer', 'Premium', 'Standard']))
181181
c.argument('tags', arg_type=tags_type)
182182
c.argument('enable_public_network', options_list=['--enable-public-network', '-e'], arg_type=get_three_state_flag(),
183183
help='When true, requests coming from public networks have permission to access this store while private endpoint is enabled. When false, only requests made through Private Links can reach this store.')
@@ -416,7 +416,7 @@ def load_arguments(self, _):
416416
with self.argument_context('appconfig snapshot create') as c:
417417
c.argument('filters', arg_type=snapshot_filter_arg_type)
418418
c.argument('composition_type', arg_type=get_enum_type(["key", "key_label"]), help='Composition type used in building App Configuration snapshots. If not specified, defaults to key.')
419-
c.argument('retention_period', type=int, help='Duration in seconds for which a snapshot can remain archived before expiry. A snapshot can be archived for a maximum of 7 days (604,800s) for free tier stores and 90 days (7,776,000s) for standard and premium tier stores. If specified, retention period must be at least 1 hour (3600s)')
419+
c.argument('retention_period', type=int, help='Duration in seconds for which a snapshot can remain archived before expiry. A snapshot can be archived for a maximum of 7 days (604,800s) for free and developer tier stores and 90 days (7,776,000s) for standard and premium tier stores. If specified, retention period must be at least 1 hour (3600s)')
420420
c.argument('tags', arg_type=tags_type, help="Space-separated tags: key[=value] [key[=value] ...].")
421421

422422
with self.argument_context('appconfig snapshot show') as c:

src/azure-cli/azure/cli/command_modules/appconfig/_validators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def validate_sku(namespace):
400400

401401
if namespace.sku.lower() == 'developer':
402402
if (namespace.enable_purge_protection or namespace.retention_days or namespace.replica_name or namespace.replica_location or namespace.no_replica): # pylint: disable=too-many-boolean-expressions
403-
logger.warning("Options '--enable-purge-protection', '--replica-name', '--replica-location' , '--no-replica' and '--retention-days' will be ignored when creating a dev store.")
403+
logger.warning("Options '--enable-purge-protection', '--replica-name', '--replica-location' , '--no-replica' and '--retention-days' will be ignored when creating a developer store.")
404404
namespace.retention_days = None
405405
namespace.enable_purge_protection = None
406406
namespace.replica_name = None

0 commit comments

Comments
 (0)