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: 8 additions & 0 deletions src/networkcloud/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

Release History
===============

5.0.0b1
++++++++
* This preview version supports NetworkCloud 2026-01-01-preview APIs.
* Adds `kubernetesversion` resource to support `create`, `update`, `show`, `list`, and `delete` commands.
* Adds `clustermanager update-relay-private-endpoint-connection` command.
* Adds `cluster inspect` command.

4.0.0
++++++++
* This stable version supports NetworkCloud 2025-09-01 APIs.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ class Cordon(AAZCommand):
"""

_aaz_info = {
"version": "2025-09-01",
"version": "2026-01-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/cordon", "2025-09-01"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/cordon", "2026-01-01-preview"],
]
}

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

_aaz_info = {
"version": "2025-09-01",
"version": "2026-01-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/providers/microsoft.networkcloud/baremetalmachines", "2025-09-01"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines", "2025-09-01"],
["mgmt-plane", "/subscriptions/{}/providers/microsoft.networkcloud/baremetalmachines", "2026-01-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines", "2026-01-01-preview"],
]
}

Expand Down Expand Up @@ -130,7 +130,7 @@ def query_parameters(self):
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2025-09-01",
"api-version", "2026-01-01-preview",
required=True,
),
}
Expand Down Expand Up @@ -225,6 +225,14 @@ def _build_schema_on_200(cls):
serialized_name="bmcCredentials",
flags={"required": True},
)
properties.bmc_ipv4_address = AAZStrType(
serialized_name="bmcIpv4Address",
flags={"read_only": True},
)
properties.bmc_ipv6_address = AAZStrType(
serialized_name="bmcIpv6Address",
flags={"read_only": True},
)
properties.bmc_mac_address = AAZStrType(
serialized_name="bmcMacAddress",
flags={"required": True},
Expand Down Expand Up @@ -500,6 +508,22 @@ def _build_schema_on_200(cls):
machine_roles.Element = AAZStrType()

runtime_protection_status = cls._schema_on_200.value.Element.properties.runtime_protection_status
runtime_protection_status.agent_health_status = AAZStrType(
serialized_name="agentHealthStatus",
flags={"read_only": True},
)
runtime_protection_status.agent_health_status_issues = AAZListType(
serialized_name="agentHealthStatusIssues",
flags={"read_only": True},
)
runtime_protection_status.agent_license_status = AAZStrType(
serialized_name="agentLicenseStatus",
flags={"read_only": True},
)
runtime_protection_status.definition_update_mode = AAZStrType(
serialized_name="definitionUpdateMode",
flags={"read_only": True},
)
runtime_protection_status.definitions_last_updated = AAZStrType(
serialized_name="definitionsLastUpdated",
flags={"read_only": True},
Expand All @@ -508,6 +532,10 @@ def _build_schema_on_200(cls):
serialized_name="definitionsVersion",
flags={"read_only": True},
)
runtime_protection_status.enforcement_level = AAZStrType(
serialized_name="enforcementLevel",
flags={"read_only": True},
)
runtime_protection_status.scan_completed_time = AAZStrType(
serialized_name="scanCompletedTime",
flags={"read_only": True},
Expand All @@ -521,6 +549,9 @@ def _build_schema_on_200(cls):
flags={"read_only": True},
)

agent_health_status_issues = cls._schema_on_200.value.Element.properties.runtime_protection_status.agent_health_status_issues
agent_health_status_issues.Element = AAZStrType()

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

Expand Down Expand Up @@ -642,7 +673,7 @@ def query_parameters(self):
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2025-09-01",
"api-version", "2026-01-01-preview",
required=True,
),
}
Expand Down Expand Up @@ -737,6 +768,14 @@ def _build_schema_on_200(cls):
serialized_name="bmcCredentials",
flags={"required": True},
)
properties.bmc_ipv4_address = AAZStrType(
serialized_name="bmcIpv4Address",
flags={"read_only": True},
)
properties.bmc_ipv6_address = AAZStrType(
serialized_name="bmcIpv6Address",
flags={"read_only": True},
)
properties.bmc_mac_address = AAZStrType(
serialized_name="bmcMacAddress",
flags={"required": True},
Expand Down Expand Up @@ -1012,6 +1051,22 @@ def _build_schema_on_200(cls):
machine_roles.Element = AAZStrType()

runtime_protection_status = cls._schema_on_200.value.Element.properties.runtime_protection_status
runtime_protection_status.agent_health_status = AAZStrType(
serialized_name="agentHealthStatus",
flags={"read_only": True},
)
runtime_protection_status.agent_health_status_issues = AAZListType(
serialized_name="agentHealthStatusIssues",
flags={"read_only": True},
)
runtime_protection_status.agent_license_status = AAZStrType(
serialized_name="agentLicenseStatus",
flags={"read_only": True},
)
runtime_protection_status.definition_update_mode = AAZStrType(
serialized_name="definitionUpdateMode",
flags={"read_only": True},
)
runtime_protection_status.definitions_last_updated = AAZStrType(
serialized_name="definitionsLastUpdated",
flags={"read_only": True},
Expand All @@ -1020,6 +1075,10 @@ def _build_schema_on_200(cls):
serialized_name="definitionsVersion",
flags={"read_only": True},
)
runtime_protection_status.enforcement_level = AAZStrType(
serialized_name="enforcementLevel",
flags={"read_only": True},
)
runtime_protection_status.scan_completed_time = AAZStrType(
serialized_name="scanCompletedTime",
flags={"read_only": True},
Expand All @@ -1033,6 +1092,9 @@ def _build_schema_on_200(cls):
flags={"read_only": True},
)

agent_health_status_issues = cls._schema_on_200.value.Element.properties.runtime_protection_status.agent_health_status_issues
agent_health_status_issues.Element = AAZStrType()

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ class PowerOff(AAZCommand):
"""

_aaz_info = {
"version": "2025-09-01",
"version": "2026-01-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/poweroff", "2025-09-01"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/poweroff", "2026-01-01-preview"],
]
}

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

_aaz_info = {
"version": "2025-09-01",
"version": "2026-01-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/reimage", "2025-09-01"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/reimage", "2026-01-01-preview"],
]
}

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

_aaz_info = {
"version": "2025-09-01",
"version": "2026-01-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/replace", "2025-09-01"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/replace", "2026-01-01-preview"],
]
}

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

_aaz_info = {
"version": "2025-09-01",
"version": "2026-01-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/restart", "2025-09-01"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/restart", "2026-01-01-preview"],
]
}

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

_aaz_info = {
"version": "2025-09-01",
"version": "2026-01-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/runcommand", "2025-09-01"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/runcommand", "2026-01-01-preview"],
]
}

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

_aaz_info = {
"version": "2025-09-01",
"version": "2026-01-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/rundataextracts", "2025-09-01"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/rundataextracts", "2026-01-01-preview"],
]
}

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

_aaz_info = {
"version": "2025-09-01",
"version": "2026-01-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/rundataextractsrestricted", "2025-09-01"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/rundataextractsrestricted", "2026-01-01-preview"],
]
}

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

_aaz_info = {
"version": "2025-09-01",
"version": "2026-01-01-preview",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/runreadcommands", "2025-09-01"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/runreadcommands", "2026-01-01-preview"],
]
}

Expand Down Expand Up @@ -181,7 +181,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2025-09-01",
"api-version", "2026-01-01-preview",
required=True,
),
}
Expand Down
Loading
Loading