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
4 changes: 4 additions & 0 deletions src/networkcloud/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Release History
===============

1.0.0b1
++++++++
* This the first beta version of the CLI extension that supports NetworkCloud 2023-07-01 stable APIs.

0.4.1
++++++
* This version updates the kubernetescluster resource to not send an empty array `sshPubKeys` for control plane configuration and agent pool configuration if the input contains no ssh keys provided for these parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@register_command_group(
"networkcloud",
is_experimental=True,
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage Network Cloud resources
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@register_command_group(
"networkcloud baremetalmachine",
is_experimental=True,
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage bare metal machine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@register_command(
"networkcloud baremetalmachine cordon",
is_experimental=True,
is_preview=True,
)
class Cordon(AAZCommand):
"""Cordon the provided bare metal machine's Kubernetes node.
Expand All @@ -23,9 +23,9 @@ class Cordon(AAZCommand):
"""

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

Expand Down Expand Up @@ -161,7 +161,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2023-05-01-preview",
"api-version", "2023-07-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@register_command(
"networkcloud baremetalmachine list",
is_experimental=True,
is_preview=True,
)
class List(AAZCommand):
"""List bare metal machines in the provided resource group or subscription.
Expand All @@ -26,10 +26,10 @@ class List(AAZCommand):
"""

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

Expand Down Expand Up @@ -118,7 +118,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2023-05-01-preview",
"api-version", "2023-07-01",
required=True,
),
}
Expand Down Expand Up @@ -461,7 +461,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2023-05-01-preview",
"api-version", "2023-07-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@register_command(
"networkcloud baremetalmachine power-off",
is_experimental=True,
is_preview=True,
)
class PowerOff(AAZCommand):
"""Power off the provided bare metal machine.
Expand All @@ -23,9 +23,9 @@ class PowerOff(AAZCommand):
"""

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

Expand Down Expand Up @@ -161,7 +161,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2023-05-01-preview",
"api-version", "2023-07-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@register_command(
"networkcloud baremetalmachine reimage",
is_experimental=True,
is_preview=True,
)
class Reimage(AAZCommand):
"""Reimage the provided bare metal machine.
Expand All @@ -23,9 +23,9 @@ class Reimage(AAZCommand):
"""

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

Expand Down Expand Up @@ -150,7 +150,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2023-05-01-preview",
"api-version", "2023-07-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@register_command(
"networkcloud baremetalmachine replace",
is_experimental=True,
is_preview=True,
)
class Replace(AAZCommand):
"""Replace the provided bare metal machine.
Expand All @@ -23,9 +23,9 @@ class Replace(AAZCommand):
"""

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

Expand Down Expand Up @@ -213,7 +213,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2023-05-01-preview",
"api-version", "2023-07-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@register_command(
"networkcloud baremetalmachine restart",
is_experimental=True,
is_preview=True,
)
class Restart(AAZCommand):
"""Restart the provided bare metal machine.
Expand All @@ -23,9 +23,9 @@ class Restart(AAZCommand):
"""

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

Expand Down Expand Up @@ -150,7 +150,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2023-05-01-preview",
"api-version", "2023-07-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@register_command(
"networkcloud baremetalmachine run-command",
is_experimental=True,
is_preview=True,
)
class RunCommand(AAZCommand):
"""Run the command or the script on the provided bare metal machine. The URL to storage account with the command execution results and the command exit code can be retrieved from the operation status API once available.
Expand All @@ -23,9 +23,9 @@ class RunCommand(AAZCommand):
"""

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

Expand Down Expand Up @@ -178,7 +178,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2023-05-01-preview",
"api-version", "2023-07-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@register_command(
"networkcloud baremetalmachine run-data-extract",
is_experimental=True,
is_preview=True,
)
class RunDataExtract(AAZCommand):
"""Run one or more data extractions on the provided bare metal machine. The URL to storage account with the command execution results and the command exit code can be retrieved from the operation status API once available.
Expand All @@ -23,9 +23,9 @@ class RunDataExtract(AAZCommand):
"""

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

Expand Down Expand Up @@ -187,7 +187,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2023-05-01-preview",
"api-version", "2023-07-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@register_command(
"networkcloud baremetalmachine run-read-command",
is_experimental=True,
is_preview=True,
)
class RunReadCommand(AAZCommand):
"""Run one or more read-only commands on the provided bare metal machine. The URL to storage account with the command execution results and the command exit code can be retrieved from the operation status API once available.
Expand All @@ -23,9 +23,9 @@ class RunReadCommand(AAZCommand):
"""

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

Expand Down Expand Up @@ -187,7 +187,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2023-05-01-preview",
"api-version", "2023-07-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@register_command(
"networkcloud baremetalmachine show",
is_experimental=True,
is_preview=True,
)
class Show(AAZCommand):
"""Get properties of the provided bare metal machine.
Expand All @@ -23,9 +23,9 @@ class Show(AAZCommand):
"""

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

Expand Down Expand Up @@ -124,7 +124,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2023-05-01-preview",
"api-version", "2023-07-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@register_command(
"networkcloud baremetalmachine start",
is_experimental=True,
is_preview=True,
)
class Start(AAZCommand):
"""Start the provided bare metal machine.
Expand All @@ -23,9 +23,9 @@ class Start(AAZCommand):
"""

_aaz_info = {
"version": "2023-05-01-preview",
"version": "2023-07-01",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/start", "2023-05-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/start", "2023-07-01"],
]
}

Expand Down Expand Up @@ -150,7 +150,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2023-05-01-preview",
"api-version", "2023-07-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@register_command(
"networkcloud baremetalmachine uncordon",
is_experimental=True,
is_preview=True,
)
class Uncordon(AAZCommand):
"""Uncordon the provided bare metal machine's Kubernetes node.
Expand All @@ -23,9 +23,9 @@ class Uncordon(AAZCommand):
"""

_aaz_info = {
"version": "2023-05-01-preview",
"version": "2023-07-01",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/uncordon", "2023-05-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/baremetalmachines/{}/uncordon", "2023-07-01"],
]
}

Expand Down Expand Up @@ -150,7 +150,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2023-05-01-preview",
"api-version", "2023-07-01",
required=True,
),
}
Expand Down
Loading