You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.')
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)')
if (namespace.enable_purge_protectionornamespace.retention_daysornamespace.replica_nameornamespace.replica_locationornamespace.no_replicaornamespace.enable_arm_private_network_access): # pylint: disable=too-many-boolean-expressions
392
-
logger.warning("Options '--enable-purge-protection', '--replica-name', '--replica-location' , '--no-replica' and '--retention-days' will be ignored when creating a free store.")
392
+
logger.warning("Options '--enable-purge-protection', '--replica-name', '--replica-location' , '--no-replica' , 'enable-arm-private-network-access' and '--retention-days' will be ignored when creating a free store.")
393
393
namespace.retention_days=None
394
394
namespace.enable_purge_protection=None
395
395
namespace.replica_name=None
@@ -398,6 +398,16 @@ def validate_sku(namespace):
398
398
namespace.enable_arm_private_network_access=None
399
399
return
400
400
401
+
ifnamespace.sku.lower() =='developer':
402
+
if (namespace.enable_purge_protectionornamespace.retention_daysornamespace.replica_nameornamespace.replica_locationornamespace.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 developer store.")
raiseRequiredArgumentMissingError("Options '--replica-name' and '--replica-location' are required when creating a premium tier store. To avoid creating replica please provide explicit argument '--no-replica'.")
0 commit comments