Skip to content

Commit

Permalink
Merge pull request #625 from yaotongms/main
Browse files Browse the repository at this point in the history
[connectedmachine] release 2024-07-31 preview api
  • Loading branch information
necusjz authored Nov 18, 2024
2 parents b36ae53 + 7e1ca9f commit ea1a760
Show file tree
Hide file tree
Showing 99 changed files with 10,692 additions and 25 deletions.
11 changes: 11 additions & 0 deletions Commands/connectedmachine/_assess-patches.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ Assess patches on an Azure Arc-Enabled Server.
```bash
connectedmachine assess-patches --resource-group MyResourceGroup --name MyMachine
```

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2Fzc2Vzc3BhdGNoZXM=/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/assesspatches 2024-07-31-preview -->

#### examples

- Sample command for assess-patches
```bash
connectedmachine assess-patches --resource-group MyResourceGroup --name MyMachine
```
11 changes: 11 additions & 0 deletions Commands/connectedmachine/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ Create an Azure Arc-Enabled Server.
```bash
connectedmachine create --name myMachine --resource-group myResourceGroup --location eastus2euap
```

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{} 2024-07-31-preview -->

#### examples

- Sample command for create
```bash
connectedmachine create --name myMachine --resource-group myResourceGroup --location eastus2euap
```
11 changes: 11 additions & 0 deletions Commands/connectedmachine/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ Delete an Azure Arc-Enabled Server.
```bash
connectedmachine delete --name myMachine --resource-group myResourceGroup
```

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{} 2024-07-31-preview -->

#### examples

- Sample command for delete
```bash
connectedmachine delete --name myMachine --resource-group myResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/connectedmachine/_install-patches.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ Install patches on an Azure Arc-Enabled Server.
```bash
connectedmachine install-patches --resource-group MyResourceGroup --name MyMachine --maximum-duration PT4H --reboot-setting IfRequired --windows-parameters "{"classificationsToInclude": ["Critical", "Security"]}"
```

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2luc3RhbGxwYXRjaGVz/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/installpatches 2024-07-31-preview -->

#### examples

- Sample command for install-patches
```bash
connectedmachine install-patches --resource-group MyResourceGroup --name MyMachine --maximum-duration PT4H --reboot-setting IfRequired --windows-parameters "{"classificationsToInclude": ["Critical", "Security"]}"
```
11 changes: 11 additions & 0 deletions Commands/connectedmachine/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,14 @@ List all Azure Arc-Enabled Servers in the specified resource group.
```bash
connectedmachine list --resource-group myResourceGroup
```

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVz/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines 2024-07-31-preview -->

#### examples

- Sample command for list
```bash
connectedmachine list --resource-group myResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/connectedmachine/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ Get information about the model view or the instance view of an Azure Arc-Enable
```bash
connectedmachine show --name myMachine --resource-group myResourceGroup
```

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{} 2024-07-31-preview -->

#### examples

- Sample command for show
```bash
connectedmachine show --name myMachine --resource-group myResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/connectedmachine/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ Update an Azure Arc-Enabled Server. Please note some properties can be set only
```bash
connectedmachine update --name myMachine --resource-group myResourceGroup --location eastus2euap
```

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{} 2024-07-31-preview -->

#### examples

- Sample command for update
```bash
connectedmachine update --name myMachine --resource-group myResourceGroup --location eastus2euap
```
11 changes: 11 additions & 0 deletions Commands/connectedmachine/_upgrade-extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Upgrade Machine Extensions.
```bash
connectedmachine extension upgrade --machine-name "myMachineName" --resource-group "myResourceGroup" --subscription "mySubscription" --targets "{"Microsoft.Compute.CustomScriptExtension": "{"targetVersion": "1.10"}", "Microsoft.Azure.Monitoring": "{"targetVersion": "2.0"}"}"
```

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L3VwZ3JhZGVleHRlbnNpb25z/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/upgradeextensions 2024-07-31-preview -->

#### examples

- Sample command for upgrade-extension
```bash
connectedmachine extension upgrade --machine-name "myMachineName" --resource-group "myResourceGroup" --subscription "mySubscription" --targets "{"Microsoft.Compute.CustomScriptExtension": "{"targetVersion": "1.10"}", "Microsoft.Azure.Monitoring": "{"targetVersion": "2.0"}"}"
```
11 changes: 11 additions & 0 deletions Commands/connectedmachine/extension/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ Create an extension.
```bash
connectedmachine extension create --name CustomScriptExtension --location eastus2euap --type CustomScriptExtension --publisher Microsoft.Compute --type-handler-version 1.10 --machine-name myMachine --resource-group myResourceGroup
```

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2V4dGVuc2lvbnMve30=/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions/{} 2024-07-31-preview -->

#### examples

- Sample command for extension create
```bash
connectedmachine extension create --name CustomScriptExtension --location eastus2euap --type CustomScriptExtension --publisher Microsoft.Compute --type-handler-version 1.10 --machine-name myMachine --resource-group myResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/connectedmachine/extension/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ Delete an extension.
```bash
connectedmachine extension delete --name myName --machine-name myMachine --resource-group myResourceGroup
```

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2V4dGVuc2lvbnMve30=/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions/{} 2024-07-31-preview -->

#### examples

- Sample command for extension delete
```bash
connectedmachine extension delete --name myName --machine-name myMachine --resource-group myResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/connectedmachine/extension/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ Get all extensions of a Non-Azure machine.
```bash
connectedmachine extension list --machine-name myMachine --resource-group myResourceGroup
```

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2V4dGVuc2lvbnM=/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions 2024-07-31-preview -->

#### examples

- Sample command for extension list
```bash
connectedmachine extension list --machine-name myMachine --resource-group myResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/connectedmachine/extension/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ Show an extension of a Non-Azure machine.
```bash
connectedmachine extension show --name CustomScriptExtension --machine-name myMachine --resource-group myResourceGroup
```

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2V4dGVuc2lvbnMve30=/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions/{} 2024-07-31-preview -->

#### examples

- Sample command for extension show
```bash
connectedmachine extension show --name CustomScriptExtension --machine-name myMachine --resource-group myResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/connectedmachine/extension/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ Update an extension.
```bash
connectedmachine extension update --name CustomScriptExtension --type CustomScriptExtension --publisher Microsoft.Compute --type-handler-version 1.10 --machine-name myMachine --resource-group myResourceGroup
```

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2V4dGVuc2lvbnMve30=/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions/{} 2024-07-31-preview -->

#### examples

- Sample command for extension update
```bash
connectedmachine extension update --name CustomScriptExtension --type CustomScriptExtension --publisher Microsoft.Compute --type-handler-version 1.10 --machine-name myMachine --resource-group myResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/connectedmachine/extension/image/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ List all Extension versions based on location, publisher, extensionType.
```bash
connectedmachine extension image list --publisher microsoft.azure.monitor --extension-type azuremonitorlinuxagent --location eastus
```

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL2xvY2F0aW9ucy97fS9wdWJsaXNoZXJzL3t9L2V4dGVuc2lvbnR5cGVzL3t9L3ZlcnNpb25z/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions 2024-07-31-preview -->

#### examples

- Sample command for extension image list
```bash
connectedmachine extension image list --publisher microsoft.azure.monitor --extension-type azuremonitorlinuxagent --location eastus
```
11 changes: 11 additions & 0 deletions Commands/connectedmachine/extension/image/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ Get an Extension Metadata based on location, publisher, extensionType and versio
```bash
connectedmachine extension image show --publisher microsoft.azure.monitor --extension-type azuremonitorlinuxagent --location eastus --version 1.9.1
```

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL2xvY2F0aW9ucy97fS9wdWJsaXNoZXJzL3t9L2V4dGVuc2lvbnR5cGVzL3t9L3ZlcnNpb25zL3t9/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions/{} 2024-07-31-preview -->

#### examples

- Sample command for extension image show
```bash
connectedmachine extension image show --publisher microsoft.azure.monitor --extension-type azuremonitorlinuxagent --location eastus --version 1.9.1
```
13 changes: 12 additions & 1 deletion Commands/connectedmachine/license-profile/_create.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
# [Command] _connectedmachine license-profile create_

Create operation to create or update a license profile.
Create operation to create a license profile.

## Versions

### [2024-05-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2xpY2Vuc2Vwcm9maWxlcy97fQ==/2024-05-20-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles/{} 2024-05-20-preview -->

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2xpY2Vuc2Vwcm9maWxlcy97fQ==/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles/{} 2024-07-31-preview -->

#### examples

- Create a License Profile
```bash
connectedmachine license-profile create --resource-group myRg --machine-name myMachine --location eastus --subscription-status Enabled --product-type WindowsServer --product-features "[{name:Hotpatch,subscription-status:Enabled}]"
```
11 changes: 11 additions & 0 deletions Commands/connectedmachine/license-profile/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,14 @@ Delete operation to delete a license profile.
### [2024-05-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2xpY2Vuc2Vwcm9maWxlcy97fQ==/2024-05-20-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles/{} 2024-05-20-preview -->

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2xpY2Vuc2Vwcm9maWxlcy97fQ==/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles/{} 2024-07-31-preview -->

#### examples

- Delete a License Profile
```bash
connectedmachine license-profile delete --resource-group myResourceGroup --machine-name myMachine
```
11 changes: 11 additions & 0 deletions Commands/connectedmachine/license-profile/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,14 @@ List operation to get all license profiles of a non-Azure machine
### [2024-05-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2xpY2Vuc2Vwcm9maWxlcw==/2024-05-20-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles 2024-05-20-preview -->

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2xpY2Vuc2Vwcm9maWxlcw==/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles 2024-07-31-preview -->

#### examples

- List all License Profiles
```bash
connectedmachine license-profile list --resource-group myResourceGroup --machine-name myMachine
```
11 changes: 11 additions & 0 deletions Commands/connectedmachine/license-profile/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,14 @@ Get information about the view of a license profile.
### [2024-05-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2xpY2Vuc2Vwcm9maWxlcy97fQ==/2024-05-20-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles/{} 2024-05-20-preview -->

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2xpY2Vuc2Vwcm9maWxlcy97fQ==/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles/{} 2024-07-31-preview -->

#### examples

- Get License Profile
```bash
connectedmachine license-profile show --resource-group myResourceGroup --machine-name myMachine
```
13 changes: 12 additions & 1 deletion Commands/connectedmachine/license-profile/_update.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
# [Command] _connectedmachine license-profile update_

Update operation to create or update a license profile.
Update operation to update a license profile.

## Versions

### [2024-05-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2xpY2Vuc2Vwcm9maWxlcy97fQ==/2024-05-20-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles/{} 2024-05-20-preview -->

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2xpY2Vuc2Vwcm9maWxlcy97fQ==/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles/{} 2024-07-31-preview -->

#### examples

- Update a License Profile
```bash
connectedmachine license-profile udpate --resource-group myRg --machine-name myMachine --location eastus --subscription-status Enabled --product-type WindowsServer --product-features "[{name:Hotpatch,subscription-status:Enabled}]"
```
6 changes: 3 additions & 3 deletions Commands/connectedmachine/license-profile/readme.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# [Group] _connectedmachine license-profile_

---
Manages all Pay-As-You-Go licenses for an Azure Arc-Enabled Server.

## Commands

- [create](/Commands/connectedmachine/license-profile/_create.md)
: Create operation to create or update a license profile.
: Create operation to create a license profile.

- [delete](/Commands/connectedmachine/license-profile/_delete.md)
: Delete operation to delete a license profile.
Expand All @@ -17,4 +17,4 @@
: Get information about the view of a license profile.

- [update](/Commands/connectedmachine/license-profile/_update.md)
: Update operation to create or update a license profile.
: Update operation to update a license profile.
11 changes: 11 additions & 0 deletions Commands/connectedmachine/license/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Create a license.
```bash
connectedmachine license create --name licenseName --resource-group myResourceGroup --location 'eastus2euap' --license-type 'ESU' --state 'Activated' --target 'Windows Server 2012' --edition 'Datacenter' --type 'pCore' --processors 16 --subscription mySubscription
```

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL2xpY2Vuc2VzL3t9/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/licenses/{} 2024-07-31-preview -->

#### examples

- Sample command for license create
```bash
connectedmachine license create --name licenseName --resource-group myResourceGroup --location 'eastus2euap' --license-type 'ESU' --state 'Activated' --target 'Windows Server 2012' --edition 'Datacenter' --type 'pCore' --processors 16 --subscription mySubscription
```
11 changes: 11 additions & 0 deletions Commands/connectedmachine/license/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Delete a license.
```bash
connectedmachine license delete --resource-group myResourceGroup --license-name licenseName --subscription mySubscription
```

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL2xpY2Vuc2VzL3t9/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/licenses/{} 2024-07-31-preview -->

#### examples

- Sample command for license delete
```bash
connectedmachine license delete --resource-group myResourceGroup --license-name licenseName --subscription mySubscription
```
11 changes: 11 additions & 0 deletions Commands/connectedmachine/license/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Get all licenses of a non-Azure machine
```bash
connectedmachine license list --subscription mySubscription
```

### [2024-07-31-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL2xpY2Vuc2Vz/2024-07-31-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.hybridcompute/licenses 2024-07-31-preview -->

#### examples

- Sample command for license list
```bash
connectedmachine license list --subscription mySubscription
```
Loading

0 comments on commit ea1a760

Please sign in to comment.