@@ -22,9 +22,9 @@ class Show(AAZCommand):
2222 """
2323
2424 _aaz_info = {
25- "version" : "2024-06 -15-preview " ,
25+ "version" : "2025-07 -15" ,
2626 "resources" : [
27- ["mgmt-plane" , "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/accesscontrollists/{}" , "2024-06 -15-preview " ],
27+ ["mgmt-plane" , "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/accesscontrollists/{}" , "2025-07 -15" ],
2828 ]
2929 }
3030
@@ -123,7 +123,7 @@ def url_parameters(self):
123123 def query_parameters (self ):
124124 parameters = {
125125 ** self .serialize_query_param (
126- "api-version" , "2024-06 -15-preview " ,
126+ "api-version" , "2025-07 -15" ,
127127 required = True ,
128128 ),
129129 }
@@ -197,6 +197,9 @@ def _build_schema_on_200(cls):
197197 serialized_name = "configurationType" ,
198198 flags = {"required" : True },
199199 )
200+ properties .control_plane_acl_configuration = AAZListType (
201+ serialized_name = "controlPlaneAclConfiguration" ,
202+ )
200203 properties .default_action = AAZStrType (
201204 serialized_name = "defaultAction" ,
202205 )
@@ -220,11 +223,95 @@ def _build_schema_on_200(cls):
220223 properties .match_configurations = AAZListType (
221224 serialized_name = "matchConfigurations" ,
222225 )
226+ properties .network_fabric_ids = AAZListType (
227+ serialized_name = "networkFabricIds" ,
228+ flags = {"read_only" : True },
229+ )
223230 properties .provisioning_state = AAZStrType (
224231 serialized_name = "provisioningState" ,
225232 flags = {"read_only" : True },
226233 )
227234
235+ control_plane_acl_configuration = cls ._schema_on_200 .properties .control_plane_acl_configuration
236+ control_plane_acl_configuration .Element = AAZObjectType ()
237+
238+ _element = cls ._schema_on_200 .properties .control_plane_acl_configuration .Element
239+ _element .ip_address_type = AAZStrType (
240+ serialized_name = "ipAddressType" ,
241+ )
242+ _element .match_configurations = AAZListType (
243+ serialized_name = "matchConfigurations" ,
244+ )
245+
246+ match_configurations = cls ._schema_on_200 .properties .control_plane_acl_configuration .Element .match_configurations
247+ match_configurations .Element = AAZObjectType ()
248+
249+ _element = cls ._schema_on_200 .properties .control_plane_acl_configuration .Element .match_configurations .Element
250+ _element .action = AAZObjectType ()
251+ _element .match_condition = AAZObjectType (
252+ serialized_name = "matchCondition" ,
253+ )
254+ _element .match_configuration_name = AAZStrType (
255+ serialized_name = "matchConfigurationName" ,
256+ )
257+ _element .sequence_number = AAZIntType (
258+ serialized_name = "sequenceNumber" ,
259+ )
260+
261+ action = cls ._schema_on_200 .properties .control_plane_acl_configuration .Element .match_configurations .Element .action
262+ action .remark_comment = AAZStrType (
263+ serialized_name = "remarkComment" ,
264+ )
265+ action .type = AAZStrType ()
266+
267+ match_condition = cls ._schema_on_200 .properties .control_plane_acl_configuration .Element .match_configurations .Element .match_condition
268+ match_condition .flags = AAZListType ()
269+ match_condition .icmp_configuration = AAZObjectType (
270+ serialized_name = "icmpConfiguration" ,
271+ )
272+ _ShowHelper ._build_schema_icmp_configuration_properties_read (match_condition .icmp_configuration )
273+ match_condition .ip_condition = AAZObjectType (
274+ serialized_name = "ipCondition" ,
275+ )
276+ match_condition .port_condition = AAZObjectType (
277+ serialized_name = "portCondition" ,
278+ )
279+ match_condition .protocol_types = AAZStrType (
280+ serialized_name = "protocolTypes" ,
281+ )
282+ match_condition .ttl_match_condition = AAZObjectType (
283+ serialized_name = "ttlMatchCondition" ,
284+ )
285+
286+ flags = cls ._schema_on_200 .properties .control_plane_acl_configuration .Element .match_configurations .Element .match_condition .flags
287+ flags .Element = AAZStrType ()
288+
289+ ip_condition = cls ._schema_on_200 .properties .control_plane_acl_configuration .Element .match_configurations .Element .match_condition .ip_condition
290+ ip_condition .destination_ip_prefix = AAZStrType (
291+ serialized_name = "destinationIpPrefix" ,
292+ )
293+ ip_condition .source_ip_prefix = AAZStrType (
294+ serialized_name = "sourceIpPrefix" ,
295+ )
296+
297+ port_condition = cls ._schema_on_200 .properties .control_plane_acl_configuration .Element .match_configurations .Element .match_condition .port_condition
298+ port_condition .destination_ports = AAZObjectType (
299+ serialized_name = "destinationPorts" ,
300+ )
301+ _ShowHelper ._build_schema_control_plane_acl_port_condition_read (port_condition .destination_ports )
302+ port_condition .source_ports = AAZObjectType (
303+ serialized_name = "sourcePorts" ,
304+ )
305+ _ShowHelper ._build_schema_control_plane_acl_port_condition_read (port_condition .source_ports )
306+
307+ ttl_match_condition = cls ._schema_on_200 .properties .control_plane_acl_configuration .Element .match_configurations .Element .match_condition .ttl_match_condition
308+ ttl_match_condition .ttl_match_type = AAZStrType (
309+ serialized_name = "ttlMatchType" ,
310+ )
311+ ttl_match_condition .ttl_value = AAZStrType (
312+ serialized_name = "ttlValue" ,
313+ )
314+
228315 dynamic_match_configurations = cls ._schema_on_200 .properties .dynamic_match_configurations
229316 dynamic_match_configurations .Element = AAZObjectType ()
230317
@@ -347,6 +434,7 @@ def _build_schema_on_200(cls):
347434 _element .icmp_configuration = AAZObjectType (
348435 serialized_name = "icmpConfiguration" ,
349436 )
437+ _ShowHelper ._build_schema_icmp_configuration_properties_read (_element .icmp_configuration )
350438 _element .ip_condition = AAZObjectType (
351439 serialized_name = "ipCondition" ,
352440 )
@@ -378,14 +466,6 @@ def _build_schema_on_200(cls):
378466 fragments = cls ._schema_on_200 .properties .match_configurations .Element .match_conditions .Element .fragments
379467 fragments .Element = AAZStrType ()
380468
381- icmp_configuration = cls ._schema_on_200 .properties .match_configurations .Element .match_conditions .Element .icmp_configuration
382- icmp_configuration .icmp_types = AAZListType (
383- serialized_name = "icmpTypes" ,
384- )
385-
386- icmp_types = cls ._schema_on_200 .properties .match_configurations .Element .match_conditions .Element .icmp_configuration .icmp_types
387- icmp_types .Element = AAZStrType ()
388-
389469 ip_condition = cls ._schema_on_200 .properties .match_configurations .Element .match_conditions .Element .ip_condition
390470 ip_condition .ip_group_names = AAZListType (
391471 serialized_name = "ipGroupNames" ,
@@ -457,6 +537,11 @@ def _build_schema_on_200(cls):
457537 vlans = cls ._schema_on_200 .properties .match_configurations .Element .match_conditions .Element .vlan_match_condition .vlans
458538 vlans .Element = AAZStrType ()
459539
540+ network_fabric_ids = cls ._schema_on_200 .properties .network_fabric_ids
541+ network_fabric_ids .Element = AAZStrType (
542+ nullable = True ,
543+ )
544+
460545 system_data = cls ._schema_on_200 .system_data
461546 system_data .created_at = AAZStrType (
462547 serialized_name = "createdAt" ,
@@ -486,5 +571,48 @@ def _build_schema_on_200(cls):
486571class _ShowHelper :
487572 """Helper class for Show"""
488573
574+ _schema_control_plane_acl_port_condition_read = None
575+
576+ @classmethod
577+ def _build_schema_control_plane_acl_port_condition_read (cls , _schema ):
578+ if cls ._schema_control_plane_acl_port_condition_read is not None :
579+ _schema .port_match_type = cls ._schema_control_plane_acl_port_condition_read .port_match_type
580+ _schema .ports = cls ._schema_control_plane_acl_port_condition_read .ports
581+ return
582+
583+ cls ._schema_control_plane_acl_port_condition_read = _schema_control_plane_acl_port_condition_read = AAZObjectType ()
584+
585+ control_plane_acl_port_condition_read = _schema_control_plane_acl_port_condition_read
586+ control_plane_acl_port_condition_read .port_match_type = AAZStrType (
587+ serialized_name = "portMatchType" ,
588+ )
589+ control_plane_acl_port_condition_read .ports = AAZListType ()
590+
591+ ports = _schema_control_plane_acl_port_condition_read .ports
592+ ports .Element = AAZStrType ()
593+
594+ _schema .port_match_type = cls ._schema_control_plane_acl_port_condition_read .port_match_type
595+ _schema .ports = cls ._schema_control_plane_acl_port_condition_read .ports
596+
597+ _schema_icmp_configuration_properties_read = None
598+
599+ @classmethod
600+ def _build_schema_icmp_configuration_properties_read (cls , _schema ):
601+ if cls ._schema_icmp_configuration_properties_read is not None :
602+ _schema .icmp_types = cls ._schema_icmp_configuration_properties_read .icmp_types
603+ return
604+
605+ cls ._schema_icmp_configuration_properties_read = _schema_icmp_configuration_properties_read = AAZObjectType ()
606+
607+ icmp_configuration_properties_read = _schema_icmp_configuration_properties_read
608+ icmp_configuration_properties_read .icmp_types = AAZListType (
609+ serialized_name = "icmpTypes" ,
610+ )
611+
612+ icmp_types = _schema_icmp_configuration_properties_read .icmp_types
613+ icmp_types .Element = AAZStrType ()
614+
615+ _schema .icmp_types = cls ._schema_icmp_configuration_properties_read .icmp_types
616+
489617
490618__all__ = ["Show" ]
0 commit comments