Skip to content

Commit fe7ebde

Browse files
initial checking for 2025-07-15 stable CLI (#9269)
1 parent 024f871 commit fe7ebde

File tree

323 files changed

+33520
-17772
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

323 files changed

+33520
-17772
lines changed

src/managednetworkfabric/HISTORY.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
33
Release History
44
===============
5+
9.0.0b1
6+
++++++
7+
* Per the v8.1.0 30-day [Breaking Change] notice - the folowing updates have been implmemented:
8+
* - Command group `fabric identity` has been removed as current az-cli-core does not support GET-PATCH. This includes the `assign`, `remove`, `show` sub-commands.
9+
* - Parameter `route-prefix-limit` has been removed from `l3domain create` and `l3domain update` commands.
10+
* - Parameter `version` on `device upgrade` command is now required.
11+
512
8.2.1
613
++++++
714
* Removing the following commands as they are not supported in the API:

src/managednetworkfabric/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
# Microsoft Azure CLI 'managednetworkfabric' Extension #
2-
3-
This is an extension to Azure CLI to manage Microsoft.ManagedNetworkFabric resources.
1+
# Azure CLI Managednetworkfabric Extension #
2+
This is an extension to Azure CLI to manage Managednetworkfabric resources.
43

54
## How to use ##
65

@@ -23,10 +22,14 @@ Below is a high-level overview of managednetworkfabric commands.
2322
| Commands | Description |
2423
|--------------------------------------|--------------------------------------------------|
2524
| az networkfabric acl | Manage Access Control List Resource. |
25+
| az networkfabric bootstrapdevice | Manage Network Bootstrap Device Resource. |
26+
| az networkfabric bootstrapinterface | Manage Network Bootstrap Interface Resource. |
2627
| az networkfabric controller | Manage Network Fabric Controller Resource. |
2728
| az networkfabric device | Manage Network Device Resource. |
29+
| az networkfabric devicesku | Manage Network Device SKU Resource. |
2830
| az networkfabric externalnetwork | Manage External Network Resource. |
2931
| az networkfabric fabric | Manage Network Fabric Resource. |
32+
| az networkfabric fabricsku | Manage Network Fabric SKU Resource |
3033
| az networkfabric interface | Manage Network Interface Resource. |
3134
| az networkfabric internalnetwork | Manage Internal Network Resource. |
3235
| az networkfabric internetgateway | Manage Internet Gateway Resource. |
@@ -37,6 +40,7 @@ Below is a high-level overview of managednetworkfabric commands.
3740
| az networkfabric l2domain | Manage L2 Isolation Domain Resource. |
3841
| az networkfabric l3domain | Manage L3 Isolation Domain Resource. |
3942
| az networkfabric neighborgroup | Manage Neighbor Group Resource. |
43+
| az networkfabric networkmonitor | Manage Network Monitor Resource. |
4044
| az networkfabric nni | Manage Network To Network Interconnect Resource. |
4145
| az networkfabric npb | Manage Network Packet Broker Resource. |
4246
| az networkfabric rack | Manage Network Rack Resource. |

src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/_create.py

Lines changed: 396 additions & 17 deletions
Large diffs are not rendered by default.

src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/_delete.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ class Delete(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

@@ -145,7 +145,7 @@ def url_parameters(self):
145145
def query_parameters(self):
146146
parameters = {
147147
**self.serialize_query_param(
148-
"api-version", "2024-06-15-preview",
148+
"api-version", "2025-07-15",
149149
required=True,
150150
),
151151
}

src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/_list.py

Lines changed: 234 additions & 21 deletions
Large diffs are not rendered by default.

src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/_show.py

Lines changed: 139 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -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):
486571
class _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

Comments
 (0)