Skip to content

Commit 90b38b0

Browse files
author
Ryan Willis
committed
added info commands
1 parent ba72f2f commit 90b38b0

File tree

6 files changed

+128
-3
lines changed

6 files changed

+128
-3
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: azcmagent genkey CLI reference
3+
description: Syntax for the azcmagent genkey command line tool
4+
author: rpsqrd
5+
ms.author: ryanpu
6+
ms.date: 04/20/2023
7+
---
8+
9+
# azcmagent genkey
10+
11+
Generates a private-public key pair that can be used to onboard a machine asynchronously. This command is reserved for use by Azure Arc virtual machine offerings and is not intended to be directly called by users.
12+
13+
## Usage
14+
15+
```
16+
azcmagent genkey [flags]
17+
```
18+
19+
## Examples
20+
21+
Generate a key pair and print the public key to the console.
22+
23+
```
24+
azcmagent genkey
25+
```
26+
27+
## Flags
28+
29+
[!INCLUDE [common-flags](includes/azcmagent-common-flags.md)]
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: azcmagent help CLI reference
3+
description: Syntax for the azcmagent help command line tool
4+
author: rpsqrd
5+
ms.author: ryanpu
6+
ms.date: 04/20/2023
7+
---
8+
9+
# azcmagent help
10+
11+
Prints usage information and a list of all available commands for the Azure Connected Machine agent CLI. For help with a particular command, use `azcmagent COMMANDNAME --help`.
12+
13+
## Usage
14+
15+
```
16+
azcmagent help [flags]
17+
```
18+
19+
## Examples
20+
21+
Show all available commands for the command line interface
22+
23+
```
24+
azcmagent help
25+
```
26+
27+
## Flags
28+
29+
[!INCLUDE [common-flags](includes/azcmagent-common-flags.md)]
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: azcmagent license CLI reference
3+
description: Syntax for the azcmagent license command line tool
4+
author: rpsqrd
5+
ms.author: ryanpu
6+
ms.date: 04/20/2023
7+
---
8+
9+
# azcmagent license
10+
11+
Show the license agreement for the Azure Connected Machine agent.
12+
13+
## Usage
14+
15+
```
16+
azcmagent license [flags]
17+
```
18+
19+
## Examples
20+
21+
Show the license agreement
22+
23+
```
24+
azcmagent license
25+
```
26+
27+
## Flags
28+
29+
[!INCLUDE [common-flags](includes/azcmagent-common-flags.md)]
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: azcmagent version CLI reference
3+
description: Syntax for the azcmagent version command line tool
4+
author: rpsqrd
5+
ms.author: ryanpu
6+
ms.date: 04/20/2023
7+
---
8+
9+
# azcmagent version
10+
11+
Shows the version of the currently installed agent.
12+
13+
## Usage
14+
15+
```
16+
azcmagent version [flags]
17+
```
18+
19+
## Examples
20+
21+
Show the agent version
22+
23+
```
24+
azcmagent version
25+
```
26+
27+
## Flags
28+
29+
[!INCLUDE [common-flags](includes/azcmagent-common-flags.md)]

articles/azure-arc/servers/azcmagent.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ ms.date: 04/20/2023
1616
| [azcmagent config](azcmagent-config.md) | Manage agent settings |
1717
| [azcmagent connect](azcmagent-connect.md) | Connect the server to Azure Arc |
1818
| [azcmagent disconnect](azcmagent-disconnect.md) | Disconnect the server from Azure Arc |
19-
| azcmagent help | Get help for commands |
20-
| azcmagent license | Display the end-user license agreement |
19+
| [azcmagent genkey](azcmagent-genkey.md) | Generate a public-private key pair for asynchronous onboarding |
20+
| [azcmagent help](azcmagent-help.md) | Get help for commands |
21+
| [azcmagent license](azcmagent-license.md) | Display the end-user license agreement |
2122
| [azcmagent logs](azcmagent-logs.md) | Collect logs to troubleshoot agent issues |
2223
| [azcmagent show](azcmagent-show.md) | Display the agent status |
23-
| azcmagent version Display the agent version |
24+
| [azcmagent version](azcmagent-version.md) | Display the agent version |

articles/azure-arc/servers/toc.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,18 @@
143143
href: azcmagent-connect.md
144144
- name: azcmagent disconnect
145145
href: azcmagent-disconnect.md
146+
- name: azcmagent genkey
147+
href: azcmagent-genkey.md
148+
- name: azcmagent help
149+
href: azcmagent-help.md
150+
- name: azcmagent license
151+
href: azcmagent-license.md
146152
- name: azcmagent logs
147153
href: azcmagent-logs.md
148154
- name: azcmagent show
149155
href: azcmagent-show.md
156+
- name: azcmagent version
157+
href: azcmagent-version.md
150158
- name: Azure CLI
151159
href: /cli/azure/connectedmachine
152160
- name: Azure PowerShell

0 commit comments

Comments
 (0)