Skip to content

Commit

Permalink
Updated NetworkCloud 2023-07-01 latest changes for stable version 1.0…
Browse files Browse the repository at this point in the history
….0 (#6648)
  • Loading branch information
priyamshet authored Aug 17, 2023
1 parent dc27eeb commit 1fdb9b2
Show file tree
Hide file tree
Showing 155 changed files with 1,307 additions and 982 deletions.
10 changes: 8 additions & 2 deletions src/networkcloud/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,20 @@
Release History
===============

1.0.0
++++++++
* This is the first stable version of the CLI extension that supports NetworkCloud 2023-07-01 stable APIs.
* Virtualmachine console create and update commands have been enhanced to accept a file path for ssh_public_key parameter.

1.0.0b1
++++++++
* This the first beta version of the CLI extension that supports NetworkCloud 2023-07-01 stable APIs.
* This is first beta version of the CLI extension that supports NetworkCloud 2023-07-01 stable APIs.
* The defaultcninetwork and hybridakscluster resources are no longer available.

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.
* This version update the agentpool child resource of kubernetescluster to not send an empty array `sshPubKeys` is not provided in the input.
* This version updates the agentpool child resource of kubernetescluster to not send an empty array `sshPubKeys` is not provided in the input.

0.4.0
++++++
Expand Down
18 changes: 16 additions & 2 deletions src/networkcloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ This is an extension to Azure CLI to manage Azure Operator Nexus - Network Cloud

## How to use ##

Install the extension:
Install the latest version of the extension:

```
az extension add --name networkcloud
Expand All @@ -15,6 +15,14 @@ Validate that the extension is installed correctly:
az networkcloud --help
```

For list of available versions, see [the extension release history][az-cli-networkcloud-cli-versions].

To install a specific version of the networkcloud CLI extension, add `--version` parameter to the command. For example, below installs 0.4.1

```
az extension add --name networkcloud --version 0.4.1
```

## Included Features ##

Below is a high-level overview of networkcloud commands.
Expand All @@ -41,4 +49,10 @@ Below is a high-level overview of networkcloud commands.
| az networkcloud virtualmachine console | Provides commands to manage virtual machine's consoles. |
| az networkcloud volume | Provides commands to manage volumes. |

For more details, please refer to [Azure Operator Nexus - NetworkCloud](https://learn.microsoft.com/en-us/azure/operator-nexus/).
For more details, please refer to [Azure Operator Nexus - NetworkCloud][networkcloud-microsoft-learn].


<!-- LINKS - External -->
[networkcloud-microsoft-learn]: https://learn.microsoft.com/en-us/azure/operator-nexus/

[az-cli-networkcloud-cli-versions]: https://github.com/Azure/azure-cli-extensions/blob/main/src/networkcloud/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command_group(
"networkcloud",
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,6 @@

@register_command_group(
"networkcloud baremetalmachine",
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,6 @@

@register_command(
"networkcloud baremetalmachine cordon",
is_preview=True,
)
class Cordon(AAZCommand):
"""Cordon the provided bare metal machine's Kubernetes node.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud baremetalmachine list",
is_preview=True,
)
class List(AAZCommand):
"""List bare metal machines in the provided resource group or subscription.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud baremetalmachine power-off",
is_preview=True,
)
class PowerOff(AAZCommand):
"""Power off the provided bare metal machine.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud baremetalmachine reimage",
is_preview=True,
)
class Reimage(AAZCommand):
"""Reimage the provided bare metal machine.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud baremetalmachine replace",
is_preview=True,
)
class Replace(AAZCommand):
"""Replace the provided bare metal machine.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud baremetalmachine restart",
is_preview=True,
)
class Restart(AAZCommand):
"""Restart the provided bare metal machine.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud baremetalmachine run-command",
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 Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud baremetalmachine run-data-extract",
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 Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud baremetalmachine run-read-command",
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 Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud baremetalmachine show",
is_preview=True,
)
class Show(AAZCommand):
"""Get properties of the provided bare metal machine.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud baremetalmachine start",
is_preview=True,
)
class Start(AAZCommand):
"""Start the provided bare metal machine.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud baremetalmachine uncordon",
is_preview=True,
)
class Uncordon(AAZCommand):
"""Uncordon the provided bare metal machine's Kubernetes node.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud baremetalmachine update",
is_preview=True,
)
class Update(AAZCommand):
"""Update properties of the provided bare metal machine, or update tags associated with the bare metal machine. Properties and tag updates can be done independently.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command_group(
"networkcloud cloudservicesnetwork",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage cloud services network
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cloudservicesnetwork create",
is_preview=True,
)
class Create(AAZCommand):
"""Create a new cloud services network or update the properties of the existing cloud services network.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cloudservicesnetwork delete",
is_preview=True,
confirmation="Are you sure you want to perform this operation?",
)
class Delete(AAZCommand):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cloudservicesnetwork list",
is_preview=True,
)
class List(AAZCommand):
"""List cloud services networks in the provided resource group or subscription.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cloudservicesnetwork show",
is_preview=True,
)
class Show(AAZCommand):
"""Get properties of the provided cloud services network.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cloudservicesnetwork update",
is_preview=True,
)
class Update(AAZCommand):
"""Update properties of the provided cloud services network, or update the tags associated with it. Properties and tag updates can be done independently.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

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

@register_command(
"networkcloud cluster create",
is_preview=True,
)
class Create(AAZCommand):
"""Create a new cluster or update the properties of the cluster if it exists.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cluster delete",
is_preview=True,
confirmation="Are you sure you want to perform this operation?",
)
class Delete(AAZCommand):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cluster deploy",
is_preview=True,
)
class Deploy(AAZCommand):
"""Deploy the cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cluster list",
is_preview=True,
)
class List(AAZCommand):
"""List clusters in the provided resource group or subscription.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cluster show",
is_preview=True,
)
class Show(AAZCommand):
"""Get properties of the provided cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cluster update",
is_preview=True,
)
class Update(AAZCommand):
"""Update the properties of the provided cluster, or update the tags associated with the cluster. Properties and tag updates can be done independently.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cluster update-version",
is_preview=True,
)
class UpdateVersion(AAZCommand):
"""Update the version of the provided cluster to one of the available supported versions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command_group(
"networkcloud cluster baremetalmachinekeyset",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage cluster's bare metal machine key set
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cluster baremetalmachinekeyset create",
is_preview=True,
)
class Create(AAZCommand):
"""Create a new bare metal machine key set or update the existing one for the provided cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cluster baremetalmachinekeyset delete",
is_preview=True,
confirmation="Are you sure you want to perform this operation?",
)
class Delete(AAZCommand):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cluster baremetalmachinekeyset list",
is_preview=True,
)
class List(AAZCommand):
"""List bare metal machine key sets of the cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cluster baremetalmachinekeyset show",
is_preview=True,
)
class Show(AAZCommand):
"""Get bare metal machine key set of the provided cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cluster baremetalmachinekeyset update",
is_preview=True,
)
class Update(AAZCommand):
"""Update properties of bare metal machine key set for the provided cluster, or update the tags associated with it. Properties and tag updates can be done independently.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command_group(
"networkcloud cluster bmckeyset",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage cluster's baseboard management controller key set
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cluster bmckeyset create",
is_preview=True,
)
class Create(AAZCommand):
"""Create a new baseboard management controller key set or update the existing one for the provided cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cluster bmckeyset delete",
is_preview=True,
confirmation="Are you sure you want to perform this operation?",
)
class Delete(AAZCommand):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cluster bmckeyset list",
is_preview=True,
)
class List(AAZCommand):
"""List baseboard management controller key sets of the cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cluster bmckeyset show",
is_preview=True,
)
class Show(AAZCommand):
"""Get baseboard management controller key set of the provided cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"networkcloud cluster bmckeyset update",
is_preview=True,
)
class Update(AAZCommand):
"""Update properties of baseboard management controller key set for the provided cluster, or update the tags associated with it. Properties and tag updates can be done independently.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command_group(
"networkcloud cluster metricsconfiguration",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage cluster's metrics configuration
Expand Down
Loading

0 comments on commit 1fdb9b2

Please sign in to comment.