You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/operator-nexus/howto-use-vm-console-service.md
+27-18Lines changed: 27 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: sshiba
5
5
ms.author: sidneyshiba
6
6
ms.service: azure-operator-nexus
7
7
ms.topic: how-to
8
-
ms.date: 10/25/2024
8
+
ms.date: 07/22/2025
9
9
ms.custom: template-how-to, devx-track-azurecli
10
10
---
11
11
@@ -47,16 +47,18 @@ To help set up the environment for access to Virtual Machines, define these envi
47
47
> The CM_EXTENDED_LOCATION value can be found with the command `az networkcloud virtualmachine show --name <virtual machine name> --resource-group <virtual machine's resource group> --query "consoleExtendedLocation" | jq -r '.consoleExtendedLocation.name'`.
48
48
49
49
```bash
50
-
# CM_HOSTED_RESOURCES_RESOURCE_GROUP: Cluster Manager resource group name
> When setting the `CONSOLE_PUBLIC_KEY` environment variable, make sure to properly quote the SSH public key value since it contains spaces. For example:
> The SSH public key should be the complete key string including the key type (ssh-rsa, ssh-ed25519, etc.), the key data, and optionally the comment.
85
+
77
86
## Creating Console Resource
78
87
79
88
The Console resource provides the information about the Nexus VM. It provides the VM name, public SSH key, expiration date for the SSH session, and so on.
@@ -82,10 +91,10 @@ This section provides step-by-step guide to help you to create a Console resourc
82
91
83
92
:::image type="content" source="media/vm-console-resource.png" alt-text="Diagram of VM Console Resource." lightbox="media/vm-console-resource.png":::
84
93
85
-
1. To create a ***Console*** resource in the Cluster Manager, you'll need to collect some information, for example, resource group (CM_HOSTED_RESOURCES_RESOURCE_GROUP) and custom location (CM_EXTENDED_LOCATION). You have to provide the resource group but you can retrieve the custom location if you have access rights to execute the following commands:
94
+
1. To create a ***Console*** resource in the Cluster Manager, you'll need to collect some information, for example, resource group (CLUSTER_MANAGER_RESOURCE_GROUP) and custom location (CM_EXTENDED_LOCATION). You have to provide the resource group but you can retrieve the custom location if you have access rights to execute the following commands:
86
95
87
96
```bash
88
-
export cluster_manager_resource_id=$(az resource list -g ${CM_HOSTED_RESOURCES_RESOURCE_GROUP} --query "[?type=='Microsoft.NetworkCloud/clusterManagers'].id" --output tsv)
97
+
export cluster_manager_resource_id=$(az resource list -g ${CLUSTER_MANAGER_RESOURCE_GROUP} --query "[?type=='Microsoft.NetworkCloud/clusterManagers'].id" --output tsv)
:::image type="content" source="media/vm-console-ssh-session.png" alt-text="Diagram of VM Console SSH Session." lightbox="media/vm-console-ssh-session.png":::
@@ -194,7 +203,7 @@ az networkcloud virtualmachine console update \
0 commit comments