Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/managednetworkfabric/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Release History
===============

10.0.0b1
++++++++
* New preview CLI version for latest api 2026-01-15-preview.

9.1.1
++++++
* Fix CLI output formatting for `fabric` and `device` `resync-password` and `fabric` `rotate-certificate` commands to prevent duplicated nested error details in both successful and partial-success responses.
Expand All @@ -11,8 +15,8 @@ Release History
++++++
* Enables the following previously removed command/command groups:
* - `bootstrapdevice` and `bootstrapinterface` command groups that both support `list` and `show` operations.
* - `fabric` commands `resync-certificate` and `rotate-certificate` to support certificate resync and rotation operations on the fabric resource.
* - `device` command `resync-certificate` to support resync operations for certificates on the device resource.
* - `fabric` commands `resync-certificate` and `rotate-certificate` to support certificate operations on the fabric resource.
* - `device` command `resync-certificate` to support certificate resync on the device resource.

9.0.0
++++++
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ class Create(AAZCommand):
"""

_aaz_info = {
"version": "2025-07-15",
"version": "2026-01-15-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/accesscontrollists/{}", "2025-07-15"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/accesscontrollists/{}", "2026-01-15-preview"],
]
}

Expand Down Expand Up @@ -125,7 +125,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
options=["--device-role"],
arg_group="Properties",
help="Device Role",
enum={"CE": "CE", "ManagementSwitch": "ManagementSwitch", "NPB": "NPB", "ToR": "ToR"},
enum={"CE": "CE", "ManagementSwitch": "ManagementSwitch", "NPB": "NPB", "TerminalServer": "TerminalServer", "ToR": "ToR"},
)
_args_schema.dynamic_match_configurations = AAZListArg(
options=["--dynamic-match-configs", "--dynamic-match-configurations"],
Expand Down Expand Up @@ -783,7 +783,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2025-07-15",
"api-version", "2026-01-15-preview",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ class Delete(AAZCommand):
"""

_aaz_info = {
"version": "2025-07-15",
"version": "2026-01-15-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/accesscontrollists/{}", "2025-07-15"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/accesscontrollists/{}", "2026-01-15-preview"],
]
}

Expand Down Expand Up @@ -145,7 +145,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2025-07-15",
"api-version", "2026-01-15-preview",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ class List(AAZCommand):
"""

_aaz_info = {
"version": "2025-07-15",
"version": "2026-01-15-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/accesscontrollists", "2025-07-15"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/accesscontrollists", "2025-07-15"],
["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/accesscontrollists", "2026-01-15-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/accesscontrollists", "2026-01-15-preview"],
]
}

Expand Down Expand Up @@ -115,7 +115,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2025-07-15",
"api-version", "2026-01-15-preview",
required=True,
),
}
Expand Down Expand Up @@ -614,7 +614,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2025-07-15",
"api-version", "2026-01-15-preview",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ class Show(AAZCommand):
"""

_aaz_info = {
"version": "2025-07-15",
"version": "2026-01-15-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/accesscontrollists/{}", "2025-07-15"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/accesscontrollists/{}", "2026-01-15-preview"],
]
}

Expand Down Expand Up @@ -123,7 +123,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2025-07-15",
"api-version", "2026-01-15-preview",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ class Update(AAZCommand):
"""

_aaz_info = {
"version": "2025-07-15",
"version": "2026-01-15-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/accesscontrollists/{}", "2025-07-15"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/accesscontrollists/{}", "2026-01-15-preview"],
]
}

Expand Down Expand Up @@ -117,7 +117,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
arg_group="Properties",
help="Device Role",
nullable=True,
enum={"CE": "CE", "ManagementSwitch": "ManagementSwitch", "NPB": "NPB", "ToR": "ToR"},
enum={"CE": "CE", "ManagementSwitch": "ManagementSwitch", "NPB": "NPB", "TerminalServer": "TerminalServer", "ToR": "ToR"},
)
_args_schema.dynamic_match_configurations = AAZListArg(
options=["--dynamic-match-configs", "--dynamic-match-configurations"],
Expand Down Expand Up @@ -746,7 +746,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2025-07-15",
"api-version", "2026-01-15-preview",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand):

_aaz_info = {
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/accesscontrollists/{}", "2025-07-15"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/accesscontrollists/{}", "2026-01-15-preview"],
]
}

Expand Down Expand Up @@ -119,7 +119,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2025-07-15",
"api-version", "2026-01-15-preview",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ class List(AAZCommand):
"""

_aaz_info = {
"version": "2025-07-15",
"version": "2026-01-15-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/networkbootstrapdevices", "2025-07-15"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkbootstrapdevices", "2025-07-15"],
["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/networkbootstrapdevices", "2026-01-15-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkbootstrapdevices", "2026-01-15-preview"],
]
}

Expand Down Expand Up @@ -115,7 +115,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2025-07-15",
"api-version", "2026-01-15-preview",
required=True,
),
}
Expand Down Expand Up @@ -222,6 +222,9 @@ def _build_schema_on_200(cls):
serialized_name="configurationState",
flags={"read_only": True},
)
properties.control_plane_acls = AAZListType(
serialized_name="controlPlaneAcls",
)
properties.dhcp_v4_server_ip_address = AAZStrType(
serialized_name="dhcpV4ServerIpAddress",
flags={"read_only": True},
Expand All @@ -237,6 +240,10 @@ def _build_schema_on_200(cls):
nullable=True,
flags={"read_only": True},
)
properties.operational_state = AAZStrType(
serialized_name="operationalState",
flags={"read_only": True},
)
properties.primary_management_ipv4_address = AAZStrType(
serialized_name="primaryManagementIpv4Address",
flags={"read_only": True},
Expand All @@ -257,13 +264,62 @@ def _build_schema_on_200(cls):
serialized_name="secondaryManagementIpv6Address",
flags={"read_only": True},
)
properties.secret_rotation_status = AAZListType(
serialized_name="secretRotationStatus",
flags={"read_only": True},
)
properties.serial_number = AAZStrType(
serialized_name="serialNumber",
)
properties.version = AAZStrType(
flags={"read_only": True},
)

control_plane_acls = cls._schema_on_200.value.Element.properties.control_plane_acls
control_plane_acls.Element = AAZStrType(
nullable=True,
)

secret_rotation_status = cls._schema_on_200.value.Element.properties.secret_rotation_status
secret_rotation_status.Element = AAZObjectType()

_element = cls._schema_on_200.value.Element.properties.secret_rotation_status.Element
_element.last_rotation_time = AAZStrType(
serialized_name="lastRotationTime",
flags={"read_only": True},
)
_element.secret_archive_reference = AAZObjectType(
serialized_name="secretArchiveReference",
flags={"read_only": True},
)
_element.secret_type = AAZStrType(
serialized_name="secretType",
flags={"read_only": True},
)
_element.synchronization_status = AAZStrType(
serialized_name="synchronizationStatus",
flags={"read_only": True},
)

secret_archive_reference = cls._schema_on_200.value.Element.properties.secret_rotation_status.Element.secret_archive_reference
secret_archive_reference.key_vault_id = AAZStrType(
serialized_name="keyVaultId",
nullable=True,
flags={"read_only": True},
)
secret_archive_reference.key_vault_uri = AAZStrType(
serialized_name="keyVaultUri",
flags={"read_only": True},
)
secret_archive_reference.secret_name = AAZStrType(
serialized_name="secretName",
flags={"read_only": True},
)
secret_archive_reference.secret_version = AAZStrType(
serialized_name="secretVersion",
flags={"read_only": True},
)

system_data = cls._schema_on_200.value.Element.system_data
system_data.created_at = AAZStrType(
serialized_name="createdAt",
Expand Down Expand Up @@ -333,7 +389,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2025-07-15",
"api-version", "2026-01-15-preview",
required=True,
),
}
Expand Down Expand Up @@ -440,6 +496,9 @@ def _build_schema_on_200(cls):
serialized_name="configurationState",
flags={"read_only": True},
)
properties.control_plane_acls = AAZListType(
serialized_name="controlPlaneAcls",
)
properties.dhcp_v4_server_ip_address = AAZStrType(
serialized_name="dhcpV4ServerIpAddress",
flags={"read_only": True},
Expand All @@ -455,6 +514,10 @@ def _build_schema_on_200(cls):
nullable=True,
flags={"read_only": True},
)
properties.operational_state = AAZStrType(
serialized_name="operationalState",
flags={"read_only": True},
)
properties.primary_management_ipv4_address = AAZStrType(
serialized_name="primaryManagementIpv4Address",
flags={"read_only": True},
Expand All @@ -475,13 +538,62 @@ def _build_schema_on_200(cls):
serialized_name="secondaryManagementIpv6Address",
flags={"read_only": True},
)
properties.secret_rotation_status = AAZListType(
serialized_name="secretRotationStatus",
flags={"read_only": True},
)
properties.serial_number = AAZStrType(
serialized_name="serialNumber",
)
properties.version = AAZStrType(
flags={"read_only": True},
)

control_plane_acls = cls._schema_on_200.value.Element.properties.control_plane_acls
control_plane_acls.Element = AAZStrType(
nullable=True,
)

secret_rotation_status = cls._schema_on_200.value.Element.properties.secret_rotation_status
secret_rotation_status.Element = AAZObjectType()

_element = cls._schema_on_200.value.Element.properties.secret_rotation_status.Element
_element.last_rotation_time = AAZStrType(
serialized_name="lastRotationTime",
flags={"read_only": True},
)
_element.secret_archive_reference = AAZObjectType(
serialized_name="secretArchiveReference",
flags={"read_only": True},
)
_element.secret_type = AAZStrType(
serialized_name="secretType",
flags={"read_only": True},
)
_element.synchronization_status = AAZStrType(
serialized_name="synchronizationStatus",
flags={"read_only": True},
)

secret_archive_reference = cls._schema_on_200.value.Element.properties.secret_rotation_status.Element.secret_archive_reference
secret_archive_reference.key_vault_id = AAZStrType(
serialized_name="keyVaultId",
nullable=True,
flags={"read_only": True},
)
secret_archive_reference.key_vault_uri = AAZStrType(
serialized_name="keyVaultUri",
flags={"read_only": True},
)
secret_archive_reference.secret_name = AAZStrType(
serialized_name="secretName",
flags={"read_only": True},
)
secret_archive_reference.secret_version = AAZStrType(
serialized_name="secretVersion",
flags={"read_only": True},
)

system_data = cls._schema_on_200.value.Element.system_data
system_data.created_at = AAZStrType(
serialized_name="createdAt",
Expand Down
Loading
Loading