2424 AuthenticationMode ,
2525 PublicNetworkAccess ,
2626 PrivateLinkDelegation ,
27- DataPlaneProxyProperties ,
28- AzureFrontDoorProperties )
27+ DataPlaneProxyProperties )
2928from knack .log import get_logger
3029from ._utils import resolve_store_metadata , resolve_deleted_store_metadata
3130from ._constants import ARMAuthenticationMode , ProvisioningStatus
@@ -55,8 +54,7 @@ def create_configstore(cmd, # pylint: disable=too-many-locals
5554 no_replica = None , # pylint: disable=unused-argument
5655 arm_auth_mode = None ,
5756 enable_arm_private_network_access = None ,
58- kv_revision_retention_period = None ,
59- azure_front_door_profile = None ):
57+ kv_revision_retention_period = None ):
6058 if assign_identity is not None and not assign_identity :
6159 assign_identity = [SYSTEM_ASSIGNED_IDENTITY ]
6260
@@ -72,10 +70,6 @@ def create_configstore(cmd, # pylint: disable=too-many-locals
7270 if arm_auth_mode is not None :
7371 arm_authentication_mode = AuthenticationMode .LOCAL if arm_auth_mode == ARMAuthenticationMode .LOCAL else AuthenticationMode .PASS_THROUGH
7472
75- azure_front_door = None
76- if azure_front_door_profile is not None :
77- azure_front_door = AzureFrontDoorProperties (resource_id = azure_front_door_profile if azure_front_door_profile else None )
78-
7973 configstore_params = ConfigurationStore (location = location .lower (),
8074 identity = __get_resource_identity (assign_identity ) if assign_identity else None ,
8175 sku = Sku (name = sku ),
@@ -88,8 +82,7 @@ def create_configstore(cmd, # pylint: disable=too-many-locals
8882 default_key_value_revision_retention_period_in_seconds = kv_revision_retention_period ,
8983 data_plane_proxy = DataPlaneProxyProperties (
9084 authentication_mode = arm_authentication_mode ,
91- private_link_delegation = arm_private_link_delegation ),
92- azure_front_door = azure_front_door )
85+ private_link_delegation = arm_private_link_delegation ))
9386
9487 progress = IndeterminateStandardOut ()
9588
@@ -190,8 +183,7 @@ def update_configstore(cmd, # pylint: disable=too-many-locals
190183 enable_purge_protection = None ,
191184 arm_auth_mode = None ,
192185 enable_arm_private_network_access = None ,
193- kv_revision_retention_period = None ,
194- azure_front_door_profile = None ):
186+ kv_revision_retention_period = None ):
195187 __validate_cmk (encryption_key_name , encryption_key_vault , encryption_key_version , identity_client_id )
196188 if resource_group_name is None :
197189 resource_group_name , _ = resolve_store_metadata (cmd , name )
@@ -208,10 +200,6 @@ def update_configstore(cmd, # pylint: disable=too-many-locals
208200 if arm_auth_mode is not None :
209201 arm_authentication_mode = AuthenticationMode .LOCAL if arm_auth_mode == ARMAuthenticationMode .LOCAL else AuthenticationMode .PASS_THROUGH
210202
211- azure_front_door = None
212- if azure_front_door_profile is not None :
213- azure_front_door = AzureFrontDoorProperties (resource_id = azure_front_door_profile if azure_front_door_profile else None )
214-
215203 update_params = ConfigurationStoreUpdateParameters (tags = tags ,
216204 sku = Sku (name = sku ) if sku else None ,
217205 public_network_access = public_network_access ,
@@ -220,8 +208,7 @@ def update_configstore(cmd, # pylint: disable=too-many-locals
220208 default_key_value_revision_retention_period_in_seconds = kv_revision_retention_period ,
221209 data_plane_proxy = DataPlaneProxyProperties (
222210 authentication_mode = arm_authentication_mode ,
223- private_link_delegation = arm_private_link_delegation ),
224- azure_front_door = azure_front_door )
211+ private_link_delegation = arm_private_link_delegation ))
225212
226213 if encryption_key_name is not None :
227214 key_vault_properties = KeyVaultProperties ()
0 commit comments