Merge pull request #583 from yaotongms/main

[connectedmachine] release 2024-07-10 stable api
This commit is contained in:
necusjz 2024-10-14 10:31:23 +08:00 коммит произвёл GitHub
Родитель a11d08ebed ffd376221d
Коммит 71a4a91ccd
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
88 изменённых файлов: 9473 добавлений и 0 удалений

Просмотреть файл

@ -25,3 +25,14 @@ Assess patches on an Azure Arc-Enabled Server.
```bash
connectedmachine assess-patches --resource-group MyResourceGroup --name MyMachine
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2Fzc2Vzc3BhdGNoZXM=/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/assesspatches 2024-07-10 -->
#### examples
- Sample command for assess-patches
```bash
connectedmachine assess-patches --resource-group MyResourceGroup --name MyMachine
```

Просмотреть файл

@ -25,3 +25,14 @@ Create an Azure Arc-Enabled Server.
```bash
connectedmachine create --name myMachine --resource-group myResourceGroup --location eastus2euap
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{} 2024-07-10 -->
#### examples
- Sample command for create
```bash
connectedmachine create --name myMachine --resource-group myResourceGroup --location eastus2euap
```

Просмотреть файл

@ -25,3 +25,14 @@ Delete an Azure Arc-Enabled Server.
```bash
connectedmachine delete --name myMachine --resource-group myResourceGroup
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{} 2024-07-10 -->
#### examples
- Sample command for delete
```bash
connectedmachine delete --name myMachine --resource-group myResourceGroup
```

Просмотреть файл

@ -25,3 +25,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-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2luc3RhbGxwYXRjaGVz/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/installpatches 2024-07-10 -->
#### 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"]}"
```

Просмотреть файл

@ -27,3 +27,14 @@ List all Azure Arc-Enabled Servers in the specified resource group.
connectedmachine list --resource-group myResourceGroup
connectedmachine list
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVz/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines 2024-07-10 -->
#### examples
- Sample command for list
```bash
connectedmachine list --resource-group myResourceGroup
```

Просмотреть файл

@ -25,3 +25,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-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{} 2024-07-10 -->
#### examples
- Sample command for show
```bash
connectedmachine show --name myMachine --resource-group myResourceGroup
```

Просмотреть файл

@ -25,3 +25,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-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{} 2024-07-10 -->
#### examples
- Sample command for update
```bash
connectedmachine update --name myMachine --resource-group myResourceGroup --location eastus2euap
```

Просмотреть файл

@ -14,3 +14,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-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L3VwZ3JhZGVleHRlbnNpb25z/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/upgradeextensions 2024-07-10 -->
#### 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"}"}"
```

Просмотреть файл

@ -25,3 +25,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-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2V4dGVuc2lvbnMve30=/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions/{} 2024-07-10 -->
#### 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
```

Просмотреть файл

@ -25,3 +25,14 @@ Delete an extension.
```bash
connectedmachine extension delete --name myName --machine-name myMachine --resource-group myResourceGroup
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2V4dGVuc2lvbnMve30=/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions/{} 2024-07-10 -->
#### examples
- Sample command for extension delete
```bash
connectedmachine extension delete --name myName --machine-name myMachine --resource-group myResourceGroup
```

Просмотреть файл

@ -25,3 +25,14 @@ Get all extensions of a Non-Azure machine.
```bash
connectedmachine extension list --machine-name myMachine --resource-group myResourceGroup
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2V4dGVuc2lvbnM=/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions 2024-07-10 -->
#### examples
- Sample command for extension list
```bash
connectedmachine extension list --machine-name myMachine --resource-group myResourceGroup
```

Просмотреть файл

@ -25,3 +25,14 @@ Show an extension of a Non-Azure machine.
```bash
connectedmachine extension show --name CustomScriptExtension --machine-name myMachine --resource-group myResourceGroup
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2V4dGVuc2lvbnMve30=/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions/{} 2024-07-10 -->
#### examples
- Sample command for extension show
```bash
connectedmachine extension show --name CustomScriptExtension --machine-name myMachine --resource-group myResourceGroup
```

Просмотреть файл

@ -25,3 +25,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-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL21hY2hpbmVzL3t9L2V4dGVuc2lvbnMve30=/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions/{} 2024-07-10 -->
#### 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
```

Просмотреть файл

@ -25,3 +25,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-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL2xvY2F0aW9ucy97fS9wdWJsaXNoZXJzL3t9L2V4dGVuc2lvbnR5cGVzL3t9L3ZlcnNpb25z/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions 2024-07-10 -->
#### examples
- Sample command for extension image list
```bash
connectedmachine extension image list --publisher microsoft.azure.monitor --extension-type azuremonitorlinuxagent --location eastus
```

Просмотреть файл

@ -25,3 +25,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-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL2xvY2F0aW9ucy97fS9wdWJsaXNoZXJzL3t9L2V4dGVuc2lvbnR5cGVzL3t9L3ZlcnNpb25zL3t9/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions/{} 2024-07-10 -->
#### 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
```

Просмотреть файл

@ -0,0 +1,9 @@
# [Command] _connectedmachine license-profile create_
Create operation to create or 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 -->

Просмотреть файл

@ -0,0 +1,9 @@
# [Command] _connectedmachine license-profile delete_
Delete operation to delete 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 -->

Просмотреть файл

@ -0,0 +1,9 @@
# [Command] _connectedmachine license-profile list_
List operation to get all license profiles of a non-Azure machine
## Versions
### [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 -->

Просмотреть файл

@ -0,0 +1,9 @@
# [Command] _connectedmachine license-profile show_
Get information about the view of 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 -->

Просмотреть файл

@ -0,0 +1,9 @@
# [Command] _connectedmachine license-profile update_
Update operation to create or 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 -->

Просмотреть файл

@ -0,0 +1,20 @@
# [Group] _connectedmachine license-profile_
---
## Commands
- [create](/Commands/connectedmachine/license-profile/_create.md)
: Create operation to create or update a license profile.
- [delete](/Commands/connectedmachine/license-profile/_delete.md)
: Delete operation to delete a license profile.
- [list](/Commands/connectedmachine/license-profile/_list.md)
: List operation to get all license profiles of a non-Azure machine
- [show](/Commands/connectedmachine/license-profile/_show.md)
: 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.

Просмотреть файл

@ -14,3 +14,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-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL2xpY2Vuc2VzL3t9/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/licenses/{} 2024-07-10 -->
#### 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
```

Просмотреть файл

@ -14,3 +14,14 @@ Delete a license.
```bash
connectedmachine license delete --resource-group myResourceGroup --license-name licenseName --subscription mySubscription
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL2xpY2Vuc2VzL3t9/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/licenses/{} 2024-07-10 -->
#### examples
- Sample command for license delete
```bash
connectedmachine license delete --resource-group myResourceGroup --license-name licenseName --subscription mySubscription
```

Просмотреть файл

@ -14,3 +14,14 @@ Get all licenses of a non-Azure machine
```bash
connectedmachine license list --subscription mySubscription
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL2xpY2Vuc2Vz/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.hybridcompute/licenses 2024-07-10 -->
#### examples
- Sample command for license list
```bash
connectedmachine license list --subscription mySubscription
```

Просмотреть файл

@ -14,3 +14,14 @@ Get information about the view of a license.
```bash
connectedmachine license show --resource-group myResourceGroup --license-name licenseName --subscription mySubscription
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL2xpY2Vuc2VzL3t9/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/licenses/{} 2024-07-10 -->
#### examples
- Sample command for license show
```bash
connectedmachine license show --resource-group myResourceGroup --license-name licenseName --subscription mySubscription
```

Просмотреть файл

@ -14,3 +14,14 @@ Update operation to update a license.
```bash
connectedmachine license create --name licenseName --resource-group myResourceGroup --location 'eastus2euap' --license-type 'ESU' --state 'Deactivated' --target 'Windows Server 2012' --edition 'Datacenter' --type 'pCore' --processors 16 --subscription mySubscription
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL2xpY2Vuc2VzL3t9/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/licenses/{} 2024-07-10 -->
#### examples
- Sample command for license update
```bash
connectedmachine license create --name licenseName --resource-group myResourceGroup --location 'eastus2euap' --license-type 'ESU' --state 'Deactivated' --target 'Windows Server 2012' --edition 'Datacenter' --type 'pCore' --processors 16 --subscription mySubscription
```

Просмотреть файл

@ -11,3 +11,7 @@ Create a private endpoint connection with a given name.
### [2024-05-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL3ByaXZhdGVsaW5rc2NvcGVzL3t9L3ByaXZhdGVlbmRwb2ludGNvbm5lY3Rpb25zL3t9/2024-05-20-preview.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privateendpointconnections/{} 2024-05-20-preview -->
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL3ByaXZhdGVsaW5rc2NvcGVzL3t9L3ByaXZhdGVlbmRwb2ludGNvbm5lY3Rpb25zL3t9/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privateendpointconnections/{} 2024-07-10 -->

Просмотреть файл

@ -25,3 +25,14 @@ Delete a private endpoint connection with a given name.
```bash
connectedmachine private-endpoint-connection delete --name private-endpoint-connection-name --resource-group myResourceGroup --scope-name myPrivateLinkScope
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL3ByaXZhdGVsaW5rc2NvcGVzL3t9L3ByaXZhdGVlbmRwb2ludGNvbm5lY3Rpb25zL3t9/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privateendpointconnections/{} 2024-07-10 -->
#### examples
- Sample command for private-endpoint-connection delete
```bash
connectedmachine private-endpoint-connection delete --name private-endpoint-connection-name --resource-group myResourceGroup --scope-name myPrivateLinkScope
```

Просмотреть файл

@ -25,3 +25,14 @@ List all private endpoint connections on a private link scope.
```bash
connectedmachine private-endpoint-connection list --resource-group myResourceGroup --scope-name myPrivateLinkScope
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL3ByaXZhdGVsaW5rc2NvcGVzL3t9L3ByaXZhdGVlbmRwb2ludGNvbm5lY3Rpb25z/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privateendpointconnections 2024-07-10 -->
#### examples
- Sample command for private-endpoint-connection list
```bash
connectedmachine private-endpoint-connection list --resource-group myResourceGroup --scope-name myPrivateLinkScope
```

Просмотреть файл

@ -25,3 +25,14 @@ Get a private endpoint connection.
```bash
connectedmachine private-endpoint-connection show --name private-endpoint-connection-name --resource-group myResourceGroup --scope-name myPrivateLinkScope
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL3ByaXZhdGVsaW5rc2NvcGVzL3t9L3ByaXZhdGVlbmRwb2ludGNvbm5lY3Rpb25zL3t9/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privateendpointconnections/{} 2024-07-10 -->
#### examples
- Sample command for private-endpoint-connection show
```bash
connectedmachine private-endpoint-connection show --name private-endpoint-connection-name --resource-group myResourceGroup --scope-name myPrivateLinkScope
```

Просмотреть файл

@ -25,3 +25,14 @@ Update a private endpoint connection with a given name.
```bash
connectedmachine private-endpoint-connection update --description "Rejected by AZ CLI" --status "Rejected" --name private-endpoint-connection-name --resource-group myResourceGroup --scope-name myPrivateLinkScope
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL3ByaXZhdGVsaW5rc2NvcGVzL3t9L3ByaXZhdGVlbmRwb2ludGNvbm5lY3Rpb25zL3t9/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privateendpointconnections/{} 2024-07-10 -->
#### examples
- Sample command for private-endpoint-connection update
```bash
connectedmachine private-endpoint-connection update --description "Rejected by AZ CLI" --status "Rejected" --name private-endpoint-connection-name --resource-group myResourceGroup --scope-name myPrivateLinkScope
```

Просмотреть файл

@ -25,3 +25,14 @@ List the private link resources that need to be created for an Azure Monitor Pri
```bash
connectedmachine private-link-resource list --resource-group myResourceGroup --scope-name myPrivateLinkScope
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL3ByaXZhdGVsaW5rc2NvcGVzL3t9L3ByaXZhdGVsaW5rcmVzb3VyY2Vz/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privatelinkresources 2024-07-10 -->
#### examples
- Sample command for private-link-resource list
```bash
connectedmachine private-link-resource list --resource-group myResourceGroup --scope-name myPrivateLinkScope
```

Просмотреть файл

@ -25,3 +25,14 @@ Get the private link resources that need to be created for an Azure Monitor Priv
```bash
connectedmachine private-link-resource show --group-name hybridcompute --resource-group myResourceGroup --scope-name myPrivateLinkScope
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL3ByaXZhdGVsaW5rc2NvcGVzL3t9L3ByaXZhdGVsaW5rcmVzb3VyY2VzL3t9/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privatelinkresources/{} 2024-07-10 -->
#### examples
- Sample command for private-link-resource show
```bash
connectedmachine private-link-resource show --group-name hybridcompute --resource-group myResourceGroup --scope-name myPrivateLinkScope
```

Просмотреть файл

@ -25,3 +25,14 @@ Create an Azure Arc PrivateLinkScope. Note: You cannot specify a different value
```bash
connectedmachine private-link-scope create --location westus --resource-group my-resource-group --scope-name my-privatelinkscope
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL3ByaXZhdGVsaW5rc2NvcGVzL3t9/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{} 2024-07-10 -->
#### examples
- Sample command for private-link-scope create
```bash
connectedmachine private-link-scope create --location westus --resource-group my-resource-group --scope-name my-privatelinkscope
```

Просмотреть файл

@ -25,3 +25,14 @@ Delete an Azure Arc PrivateLinkScope.
```bash
connectedmachine private-link-scope delete --resource-group my-resource-group --scope-name my-privatelinkscope
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL3ByaXZhdGVsaW5rc2NvcGVzL3t9/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{} 2024-07-10 -->
#### examples
- Sample command for private-link-scope delete
```bash
connectedmachine private-link-scope delete --resource-group my-resource-group --scope-name my-privatelinkscope
```

Просмотреть файл

@ -29,3 +29,16 @@ Get a list of Azure Arc PrivateLinkScopes for a resource group or a subscription
connectedmachine private-link-scope list --resource-group my-resource-group
connectedmachine private-link-scope list
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL3ByaXZhdGVsaW5rc2NvcGVz/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.hybridcompute/privatelinkscopes 2024-07-10 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes 2024-07-10 -->
#### examples
- Sample command for private-link-scope list
```bash
connectedmachine private-link-scope list --resource-group my-resource-group
connectedmachine private-link-scope list
```

Просмотреть файл

@ -25,3 +25,14 @@ Get an Azure Arc PrivateLinkScope.
```bash
connectedmachine private-link-scope show --resource-group my-resource-group --scope-name my-privatelinkscope
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL3ByaXZhdGVsaW5rc2NvcGVzL3t9/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{} 2024-07-10 -->
#### examples
- Sample command for private-link-scope show
```bash
connectedmachine private-link-scope show --resource-group my-resource-group --scope-name my-privatelinkscope
```

Просмотреть файл

@ -25,3 +25,14 @@ Update an Azure Arc PrivateLinkScope. Note: You cannot
```bash
connectedmachine private-link-scope update --location westus --tags Tag1=Value1 --resource-group my-resource-group --scope-name my-privatelinkscope
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL3ByaXZhdGVsaW5rc2NvcGVzL3t9/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{} 2024-07-10 -->
#### examples
- Sample command for private-link-scope update
```bash
connectedmachine private-link-scope update --location westus --tags Tag1=Value1 --resource-group my-resource-group --scope-name my-privatelinkscope
```

Просмотреть файл

@ -14,3 +14,14 @@ List the network security perimeter configurations for a private link scope.
```bash
connectedmachine private-link-scope network-security-perimeter-configuration list --resource-group myResourceGroup --scope-name myPrivateLinkScope --subscription mySubscription
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL3ByaXZhdGVsaW5rc2NvcGVzL3t9L25ldHdvcmtzZWN1cml0eXBlcmltZXRlcmNvbmZpZ3VyYXRpb25z/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/networksecurityperimeterconfigurations 2024-07-10 -->
#### examples
- Sample command for NSP list
```bash
connectedmachine private-link-scope network-security-perimeter-configuration list --resource-group myResourceGroup --scope-name myPrivateLinkScope --subscription mySubscription
```

Просмотреть файл

@ -14,3 +14,14 @@ Forces the network security perimeter configuration to refresh for a private lin
```bash
connectedmachine private-link-scope network-security-perimeter-configuration reconcile --resource-group myResourceGroup --scope-name myPrivateLinkScope --perimeter-name aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL3ByaXZhdGVsaW5rc2NvcGVzL3t9L25ldHdvcmtzZWN1cml0eXBlcmltZXRlcmNvbmZpZ3VyYXRpb25zL3t9L3JlY29uY2lsZQ==/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/networksecurityperimeterconfigurations/{}/reconcile 2024-07-10 -->
#### examples
- Sample command for NSP reconcile
```bash
connectedmachine private-link-scope network-security-perimeter-configuration reconcile --resource-group myResourceGroup --scope-name myPrivateLinkScope --perimeter-name aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation
```

Просмотреть файл

@ -14,3 +14,14 @@ Get the network security perimeter configuration for a private link scope.
```bash
connectedmachine private-link-scope network-security-perimeter-configuration show --resource-group myResourceGroup --scope-name myPrivateLinkScope --perimeter-name aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation --subscription mySubscription
```
### [2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL3ByaXZhdGVsaW5rc2NvcGVzL3t9L25ldHdvcmtzZWN1cml0eXBlcmltZXRlcmNvbmZpZ3VyYXRpb25zL3t9/2024-07-10.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/networksecurityperimeterconfigurations/{} 2024-07-10 -->
#### examples
- Sample command for NSP show
```bash
connectedmachine private-link-scope network-security-perimeter-configuration show --resource-group myResourceGroup --scope-name myPrivateLinkScope --perimeter-name aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation --subscription mySubscription
```

Просмотреть файл

@ -10,6 +10,9 @@ Manage Azure Arc-Enabled Server.
- [license](/Commands/connectedmachine/license/readme.md)
: Manage ESU license on an Azure Arc-Enabled Server.
- [license-profile](/Commands/connectedmachine/license-profile/readme.md)
: ---
- [private-endpoint-connection](/Commands/connectedmachine/private-endpoint-connection/readme.md)
: Manage private endpoint connection with an Azure Arc-Enabled Server.

Просмотреть файл

@ -18801,6 +18801,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine extension image list --publisher microsoft.azure.monitor --extension-type azuremonitorlinuxagent --location eastus"
],
"name": "Sample command for extension image list"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -18850,6 +18868,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine extension image show --publisher microsoft.azure.monitor --extension-type azuremonitorlinuxagent --location eastus --version 1.9.1"
],
"name": "Sample command for extension image show"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
}
@ -18910,6 +18946,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine extension create --name CustomScriptExtension --location eastus2euap --type CustomScriptExtension --publisher Microsoft.Compute --type-handler-version 1.10 --machine-name myMachine --resource-group myResourceGroup"
],
"name": "Sample command for extension create"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -18958,6 +19012,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine extension delete --name myName --machine-name myMachine --resource-group myResourceGroup"
],
"name": "Sample command for extension delete"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -19006,6 +19078,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine extension list --machine-name myMachine --resource-group myResourceGroup"
],
"name": "Sample command for extension list"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -19054,6 +19144,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine extension show --name CustomScriptExtension --machine-name myMachine --resource-group myResourceGroup"
],
"name": "Sample command for extension show"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -19102,6 +19210,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine extension update --name CustomScriptExtension --type CustomScriptExtension --publisher Microsoft.Compute --type-handler-version 1.10 --machine-name myMachine --resource-group myResourceGroup"
],
"name": "Sample command for extension update"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
}
@ -19143,6 +19269,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"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"
],
"name": "Sample command for license create"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/licenses/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -19173,6 +19317,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine license delete --resource-group myResourceGroup --license-name licenseName --subscription mySubscription"
],
"name": "Sample command for license delete"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/licenses/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -19203,6 +19365,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine license list --subscription mySubscription"
],
"name": "Sample command for license list"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/providers/microsoft.hybridcompute/licenses",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -19233,6 +19413,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine license show --resource-group myResourceGroup --license-name licenseName --subscription mySubscription"
],
"name": "Sample command for license show"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/licenses/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -19263,6 +19461,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine license create --name licenseName --resource-group myResourceGroup --location 'eastus2euap' --license-type 'ESU' --state 'Deactivated' --target 'Windows Server 2012' --edition 'Datacenter' --type 'pCore' --processors 16 --subscription mySubscription"
],
"name": "Sample command for license update"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/licenses/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
}
@ -19275,6 +19491,127 @@
"license"
]
},
"license-profile": {
"commands": {
"create": {
"help": {
"short": "Create operation to create or update a license profile."
},
"names": [
"connectedmachine",
"license-profile",
"create"
],
"versions": [
{
"name": "2024-05-20-preview",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles/{}",
"plane": "mgmt-plane",
"version": "2024-05-20-preview"
}
]
}
]
},
"delete": {
"help": {
"short": "Delete operation to delete a license profile."
},
"names": [
"connectedmachine",
"license-profile",
"delete"
],
"versions": [
{
"name": "2024-05-20-preview",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles/{}",
"plane": "mgmt-plane",
"version": "2024-05-20-preview"
}
]
}
]
},
"list": {
"help": {
"short": "List operation to get all license profiles of a non-Azure machine"
},
"names": [
"connectedmachine",
"license-profile",
"list"
],
"versions": [
{
"name": "2024-05-20-preview",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles",
"plane": "mgmt-plane",
"version": "2024-05-20-preview"
}
]
}
]
},
"show": {
"help": {
"short": "Get information about the view of a license profile."
},
"names": [
"connectedmachine",
"license-profile",
"show"
],
"versions": [
{
"name": "2024-05-20-preview",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles/{}",
"plane": "mgmt-plane",
"version": "2024-05-20-preview"
}
]
}
]
},
"update": {
"help": {
"short": "Update operation to create or update a license profile."
},
"names": [
"connectedmachine",
"license-profile",
"update"
],
"versions": [
{
"name": "2024-05-20-preview",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles/{}",
"plane": "mgmt-plane",
"version": "2024-05-20-preview"
}
]
}
]
}
},
"help": {
"short": "---"
},
"names": [
"connectedmachine",
"license-profile"
]
},
"private-endpoint-connection": {
"commands": {
"create": {
@ -19306,6 +19643,16 @@
"version": "2024-05-20-preview"
}
]
},
{
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privateendpointconnections/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -19354,6 +19701,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine private-endpoint-connection delete --name private-endpoint-connection-name --resource-group myResourceGroup --scope-name myPrivateLinkScope"
],
"name": "Sample command for private-endpoint-connection delete"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privateendpointconnections/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -19402,6 +19767,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine private-endpoint-connection list --resource-group myResourceGroup --scope-name myPrivateLinkScope"
],
"name": "Sample command for private-endpoint-connection list"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privateendpointconnections",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -19450,6 +19833,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine private-endpoint-connection show --name private-endpoint-connection-name --resource-group myResourceGroup --scope-name myPrivateLinkScope"
],
"name": "Sample command for private-endpoint-connection show"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privateendpointconnections/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -19498,6 +19899,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine private-endpoint-connection update --description \"Rejected by AZ CLI\" --status \"Rejected\" --name private-endpoint-connection-name --resource-group myResourceGroup --scope-name myPrivateLinkScope"
],
"name": "Sample command for private-endpoint-connection update"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privateendpointconnections/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
}
@ -19557,6 +19976,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine private-link-resource list --resource-group myResourceGroup --scope-name myPrivateLinkScope"
],
"name": "Sample command for private-link-resource list"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privatelinkresources",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -19605,6 +20042,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine private-link-resource show --group-name hybridcompute --resource-group myResourceGroup --scope-name myPrivateLinkScope"
],
"name": "Sample command for private-link-resource show"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privatelinkresources/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
}
@ -19649,6 +20104,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine private-link-scope network-security-perimeter-configuration list --resource-group myResourceGroup --scope-name myPrivateLinkScope --subscription mySubscription"
],
"name": "Sample command for NSP list"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/networksecurityperimeterconfigurations",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -19680,6 +20153,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine private-link-scope network-security-perimeter-configuration reconcile --resource-group myResourceGroup --scope-name myPrivateLinkScope --perimeter-name aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation"
],
"name": "Sample command for NSP reconcile"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/networksecurityperimeterconfigurations/{}/reconcile",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -19711,6 +20202,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine private-link-scope network-security-perimeter-configuration show --resource-group myResourceGroup --scope-name myPrivateLinkScope --perimeter-name aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation --subscription mySubscription"
],
"name": "Sample command for NSP show"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/networksecurityperimeterconfigurations/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
}
@ -19771,6 +20280,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine private-link-scope create --location westus --resource-group my-resource-group --scope-name my-privatelinkscope"
],
"name": "Sample command for private-link-scope create"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -19819,6 +20346,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine private-link-scope delete --resource-group my-resource-group --scope-name my-privatelinkscope"
],
"name": "Sample command for private-link-scope delete"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -19879,6 +20424,30 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine private-link-scope list --resource-group my-resource-group",
"connectedmachine private-link-scope list"
],
"name": "Sample command for private-link-scope list"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/providers/microsoft.hybridcompute/privatelinkscopes",
"plane": "mgmt-plane",
"version": "2024-07-10"
},
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -19927,6 +20496,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine private-link-scope show --resource-group my-resource-group --scope-name my-privatelinkscope"
],
"name": "Sample command for private-link-scope show"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -19975,6 +20562,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine private-link-scope update --location westus --tags Tag1=Value1 --resource-group my-resource-group --scope-name my-privatelinkscope"
],
"name": "Sample command for private-link-scope update"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
}
@ -20285,6 +20890,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine assess-patches --resource-group MyResourceGroup --name MyMachine"
],
"name": "Sample command for assess-patches"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/assesspatches",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -20332,6 +20955,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine create --name myMachine --resource-group myResourceGroup --location eastus2euap"
],
"name": "Sample command for create"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -20379,6 +21020,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine delete --name myMachine --resource-group myResourceGroup"
],
"name": "Sample command for delete"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -20426,6 +21085,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine install-patches --resource-group MyResourceGroup --name MyMachine --maximum-duration PT4H --reboot-setting IfRequired --windows-parameters \"{\"classificationsToInclude\": [\"Critical\", \"Security\"]}\""
],
"name": "Sample command for install-patches"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/installpatches",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -20475,6 +21152,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine list --resource-group myResourceGroup"
],
"name": "Sample command for list"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -20522,6 +21217,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine show --name myMachine --resource-group myResourceGroup"
],
"name": "Sample command for show"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -20569,6 +21282,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine update --name myMachine --resource-group myResourceGroup --location eastus2euap"
],
"name": "Sample command for update"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
},
@ -20598,6 +21329,24 @@
"version": "2024-05-20-preview"
}
]
},
{
"examples": [
{
"commands": [
"connectedmachine extension upgrade --machine-name \"myMachineName\" --resource-group \"myResourceGroup\" --subscription \"mySubscription\" --targets \"{\"Microsoft.Compute.CustomScriptExtension\": \"{\"targetVersion\": \"1.10\"}\", \"Microsoft.Azure.Monitoring\": \"{\"targetVersion\": \"2.0\"}\"}\""
],
"name": "Sample command for upgrade-extension"
}
],
"name": "2024-07-10",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/upgradeextensions",
"plane": "mgmt-plane",
"version": "2024-07-10"
}
]
}
]
}

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.hybridcompute/licenses", "version": "2024-07-10", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lkh5YnJpZENvbXB1dGUvbGljZW5zZXM=/V/MjAyNC0wNy0xMA=="}], "commandGroups": [{"name": "connectedmachine license", "commands": [{"name": "list", "version": "2024-07-10", "resources": [{"id": "/subscriptions/{}/providers/microsoft.hybridcompute/licenses", "version": "2024-07-10", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lkh5YnJpZENvbXB1dGUvbGljZW5zZXM=/V/MjAyNC0wNy0xMA=="}], "argGroups": [{"name": "", "args": [{"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Licenses_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/licenses", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-10"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/licenses/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "licenseDetails", "props": [{"readOnly": true, "type": "integer32", "name": "assignedLicenses"}, {"type": "string", "name": "edition", "enum": {"items": [{"value": "Datacenter"}, {"value": "Standard"}]}}, {"readOnly": true, "type": "string", "name": "immutableId"}, {"type": "integer32", "name": "processors"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Activated"}, {"value": "Deactivated"}]}}, {"type": "string", "name": "target", "enum": {"items": [{"value": "Windows Server 2012"}, {"value": "Windows Server 2012 R2"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "pCore"}, {"value": "vCore"}]}}, {"type": "array<object>", "name": "volumeLicenseDetails", "item": {"type": "object", "props": [{"type": "string", "name": "invoiceId"}, {"type": "string", "name": "programYear", "enum": {"items": [{"value": "Year 1"}, {"value": "Year 2"}, {"value": "Year 3"}]}}]}}]}, {"type": "string", "name": "licenseType", "enum": {"items": [{"value": "ESU"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "tenantId"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,144 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/providers/microsoft.hybridcompute/licenses" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lkh5YnJpZENvbXB1dGUvbGljZW5zZXM=/V/MjAyNC0wNy0xMA=="/>
<commandGroup name="connectedmachine license">
<command name="list" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/providers/microsoft.hybridcompute/licenses" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lkh5YnJpZENvbXB1dGUvbGljZW5zZXM=/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="Licenses_ListBySubscription">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/licenses">
<request method="get">
<path>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="string" name="nextLink"/>
<prop type="array<object>" name="value" required="True">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/licenses/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="object" name="licenseDetails">
<prop readOnly="True" type="integer32" name="assignedLicenses"/>
<prop type="string" name="edition">
<enum>
<item value="&quot;Datacenter&quot;"/>
<item value="&quot;Standard&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="immutableId"/>
<prop type="integer32" name="processors"/>
<prop type="string" name="state">
<enum>
<item value="&quot;Activated&quot;"/>
<item value="&quot;Deactivated&quot;"/>
</enum>
</prop>
<prop type="string" name="target">
<enum>
<item value="&quot;Windows Server 2012&quot;"/>
<item value="&quot;Windows Server 2012 R2&quot;"/>
</enum>
</prop>
<prop type="string" name="type">
<enum>
<item value="&quot;pCore&quot;"/>
<item value="&quot;vCore&quot;"/>
</enum>
</prop>
<prop type="array<object>" name="volumeLicenseDetails">
<item type="object">
<prop type="string" name="invoiceId"/>
<prop type="string" name="programYear">
<enum>
<item value="&quot;Year 1&quot;"/>
<item value="&quot;Year 2&quot;"/>
<item value="&quot;Year 3&quot;"/>
</enum>
</prop>
</item>
</prop>
</prop>
<prop type="string" name="licenseType">
<enum>
<item value="&quot;ESU&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value="&quot;Accepted&quot;"/>
<item value="&quot;Canceled&quot;"/>
<item value="&quot;Creating&quot;"/>
<item value="&quot;Deleted&quot;"/>
<item value="&quot;Deleting&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Succeeded&quot;"/>
<item value="&quot;Updating&quot;"/>
</enum>
</prop>
<prop type="string" name="tenantId"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions", "version": "2024-07-10", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lkh5YnJpZENvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vcHVibGlzaGVycy97cHVibGlzaGVyfS9leHRlbnNpb25UeXBlcy97ZXh0ZW5zaW9uVHlwZX0vdmVyc2lvbnM=/V/MjAyNC0wNy0xMA=="}], "commandGroups": [{"name": "connectedmachine extension image", "commands": [{"name": "list", "version": "2024-07-10", "resources": [{"id": "/subscriptions/{}/providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions", "version": "2024-07-10", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lkh5YnJpZENvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vcHVibGlzaGVycy97cHVibGlzaGVyfS9leHRlbnNpb25UeXBlcy97ZXh0ZW5zaW9uVHlwZX0vdmVyc2lvbnM=/V/MjAyNC0wNy0xMA=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.extensionType", "options": ["type", "extension-type"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The extensionType of the Extension being received."}}, {"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "string", "var": "$Path.publisher", "options": ["p", "publisher"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The publisher of the Extension being received."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "ExtensionMetadata_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "extensionType", "arg": "$Path.extensionType", "required": true}, {"type": "string", "name": "location", "arg": "$Path.location", "required": true}, {"type": "string", "name": "publisher", "arg": "$Path.publisher", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-10"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/providers/Microsoft.HybridCompute/locations/{}/publishers/{}/extensionTypes/{}/versions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "extensionType"}, {"readOnly": true, "type": "string", "name": "publisher"}, {"readOnly": true, "type": "string", "name": "version"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,91 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lkh5YnJpZENvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vcHVibGlzaGVycy97cHVibGlzaGVyfS9leHRlbnNpb25UeXBlcy97ZXh0ZW5zaW9uVHlwZX0vdmVyc2lvbnM=/V/MjAyNC0wNy0xMA=="/>
<commandGroup name="connectedmachine extension image">
<command name="list" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lkh5YnJpZENvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vcHVibGlzaGVycy97cHVibGlzaGVyfS9leHRlbnNpb25UeXBlcy97ZXh0ZW5zaW9uVHlwZX0vdmVyc2lvbnM=/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.extensionType" options="extension-type type" required="True" group="" idPart="child_name_2">
<help short="The extensionType of the Extension being received."/>
</arg>
<arg type="ResourceLocation" var="$Path.location" options="location l" required="True" idPart="name"/>
<arg type="string" var="$Path.publisher" options="publisher p" required="True" group="" idPart="child_name_1">
<help short="The publisher of the Extension being received."/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="ExtensionMetadata_List">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions">
<request method="get">
<path>
<param type="string" name="extensionType" arg="$Path.extensionType" required="True"/>
<param type="string" name="location" arg="$Path.location" required="True"/>
<param type="string" name="publisher" arg="$Path.publisher" required="True"/>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="array<object>" name="value">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/providers/Microsoft.HybridCompute/locations/{}/publishers/{}/extensionTypes/{}/versions/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop readOnly="True" type="string" name="extensionType"/>
<prop readOnly="True" type="string" name="publisher"/>
<prop readOnly="True" type="string" name="version"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions/{}", "version": "2024-07-10", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lkh5YnJpZENvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vcHVibGlzaGVycy97cHVibGlzaGVyfS9leHRlbnNpb25UeXBlcy97ZXh0ZW5zaW9uVHlwZX0vdmVyc2lvbnMve3ZlcnNpb259/V/MjAyNC0wNy0xMA=="}], "commandGroups": [{"name": "connectedmachine extension image", "commands": [{"name": "show", "version": "2024-07-10", "resources": [{"id": "/subscriptions/{}/providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions/{}", "version": "2024-07-10", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lkh5YnJpZENvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vcHVibGlzaGVycy97cHVibGlzaGVyfS9leHRlbnNpb25UeXBlcy97ZXh0ZW5zaW9uVHlwZX0vdmVyc2lvbnMve3ZlcnNpb259/V/MjAyNC0wNy0xMA=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.extensionType", "options": ["type", "extension-type"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The extensionType of the Extension being received."}}, {"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "string", "var": "$Path.publisher", "options": ["p", "publisher"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The publisher of the Extension being received."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.version", "options": ["n", "name", "version"], "required": true, "idPart": "child_name_3", "help": {"short": "The version of the Extension being received."}}]}], "operations": [{"operationId": "ExtensionMetadata_Get", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions/{version}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "extensionType", "arg": "$Path.extensionType", "required": true}, {"type": "string", "name": "location", "arg": "$Path.location", "required": true}, {"type": "string", "name": "publisher", "arg": "$Path.publisher", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "version", "arg": "$Path.version", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-10"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/providers/Microsoft.HybridCompute/locations/{}/publishers/{}/extensionTypes/{}/versions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "extensionType"}, {"readOnly": true, "type": "string", "name": "publisher"}, {"readOnly": true, "type": "string", "name": "version"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,91 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lkh5YnJpZENvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vcHVibGlzaGVycy97cHVibGlzaGVyfS9leHRlbnNpb25UeXBlcy97ZXh0ZW5zaW9uVHlwZX0vdmVyc2lvbnMve3ZlcnNpb259/V/MjAyNC0wNy0xMA=="/>
<commandGroup name="connectedmachine extension image">
<command name="show" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/providers/microsoft.hybridcompute/locations/{}/publishers/{}/extensiontypes/{}/versions/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lkh5YnJpZENvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vcHVibGlzaGVycy97cHVibGlzaGVyfS9leHRlbnNpb25UeXBlcy97ZXh0ZW5zaW9uVHlwZX0vdmVyc2lvbnMve3ZlcnNpb259/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.extensionType" options="extension-type type" required="True" group="" idPart="child_name_2">
<help short="The extensionType of the Extension being received."/>
</arg>
<arg type="ResourceLocation" var="$Path.location" options="location l" required="True" idPart="name"/>
<arg type="string" var="$Path.publisher" options="publisher p" required="True" group="" idPart="child_name_1">
<help short="The publisher of the Extension being received."/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
<arg type="string" var="$Path.version" options="version name n" required="True" idPart="child_name_3">
<help short="The version of the Extension being received."/>
</arg>
</argGroup>
<operation operationId="ExtensionMetadata_Get">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions/{version}">
<request method="get">
<path>
<param type="string" name="extensionType" arg="$Path.extensionType" required="True"/>
<param type="string" name="location" arg="$Path.location" required="True"/>
<param type="string" name="publisher" arg="$Path.publisher" required="True"/>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
<param type="string" name="version" arg="$Path.version" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/providers/Microsoft.HybridCompute/locations/{}/publishers/{}/extensionTypes/{}/versions/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop readOnly="True" type="string" name="extensionType"/>
<prop readOnly="True" type="string" name="publisher"/>
<prop readOnly="True" type="string" name="version"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1,239 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/providers/microsoft.hybridcompute/privatelinkscopes" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lkh5YnJpZENvbXB1dGUvcHJpdmF0ZUxpbmtTY29wZXM=/V/MjAyNC0wNy0xMA=="/>
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcw==/V/MjAyNC0wNy0xMA=="/>
<commandGroup name="connectedmachine private-link-scope">
<command name="list" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/providers/microsoft.hybridcompute/privatelinkscopes" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lkh5YnJpZENvbXB1dGUvcHJpdmF0ZUxpbmtTY29wZXM=/V/MjAyNC0wNy0xMA=="/>
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcw==/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<condition var="$Condition_PrivateLinkScopes_ListByResourceGroup">
<operator type="and">
<operator type="hasValue" arg="$Path.resourceGroupName"/>
<operator type="hasValue" arg="$Path.subscriptionId"/>
</operator>
</condition>
<condition var="$Condition_PrivateLinkScopes_List">
<operator type="and">
<operator type="hasValue" arg="$Path.subscriptionId"/>
<operator type="not">
<operator type="hasValue" arg="$Path.resourceGroupName"/>
</operator>
</operator>
</condition>
<operation when="$Condition_PrivateLinkScopes_ListByResourceGroup" operationId="PrivateLinkScopes_ListByResourceGroup">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes">
<request method="get">
<path>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="string" name="nextLink"/>
<prop type="array<object>" name="value" required="True">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/privateLinkScopes/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop readOnly="True" type="array<object>" name="privateEndpointConnections">
<item type="object">
<prop readOnly="True" type="string" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop readOnly="True" type="array<string>" name="groupIds">
<item type="string"/>
</prop>
<prop type="object" name="privateEndpoint">
<prop type="string" name="id"/>
</prop>
<prop type="object" name="privateLinkServiceConnectionState">
<prop readOnly="True" type="string" name="actionsRequired"/>
<prop type="string" name="description" required="True"/>
<prop type="string" name="status" required="True"/>
</prop>
<prop readOnly="True" type="string" name="provisioningState"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
<prop readOnly="True" type="string" name="privateLinkScopeId"/>
<prop readOnly="True" type="string" name="provisioningState"/>
<prop type="string" name="publicNetworkAccess">
<default value="&quot;Disabled&quot;"/>
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;SecuredByPerimeter&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<operation when="$Condition_PrivateLinkScopes_List" operationId="PrivateLinkScopes_List">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/privateLinkScopes">
<request method="get">
<path>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="string" name="nextLink"/>
<prop type="array<object>" name="value" required="True">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/privateLinkScopes/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop readOnly="True" type="array<object>" name="privateEndpointConnections">
<item type="object">
<prop readOnly="True" type="string" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop readOnly="True" type="array<string>" name="groupIds">
<item type="string"/>
</prop>
<prop type="object" name="privateEndpoint">
<prop type="string" name="id"/>
</prop>
<prop type="object" name="privateLinkServiceConnectionState">
<prop readOnly="True" type="string" name="actionsRequired"/>
<prop type="string" name="description" required="True"/>
<prop type="string" name="status" required="True"/>
</prop>
<prop readOnly="True" type="string" name="provisioningState"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
<prop readOnly="True" type="string" name="privateLinkScopeId"/>
<prop readOnly="True" type="string" name="provisioningState"/>
<prop type="string" name="publicNetworkAccess">
<default value="&quot;Disabled&quot;"/>
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;SecuredByPerimeter&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
</command>
</commandGroup>
</CodeGen>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1,491 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcw==/V/MjAyNC0wNy0xMA=="/>
<commandGroup name="connectedmachine">
<command name="list" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcw==/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
<arg type="string" var="$Query.expand" options="expand">
<help short="Expands referenced resources."/>
</arg>
</argGroup>
<operation operationId="Machines_ListByResourceGroup">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines">
<request method="get">
<path>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<param type="string" name="$expand" arg="$Query.expand"/>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="string" name="nextLink"/>
<prop type="array<object>" name="value" required="True">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/machines/{}"/>
</prop>
<prop type="object" name="identity">
<prop readOnly="True" type="string" name="principalId"/>
<prop readOnly="True" type="string" name="tenantId"/>
<prop type="string" name="type">
<enum>
<item value="&quot;SystemAssigned&quot;"/>
</enum>
</prop>
</prop>
<prop type="string" name="kind">
<enum>
<item value="&quot;AVS&quot;"/>
<item value="&quot;AWS&quot;"/>
<item value="&quot;EPS&quot;"/>
<item value="&quot;GCP&quot;"/>
<item value="&quot;HCI&quot;"/>
<item value="&quot;SCVMM&quot;"/>
<item value="&quot;VMware&quot;"/>
</enum>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop readOnly="True" type="string" name="adFqdn"/>
<prop readOnly="True" type="object" name="agentConfiguration">
<prop readOnly="True" type="string" name="configMode">
<enum>
<item value="&quot;full&quot;"/>
<item value="&quot;monitor&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="array<object>" name="extensionsAllowList">
<item type="object" cls="ConfigurationExtension_read">
<prop readOnly="True" type="string" name="publisher"/>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
<prop readOnly="True" type="array<@ConfigurationExtension_read>" name="extensionsBlockList">
<item type="@ConfigurationExtension_read"/>
</prop>
<prop readOnly="True" type="string" name="extensionsEnabled"/>
<prop readOnly="True" type="string" name="guestConfigurationEnabled"/>
<prop readOnly="True" type="array<string>" name="incomingConnectionsPorts">
<item type="string"/>
</prop>
<prop readOnly="True" type="array<string>" name="proxyBypass">
<item type="string"/>
</prop>
<prop readOnly="True" type="string" name="proxyUrl"/>
</prop>
<prop type="object" name="agentUpgrade">
<prop type="string" name="correlationId"/>
<prop type="string" name="desiredVersion"/>
<prop type="boolean" name="enableAutomaticUpgrade"/>
<prop readOnly="True" type="string" name="lastAttemptDesiredVersion"/>
<prop readOnly="True" type="string" name="lastAttemptMessage"/>
<prop readOnly="True" type="string" name="lastAttemptStatus">
<enum>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Success&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="lastAttemptTimestamp"/>
</prop>
<prop readOnly="True" type="string" name="agentVersion"/>
<prop type="string" name="clientPublicKey"/>
<prop type="object" name="cloudMetadata">
<prop readOnly="True" type="string" name="provider"/>
</prop>
<prop readOnly="True" type="object" name="detectedProperties">
<additionalProp readOnly="True">
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="displayName"/>
<prop readOnly="True" type="string" name="dnsFqdn"/>
<prop readOnly="True" type="string" name="domainName"/>
<prop readOnly="True" type="array<@ErrorDetail_read>" name="errorDetails">
<item type="@ErrorDetail_read"/>
</prop>
<prop type="array<object>" name="extensions">
<item type="object" cls="MachineExtensionInstanceView_read">
<prop type="string" name="name"/>
<prop type="object" name="status">
<prop type="string" name="code"/>
<prop type="string" name="displayStatus"/>
<prop type="string" name="level">
<enum>
<item value="&quot;Error&quot;"/>
<item value="&quot;Info&quot;"/>
<item value="&quot;Warning&quot;"/>
</enum>
</prop>
<prop type="string" name="message"/>
<prop type="dateTime" name="time"/>
</prop>
<prop type="string" name="type"/>
<prop type="string" name="typeHandlerVersion"/>
</item>
</prop>
<prop readOnly="True" type="dateTime" name="lastStatusChange"/>
<prop type="object" name="licenseProfile">
<prop type="object" name="esuProfile">
<prop type="object" name="assignedLicense">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/licenses/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="object" name="licenseDetails">
<prop readOnly="True" type="integer32" name="assignedLicenses"/>
<prop type="string" name="edition">
<enum>
<item value="&quot;Datacenter&quot;"/>
<item value="&quot;Standard&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="immutableId"/>
<prop type="integer32" name="processors"/>
<prop type="string" name="state">
<enum>
<item value="&quot;Activated&quot;"/>
<item value="&quot;Deactivated&quot;"/>
</enum>
</prop>
<prop type="string" name="target">
<enum>
<item value="&quot;Windows Server 2012&quot;"/>
<item value="&quot;Windows Server 2012 R2&quot;"/>
</enum>
</prop>
<prop type="string" name="type">
<enum>
<item value="&quot;pCore&quot;"/>
<item value="&quot;vCore&quot;"/>
</enum>
</prop>
<prop type="array<object>" name="volumeLicenseDetails">
<item type="object">
<prop type="string" name="invoiceId"/>
<prop type="string" name="programYear">
<enum>
<item value="&quot;Year 1&quot;"/>
<item value="&quot;Year 2&quot;"/>
<item value="&quot;Year 3&quot;"/>
</enum>
</prop>
</item>
</prop>
</prop>
<prop type="string" name="licenseType">
<enum>
<item value="&quot;ESU&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value="&quot;Accepted&quot;"/>
<item value="&quot;Canceled&quot;"/>
<item value="&quot;Creating&quot;"/>
<item value="&quot;Deleted&quot;"/>
<item value="&quot;Deleting&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Succeeded&quot;"/>
<item value="&quot;Updating&quot;"/>
</enum>
</prop>
<prop type="string" name="tenantId"/>
</prop>
<prop readOnly="True" type="@SystemData_read" name="systemData"/>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</prop>
<prop readOnly="True" type="string" name="assignedLicenseImmutableId"/>
<prop readOnly="True" type="string" name="esuEligibility">
<enum>
<item value="&quot;Eligible&quot;"/>
<item value="&quot;Ineligible&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="esuKeyState">
<enum>
<item value="&quot;Active&quot;"/>
<item value="&quot;Inactive&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="array<object>" name="esuKeys">
<item type="object">
<prop type="integer32" name="licenseStatus"/>
<prop type="string" name="sku"/>
</item>
</prop>
<prop type="string" name="licenseAssignmentState">
<enum>
<item value="&quot;Assigned&quot;"/>
<item value="&quot;NotAssigned&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="serverType">
<enum>
<item value="&quot;Datacenter&quot;"/>
<item value="&quot;Standard&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="licenseChannel"/>
<prop readOnly="True" type="string" name="licenseStatus">
<enum>
<item value="&quot;ExtendedGrace&quot;"/>
<item value="&quot;Licensed&quot;"/>
<item value="&quot;NonGenuineGrace&quot;"/>
<item value="&quot;Notification&quot;"/>
<item value="&quot;OOBGrace&quot;"/>
<item value="&quot;OOTGrace&quot;"/>
<item value="&quot;Unlicensed&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="object" name="productProfile" clientFlatten="True">
<prop readOnly="True" type="dateTime" name="billingEndDate"/>
<prop readOnly="True" type="dateTime" name="billingStartDate"/>
<prop readOnly="True" type="dateTime" name="disenrollmentDate"/>
<prop readOnly="True" type="dateTime" name="enrollmentDate"/>
<prop readOnly="True" type="@ErrorDetail_read" name="error"/>
<prop type="array<object>" name="productFeatures">
<item type="object">
<prop readOnly="True" type="dateTime" name="billingEndDate"/>
<prop readOnly="True" type="dateTime" name="billingStartDate"/>
<prop readOnly="True" type="dateTime" name="disenrollmentDate"/>
<prop readOnly="True" type="dateTime" name="enrollmentDate"/>
<prop readOnly="True" type="@ErrorDetail_read" name="error"/>
<prop type="string" name="name"/>
<prop type="string" name="subscriptionStatus">
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Disabling&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;Enabling&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
</item>
</prop>
<prop type="string" name="productType">
<enum>
<item value="&quot;WindowsIoTEnterprise&quot;"/>
<item value="&quot;WindowsServer&quot;"/>
</enum>
</prop>
<prop type="string" name="subscriptionStatus">
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Disabling&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;Enabling&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="object" name="softwareAssurance" clientFlatten="True">
<prop type="boolean" name="softwareAssuranceCustomer"/>
</prop>
</prop>
<prop type="object" name="locationData">
<prop type="string" name="city"/>
<prop type="string" name="countryOrRegion"/>
<prop type="string" name="district"/>
<prop type="string" name="name" required="True">
<format maxLength="256"/>
</prop>
</prop>
<prop readOnly="True" type="string" name="machineFqdn"/>
<prop type="string" name="mssqlDiscovered"/>
<prop readOnly="True" type="object" name="networkProfile">
<prop type="array<object>" name="networkInterfaces">
<item readOnly="True" type="object">
<prop type="array<object>" name="ipAddresses">
<item readOnly="True" type="object">
<prop type="string" name="address"/>
<prop type="string" name="ipAddressVersion"/>
<prop readOnly="True" type="object" name="subnet">
<prop type="string" name="addressPrefix"/>
</prop>
</item>
</prop>
</item>
</prop>
</prop>
<prop readOnly="True" type="string" name="osEdition"/>
<prop readOnly="True" type="string" name="osName"/>
<prop type="object" name="osProfile">
<prop readOnly="True" type="string" name="computerName"/>
<prop type="object" name="linuxConfiguration">
<prop type="@PatchSettings_read" name="patchSettings" clientFlatten="True"/>
</prop>
<prop type="object" name="windowsConfiguration">
<prop type="object" name="patchSettings" cls="PatchSettings_read" clientFlatten="True">
<prop type="string" name="assessmentMode">
<enum>
<item value="&quot;AutomaticByPlatform&quot;"/>
<item value="&quot;ImageDefault&quot;"/>
</enum>
</prop>
<prop type="boolean" name="enableHotpatching"/>
<prop type="string" name="patchMode">
<enum>
<item value="&quot;AutomaticByOS&quot;"/>
<item value="&quot;AutomaticByPlatform&quot;"/>
<item value="&quot;ImageDefault&quot;"/>
<item value="&quot;Manual&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="object" name="status">
<prop readOnly="True" type="object" name="error" cls="ErrorDetail_read">
<prop readOnly="True" type="array<object>" name="additionalInfo">
<item type="object">
<prop readOnly="True" type="object" name="info"/>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
<prop readOnly="True" type="string" name="code"/>
<prop readOnly="True" type="array<@ErrorDetail_read>" name="details" identifiers="message target">
<item type="@ErrorDetail_read"/>
</prop>
<prop readOnly="True" type="string" name="message"/>
<prop readOnly="True" type="string" name="target"/>
</prop>
<prop type="string" name="hotpatchEnablementStatus">
<enum>
<item value="&quot;ActionRequired&quot;"/>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;PendingEvaluation&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
</prop>
</prop>
</prop>
</prop>
<prop readOnly="True" type="string" name="osSku"/>
<prop type="string" name="osType"/>
<prop readOnly="True" type="string" name="osVersion"/>
<prop type="string" name="parentClusterResourceId"/>
<prop type="string" name="privateLinkScopeResourceId"/>
<prop readOnly="True" type="string" name="provisioningState"/>
<prop type="object" name="serviceStatuses">
<prop type="object" name="extensionService" cls="ServiceStatus_read">
<prop type="string" name="startupType"/>
<prop type="string" name="status"/>
</prop>
<prop type="@ServiceStatus_read" name="guestConfigurationService"/>
</prop>
<prop readOnly="True" type="string" name="status">
<enum>
<item value="&quot;Connected&quot;"/>
<item value="&quot;Disconnected&quot;"/>
<item value="&quot;Error&quot;"/>
</enum>
</prop>
<prop type="string" name="vmId"/>
<prop readOnly="True" type="string" name="vmUuid"/>
</prop>
<prop readOnly="True" type="array<object>" name="resources">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/machines/{}/extensions/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop type="boolean" name="autoUpgradeMinorVersion"/>
<prop type="boolean" name="enableAutomaticUpgrade"/>
<prop type="string" name="forceUpdateTag"/>
<prop type="@MachineExtensionInstanceView_read" name="instanceView"/>
<prop type="object" name="protectedSettings">
<additionalProp anyType="True"/>
</prop>
<prop readOnly="True" type="string" name="provisioningState"/>
<prop type="string" name="publisher"/>
<prop type="object" name="settings">
<additionalProp anyType="True"/>
</prop>
<prop type="string" name="type"/>
<prop type="string" name="typeHandlerVersion"/>
</prop>
<prop readOnly="True" type="@SystemData_read" name="systemData"/>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
<prop readOnly="True" type="object" name="systemData" cls="SystemData_read">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
</command>
</commandGroup>
</CodeGen>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/assesspatches", "version": "2024-07-10", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bmFtZX0vYXNzZXNzUGF0Y2hlcw==/V/MjAyNC0wNy0xMA=="}], "commandGroups": [{"name": "connectedmachine", "commands": [{"name": "assess-patches", "version": "2024-07-10", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/assesspatches", "version": "2024-07-10", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bmFtZX0vYXNzZXNzUGF0Y2hlcw==/V/MjAyNC0wNy0xMA=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the hybrid machine."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Machines_AssessPatches", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/assessPatches", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-10"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "assessmentActivityId"}, {"type": "object", "name": "availablePatchCountByClassification", "props": [{"readOnly": true, "type": "integer32", "name": "critical"}, {"readOnly": true, "type": "integer32", "name": "definition"}, {"readOnly": true, "type": "integer32", "name": "featurePack"}, {"readOnly": true, "type": "integer32", "name": "other"}, {"readOnly": true, "type": "integer32", "name": "security"}, {"readOnly": true, "type": "integer32", "name": "servicePack"}, {"readOnly": true, "type": "integer32", "name": "tools"}, {"readOnly": true, "type": "integer32", "name": "updateRollup"}, {"readOnly": true, "type": "integer32", "name": "updates"}]}, {"readOnly": true, "type": "object", "name": "errorDetails", "props": [{"readOnly": true, "type": "array<object>", "name": "additionalInfo", "item": {"type": "object", "props": [{"readOnly": true, "type": "object", "name": "info"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "code"}, {"readOnly": true, "type": "array<@ErrorDetail_read>", "name": "details", "item": {"type": "@ErrorDetail_read"}, "identifiers": ["target", "message"]}, {"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "string", "name": "target"}], "cls": "ErrorDetail_read"}, {"readOnly": true, "type": "dateTime", "name": "lastModifiedDateTime"}, {"readOnly": true, "type": "string", "name": "osType", "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"readOnly": true, "type": "string", "name": "patchServiceUsed", "enum": {"items": [{"value": "APT"}, {"value": "Unknown"}, {"value": "WU"}, {"value": "WU_WSUS"}, {"value": "YUM"}, {"value": "Zypper"}]}}, {"readOnly": true, "type": "boolean", "name": "rebootPending"}, {"readOnly": true, "type": "dateTime", "name": "startDateTime"}, {"readOnly": true, "type": "string", "name": "startedBy", "enum": {"items": [{"value": "Platform"}, {"value": "User"}]}}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "CompletedWithWarnings"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Unknown"}]}}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,117 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/assesspatches" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bmFtZX0vYXNzZXNzUGF0Y2hlcw==/V/MjAyNC0wNy0xMA=="/>
<commandGroup name="connectedmachine">
<command name="assess-patches" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/assesspatches" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bmFtZX0vYXNzZXNzUGF0Y2hlcw==/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.name" options="name n" required="True" group="" idPart="name">
<help short="The name of the hybrid machine."/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="Machines_AssessPatches">
<longRunning finalStateVia="location"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/assessPatches">
<request method="post">
<path>
<param type="string" name="name" arg="$Path.name" required="True"/>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"/>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="string" name="assessmentActivityId"/>
<prop type="object" name="availablePatchCountByClassification">
<prop readOnly="True" type="integer32" name="critical"/>
<prop readOnly="True" type="integer32" name="definition"/>
<prop readOnly="True" type="integer32" name="featurePack"/>
<prop readOnly="True" type="integer32" name="other"/>
<prop readOnly="True" type="integer32" name="security"/>
<prop readOnly="True" type="integer32" name="servicePack"/>
<prop readOnly="True" type="integer32" name="tools"/>
<prop readOnly="True" type="integer32" name="updateRollup"/>
<prop readOnly="True" type="integer32" name="updates"/>
</prop>
<prop readOnly="True" type="object" name="errorDetails" cls="ErrorDetail_read">
<prop readOnly="True" type="array<object>" name="additionalInfo">
<item type="object">
<prop readOnly="True" type="object" name="info"/>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
<prop readOnly="True" type="string" name="code"/>
<prop readOnly="True" type="array<@ErrorDetail_read>" name="details" identifiers="message target">
<item type="@ErrorDetail_read"/>
</prop>
<prop readOnly="True" type="string" name="message"/>
<prop readOnly="True" type="string" name="target"/>
</prop>
<prop readOnly="True" type="dateTime" name="lastModifiedDateTime"/>
<prop readOnly="True" type="string" name="osType">
<enum>
<item value="&quot;Linux&quot;"/>
<item value="&quot;Windows&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="patchServiceUsed">
<enum>
<item value="&quot;APT&quot;"/>
<item value="&quot;Unknown&quot;"/>
<item value="&quot;WU&quot;"/>
<item value="&quot;WU_WSUS&quot;"/>
<item value="&quot;YUM&quot;"/>
<item value="&quot;Zypper&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="boolean" name="rebootPending"/>
<prop readOnly="True" type="dateTime" name="startDateTime"/>
<prop readOnly="True" type="string" name="startedBy">
<enum>
<item value="&quot;Platform&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="status">
<enum>
<item value="&quot;CompletedWithWarnings&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;InProgress&quot;"/>
<item value="&quot;Succeeded&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
</schema>
</json>
</body>
</response>
<response statusCode="202">
<header>
<item name="Location"/>
</header>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1,131 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bWFjaGluZU5hbWV9L2V4dGVuc2lvbnM=/V/MjAyNC0wNy0xMA=="/>
<commandGroup name="connectedmachine extension">
<command name="list" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bWFjaGluZU5hbWV9L2V4dGVuc2lvbnM=/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.machineName" options="machine-name" required="True" idPart="name">
<help short="The name of the machine containing the extension."/>
<format pattern="^[a-zA-Z0-9-_\.]{1,54}$" maxLength="54" minLength="1"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
<arg type="string" var="$Query.expand" options="expand">
<help short="The expand expression to apply on the operation."/>
</arg>
</argGroup>
<operation operationId="MachineExtensions_List">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions">
<request method="get">
<path>
<param type="string" name="machineName" arg="$Path.machineName" required="True">
<format pattern="^[a-zA-Z0-9-_\.]{1,54}$" maxLength="54" minLength="1"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<param type="string" name="$expand" arg="$Query.expand"/>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="string" name="nextLink"/>
<prop type="array<object>" name="value">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/machines/{}/extensions/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop type="boolean" name="autoUpgradeMinorVersion"/>
<prop type="boolean" name="enableAutomaticUpgrade"/>
<prop type="string" name="forceUpdateTag"/>
<prop type="object" name="instanceView">
<prop type="string" name="name"/>
<prop type="object" name="status">
<prop type="string" name="code"/>
<prop type="string" name="displayStatus"/>
<prop type="string" name="level">
<enum>
<item value="&quot;Error&quot;"/>
<item value="&quot;Info&quot;"/>
<item value="&quot;Warning&quot;"/>
</enum>
</prop>
<prop type="string" name="message"/>
<prop type="dateTime" name="time"/>
</prop>
<prop type="string" name="type"/>
<prop type="string" name="typeHandlerVersion"/>
</prop>
<prop type="object" name="protectedSettings">
<additionalProp anyType="True"/>
</prop>
<prop readOnly="True" type="string" name="provisioningState"/>
<prop type="string" name="publisher"/>
<prop type="object" name="settings">
<additionalProp anyType="True"/>
</prop>
<prop type="string" name="type"/>
<prop type="string" name="typeHandlerVersion"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
</command>
</commandGroup>
</CodeGen>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1,700 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bWFjaGluZU5hbWV9L2V4dGVuc2lvbnMve2V4dGVuc2lvbk5hbWV9/V/MjAyNC0wNy0xMA=="/>
<commandGroup name="connectedmachine extension">
<command name="show" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bWFjaGluZU5hbWV9L2V4dGVuc2lvbnMve2V4dGVuc2lvbk5hbWV9/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.extensionName" options="extension-name name n" required="True" idPart="child_name_1">
<help short="The name of the machine extension."/>
</arg>
<arg type="string" var="$Path.machineName" options="machine-name" required="True" idPart="name">
<help short="The name of the machine containing the extension."/>
<format pattern="^[a-zA-Z0-9-_\.]{1,54}$" maxLength="54" minLength="1"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="MachineExtensions_Get">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}">
<request method="get">
<path>
<param type="string" name="extensionName" arg="$Path.extensionName" required="True"/>
<param type="string" name="machineName" arg="$Path.machineName" required="True">
<format pattern="^[a-zA-Z0-9-_\.]{1,54}$" maxLength="54" minLength="1"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/machines/{}/extensions/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop type="boolean" name="autoUpgradeMinorVersion"/>
<prop type="boolean" name="enableAutomaticUpgrade"/>
<prop type="string" name="forceUpdateTag"/>
<prop type="object" name="instanceView">
<prop type="string" name="name"/>
<prop type="object" name="status">
<prop type="string" name="code"/>
<prop type="string" name="displayStatus"/>
<prop type="string" name="level">
<enum>
<item value="&quot;Error&quot;"/>
<item value="&quot;Info&quot;"/>
<item value="&quot;Warning&quot;"/>
</enum>
</prop>
<prop type="string" name="message"/>
<prop type="dateTime" name="time"/>
</prop>
<prop type="string" name="type"/>
<prop type="string" name="typeHandlerVersion"/>
</prop>
<prop type="object" name="protectedSettings">
<additionalProp anyType="True"/>
</prop>
<prop readOnly="True" type="string" name="provisioningState"/>
<prop type="string" name="publisher"/>
<prop type="object" name="settings">
<additionalProp anyType="True"/>
</prop>
<prop type="string" name="type"/>
<prop type="string" name="typeHandlerVersion"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="delete" version="2024-07-10" confirmation="Are you sure you want to perform this operation?">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bWFjaGluZU5hbWV9L2V4dGVuc2lvbnMve2V4dGVuc2lvbk5hbWV9/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.extensionName" options="extension-name name n" required="True" idPart="child_name_1">
<help short="The name of the machine extension."/>
</arg>
<arg type="string" var="$Path.machineName" options="machine-name" required="True" idPart="name">
<help short="The name of the machine where the extension should be deleted."/>
<format pattern="^[a-zA-Z0-9-_\.]{1,54}$" maxLength="54" minLength="1"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="MachineExtensions_Delete">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}">
<request method="delete">
<path>
<param type="string" name="extensionName" arg="$Path.extensionName" required="True"/>
<param type="string" name="machineName" arg="$Path.machineName" required="True">
<format pattern="^[a-zA-Z0-9-_\.]{1,54}$" maxLength="54" minLength="1"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200"/>
<response statusCode="202">
<header>
<item name="Azure-AsyncOperation"/>
<item name="Location"/>
<item name="Retry-After"/>
</header>
</response>
<response statusCode="204"/>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
</command>
<command name="create" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bWFjaGluZU5hbWV9L2V4dGVuc2lvbnMve2V4dGVuc2lvbk5hbWV9/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.extensionName" options="extension-name name n" required="True" idPart="child_name_1">
<help short="The name of the machine extension."/>
</arg>
<arg type="string" var="$Path.machineName" options="machine-name" required="True" idPart="name">
<help short="The name of the machine where the extension should be created or updated."/>
<format pattern="^[a-zA-Z0-9-_\.]{1,54}$" maxLength="54" minLength="1"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
<arg type="ResourceLocation" var="$extensionParameters.location" options="location l" required="True" group="">
<help short="The geo-location where the resource lives"/>
</arg>
<arg type="string" var="$extensionParameters.properties.type" options="type" group="">
<help short="Specifies the type of the extension; an example is &quot;CustomScriptExtension&quot;."/>
</arg>
</argGroup>
<argGroup name="ExtensionParameters">
<arg type="object" var="$extensionParameters.tags" options="tags" group="ExtensionParameters">
<help short="Resource tags."/>
<additionalProp>
<item type="string"/>
</additionalProp>
</arg>
</argGroup>
<argGroup name="Properties">
<arg type="boolean" var="$extensionParameters.properties.autoUpgradeMinorVersion" options="auto-upgrade-minor-version auto-upgrade-min" group="Properties">
<help short="Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true."/>
</arg>
<arg type="boolean" var="$extensionParameters.properties.enableAutomaticUpgrade" options="enable-automatic-upgrade enable-auto-upgrade" group="Properties">
<help short="Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available."/>
</arg>
<arg type="string" var="$extensionParameters.properties.forceUpdateTag" options="force-update-tag" group="Properties">
<help short="How the extension handler should be forced to update even if the extension configuration has not changed."/>
</arg>
<arg type="object" var="$extensionParameters.properties.instanceView" options="instance-view" group="Properties">
<help short="The machine extension instance view."/>
<arg type="string" var="$extensionParameters.properties.instanceView.name" options="name">
<help short="The machine extension name."/>
</arg>
<arg type="object" var="$extensionParameters.properties.instanceView.status" options="status">
<help short="Instance view status."/>
<arg type="string" var="$extensionParameters.properties.instanceView.status.code" options="code">
<help short="The status code."/>
</arg>
<arg type="string" var="$extensionParameters.properties.instanceView.status.displayStatus" options="display-status">
<help short="The short localizable label for the status."/>
</arg>
<arg type="string" var="$extensionParameters.properties.instanceView.status.level" options="level">
<help short="The level code."/>
<enum>
<item name="Error" value="&quot;Error&quot;"/>
<item name="Info" value="&quot;Info&quot;"/>
<item name="Warning" value="&quot;Warning&quot;"/>
</enum>
</arg>
<arg type="string" var="$extensionParameters.properties.instanceView.status.message" options="message">
<help short="The detailed status message, including for alerts and error messages."/>
</arg>
<arg type="dateTime" var="$extensionParameters.properties.instanceView.status.time" options="time">
<help short="The time of the status."/>
</arg>
</arg>
<arg type="string" var="$extensionParameters.properties.instanceView.type" options="type">
<help short="Specifies the type of the extension; an example is &quot;CustomScriptExtension&quot;."/>
</arg>
<arg type="string" var="$extensionParameters.properties.instanceView.typeHandlerVersion" options="type-handler-version">
<help short="Specifies the version of the script handler."/>
</arg>
</arg>
<arg type="object" var="$extensionParameters.properties.protectedSettings" options="protected-settings" group="Properties">
<help short="The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all."/>
<additionalProp anyType="True"/>
</arg>
<arg type="string" var="$extensionParameters.properties.publisher" options="publisher" group="Properties">
<help short="The name of the extension handler publisher."/>
</arg>
<arg type="object" var="$extensionParameters.properties.settings" options="settings" group="Properties">
<help short="Json formatted public settings for the extension."/>
<additionalProp anyType="True"/>
</arg>
<arg type="string" var="$extensionParameters.properties.typeHandlerVersion" options="type-handler-version" group="Properties">
<help short="Specifies the version of the script handler."/>
</arg>
</argGroup>
<operation operationId="MachineExtensions_CreateOrUpdate">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}">
<request method="put">
<path>
<param type="string" name="extensionName" arg="$Path.extensionName" required="True"/>
<param type="string" name="machineName" arg="$Path.machineName" required="True">
<format pattern="^[a-zA-Z0-9-_\.]{1,54}$" maxLength="54" minLength="1"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="extensionParameters" required="True" clientFlatten="True">
<prop type="ResourceLocation" name="location" arg="$extensionParameters.location" required="True"/>
<prop type="object" name="properties">
<prop type="boolean" name="autoUpgradeMinorVersion" arg="$extensionParameters.properties.autoUpgradeMinorVersion"/>
<prop type="boolean" name="enableAutomaticUpgrade" arg="$extensionParameters.properties.enableAutomaticUpgrade"/>
<prop type="string" name="forceUpdateTag" arg="$extensionParameters.properties.forceUpdateTag"/>
<prop type="object" name="instanceView" arg="$extensionParameters.properties.instanceView">
<prop type="string" name="name" arg="$extensionParameters.properties.instanceView.name"/>
<prop type="object" name="status" arg="$extensionParameters.properties.instanceView.status">
<prop type="string" name="code" arg="$extensionParameters.properties.instanceView.status.code"/>
<prop type="string" name="displayStatus" arg="$extensionParameters.properties.instanceView.status.displayStatus"/>
<prop type="string" name="level" arg="$extensionParameters.properties.instanceView.status.level">
<enum>
<item value="&quot;Error&quot;"/>
<item value="&quot;Info&quot;"/>
<item value="&quot;Warning&quot;"/>
</enum>
</prop>
<prop type="string" name="message" arg="$extensionParameters.properties.instanceView.status.message"/>
<prop type="dateTime" name="time" arg="$extensionParameters.properties.instanceView.status.time"/>
</prop>
<prop type="string" name="type" arg="$extensionParameters.properties.instanceView.type"/>
<prop type="string" name="typeHandlerVersion" arg="$extensionParameters.properties.instanceView.typeHandlerVersion"/>
</prop>
<prop type="object" name="protectedSettings" arg="$extensionParameters.properties.protectedSettings">
<additionalProp anyType="True"/>
</prop>
<prop type="string" name="publisher" arg="$extensionParameters.properties.publisher"/>
<prop type="object" name="settings" arg="$extensionParameters.properties.settings">
<additionalProp anyType="True"/>
</prop>
<prop type="string" name="type" arg="$extensionParameters.properties.type"/>
<prop type="string" name="typeHandlerVersion" arg="$extensionParameters.properties.typeHandlerVersion"/>
</prop>
<prop type="object" name="tags" arg="$extensionParameters.tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/machines/{}/extensions/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop type="boolean" name="autoUpgradeMinorVersion"/>
<prop type="boolean" name="enableAutomaticUpgrade"/>
<prop type="string" name="forceUpdateTag"/>
<prop type="object" name="instanceView">
<prop type="string" name="name"/>
<prop type="object" name="status">
<prop type="string" name="code"/>
<prop type="string" name="displayStatus"/>
<prop type="string" name="level">
<enum>
<item value="&quot;Error&quot;"/>
<item value="&quot;Info&quot;"/>
<item value="&quot;Warning&quot;"/>
</enum>
</prop>
<prop type="string" name="message"/>
<prop type="dateTime" name="time"/>
</prop>
<prop type="string" name="type"/>
<prop type="string" name="typeHandlerVersion"/>
</prop>
<prop type="object" name="protectedSettings">
<additionalProp anyType="True"/>
</prop>
<prop readOnly="True" type="string" name="provisioningState"/>
<prop type="string" name="publisher"/>
<prop type="object" name="settings">
<additionalProp anyType="True"/>
</prop>
<prop type="string" name="type"/>
<prop type="string" name="typeHandlerVersion"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response statusCode="202"/>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="update" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/extensions/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bWFjaGluZU5hbWV9L2V4dGVuc2lvbnMve2V4dGVuc2lvbk5hbWV9/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.extensionName" options="extension-name name n" required="True" idPart="child_name_1">
<help short="The name of the machine extension."/>
</arg>
<arg type="string" var="$Path.machineName" options="machine-name" required="True" idPart="name">
<help short="The name of the machine containing the extension."/>
<format pattern="^[a-zA-Z0-9-_\.]{1,54}$" maxLength="54" minLength="1"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<argGroup name="ExtensionParameters">
<arg nullable="True" type="object" var="$extensionParameters.tags" options="tags" group="ExtensionParameters">
<help short="Resource tags."/>
<additionalProp>
<item nullable="True" type="string"/>
</additionalProp>
</arg>
</argGroup>
<argGroup name="Properties">
<arg nullable="True" type="boolean" var="$extensionParameters.properties.autoUpgradeMinorVersion" options="auto-upgrade-minor-version auto-upgrade-min" group="Properties">
<help short="Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true."/>
</arg>
<arg nullable="True" type="boolean" var="$extensionParameters.properties.enableAutomaticUpgrade" options="enable-automatic-upgrade enable-auto-upgrade" group="Properties">
<help short="Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available."/>
</arg>
<arg nullable="True" type="string" var="$extensionParameters.properties.forceUpdateTag" options="force-update-tag" group="Properties">
<help short="How the extension handler should be forced to update even if the extension configuration has not changed."/>
</arg>
<arg nullable="True" type="object" var="$extensionParameters.properties.instanceView" options="instance-view" group="Properties">
<help short="The machine extension instance view."/>
<arg nullable="True" type="string" var="$extensionParameters.properties.instanceView.name" options="name">
<help short="The machine extension name."/>
</arg>
<arg nullable="True" type="object" var="$extensionParameters.properties.instanceView.status" options="status">
<help short="Instance view status."/>
<arg nullable="True" type="string" var="$extensionParameters.properties.instanceView.status.code" options="code">
<help short="The status code."/>
</arg>
<arg nullable="True" type="string" var="$extensionParameters.properties.instanceView.status.displayStatus" options="display-status">
<help short="The short localizable label for the status."/>
</arg>
<arg nullable="True" type="string" var="$extensionParameters.properties.instanceView.status.level" options="level">
<help short="The level code."/>
<enum>
<item name="Error" value="&quot;Error&quot;"/>
<item name="Info" value="&quot;Info&quot;"/>
<item name="Warning" value="&quot;Warning&quot;"/>
</enum>
</arg>
<arg nullable="True" type="string" var="$extensionParameters.properties.instanceView.status.message" options="message">
<help short="The detailed status message, including for alerts and error messages."/>
</arg>
<arg nullable="True" type="dateTime" var="$extensionParameters.properties.instanceView.status.time" options="time">
<help short="The time of the status."/>
</arg>
</arg>
<arg nullable="True" type="string" var="$extensionParameters.properties.instanceView.type" options="type">
<help short="Specifies the type of the extension; an example is &quot;CustomScriptExtension&quot;."/>
</arg>
<arg nullable="True" type="string" var="$extensionParameters.properties.instanceView.typeHandlerVersion" options="type-handler-version">
<help short="Specifies the version of the script handler."/>
</arg>
</arg>
<arg nullable="True" type="object" var="$extensionParameters.properties.protectedSettings" options="protected-settings" group="Properties">
<help short="The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all."/>
<additionalProp anyType="True"/>
</arg>
<arg nullable="True" type="string" var="$extensionParameters.properties.publisher" options="publisher" group="Properties">
<help short="The name of the extension handler publisher."/>
</arg>
<arg nullable="True" type="object" var="$extensionParameters.properties.settings" options="settings" group="Properties">
<help short="Json formatted public settings for the extension."/>
<additionalProp anyType="True"/>
</arg>
<arg nullable="True" type="string" var="$extensionParameters.properties.type" options="type" group="Properties">
<help short="Specifies the type of the extension; an example is &quot;CustomScriptExtension&quot;."/>
</arg>
<arg nullable="True" type="string" var="$extensionParameters.properties.typeHandlerVersion" options="type-handler-version" group="Properties">
<help short="Specifies the version of the script handler."/>
</arg>
</argGroup>
<operation operationId="MachineExtensions_Get">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}">
<request method="get">
<path>
<param type="string" name="extensionName" arg="$Path.extensionName" required="True"/>
<param type="string" name="machineName" arg="$Path.machineName" required="True">
<format pattern="^[a-zA-Z0-9-_\.]{1,54}$" maxLength="54" minLength="1"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object" cls="MachineExtension_read">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/machines/{}/extensions/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop type="boolean" name="autoUpgradeMinorVersion"/>
<prop type="boolean" name="enableAutomaticUpgrade"/>
<prop type="string" name="forceUpdateTag"/>
<prop type="object" name="instanceView">
<prop type="string" name="name"/>
<prop type="object" name="status">
<prop type="string" name="code"/>
<prop type="string" name="displayStatus"/>
<prop type="string" name="level">
<enum>
<item value="&quot;Error&quot;"/>
<item value="&quot;Info&quot;"/>
<item value="&quot;Warning&quot;"/>
</enum>
</prop>
<prop type="string" name="message"/>
<prop type="dateTime" name="time"/>
</prop>
<prop type="string" name="type"/>
<prop type="string" name="typeHandlerVersion"/>
</prop>
<prop type="object" name="protectedSettings">
<additionalProp anyType="True"/>
</prop>
<prop readOnly="True" type="string" name="provisioningState"/>
<prop type="string" name="publisher"/>
<prop type="object" name="settings">
<additionalProp anyType="True"/>
</prop>
<prop type="string" name="type"/>
<prop type="string" name="typeHandlerVersion"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<operation>
<instanceUpdate ref="$Instance">
<json>
<schema type="object" name="extensionParameters" required="True" clientFlatten="True">
<prop type="object" name="properties">
<prop type="boolean" name="autoUpgradeMinorVersion" arg="$extensionParameters.properties.autoUpgradeMinorVersion"/>
<prop type="boolean" name="enableAutomaticUpgrade" arg="$extensionParameters.properties.enableAutomaticUpgrade"/>
<prop type="string" name="forceUpdateTag" arg="$extensionParameters.properties.forceUpdateTag"/>
<prop type="object" name="instanceView" arg="$extensionParameters.properties.instanceView">
<prop type="string" name="name" arg="$extensionParameters.properties.instanceView.name"/>
<prop type="object" name="status" arg="$extensionParameters.properties.instanceView.status">
<prop type="string" name="code" arg="$extensionParameters.properties.instanceView.status.code"/>
<prop type="string" name="displayStatus" arg="$extensionParameters.properties.instanceView.status.displayStatus"/>
<prop type="string" name="level" arg="$extensionParameters.properties.instanceView.status.level">
<enum>
<item value="&quot;Error&quot;"/>
<item value="&quot;Info&quot;"/>
<item value="&quot;Warning&quot;"/>
</enum>
</prop>
<prop type="string" name="message" arg="$extensionParameters.properties.instanceView.status.message"/>
<prop type="dateTime" name="time" arg="$extensionParameters.properties.instanceView.status.time"/>
</prop>
<prop type="string" name="type" arg="$extensionParameters.properties.instanceView.type"/>
<prop type="string" name="typeHandlerVersion" arg="$extensionParameters.properties.instanceView.typeHandlerVersion"/>
</prop>
<prop type="object" name="protectedSettings" arg="$extensionParameters.properties.protectedSettings">
<additionalProp anyType="True"/>
</prop>
<prop type="string" name="publisher" arg="$extensionParameters.properties.publisher"/>
<prop type="object" name="settings" arg="$extensionParameters.properties.settings">
<additionalProp anyType="True"/>
</prop>
<prop type="string" name="type" arg="$extensionParameters.properties.type"/>
<prop type="string" name="typeHandlerVersion" arg="$extensionParameters.properties.typeHandlerVersion"/>
</prop>
<prop type="object" name="tags" arg="$extensionParameters.tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
</schema>
</json>
</instanceUpdate>
</operation>
<operation operationId="MachineExtensions_CreateOrUpdate">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}">
<request method="put">
<path>
<param type="string" name="extensionName" arg="$Path.extensionName" required="True"/>
<param type="string" name="machineName" arg="$Path.machineName" required="True">
<format pattern="^[a-zA-Z0-9-_\.]{1,54}$" maxLength="54" minLength="1"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json ref="$Instance"/>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="@MachineExtension_read"/>
</json>
</body>
</response>
<response statusCode="202"/>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1,242 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/installpatches" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bmFtZX0vaW5zdGFsbFBhdGNoZXM=/V/MjAyNC0wNy0xMA=="/>
<commandGroup name="connectedmachine">
<command name="install-patches" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/installpatches" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bmFtZX0vaW5zdGFsbFBhdGNoZXM=/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.name" options="name n" required="True" group="" idPart="name">
<help short="The name of the hybrid machine."/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<argGroup name="InstallPatchesInput">
<arg type="object" var="$installPatchesInput.linuxParameters" options="linux-parameters" group="InstallPatchesInput">
<help short="Input for InstallPatches on a Linux VM, as directly received by the API"/>
<arg type="array<string>" var="$installPatchesInput.linuxParameters.classificationsToInclude" options="classifications-to-include">
<help short="The update classifications to select when installing patches for Linux."/>
<item type="string">
<enum>
<item name="Critical" value="&quot;Critical&quot;"/>
<item name="Other" value="&quot;Other&quot;"/>
<item name="Security" value="&quot;Security&quot;"/>
</enum>
</item>
</arg>
<arg type="array<string>" var="$installPatchesInput.linuxParameters.packageNameMasksToExclude" options="package-name-masks-to-exclude">
<help short="packages to exclude in the patch operation. Format: packageName_packageVersion"/>
<item type="string"/>
</arg>
<arg type="array<string>" var="$installPatchesInput.linuxParameters.packageNameMasksToInclude" options="package-name-masks-to-include">
<help short="packages to include in the patch operation. Format: packageName_packageVersion"/>
<item type="string"/>
</arg>
</arg>
<arg type="string" var="$installPatchesInput.maximumDuration" options="maximum-duration" required="True" group="InstallPatchesInput">
<help short="Specifies the maximum amount of time that the operation will run. It must be an ISO 8601-compliant duration string such as PT4H (4 hours)"/>
</arg>
<arg type="string" var="$installPatchesInput.rebootSetting" options="reboot-setting" required="True" group="InstallPatchesInput">
<help short="Defines when it is acceptable to reboot a VM during a software update operation."/>
<enum>
<item name="Always" value="&quot;Always&quot;"/>
<item name="IfRequired" value="&quot;IfRequired&quot;"/>
<item name="Never" value="&quot;Never&quot;"/>
</enum>
</arg>
<arg type="object" var="$installPatchesInput.windowsParameters" options="windows-parameters" group="InstallPatchesInput">
<help short="Input for InstallPatches on a Windows VM, as directly received by the API"/>
<arg type="array<string>" var="$installPatchesInput.windowsParameters.classificationsToInclude" options="classifications-to-include">
<help short="The update classifications to select when installing patches for Windows."/>
<item type="string">
<enum>
<item name="Critical" value="&quot;Critical&quot;"/>
<item name="Definition" value="&quot;Definition&quot;"/>
<item name="FeaturePack" value="&quot;FeaturePack&quot;"/>
<item name="Security" value="&quot;Security&quot;"/>
<item name="ServicePack" value="&quot;ServicePack&quot;"/>
<item name="Tools" value="&quot;Tools&quot;"/>
<item name="UpdateRollUp" value="&quot;UpdateRollUp&quot;"/>
<item name="Updates" value="&quot;Updates&quot;"/>
</enum>
</item>
</arg>
<arg type="boolean" var="$installPatchesInput.windowsParameters.excludeKbsRequiringReboot" options="exclude-kbs-requiring-reboot">
<help short="Filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true."/>
</arg>
<arg type="array<string>" var="$installPatchesInput.windowsParameters.kbNumbersToExclude" options="kb-numbers-to-exclude">
<help short="Kbs to exclude in the patch operation"/>
<item type="string"/>
</arg>
<arg type="array<string>" var="$installPatchesInput.windowsParameters.kbNumbersToInclude" options="kb-numbers-to-include">
<help short="Kbs to include in the patch operation"/>
<item type="string"/>
</arg>
<arg type="dateTime" var="$installPatchesInput.windowsParameters.maxPatchPublishDate" options="max-patch-publish-date">
<help short="This is used to install patches that were published on or before this given max published date."/>
</arg>
</arg>
</argGroup>
<operation operationId="Machines_InstallPatches">
<longRunning finalStateVia="location"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/installPatches">
<request method="post">
<path>
<param type="string" name="name" arg="$Path.name" required="True"/>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"/>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="installPatchesInput" required="True" clientFlatten="True">
<prop type="object" name="linuxParameters" arg="$installPatchesInput.linuxParameters">
<prop type="array<string>" name="classificationsToInclude" arg="$installPatchesInput.linuxParameters.classificationsToInclude">
<item type="string">
<enum>
<item value="&quot;Critical&quot;"/>
<item value="&quot;Other&quot;"/>
<item value="&quot;Security&quot;"/>
</enum>
</item>
</prop>
<prop type="array<string>" name="packageNameMasksToExclude" arg="$installPatchesInput.linuxParameters.packageNameMasksToExclude">
<item type="string"/>
</prop>
<prop type="array<string>" name="packageNameMasksToInclude" arg="$installPatchesInput.linuxParameters.packageNameMasksToInclude">
<item type="string"/>
</prop>
</prop>
<prop type="string" name="maximumDuration" arg="$installPatchesInput.maximumDuration" required="True"/>
<prop type="string" name="rebootSetting" arg="$installPatchesInput.rebootSetting" required="True">
<enum>
<item value="&quot;Always&quot;"/>
<item value="&quot;IfRequired&quot;"/>
<item value="&quot;Never&quot;"/>
</enum>
</prop>
<prop type="object" name="windowsParameters" arg="$installPatchesInput.windowsParameters">
<prop type="array<string>" name="classificationsToInclude" arg="$installPatchesInput.windowsParameters.classificationsToInclude">
<item type="string">
<enum>
<item value="&quot;Critical&quot;"/>
<item value="&quot;Definition&quot;"/>
<item value="&quot;FeaturePack&quot;"/>
<item value="&quot;Security&quot;"/>
<item value="&quot;ServicePack&quot;"/>
<item value="&quot;Tools&quot;"/>
<item value="&quot;UpdateRollUp&quot;"/>
<item value="&quot;Updates&quot;"/>
</enum>
</item>
</prop>
<prop type="boolean" name="excludeKbsRequiringReboot" arg="$installPatchesInput.windowsParameters.excludeKbsRequiringReboot"/>
<prop type="array<string>" name="kbNumbersToExclude" arg="$installPatchesInput.windowsParameters.kbNumbersToExclude">
<item type="string"/>
</prop>
<prop type="array<string>" name="kbNumbersToInclude" arg="$installPatchesInput.windowsParameters.kbNumbersToInclude">
<item type="string"/>
</prop>
<prop type="dateTime" name="maxPatchPublishDate" arg="$installPatchesInput.windowsParameters.maxPatchPublishDate"/>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="object" name="errorDetails" cls="ErrorDetail_read">
<prop readOnly="True" type="array<object>" name="additionalInfo">
<item type="object">
<prop readOnly="True" type="object" name="info"/>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
<prop readOnly="True" type="string" name="code"/>
<prop readOnly="True" type="array<@ErrorDetail_read>" name="details" identifiers="message target">
<item type="@ErrorDetail_read"/>
</prop>
<prop readOnly="True" type="string" name="message"/>
<prop readOnly="True" type="string" name="target"/>
</prop>
<prop readOnly="True" type="integer32" name="excludedPatchCount"/>
<prop readOnly="True" type="integer32" name="failedPatchCount"/>
<prop readOnly="True" type="string" name="installationActivityId"/>
<prop readOnly="True" type="integer32" name="installedPatchCount"/>
<prop readOnly="True" type="dateTime" name="lastModifiedDateTime"/>
<prop readOnly="True" type="boolean" name="maintenanceWindowExceeded"/>
<prop readOnly="True" type="integer32" name="notSelectedPatchCount"/>
<prop readOnly="True" type="string" name="osType">
<enum>
<item value="&quot;Linux&quot;"/>
<item value="&quot;Windows&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="patchServiceUsed">
<enum>
<item value="&quot;APT&quot;"/>
<item value="&quot;Unknown&quot;"/>
<item value="&quot;WU&quot;"/>
<item value="&quot;WU_WSUS&quot;"/>
<item value="&quot;YUM&quot;"/>
<item value="&quot;Zypper&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="integer32" name="pendingPatchCount"/>
<prop readOnly="True" type="string" name="rebootStatus">
<enum>
<item value="&quot;Completed&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;NotNeeded&quot;"/>
<item value="&quot;Required&quot;"/>
<item value="&quot;Started&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="dateTime" name="startDateTime"/>
<prop readOnly="True" type="string" name="startedBy">
<enum>
<item value="&quot;Platform&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="status">
<enum>
<item value="&quot;CompletedWithWarnings&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;InProgress&quot;"/>
<item value="&quot;Succeeded&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
</schema>
</json>
</body>
</response>
<response statusCode="202">
<header>
<item name="Location"/>
</header>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1,196 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles" version="2024-05-20-preview" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bWFjaGluZU5hbWV9L2xpY2Vuc2VQcm9maWxlcw==/V/MjAyNC0wNS0yMC1wcmV2aWV3"/>
<commandGroup name="connectedmachine license-profile">
<command name="list" version="2024-05-20-preview">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles" version="2024-05-20-preview" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bWFjaGluZU5hbWV9L2xpY2Vuc2VQcm9maWxlcw==/V/MjAyNC0wNS0yMC1wcmV2aWV3"/>
<argGroup name="">
<arg type="string" var="$Path.machineName" options="machine-name" required="True" idPart="name">
<help short="The name of the machine."/>
<format pattern="^[a-zA-Z0-9-_\.]{1,54}$" maxLength="54" minLength="1"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="LicenseProfiles_List">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles">
<request method="get">
<path>
<param type="string" name="machineName" arg="$Path.machineName" required="True">
<format pattern="^[a-zA-Z0-9-_\.]{1,54}$" maxLength="54" minLength="1"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-05-20-preview&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="string" name="nextLink"/>
<prop type="array<object>" name="value" required="True">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/machines/{}/licenseProfiles/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="object" name="esuProfile" clientFlatten="True">
<prop type="string" name="assignedLicense"/>
<prop readOnly="True" type="string" name="assignedLicenseImmutableId"/>
<prop readOnly="True" type="string" name="esuEligibility">
<enum>
<item value="&quot;Eligible&quot;"/>
<item value="&quot;Ineligible&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="esuKeyState">
<enum>
<item value="&quot;Active&quot;"/>
<item value="&quot;Inactive&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="array<object>" name="esuKeys">
<item type="object">
<prop type="integer32" name="licenseStatus"/>
<prop type="string" name="sku"/>
</item>
</prop>
<prop readOnly="True" type="string" name="serverType">
<enum>
<item value="&quot;Datacenter&quot;"/>
<item value="&quot;Standard&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="productProfile" clientFlatten="True">
<prop readOnly="True" type="dateTime" name="billingEndDate"/>
<prop readOnly="True" type="dateTime" name="billingStartDate"/>
<prop readOnly="True" type="dateTime" name="disenrollmentDate"/>
<prop readOnly="True" type="dateTime" name="enrollmentDate"/>
<prop readOnly="True" type="object" name="error" cls="ErrorDetail_read">
<prop readOnly="True" type="array<object>" name="additionalInfo">
<item type="object">
<prop readOnly="True" type="object" name="info"/>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
<prop readOnly="True" type="string" name="code"/>
<prop readOnly="True" type="array<@ErrorDetail_read>" name="details" identifiers="message target">
<item type="@ErrorDetail_read"/>
</prop>
<prop readOnly="True" type="string" name="message"/>
<prop readOnly="True" type="string" name="target"/>
</prop>
<prop type="array<object>" name="productFeatures">
<item type="object">
<prop readOnly="True" type="dateTime" name="billingEndDate"/>
<prop readOnly="True" type="dateTime" name="billingStartDate"/>
<prop readOnly="True" type="dateTime" name="disenrollmentDate"/>
<prop readOnly="True" type="dateTime" name="enrollmentDate"/>
<prop readOnly="True" type="@ErrorDetail_read" name="error"/>
<prop type="string" name="name"/>
<prop type="string" name="subscriptionStatus">
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Disabling&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;Enabling&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
</item>
</prop>
<prop type="string" name="productType">
<enum>
<item value="&quot;WindowsIoTEnterprise&quot;"/>
<item value="&quot;WindowsServer&quot;"/>
</enum>
</prop>
<prop type="string" name="subscriptionStatus">
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Disabling&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;Enabling&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value="&quot;Accepted&quot;"/>
<item value="&quot;Canceled&quot;"/>
<item value="&quot;Creating&quot;"/>
<item value="&quot;Deleted&quot;"/>
<item value="&quot;Deleting&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Succeeded&quot;"/>
<item value="&quot;Updating&quot;"/>
</enum>
</prop>
<prop type="object" name="softwareAssurance" clientFlatten="True">
<prop type="boolean" name="softwareAssuranceCustomer"/>
</prop>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
</command>
</commandGroup>
</CodeGen>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1,936 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles/{}" version="2024-05-20-preview" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bWFjaGluZU5hbWV9L2xpY2Vuc2VQcm9maWxlcy97bGljZW5zZVByb2ZpbGVOYW1lfQ==/V/MjAyNC0wNS0yMC1wcmV2aWV3"/>
<commandGroup name="connectedmachine license-profile">
<command name="show" version="2024-05-20-preview">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles/{}" version="2024-05-20-preview" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bWFjaGluZU5hbWV9L2xpY2Vuc2VQcm9maWxlcy97bGljZW5zZVByb2ZpbGVOYW1lfQ==/V/MjAyNC0wNS0yMC1wcmV2aWV3"/>
<argGroup name="">
<arg type="string" var="$Path.licenseProfileName" options="license-profile-name name n" required="True" idPart="child_name_1">
<help short="The name of the license profile."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
<enum>
<item name="default" value="&quot;default&quot;"/>
</enum>
</arg>
<arg type="string" var="$Path.machineName" options="machine-name" required="True" idPart="name">
<help short="The name of the hybrid machine."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="LicenseProfiles_Get">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}">
<request method="get">
<path>
<param type="string" name="licenseProfileName" arg="$Path.licenseProfileName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
<enum>
<item value="&quot;default&quot;"/>
</enum>
</param>
<param type="string" name="machineName" arg="$Path.machineName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-05-20-preview&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/machines/{}/licenseProfiles/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="object" name="esuProfile" clientFlatten="True">
<prop type="string" name="assignedLicense"/>
<prop readOnly="True" type="string" name="assignedLicenseImmutableId"/>
<prop readOnly="True" type="string" name="esuEligibility">
<enum>
<item value="&quot;Eligible&quot;"/>
<item value="&quot;Ineligible&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="esuKeyState">
<enum>
<item value="&quot;Active&quot;"/>
<item value="&quot;Inactive&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="array<object>" name="esuKeys">
<item type="object">
<prop type="integer32" name="licenseStatus"/>
<prop type="string" name="sku"/>
</item>
</prop>
<prop readOnly="True" type="string" name="serverType">
<enum>
<item value="&quot;Datacenter&quot;"/>
<item value="&quot;Standard&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="productProfile" clientFlatten="True">
<prop readOnly="True" type="dateTime" name="billingEndDate"/>
<prop readOnly="True" type="dateTime" name="billingStartDate"/>
<prop readOnly="True" type="dateTime" name="disenrollmentDate"/>
<prop readOnly="True" type="dateTime" name="enrollmentDate"/>
<prop readOnly="True" type="object" name="error" cls="ErrorDetail_read">
<prop readOnly="True" type="array<object>" name="additionalInfo">
<item type="object">
<prop readOnly="True" type="object" name="info"/>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
<prop readOnly="True" type="string" name="code"/>
<prop readOnly="True" type="array<@ErrorDetail_read>" name="details" identifiers="message target">
<item type="@ErrorDetail_read"/>
</prop>
<prop readOnly="True" type="string" name="message"/>
<prop readOnly="True" type="string" name="target"/>
</prop>
<prop type="array<object>" name="productFeatures">
<item type="object">
<prop readOnly="True" type="dateTime" name="billingEndDate"/>
<prop readOnly="True" type="dateTime" name="billingStartDate"/>
<prop readOnly="True" type="dateTime" name="disenrollmentDate"/>
<prop readOnly="True" type="dateTime" name="enrollmentDate"/>
<prop readOnly="True" type="@ErrorDetail_read" name="error"/>
<prop type="string" name="name"/>
<prop type="string" name="subscriptionStatus">
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Disabling&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;Enabling&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
</item>
</prop>
<prop type="string" name="productType">
<enum>
<item value="&quot;WindowsIoTEnterprise&quot;"/>
<item value="&quot;WindowsServer&quot;"/>
</enum>
</prop>
<prop type="string" name="subscriptionStatus">
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Disabling&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;Enabling&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value="&quot;Accepted&quot;"/>
<item value="&quot;Canceled&quot;"/>
<item value="&quot;Creating&quot;"/>
<item value="&quot;Deleted&quot;"/>
<item value="&quot;Deleting&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Succeeded&quot;"/>
<item value="&quot;Updating&quot;"/>
</enum>
</prop>
<prop type="object" name="softwareAssurance" clientFlatten="True">
<prop type="boolean" name="softwareAssuranceCustomer"/>
</prop>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="delete" version="2024-05-20-preview" confirmation="Are you sure you want to perform this operation?">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles/{}" version="2024-05-20-preview" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bWFjaGluZU5hbWV9L2xpY2Vuc2VQcm9maWxlcy97bGljZW5zZVByb2ZpbGVOYW1lfQ==/V/MjAyNC0wNS0yMC1wcmV2aWV3"/>
<argGroup name="">
<arg type="string" var="$Path.licenseProfileName" options="license-profile-name name n" required="True" idPart="child_name_1">
<help short="The name of the license profile."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
<enum>
<item name="default" value="&quot;default&quot;"/>
</enum>
</arg>
<arg type="string" var="$Path.machineName" options="machine-name" required="True" idPart="name">
<help short="The name of the hybrid machine."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="LicenseProfiles_Delete">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}">
<request method="delete">
<path>
<param type="string" name="licenseProfileName" arg="$Path.licenseProfileName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
<enum>
<item value="&quot;default&quot;"/>
</enum>
</param>
<param type="string" name="machineName" arg="$Path.machineName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-05-20-preview&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="202">
<header>
<item name="Azure-AsyncOperation"/>
<item name="Location"/>
<item name="Retry-After"/>
</header>
</response>
<response statusCode="204"/>
<response statusCode="200 201"/>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
</command>
<command name="create" version="2024-05-20-preview">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles/{}" version="2024-05-20-preview" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bWFjaGluZU5hbWV9L2xpY2Vuc2VQcm9maWxlcy97bGljZW5zZVByb2ZpbGVOYW1lfQ==/V/MjAyNC0wNS0yMC1wcmV2aWV3"/>
<argGroup name="">
<arg type="string" var="$Path.licenseProfileName" options="license-profile-name name n" required="True" idPart="child_name_1">
<help short="The name of the license profile."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
<enum>
<item name="default" value="&quot;default&quot;"/>
</enum>
</arg>
<arg type="string" var="$Path.machineName" options="machine-name" required="True" idPart="name">
<help short="The name of the hybrid machine."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<argGroup name="EsuProfile">
<arg type="string" var="$parameters.properties.esuProfile.assignedLicense" options="assigned-license" group="EsuProfile">
<help short="The resource id of the license."/>
</arg>
</argGroup>
<argGroup name="Parameters">
<arg type="ResourceLocation" var="$parameters.location" options="location l" required="True" group="Parameters">
<help short="The geo-location where the resource lives"/>
</arg>
<arg type="object" var="$parameters.tags" options="tags" group="Parameters">
<help short="Resource tags."/>
<additionalProp>
<item type="string"/>
</additionalProp>
</arg>
</argGroup>
<argGroup name="ProductProfile">
<arg type="array<object>" var="$parameters.properties.productProfile.productFeatures" options="product-features" group="ProductProfile">
<help short="The list of product features."/>
<item type="object">
<arg type="string" var="$parameters.properties.productProfile.productFeatures[].name" options="name">
<help short="Product feature name."/>
</arg>
<arg type="string" var="$parameters.properties.productProfile.productFeatures[].subscriptionStatus" options="subscription-status">
<help short="Indicates the current status of the product features."/>
<enum>
<item name="Disabled" value="&quot;Disabled&quot;"/>
<item name="Disabling" value="&quot;Disabling&quot;"/>
<item name="Enabled" value="&quot;Enabled&quot;"/>
<item name="Enabling" value="&quot;Enabling&quot;"/>
<item name="Failed" value="&quot;Failed&quot;"/>
<item name="Unknown" value="&quot;Unknown&quot;"/>
</enum>
</arg>
</item>
</arg>
<arg type="string" var="$parameters.properties.productProfile.productType" options="product-type" group="ProductProfile">
<help short="Indicates the product type of the license."/>
<enum>
<item name="WindowsIoTEnterprise" value="&quot;WindowsIoTEnterprise&quot;"/>
<item name="WindowsServer" value="&quot;WindowsServer&quot;"/>
</enum>
</arg>
<arg type="string" var="$parameters.properties.productProfile.subscriptionStatus" options="subscription-status" group="ProductProfile">
<help short="Indicates the subscription status of the product."/>
<enum>
<item name="Disabled" value="&quot;Disabled&quot;"/>
<item name="Disabling" value="&quot;Disabling&quot;"/>
<item name="Enabled" value="&quot;Enabled&quot;"/>
<item name="Enabling" value="&quot;Enabling&quot;"/>
<item name="Failed" value="&quot;Failed&quot;"/>
<item name="Unknown" value="&quot;Unknown&quot;"/>
</enum>
</arg>
</argGroup>
<argGroup name="SoftwareAssurance">
<arg type="boolean" var="$parameters.properties.softwareAssurance.softwareAssuranceCustomer" options="software-assurance-customer" group="SoftwareAssurance">
<help short="Specifies if this machine is licensed as part of a Software Assurance agreement."/>
</arg>
</argGroup>
<operation operationId="LicenseProfiles_CreateOrUpdate">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}">
<request method="put">
<path>
<param type="string" name="licenseProfileName" arg="$Path.licenseProfileName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
<enum>
<item value="&quot;default&quot;"/>
</enum>
</param>
<param type="string" name="machineName" arg="$Path.machineName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-05-20-preview&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="parameters" required="True" clientFlatten="True">
<prop type="ResourceLocation" name="location" arg="$parameters.location" required="True"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="object" name="esuProfile" clientFlatten="True">
<prop type="string" name="assignedLicense" arg="$parameters.properties.esuProfile.assignedLicense"/>
</prop>
<prop type="object" name="productProfile" clientFlatten="True">
<prop type="array<object>" name="productFeatures" arg="$parameters.properties.productProfile.productFeatures">
<item type="object">
<prop type="string" name="name" arg="$parameters.properties.productProfile.productFeatures[].name"/>
<prop type="string" name="subscriptionStatus" arg="$parameters.properties.productProfile.productFeatures[].subscriptionStatus">
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Disabling&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;Enabling&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
</item>
</prop>
<prop type="string" name="productType" arg="$parameters.properties.productProfile.productType">
<enum>
<item value="&quot;WindowsIoTEnterprise&quot;"/>
<item value="&quot;WindowsServer&quot;"/>
</enum>
</prop>
<prop type="string" name="subscriptionStatus" arg="$parameters.properties.productProfile.subscriptionStatus">
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Disabling&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;Enabling&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="softwareAssurance" clientFlatten="True">
<prop type="boolean" name="softwareAssuranceCustomer" arg="$parameters.properties.softwareAssurance.softwareAssuranceCustomer"/>
</prop>
</prop>
<prop type="object" name="tags" arg="$parameters.tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200 201">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/machines/{}/licenseProfiles/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="object" name="esuProfile" clientFlatten="True">
<prop type="string" name="assignedLicense"/>
<prop readOnly="True" type="string" name="assignedLicenseImmutableId"/>
<prop readOnly="True" type="string" name="esuEligibility">
<enum>
<item value="&quot;Eligible&quot;"/>
<item value="&quot;Ineligible&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="esuKeyState">
<enum>
<item value="&quot;Active&quot;"/>
<item value="&quot;Inactive&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="array<object>" name="esuKeys">
<item type="object">
<prop type="integer32" name="licenseStatus"/>
<prop type="string" name="sku"/>
</item>
</prop>
<prop readOnly="True" type="string" name="serverType">
<enum>
<item value="&quot;Datacenter&quot;"/>
<item value="&quot;Standard&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="productProfile" clientFlatten="True">
<prop readOnly="True" type="dateTime" name="billingEndDate"/>
<prop readOnly="True" type="dateTime" name="billingStartDate"/>
<prop readOnly="True" type="dateTime" name="disenrollmentDate"/>
<prop readOnly="True" type="dateTime" name="enrollmentDate"/>
<prop readOnly="True" type="object" name="error" cls="ErrorDetail_read">
<prop readOnly="True" type="array<object>" name="additionalInfo">
<item type="object">
<prop readOnly="True" type="object" name="info"/>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
<prop readOnly="True" type="string" name="code"/>
<prop readOnly="True" type="array<@ErrorDetail_read>" name="details" identifiers="message target">
<item type="@ErrorDetail_read"/>
</prop>
<prop readOnly="True" type="string" name="message"/>
<prop readOnly="True" type="string" name="target"/>
</prop>
<prop type="array<object>" name="productFeatures">
<item type="object">
<prop readOnly="True" type="dateTime" name="billingEndDate"/>
<prop readOnly="True" type="dateTime" name="billingStartDate"/>
<prop readOnly="True" type="dateTime" name="disenrollmentDate"/>
<prop readOnly="True" type="dateTime" name="enrollmentDate"/>
<prop readOnly="True" type="@ErrorDetail_read" name="error"/>
<prop type="string" name="name"/>
<prop type="string" name="subscriptionStatus">
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Disabling&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;Enabling&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
</item>
</prop>
<prop type="string" name="productType">
<enum>
<item value="&quot;WindowsIoTEnterprise&quot;"/>
<item value="&quot;WindowsServer&quot;"/>
</enum>
</prop>
<prop type="string" name="subscriptionStatus">
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Disabling&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;Enabling&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value="&quot;Accepted&quot;"/>
<item value="&quot;Canceled&quot;"/>
<item value="&quot;Creating&quot;"/>
<item value="&quot;Deleted&quot;"/>
<item value="&quot;Deleting&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Succeeded&quot;"/>
<item value="&quot;Updating&quot;"/>
</enum>
</prop>
<prop type="object" name="softwareAssurance" clientFlatten="True">
<prop type="boolean" name="softwareAssuranceCustomer"/>
</prop>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="update" version="2024-05-20-preview">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/licenseprofiles/{}" version="2024-05-20-preview" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bWFjaGluZU5hbWV9L2xpY2Vuc2VQcm9maWxlcy97bGljZW5zZVByb2ZpbGVOYW1lfQ==/V/MjAyNC0wNS0yMC1wcmV2aWV3"/>
<argGroup name="">
<arg type="string" var="$Path.licenseProfileName" options="license-profile-name name n" required="True" idPart="child_name_1">
<help short="The name of the license profile."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
<enum>
<item name="default" value="&quot;default&quot;"/>
</enum>
</arg>
<arg type="string" var="$Path.machineName" options="machine-name" required="True" idPart="name">
<help short="The name of the hybrid machine."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<argGroup name="EsuProfile">
<arg nullable="True" type="string" var="$parameters.properties.esuProfile.assignedLicense" options="assigned-license" group="EsuProfile">
<help short="The resource id of the license."/>
</arg>
</argGroup>
<argGroup name="Parameters">
<arg nullable="True" type="object" var="$parameters.tags" options="tags" group="Parameters">
<help short="Resource tags."/>
<additionalProp>
<item nullable="True" type="string"/>
</additionalProp>
</arg>
</argGroup>
<argGroup name="ProductProfile">
<arg nullable="True" type="array<object>" var="$parameters.properties.productProfile.productFeatures" options="product-features" group="ProductProfile">
<help short="The list of product features."/>
<item nullable="True" type="object">
<arg nullable="True" type="string" var="$parameters.properties.productProfile.productFeatures[].name" options="name">
<help short="Product feature name."/>
</arg>
<arg nullable="True" type="string" var="$parameters.properties.productProfile.productFeatures[].subscriptionStatus" options="subscription-status">
<help short="Indicates the current status of the product features."/>
<enum>
<item name="Disabled" value="&quot;Disabled&quot;"/>
<item name="Disabling" value="&quot;Disabling&quot;"/>
<item name="Enabled" value="&quot;Enabled&quot;"/>
<item name="Enabling" value="&quot;Enabling&quot;"/>
<item name="Failed" value="&quot;Failed&quot;"/>
<item name="Unknown" value="&quot;Unknown&quot;"/>
</enum>
</arg>
</item>
</arg>
<arg nullable="True" type="string" var="$parameters.properties.productProfile.productType" options="product-type" group="ProductProfile">
<help short="Indicates the product type of the license."/>
<enum>
<item name="WindowsIoTEnterprise" value="&quot;WindowsIoTEnterprise&quot;"/>
<item name="WindowsServer" value="&quot;WindowsServer&quot;"/>
</enum>
</arg>
<arg nullable="True" type="string" var="$parameters.properties.productProfile.subscriptionStatus" options="subscription-status" group="ProductProfile">
<help short="Indicates the subscription status of the product."/>
<enum>
<item name="Disabled" value="&quot;Disabled&quot;"/>
<item name="Disabling" value="&quot;Disabling&quot;"/>
<item name="Enabled" value="&quot;Enabled&quot;"/>
<item name="Enabling" value="&quot;Enabling&quot;"/>
<item name="Failed" value="&quot;Failed&quot;"/>
<item name="Unknown" value="&quot;Unknown&quot;"/>
</enum>
</arg>
</argGroup>
<argGroup name="SoftwareAssurance">
<arg nullable="True" type="boolean" var="$parameters.properties.softwareAssurance.softwareAssuranceCustomer" options="software-assurance-customer" group="SoftwareAssurance">
<help short="Specifies if this machine is licensed as part of a Software Assurance agreement."/>
</arg>
</argGroup>
<operation operationId="LicenseProfiles_Get">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}">
<request method="get">
<path>
<param type="string" name="licenseProfileName" arg="$Path.licenseProfileName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
<enum>
<item value="&quot;default&quot;"/>
</enum>
</param>
<param type="string" name="machineName" arg="$Path.machineName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-05-20-preview&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object" cls="LicenseProfile_read">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/machines/{}/licenseProfiles/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="object" name="esuProfile" clientFlatten="True">
<prop type="string" name="assignedLicense"/>
<prop readOnly="True" type="string" name="assignedLicenseImmutableId"/>
<prop readOnly="True" type="string" name="esuEligibility">
<enum>
<item value="&quot;Eligible&quot;"/>
<item value="&quot;Ineligible&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="esuKeyState">
<enum>
<item value="&quot;Active&quot;"/>
<item value="&quot;Inactive&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="array<object>" name="esuKeys">
<item type="object">
<prop type="integer32" name="licenseStatus"/>
<prop type="string" name="sku"/>
</item>
</prop>
<prop readOnly="True" type="string" name="serverType">
<enum>
<item value="&quot;Datacenter&quot;"/>
<item value="&quot;Standard&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="productProfile" clientFlatten="True">
<prop readOnly="True" type="dateTime" name="billingEndDate"/>
<prop readOnly="True" type="dateTime" name="billingStartDate"/>
<prop readOnly="True" type="dateTime" name="disenrollmentDate"/>
<prop readOnly="True" type="dateTime" name="enrollmentDate"/>
<prop readOnly="True" type="object" name="error" cls="ErrorDetail_read">
<prop readOnly="True" type="array<object>" name="additionalInfo">
<item type="object">
<prop readOnly="True" type="object" name="info"/>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
<prop readOnly="True" type="string" name="code"/>
<prop readOnly="True" type="array<@ErrorDetail_read>" name="details" identifiers="message target">
<item type="@ErrorDetail_read"/>
</prop>
<prop readOnly="True" type="string" name="message"/>
<prop readOnly="True" type="string" name="target"/>
</prop>
<prop type="array<object>" name="productFeatures">
<item type="object">
<prop readOnly="True" type="dateTime" name="billingEndDate"/>
<prop readOnly="True" type="dateTime" name="billingStartDate"/>
<prop readOnly="True" type="dateTime" name="disenrollmentDate"/>
<prop readOnly="True" type="dateTime" name="enrollmentDate"/>
<prop readOnly="True" type="@ErrorDetail_read" name="error"/>
<prop type="string" name="name"/>
<prop type="string" name="subscriptionStatus">
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Disabling&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;Enabling&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
</item>
</prop>
<prop type="string" name="productType">
<enum>
<item value="&quot;WindowsIoTEnterprise&quot;"/>
<item value="&quot;WindowsServer&quot;"/>
</enum>
</prop>
<prop type="string" name="subscriptionStatus">
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Disabling&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;Enabling&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value="&quot;Accepted&quot;"/>
<item value="&quot;Canceled&quot;"/>
<item value="&quot;Creating&quot;"/>
<item value="&quot;Deleted&quot;"/>
<item value="&quot;Deleting&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Succeeded&quot;"/>
<item value="&quot;Updating&quot;"/>
</enum>
</prop>
<prop type="object" name="softwareAssurance" clientFlatten="True">
<prop type="boolean" name="softwareAssuranceCustomer"/>
</prop>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<operation>
<instanceUpdate ref="$Instance">
<json>
<schema type="object" name="parameters" required="True" clientFlatten="True">
<prop type="object" name="properties" clientFlatten="True">
<prop type="object" name="esuProfile" clientFlatten="True">
<prop type="string" name="assignedLicense" arg="$parameters.properties.esuProfile.assignedLicense"/>
</prop>
<prop type="object" name="productProfile" clientFlatten="True">
<prop type="array<object>" name="productFeatures" arg="$parameters.properties.productProfile.productFeatures">
<item type="object">
<prop type="string" name="name" arg="$parameters.properties.productProfile.productFeatures[].name"/>
<prop type="string" name="subscriptionStatus" arg="$parameters.properties.productProfile.productFeatures[].subscriptionStatus">
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Disabling&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;Enabling&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
</item>
</prop>
<prop type="string" name="productType" arg="$parameters.properties.productProfile.productType">
<enum>
<item value="&quot;WindowsIoTEnterprise&quot;"/>
<item value="&quot;WindowsServer&quot;"/>
</enum>
</prop>
<prop type="string" name="subscriptionStatus" arg="$parameters.properties.productProfile.subscriptionStatus">
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Disabling&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;Enabling&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="softwareAssurance" clientFlatten="True">
<prop type="boolean" name="softwareAssuranceCustomer" arg="$parameters.properties.softwareAssurance.softwareAssuranceCustomer"/>
</prop>
</prop>
<prop type="object" name="tags" arg="$parameters.tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
</schema>
</json>
</instanceUpdate>
</operation>
<operation operationId="LicenseProfiles_CreateOrUpdate">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}">
<request method="put">
<path>
<param type="string" name="licenseProfileName" arg="$Path.licenseProfileName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
<enum>
<item value="&quot;default&quot;"/>
</enum>
</param>
<param type="string" name="machineName" arg="$Path.machineName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-05-20-preview&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json ref="$Instance"/>
</body>
</request>
<response statusCode="200 201">
<body>
<json var="$Instance">
<schema type="@LicenseProfile_read"/>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/upgradeextensions", "version": "2024-07-10", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bWFjaGluZU5hbWV9L3VwZ3JhZGVFeHRlbnNpb25z/V/MjAyNC0wNy0xMA=="}], "commandGroups": [{"name": "connectedmachine", "commands": [{"name": "upgrade-extension", "version": "2024-07-10", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/upgradeextensions", "version": "2024-07-10", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bWFjaGluZU5hbWV9L3VwZ3JhZGVFeHRlbnNpb25z/V/MjAyNC0wNy0xMA=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.machineName", "options": ["machine-name"], "required": true, "idPart": "name", "help": {"short": "The name of the hybrid machine."}, "format": {"pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "maxLength": 54, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "ExtensionUpgradeParameters", "args": [{"type": "object", "var": "$extensionUpgradeParameters.extensionTargets", "options": ["extension-targets"], "group": "ExtensionUpgradeParameters", "help": {"short": "Describes the Extension Target Properties."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "string", "var": "$extensionUpgradeParameters.extensionTargets{}.targetVersion", "options": ["target-version"], "help": {"short": "Properties for the specified Extension to Upgrade."}}]}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "UpgradeExtensions", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/upgradeExtensions", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "machineName", "arg": "$Path.machineName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "maxLength": 54, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-10"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "extensionUpgradeParameters", "required": true, "props": [{"type": "object", "name": "extensionTargets", "arg": "$extensionUpgradeParameters.extensionTargets", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "targetVersion", "arg": "$extensionUpgradeParameters.extensionTargets{}.targetVersion"}]}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,81 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/upgradeextensions" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bWFjaGluZU5hbWV9L3VwZ3JhZGVFeHRlbnNpb25z/V/MjAyNC0wNy0xMA=="/>
<commandGroup name="connectedmachine">
<command name="upgrade-extension" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/machines/{}/upgradeextensions" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9tYWNoaW5lcy97bWFjaGluZU5hbWV9L3VwZ3JhZGVFeHRlbnNpb25z/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.machineName" options="machine-name" required="True" idPart="name">
<help short="The name of the hybrid machine."/>
<format pattern="^[a-zA-Z0-9-_\.]{1,54}$" maxLength="54" minLength="1"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<argGroup name="ExtensionUpgradeParameters">
<arg type="object" var="$extensionUpgradeParameters.extensionTargets" options="extension-targets" group="ExtensionUpgradeParameters">
<help short="Describes the Extension Target Properties."/>
<additionalProp>
<item type="object">
<arg type="string" var="$extensionUpgradeParameters.extensionTargets{}.targetVersion" options="target-version">
<help short="Properties for the specified Extension to Upgrade."/>
</arg>
</item>
</additionalProp>
</arg>
</argGroup>
<operation operationId="UpgradeExtensions">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/upgradeExtensions">
<request method="post">
<path>
<param type="string" name="machineName" arg="$Path.machineName" required="True">
<format pattern="^[a-zA-Z0-9-_\.]{1,54}$" maxLength="54" minLength="1"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="extensionUpgradeParameters" required="True" clientFlatten="True">
<prop type="object" name="extensionTargets" arg="$extensionUpgradeParameters.extensionTargets">
<additionalProp>
<item type="object">
<prop type="string" name="targetVersion" arg="$extensionUpgradeParameters.extensionTargets{}.targetVersion"/>
</item>
</additionalProp>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200"/>
<response statusCode="202">
<header>
<item name="Azure-AsyncOperation"/>
<item name="Location"/>
<item name="Retry-After"/>
</header>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
</command>
</commandGroup>
</CodeGen>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1,782 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/licenses/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9saWNlbnNlcy97bGljZW5zZU5hbWV9/V/MjAyNC0wNy0xMA=="/>
<commandGroup name="connectedmachine license">
<command name="show" version="2024-07-10">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/licenses/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9saWNlbnNlcy97bGljZW5zZU5hbWV9/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.licenseName" options="license-name name n" required="True" idPart="name">
<help short="The name of the license."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="Licenses_Get">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}">
<request method="get">
<path>
<param type="string" name="licenseName" arg="$Path.licenseName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/licenses/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="object" name="licenseDetails">
<prop readOnly="True" type="integer32" name="assignedLicenses"/>
<prop type="string" name="edition">
<enum>
<item value="&quot;Datacenter&quot;"/>
<item value="&quot;Standard&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="immutableId"/>
<prop type="integer32" name="processors"/>
<prop type="string" name="state">
<enum>
<item value="&quot;Activated&quot;"/>
<item value="&quot;Deactivated&quot;"/>
</enum>
</prop>
<prop type="string" name="target">
<enum>
<item value="&quot;Windows Server 2012&quot;"/>
<item value="&quot;Windows Server 2012 R2&quot;"/>
</enum>
</prop>
<prop type="string" name="type">
<enum>
<item value="&quot;pCore&quot;"/>
<item value="&quot;vCore&quot;"/>
</enum>
</prop>
<prop type="array<object>" name="volumeLicenseDetails">
<item type="object">
<prop type="string" name="invoiceId"/>
<prop type="string" name="programYear">
<enum>
<item value="&quot;Year 1&quot;"/>
<item value="&quot;Year 2&quot;"/>
<item value="&quot;Year 3&quot;"/>
</enum>
</prop>
</item>
</prop>
</prop>
<prop type="string" name="licenseType">
<enum>
<item value="&quot;ESU&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value="&quot;Accepted&quot;"/>
<item value="&quot;Canceled&quot;"/>
<item value="&quot;Creating&quot;"/>
<item value="&quot;Deleted&quot;"/>
<item value="&quot;Deleting&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Succeeded&quot;"/>
<item value="&quot;Updating&quot;"/>
</enum>
</prop>
<prop type="string" name="tenantId"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="delete" version="2024-07-10" confirmation="Are you sure you want to perform this operation?">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/licenses/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9saWNlbnNlcy97bGljZW5zZU5hbWV9/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.licenseName" options="license-name name n" required="True" idPart="name">
<help short="The name of the license."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="Licenses_Delete">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}">
<request method="delete">
<path>
<param type="string" name="licenseName" arg="$Path.licenseName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200"/>
<response statusCode="204"/>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
</command>
<command name="create" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/licenses/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9saWNlbnNlcy97bGljZW5zZU5hbWV9/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.licenseName" options="license-name name n" required="True" idPart="name">
<help short="The name of the license."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<argGroup name="LicenseDetails">
<arg type="string" var="$parameters.properties.licenseDetails.edition" options="edition" group="LicenseDetails">
<help short="Describes the edition of the license. The values are either Standard or Datacenter."/>
<enum>
<item name="Datacenter" value="&quot;Datacenter&quot;"/>
<item name="Standard" value="&quot;Standard&quot;"/>
</enum>
</arg>
<arg type="integer32" var="$parameters.properties.licenseDetails.processors" options="processors" group="LicenseDetails">
<help short="Describes the number of processors."/>
</arg>
<arg type="string" var="$parameters.properties.licenseDetails.state" options="state" group="LicenseDetails">
<help short="Describes the state of the license."/>
<enum>
<item name="Activated" value="&quot;Activated&quot;"/>
<item name="Deactivated" value="&quot;Deactivated&quot;"/>
</enum>
</arg>
<arg type="string" var="$parameters.properties.licenseDetails.target" options="target" group="LicenseDetails">
<help short="Describes the license target server."/>
<enum>
<item name="Windows Server 2012" value="&quot;Windows Server 2012&quot;"/>
<item name="Windows Server 2012 R2" value="&quot;Windows Server 2012 R2&quot;"/>
</enum>
</arg>
<arg type="string" var="$parameters.properties.licenseDetails.type" options="type" group="LicenseDetails">
<help short="Describes the license core type (pCore or vCore)."/>
<enum>
<item name="pCore" value="&quot;pCore&quot;"/>
<item name="vCore" value="&quot;vCore&quot;"/>
</enum>
</arg>
<arg type="array<object>" var="$parameters.properties.licenseDetails.volumeLicenseDetails" options="volume-license-details" group="LicenseDetails">
<help short="A list of volume license details."/>
<item type="object">
<arg type="string" var="$parameters.properties.licenseDetails.volumeLicenseDetails[].invoiceId" options="invoice-id">
<help short="The invoice id for the volume license."/>
</arg>
<arg type="string" var="$parameters.properties.licenseDetails.volumeLicenseDetails[].programYear" options="program-year">
<help short="Describes the program year the volume license is for."/>
<enum>
<item name="Year 1" value="&quot;Year 1&quot;"/>
<item name="Year 2" value="&quot;Year 2&quot;"/>
<item name="Year 3" value="&quot;Year 3&quot;"/>
</enum>
</arg>
</item>
</arg>
</argGroup>
<argGroup name="Parameters">
<arg type="ResourceLocation" var="$parameters.location" options="location l" required="True" group="Parameters">
<help short="The geo-location where the resource lives"/>
</arg>
<arg type="object" var="$parameters.tags" options="tags" group="Parameters">
<help short="Resource tags."/>
<additionalProp>
<item type="string"/>
</additionalProp>
</arg>
</argGroup>
<argGroup name="Properties">
<arg type="string" var="$parameters.properties.licenseType" options="license-type" group="Properties">
<help short="The type of the license resource."/>
<enum>
<item name="ESU" value="&quot;ESU&quot;"/>
</enum>
</arg>
<arg type="string" var="$parameters.properties.tenantId" options="tenant-id" group="Properties">
<help short="Describes the tenant id."/>
</arg>
</argGroup>
<operation operationId="Licenses_CreateOrUpdate">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}">
<request method="put">
<path>
<param type="string" name="licenseName" arg="$Path.licenseName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="parameters" required="True" clientFlatten="True">
<prop type="ResourceLocation" name="location" arg="$parameters.location" required="True"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="object" name="licenseDetails">
<prop type="string" name="edition" arg="$parameters.properties.licenseDetails.edition">
<enum>
<item value="&quot;Datacenter&quot;"/>
<item value="&quot;Standard&quot;"/>
</enum>
</prop>
<prop type="integer32" name="processors" arg="$parameters.properties.licenseDetails.processors"/>
<prop type="string" name="state" arg="$parameters.properties.licenseDetails.state">
<enum>
<item value="&quot;Activated&quot;"/>
<item value="&quot;Deactivated&quot;"/>
</enum>
</prop>
<prop type="string" name="target" arg="$parameters.properties.licenseDetails.target">
<enum>
<item value="&quot;Windows Server 2012&quot;"/>
<item value="&quot;Windows Server 2012 R2&quot;"/>
</enum>
</prop>
<prop type="string" name="type" arg="$parameters.properties.licenseDetails.type">
<enum>
<item value="&quot;pCore&quot;"/>
<item value="&quot;vCore&quot;"/>
</enum>
</prop>
<prop type="array<object>" name="volumeLicenseDetails" arg="$parameters.properties.licenseDetails.volumeLicenseDetails">
<item type="object">
<prop type="string" name="invoiceId" arg="$parameters.properties.licenseDetails.volumeLicenseDetails[].invoiceId"/>
<prop type="string" name="programYear" arg="$parameters.properties.licenseDetails.volumeLicenseDetails[].programYear">
<enum>
<item value="&quot;Year 1&quot;"/>
<item value="&quot;Year 2&quot;"/>
<item value="&quot;Year 3&quot;"/>
</enum>
</prop>
</item>
</prop>
</prop>
<prop type="string" name="licenseType" arg="$parameters.properties.licenseType">
<enum>
<item value="&quot;ESU&quot;"/>
</enum>
</prop>
<prop type="string" name="tenantId" arg="$parameters.properties.tenantId"/>
</prop>
<prop type="object" name="tags" arg="$parameters.tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/licenses/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="object" name="licenseDetails">
<prop readOnly="True" type="integer32" name="assignedLicenses"/>
<prop type="string" name="edition">
<enum>
<item value="&quot;Datacenter&quot;"/>
<item value="&quot;Standard&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="immutableId"/>
<prop type="integer32" name="processors"/>
<prop type="string" name="state">
<enum>
<item value="&quot;Activated&quot;"/>
<item value="&quot;Deactivated&quot;"/>
</enum>
</prop>
<prop type="string" name="target">
<enum>
<item value="&quot;Windows Server 2012&quot;"/>
<item value="&quot;Windows Server 2012 R2&quot;"/>
</enum>
</prop>
<prop type="string" name="type">
<enum>
<item value="&quot;pCore&quot;"/>
<item value="&quot;vCore&quot;"/>
</enum>
</prop>
<prop type="array<object>" name="volumeLicenseDetails">
<item type="object">
<prop type="string" name="invoiceId"/>
<prop type="string" name="programYear">
<enum>
<item value="&quot;Year 1&quot;"/>
<item value="&quot;Year 2&quot;"/>
<item value="&quot;Year 3&quot;"/>
</enum>
</prop>
</item>
</prop>
</prop>
<prop type="string" name="licenseType">
<enum>
<item value="&quot;ESU&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value="&quot;Accepted&quot;"/>
<item value="&quot;Canceled&quot;"/>
<item value="&quot;Creating&quot;"/>
<item value="&quot;Deleted&quot;"/>
<item value="&quot;Deleting&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Succeeded&quot;"/>
<item value="&quot;Updating&quot;"/>
</enum>
</prop>
<prop type="string" name="tenantId"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="update" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/licenses/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9saWNlbnNlcy97bGljZW5zZU5hbWV9/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.licenseName" options="license-name name n" required="True" idPart="name">
<help short="The name of the license."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<argGroup name="LicenseDetails">
<arg nullable="True" type="string" var="$parameters.properties.licenseDetails.edition" options="edition" group="LicenseDetails">
<help short="Describes the edition of the license. The values are either Standard or Datacenter."/>
<enum>
<item name="Datacenter" value="&quot;Datacenter&quot;"/>
<item name="Standard" value="&quot;Standard&quot;"/>
</enum>
</arg>
<arg nullable="True" type="integer32" var="$parameters.properties.licenseDetails.processors" options="processors" group="LicenseDetails">
<help short="Describes the number of processors."/>
</arg>
<arg nullable="True" type="string" var="$parameters.properties.licenseDetails.state" options="state" group="LicenseDetails">
<help short="Describes the state of the license."/>
<enum>
<item name="Activated" value="&quot;Activated&quot;"/>
<item name="Deactivated" value="&quot;Deactivated&quot;"/>
</enum>
</arg>
<arg nullable="True" type="string" var="$parameters.properties.licenseDetails.target" options="target" group="LicenseDetails">
<help short="Describes the license target server."/>
<enum>
<item name="Windows Server 2012" value="&quot;Windows Server 2012&quot;"/>
<item name="Windows Server 2012 R2" value="&quot;Windows Server 2012 R2&quot;"/>
</enum>
</arg>
<arg nullable="True" type="string" var="$parameters.properties.licenseDetails.type" options="type" group="LicenseDetails">
<help short="Describes the license core type (pCore or vCore)."/>
<enum>
<item name="pCore" value="&quot;pCore&quot;"/>
<item name="vCore" value="&quot;vCore&quot;"/>
</enum>
</arg>
<arg nullable="True" type="array<object>" var="$parameters.properties.licenseDetails.volumeLicenseDetails" options="volume-license-details" group="LicenseDetails">
<help short="A list of volume license details."/>
<item nullable="True" type="object">
<arg nullable="True" type="string" var="$parameters.properties.licenseDetails.volumeLicenseDetails[].invoiceId" options="invoice-id">
<help short="The invoice id for the volume license."/>
</arg>
<arg nullable="True" type="string" var="$parameters.properties.licenseDetails.volumeLicenseDetails[].programYear" options="program-year">
<help short="Describes the program year the volume license is for."/>
<enum>
<item name="Year 1" value="&quot;Year 1&quot;"/>
<item name="Year 2" value="&quot;Year 2&quot;"/>
<item name="Year 3" value="&quot;Year 3&quot;"/>
</enum>
</arg>
</item>
</arg>
</argGroup>
<argGroup name="Parameters">
<arg nullable="True" type="object" var="$parameters.tags" options="tags" group="Parameters">
<help short="Resource tags."/>
<additionalProp>
<item nullable="True" type="string"/>
</additionalProp>
</arg>
</argGroup>
<argGroup name="Properties">
<arg nullable="True" type="string" var="$parameters.properties.licenseType" options="license-type" group="Properties">
<help short="The type of the license resource."/>
<enum>
<item name="ESU" value="&quot;ESU&quot;"/>
</enum>
</arg>
<arg nullable="True" type="string" var="$parameters.properties.tenantId" options="tenant-id" group="Properties">
<help short="Describes the tenant id."/>
</arg>
</argGroup>
<operation operationId="Licenses_Get">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}">
<request method="get">
<path>
<param type="string" name="licenseName" arg="$Path.licenseName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object" cls="License_read">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/licenses/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="object" name="licenseDetails">
<prop readOnly="True" type="integer32" name="assignedLicenses"/>
<prop type="string" name="edition">
<enum>
<item value="&quot;Datacenter&quot;"/>
<item value="&quot;Standard&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="immutableId"/>
<prop type="integer32" name="processors"/>
<prop type="string" name="state">
<enum>
<item value="&quot;Activated&quot;"/>
<item value="&quot;Deactivated&quot;"/>
</enum>
</prop>
<prop type="string" name="target">
<enum>
<item value="&quot;Windows Server 2012&quot;"/>
<item value="&quot;Windows Server 2012 R2&quot;"/>
</enum>
</prop>
<prop type="string" name="type">
<enum>
<item value="&quot;pCore&quot;"/>
<item value="&quot;vCore&quot;"/>
</enum>
</prop>
<prop type="array<object>" name="volumeLicenseDetails">
<item type="object">
<prop type="string" name="invoiceId"/>
<prop type="string" name="programYear">
<enum>
<item value="&quot;Year 1&quot;"/>
<item value="&quot;Year 2&quot;"/>
<item value="&quot;Year 3&quot;"/>
</enum>
</prop>
</item>
</prop>
</prop>
<prop type="string" name="licenseType">
<enum>
<item value="&quot;ESU&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value="&quot;Accepted&quot;"/>
<item value="&quot;Canceled&quot;"/>
<item value="&quot;Creating&quot;"/>
<item value="&quot;Deleted&quot;"/>
<item value="&quot;Deleting&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Succeeded&quot;"/>
<item value="&quot;Updating&quot;"/>
</enum>
</prop>
<prop type="string" name="tenantId"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<operation>
<instanceUpdate ref="$Instance">
<json>
<schema type="object" name="parameters" required="True" clientFlatten="True">
<prop type="object" name="properties" clientFlatten="True">
<prop type="object" name="licenseDetails">
<prop type="string" name="edition" arg="$parameters.properties.licenseDetails.edition">
<enum>
<item value="&quot;Datacenter&quot;"/>
<item value="&quot;Standard&quot;"/>
</enum>
</prop>
<prop type="integer32" name="processors" arg="$parameters.properties.licenseDetails.processors"/>
<prop type="string" name="state" arg="$parameters.properties.licenseDetails.state">
<enum>
<item value="&quot;Activated&quot;"/>
<item value="&quot;Deactivated&quot;"/>
</enum>
</prop>
<prop type="string" name="target" arg="$parameters.properties.licenseDetails.target">
<enum>
<item value="&quot;Windows Server 2012&quot;"/>
<item value="&quot;Windows Server 2012 R2&quot;"/>
</enum>
</prop>
<prop type="string" name="type" arg="$parameters.properties.licenseDetails.type">
<enum>
<item value="&quot;pCore&quot;"/>
<item value="&quot;vCore&quot;"/>
</enum>
</prop>
<prop type="array<object>" name="volumeLicenseDetails" arg="$parameters.properties.licenseDetails.volumeLicenseDetails">
<item type="object">
<prop type="string" name="invoiceId" arg="$parameters.properties.licenseDetails.volumeLicenseDetails[].invoiceId"/>
<prop type="string" name="programYear" arg="$parameters.properties.licenseDetails.volumeLicenseDetails[].programYear">
<enum>
<item value="&quot;Year 1&quot;"/>
<item value="&quot;Year 2&quot;"/>
<item value="&quot;Year 3&quot;"/>
</enum>
</prop>
</item>
</prop>
</prop>
<prop type="string" name="licenseType" arg="$parameters.properties.licenseType">
<enum>
<item value="&quot;ESU&quot;"/>
</enum>
</prop>
<prop type="string" name="tenantId" arg="$parameters.properties.tenantId"/>
</prop>
<prop type="object" name="tags" arg="$parameters.tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
</schema>
</json>
</instanceUpdate>
</operation>
<operation operationId="Licenses_CreateOrUpdate">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}">
<request method="put">
<path>
<param type="string" name="licenseName" arg="$Path.licenseName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json ref="$Instance"/>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="@License_read"/>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
Reference [/subscriptions/{}/providers/microsoft.hybridcompute/privatelinkscopes 2024-07-10](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5oeWJyaWRjb21wdXRlL3ByaXZhdGVsaW5rc2NvcGVz/2024-07-10.xml)

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1,530 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfQ==/V/MjAyNC0wNy0xMA=="/>
<commandGroup name="connectedmachine private-link-scope">
<command name="show" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfQ==/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="string" var="$Path.scopeName" options="scope-name name n" required="True" idPart="name">
<help short="The name of the Azure Arc PrivateLinkScope resource."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="PrivateLinkScopes_Get">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}">
<request method="get">
<path>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="scopeName" arg="$Path.scopeName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/privateLinkScopes/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop readOnly="True" type="array<object>" name="privateEndpointConnections">
<item type="object">
<prop readOnly="True" type="string" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop readOnly="True" type="array<string>" name="groupIds">
<item type="string"/>
</prop>
<prop type="object" name="privateEndpoint">
<prop type="string" name="id"/>
</prop>
<prop type="object" name="privateLinkServiceConnectionState">
<prop readOnly="True" type="string" name="actionsRequired"/>
<prop type="string" name="description" required="True"/>
<prop type="string" name="status" required="True"/>
</prop>
<prop readOnly="True" type="string" name="provisioningState"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
<prop readOnly="True" type="string" name="privateLinkScopeId"/>
<prop readOnly="True" type="string" name="provisioningState"/>
<prop type="string" name="publicNetworkAccess">
<default value="&quot;Disabled&quot;"/>
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;SecuredByPerimeter&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="delete" version="2024-07-10" confirmation="Are you sure you want to perform this operation?">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfQ==/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="string" var="$Path.scopeName" options="scope-name name n" required="True" idPart="name">
<help short="The name of the Azure Arc PrivateLinkScope resource."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="PrivateLinkScopes_Delete">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}">
<request method="delete">
<path>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="scopeName" arg="$Path.scopeName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200"/>
<response statusCode="202">
<header>
<item name="Azure-AsyncOperation"/>
<item name="Location"/>
<item name="Retry-After"/>
</header>
</response>
<response statusCode="204"/>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
</command>
<command name="create" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfQ==/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="string" var="$Path.scopeName" options="scope-name name n" required="True" idPart="name">
<help short="The name of the Azure Arc PrivateLinkScope resource."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<argGroup name="Parameters">
<arg type="ResourceLocation" var="$parameters.location" options="location l" required="True" group="Parameters">
<help short="Resource location"/>
</arg>
<arg type="object" var="$parameters.tags" options="tags" group="Parameters">
<help short="Resource tags"/>
<additionalProp>
<item type="string"/>
</additionalProp>
</arg>
</argGroup>
<argGroup name="Properties">
<arg type="string" var="$parameters.properties.publicNetworkAccess" options="public-network-access" group="Properties">
<help short="Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints."/>
<default value="&quot;Disabled&quot;"/>
<enum>
<item name="Disabled" value="&quot;Disabled&quot;"/>
<item name="Enabled" value="&quot;Enabled&quot;"/>
<item name="SecuredByPerimeter" value="&quot;SecuredByPerimeter&quot;"/>
</enum>
</arg>
</argGroup>
<operation operationId="PrivateLinkScopes_CreateOrUpdate">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}">
<request method="put">
<path>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="scopeName" arg="$Path.scopeName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="parameters" required="True" clientFlatten="True">
<prop type="ResourceLocation" name="location" arg="$parameters.location" required="True"/>
<prop type="object" name="properties">
<prop type="string" name="publicNetworkAccess" arg="$parameters.properties.publicNetworkAccess">
<default value="&quot;Disabled&quot;"/>
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;SecuredByPerimeter&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags" arg="$parameters.tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200 201">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/privateLinkScopes/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop readOnly="True" type="array<object>" name="privateEndpointConnections">
<item type="object">
<prop readOnly="True" type="string" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop readOnly="True" type="array<string>" name="groupIds">
<item type="string"/>
</prop>
<prop type="object" name="privateEndpoint">
<prop type="string" name="id"/>
</prop>
<prop type="object" name="privateLinkServiceConnectionState">
<prop readOnly="True" type="string" name="actionsRequired"/>
<prop type="string" name="description" required="True"/>
<prop type="string" name="status" required="True"/>
</prop>
<prop readOnly="True" type="string" name="provisioningState"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
<prop readOnly="True" type="string" name="privateLinkScopeId"/>
<prop readOnly="True" type="string" name="provisioningState"/>
<prop type="string" name="publicNetworkAccess">
<default value="&quot;Disabled&quot;"/>
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;SecuredByPerimeter&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="update" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfQ==/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="string" var="$Path.scopeName" options="scope-name name n" required="True" idPart="name">
<help short="The name of the Azure Arc PrivateLinkScope resource."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<argGroup name="Parameters">
<arg nullable="True" type="object" var="$parameters.tags" options="tags" group="Parameters">
<help short="Resource tags"/>
<additionalProp>
<item nullable="True" type="string"/>
</additionalProp>
</arg>
</argGroup>
<argGroup name="Properties">
<arg nullable="True" type="string" var="$parameters.properties.publicNetworkAccess" options="public-network-access" group="Properties">
<help short="Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints."/>
<enum>
<item name="Disabled" value="&quot;Disabled&quot;"/>
<item name="Enabled" value="&quot;Enabled&quot;"/>
<item name="SecuredByPerimeter" value="&quot;SecuredByPerimeter&quot;"/>
</enum>
</arg>
</argGroup>
<operation operationId="PrivateLinkScopes_Get">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}">
<request method="get">
<path>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="scopeName" arg="$Path.scopeName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object" cls="HybridComputePrivateLinkScope_read">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/privateLinkScopes/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop readOnly="True" type="array<object>" name="privateEndpointConnections">
<item type="object">
<prop readOnly="True" type="string" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop readOnly="True" type="array<string>" name="groupIds">
<item type="string"/>
</prop>
<prop type="object" name="privateEndpoint">
<prop type="string" name="id"/>
</prop>
<prop type="object" name="privateLinkServiceConnectionState">
<prop readOnly="True" type="string" name="actionsRequired"/>
<prop type="string" name="description" required="True"/>
<prop type="string" name="status" required="True"/>
</prop>
<prop readOnly="True" type="string" name="provisioningState"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
<prop readOnly="True" type="string" name="privateLinkScopeId"/>
<prop readOnly="True" type="string" name="provisioningState"/>
<prop type="string" name="publicNetworkAccess">
<default value="&quot;Disabled&quot;"/>
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;SecuredByPerimeter&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<operation>
<instanceUpdate ref="$Instance">
<json>
<schema type="object" name="parameters" required="True" clientFlatten="True">
<prop type="object" name="properties">
<prop type="string" name="publicNetworkAccess" arg="$parameters.properties.publicNetworkAccess">
<default value="&quot;Disabled&quot;"/>
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Enabled&quot;"/>
<item value="&quot;SecuredByPerimeter&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags" arg="$parameters.tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
</schema>
</json>
</instanceUpdate>
</operation>
<operation operationId="PrivateLinkScopes_CreateOrUpdate">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}">
<request method="put">
<path>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="scopeName" arg="$Path.scopeName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json ref="$Instance"/>
</body>
</request>
<response statusCode="200 201">
<body>
<json var="$Instance">
<schema type="@HybridComputePrivateLinkScope_read"/>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1,136 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/networksecurityperimeterconfigurations" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9uZXR3b3JrU2VjdXJpdHlQZXJpbWV0ZXJDb25maWd1cmF0aW9ucw==/V/MjAyNC0wNy0xMA=="/>
<commandGroup name="connectedmachine private-link-scope network-security-perimeter-configuration">
<command name="list" version="2024-07-10">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/networksecurityperimeterconfigurations" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9uZXR3b3JrU2VjdXJpdHlQZXJpbWV0ZXJDb25maWd1cmF0aW9ucw==/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="string" var="$Path.scopeName" options="scope-name" required="True" idPart="name">
<help short="The name of the Azure Arc PrivateLinkScope resource."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="NetworkSecurityPerimeterConfigurations_ListByPrivateLinkScope">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations">
<request method="get">
<path>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="scopeName" arg="$Path.scopeName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="string" name="nextLink"/>
<prop readOnly="True" type="array<object>" name="value">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/privateLinkScopes/{}/networkSecurityPerimeterConfigurations/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="object" name="networkSecurityPerimeter">
<prop readOnly="True" type="string" name="id"/>
<prop readOnly="True" type="string" name="location"/>
<prop readOnly="True" type="string" name="perimeterGuid"/>
</prop>
<prop type="object" name="profile">
<prop readOnly="True" type="array<@AccessRule_read>" name="accessRules">
<item type="@AccessRule_read"/>
</prop>
<prop readOnly="True" type="integer32" name="accessRulesVersion"/>
<prop readOnly="True" type="integer32" name="diagnosticSettingsVersion"/>
<prop readOnly="True" type="array<string>" name="enabledLogCategories">
<item type="string"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
</prop>
<prop readOnly="True" type="array<object>" name="provisioningIssues">
<item type="object">
<prop readOnly="True" type="string" name="name"/>
<prop readOnly="True" type="object" name="properties" clientFlatten="True">
<prop readOnly="True" type="string" name="description"/>
<prop readOnly="True" type="string" name="issueType">
<enum>
<item value="&quot;ConfigurationPropagationFailure&quot;"/>
<item value="&quot;MissingIdentityConfiguration&quot;"/>
<item value="&quot;MissingPerimeterConfiguration&quot;"/>
<item value="&quot;Other&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="severity">
<enum>
<item value="&quot;Error&quot;"/>
<item value="&quot;Warning&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="array<object>" name="suggestedAccessRules">
<item type="object" cls="AccessRule_read">
<prop readOnly="True" type="string" name="name"/>
<prop readOnly="True" type="object" name="properties" clientFlatten="True">
<prop readOnly="True" type="array<string>" name="addressPrefixes">
<item type="string"/>
</prop>
<prop readOnly="True" type="string" name="direction">
<enum>
<item value="&quot;Inbound&quot;"/>
<item value="&quot;Outbound&quot;"/>
</enum>
</prop>
</prop>
</item>
</prop>
<prop readOnly="True" type="array<string>" name="suggestedResourceIds">
<item type="string"/>
</prop>
</prop>
</item>
</prop>
<prop readOnly="True" type="string" name="provisioningState"/>
<prop type="object" name="resourceAssociation">
<prop readOnly="True" type="string" name="accessMode">
<enum>
<item value="&quot;audit&quot;"/>
<item value="&quot;enforced&quot;"/>
<item value="&quot;learning&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="name"/>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1,138 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/networksecurityperimeterconfigurations/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9uZXR3b3JrU2VjdXJpdHlQZXJpbWV0ZXJDb25maWd1cmF0aW9ucy97cGVyaW1ldGVyTmFtZX0=/V/MjAyNC0wNy0xMA=="/>
<commandGroup name="connectedmachine private-link-scope network-security-perimeter-configuration">
<command name="show" version="2024-07-10">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/networksecurityperimeterconfigurations/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9uZXR3b3JrU2VjdXJpdHlQZXJpbWV0ZXJDb25maWd1cmF0aW9ucy97cGVyaW1ldGVyTmFtZX0=/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.perimeterName" options="perimeter-name name n" required="True" idPart="child_name_1">
<help short="The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource."/>
<format pattern="^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[.]{1}.+$"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="string" var="$Path.scopeName" options="scope-name" required="True" idPart="name">
<help short="The name of the Azure Arc PrivateLinkScope resource."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="NetworkSecurityPerimeterConfigurations_GetByPrivateLinkScope">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}">
<request method="get">
<path>
<param type="string" name="perimeterName" arg="$Path.perimeterName" required="True">
<format pattern="^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[.]{1}.+$"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="scopeName" arg="$Path.scopeName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/privateLinkScopes/{}/networkSecurityPerimeterConfigurations/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="object" name="networkSecurityPerimeter">
<prop readOnly="True" type="string" name="id"/>
<prop readOnly="True" type="string" name="location"/>
<prop readOnly="True" type="string" name="perimeterGuid"/>
</prop>
<prop type="object" name="profile">
<prop readOnly="True" type="array<@AccessRule_read>" name="accessRules">
<item type="@AccessRule_read"/>
</prop>
<prop readOnly="True" type="integer32" name="accessRulesVersion"/>
<prop readOnly="True" type="integer32" name="diagnosticSettingsVersion"/>
<prop readOnly="True" type="array<string>" name="enabledLogCategories">
<item type="string"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
</prop>
<prop readOnly="True" type="array<object>" name="provisioningIssues">
<item type="object">
<prop readOnly="True" type="string" name="name"/>
<prop readOnly="True" type="object" name="properties" clientFlatten="True">
<prop readOnly="True" type="string" name="description"/>
<prop readOnly="True" type="string" name="issueType">
<enum>
<item value="&quot;ConfigurationPropagationFailure&quot;"/>
<item value="&quot;MissingIdentityConfiguration&quot;"/>
<item value="&quot;MissingPerimeterConfiguration&quot;"/>
<item value="&quot;Other&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="severity">
<enum>
<item value="&quot;Error&quot;"/>
<item value="&quot;Warning&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="array<object>" name="suggestedAccessRules">
<item type="object" cls="AccessRule_read">
<prop readOnly="True" type="string" name="name"/>
<prop readOnly="True" type="object" name="properties" clientFlatten="True">
<prop readOnly="True" type="array<string>" name="addressPrefixes">
<item type="string"/>
</prop>
<prop readOnly="True" type="string" name="direction">
<enum>
<item value="&quot;Inbound&quot;"/>
<item value="&quot;Outbound&quot;"/>
</enum>
</prop>
</prop>
</item>
</prop>
<prop readOnly="True" type="array<string>" name="suggestedResourceIds">
<item type="string"/>
</prop>
</prop>
</item>
</prop>
<prop readOnly="True" type="string" name="provisioningState"/>
<prop type="object" name="resourceAssociation">
<prop readOnly="True" type="string" name="accessMode">
<enum>
<item value="&quot;audit&quot;"/>
<item value="&quot;enforced&quot;"/>
<item value="&quot;learning&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="name"/>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/networksecurityperimeterconfigurations/{}/reconcile", "version": "2024-07-10", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9uZXR3b3JrU2VjdXJpdHlQZXJpbWV0ZXJDb25maWd1cmF0aW9ucy97cGVyaW1ldGVyTmFtZX0vcmVjb25jaWxl/V/MjAyNC0wNy0xMA=="}], "commandGroups": [{"name": "connectedmachine private-link-scope network-security-perimeter-configuration", "commands": [{"name": "reconcile", "version": "2024-07-10", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/networksecurityperimeterconfigurations/{}/reconcile", "version": "2024-07-10", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9uZXR3b3JrU2VjdXJpdHlQZXJpbWV0ZXJDb25maWd1cmF0aW9ucy97cGVyaW1ldGVyTmFtZX0vcmVjb25jaWxl/V/MjAyNC0wNy0xMA=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.perimeterName", "options": ["perimeter-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource."}, "format": {"pattern": "^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[.]{1}.+$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.scopeName", "options": ["scope-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Azure Arc PrivateLinkScope resource."}, "format": {"pattern": "[a-zA-Z0-9-_\\.]+"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "NetworkSecurityPerimeterConfigurations_ReconcileForPrivateLinkScope", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}/reconcile", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "perimeterName", "arg": "$Path.perimeterName", "required": true, "format": {"pattern": "^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[.]{1}.+$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "scopeName", "arg": "$Path.scopeName", "required": true, "format": {"pattern": "[a-zA-Z0-9-_\\.]+"}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-10"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "location"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]}

Просмотреть файл

@ -0,0 +1,72 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/networksecurityperimeterconfigurations/{}/reconcile" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9uZXR3b3JrU2VjdXJpdHlQZXJpbWV0ZXJDb25maWd1cmF0aW9ucy97cGVyaW1ldGVyTmFtZX0vcmVjb25jaWxl/V/MjAyNC0wNy0xMA=="/>
<commandGroup name="connectedmachine private-link-scope network-security-perimeter-configuration">
<command name="reconcile" version="2024-07-10">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/networksecurityperimeterconfigurations/{}/reconcile" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9uZXR3b3JrU2VjdXJpdHlQZXJpbWV0ZXJDb25maWd1cmF0aW9ucy97cGVyaW1ldGVyTmFtZX0vcmVjb25jaWxl/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.perimeterName" options="perimeter-name" required="True" idPart="child_name_1">
<help short="The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource."/>
<format pattern="^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[.]{1}.+$"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="string" var="$Path.scopeName" options="scope-name" required="True" idPart="name">
<help short="The name of the Azure Arc PrivateLinkScope resource."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="NetworkSecurityPerimeterConfigurations_ReconcileForPrivateLinkScope">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}/reconcile">
<request method="post">
<path>
<param type="string" name="perimeterName" arg="$Path.perimeterName" required="True">
<format pattern="^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[.]{1}.+$"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="scopeName" arg="$Path.scopeName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="string" name="location"/>
</schema>
</json>
</body>
</response>
<response statusCode="202">
<header>
<item name="Azure-AsyncOperation"/>
<item name="Location"/>
<item name="Retry-After"/>
</header>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privateendpointconnections", "version": "2024-07-10", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9wcml2YXRlRW5kcG9pbnRDb25uZWN0aW9ucw==/V/MjAyNC0wNy0xMA=="}], "commandGroups": [{"name": "connectedmachine private-endpoint-connection", "commands": [{"name": "list", "version": "2024-07-10", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privateendpointconnections", "version": "2024-07-10", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9wcml2YXRlRW5kcG9pbnRDb25uZWN0aW9ucw==/V/MjAyNC0wNy0xMA=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.scopeName", "options": ["scope-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Azure Arc PrivateLinkScope resource."}, "format": {"pattern": "[a-zA-Z0-9-_\\.]+"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "PrivateEndpointConnections_ListByPrivateLinkScope", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "scopeName", "arg": "$Path.scopeName", "required": true, "format": {"pattern": "[a-zA-Z0-9-_\\.]+"}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-10"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/privateLinkScopes/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array<string>", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "props": [{"readOnly": true, "type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description", "required": true}, {"type": "string", "name": "status", "required": true}]}, {"readOnly": true, "type": "string", "name": "provisioningState"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,102 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privateendpointconnections" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9wcml2YXRlRW5kcG9pbnRDb25uZWN0aW9ucw==/V/MjAyNC0wNy0xMA=="/>
<commandGroup name="connectedmachine private-endpoint-connection">
<command name="list" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privateendpointconnections" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9wcml2YXRlRW5kcG9pbnRDb25uZWN0aW9ucw==/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="string" var="$Path.scopeName" options="scope-name" required="True" idPart="name">
<help short="The name of the Azure Arc PrivateLinkScope resource."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="PrivateEndpointConnections_ListByPrivateLinkScope">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections">
<request method="get">
<path>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="scopeName" arg="$Path.scopeName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="string" name="nextLink"/>
<prop readOnly="True" type="array<object>" name="value">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/privateLinkScopes/{}/privateEndpointConnections/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop readOnly="True" type="array<string>" name="groupIds">
<item type="string"/>
</prop>
<prop type="object" name="privateEndpoint">
<prop type="string" name="id"/>
</prop>
<prop type="object" name="privateLinkServiceConnectionState">
<prop readOnly="True" type="string" name="actionsRequired"/>
<prop type="string" name="description" required="True"/>
<prop type="string" name="status" required="True"/>
</prop>
<prop readOnly="True" type="string" name="provisioningState"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
</command>
</commandGroup>
</CodeGen>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1,456 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privateendpointconnections/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9wcml2YXRlRW5kcG9pbnRDb25uZWN0aW9ucy97cHJpdmF0ZUVuZHBvaW50Q29ubmVjdGlvbk5hbWV9/V/MjAyNC0wNy0xMA=="/>
<commandGroup name="connectedmachine private-endpoint-connection">
<command name="show" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privateendpointconnections/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9wcml2YXRlRW5kcG9pbnRDb25uZWN0aW9ucy97cHJpdmF0ZUVuZHBvaW50Q29ubmVjdGlvbk5hbWV9/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.privateEndpointConnectionName" options="private-endpoint-connection-name name n" required="True" idPart="child_name_1">
<help short="The name of the private endpoint connection."/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="string" var="$Path.scopeName" options="scope-name" required="True" idPart="name">
<help short="The name of the Azure Arc PrivateLinkScope resource."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="PrivateEndpointConnections_Get">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}">
<request method="get">
<path>
<param type="string" name="privateEndpointConnectionName" arg="$Path.privateEndpointConnectionName" required="True"/>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="scopeName" arg="$Path.scopeName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/privateLinkScopes/{}/privateEndpointConnections/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop readOnly="True" type="array<string>" name="groupIds">
<item type="string"/>
</prop>
<prop type="object" name="privateEndpoint">
<prop type="string" name="id"/>
</prop>
<prop type="object" name="privateLinkServiceConnectionState">
<prop readOnly="True" type="string" name="actionsRequired"/>
<prop type="string" name="description" required="True"/>
<prop type="string" name="status" required="True"/>
</prop>
<prop readOnly="True" type="string" name="provisioningState"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="delete" version="2024-07-10" confirmation="Are you sure you want to perform this operation?">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privateendpointconnections/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9wcml2YXRlRW5kcG9pbnRDb25uZWN0aW9ucy97cHJpdmF0ZUVuZHBvaW50Q29ubmVjdGlvbk5hbWV9/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.privateEndpointConnectionName" options="private-endpoint-connection-name name n" required="True" idPart="child_name_1">
<help short="The name of the private endpoint connection."/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="string" var="$Path.scopeName" options="scope-name" required="True" idPart="name">
<help short="The name of the Azure Arc PrivateLinkScope resource."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="PrivateEndpointConnections_Delete">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}">
<request method="delete">
<path>
<param type="string" name="privateEndpointConnectionName" arg="$Path.privateEndpointConnectionName" required="True"/>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="scopeName" arg="$Path.scopeName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200"/>
<response statusCode="202">
<header>
<item name="Azure-AsyncOperation"/>
<item name="Location"/>
<item name="Retry-After"/>
</header>
</response>
<response statusCode="204"/>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
</command>
<command name="create" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privateendpointconnections/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9wcml2YXRlRW5kcG9pbnRDb25uZWN0aW9ucy97cHJpdmF0ZUVuZHBvaW50Q29ubmVjdGlvbk5hbWV9/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.privateEndpointConnectionName" options="private-endpoint-connection-name name n" required="True" idPart="child_name_1">
<help short="The name of the private endpoint connection."/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="string" var="$Path.scopeName" options="scope-name" required="True" idPart="name">
<help short="The name of the Azure Arc PrivateLinkScope resource."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<argGroup name="Properties">
<arg type="object" var="$parameters.properties.privateEndpoint" options="private-endpoint" group="Properties">
<help short="Private endpoint which the connection belongs to."/>
<arg type="string" var="$parameters.properties.privateEndpoint.id" options="id">
<help short="Resource id of the private endpoint."/>
</arg>
</arg>
<arg type="object" var="$parameters.properties.privateLinkServiceConnectionState" options="private-link-service-connection-state" group="Properties">
<help short="Connection state of the private endpoint connection."/>
<arg type="string" var="$parameters.properties.privateLinkServiceConnectionState.description" options="description" required="True">
<help short="The private link service connection description."/>
</arg>
<arg type="string" var="$parameters.properties.privateLinkServiceConnectionState.status" options="status" required="True">
<help short="The private link service connection status."/>
</arg>
</arg>
</argGroup>
<operation operationId="PrivateEndpointConnections_CreateOrUpdate">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}">
<request method="put">
<path>
<param type="string" name="privateEndpointConnectionName" arg="$Path.privateEndpointConnectionName" required="True"/>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="scopeName" arg="$Path.scopeName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="parameters" required="True" clientFlatten="True">
<prop type="object" name="properties">
<prop type="object" name="privateEndpoint" arg="$parameters.properties.privateEndpoint">
<prop type="string" name="id" arg="$parameters.properties.privateEndpoint.id"/>
</prop>
<prop type="object" name="privateLinkServiceConnectionState" arg="$parameters.properties.privateLinkServiceConnectionState">
<prop type="string" name="description" arg="$parameters.properties.privateLinkServiceConnectionState.description" required="True"/>
<prop type="string" name="status" arg="$parameters.properties.privateLinkServiceConnectionState.status" required="True"/>
</prop>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/privateLinkScopes/{}/privateEndpointConnections/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop readOnly="True" type="array<string>" name="groupIds">
<item type="string"/>
</prop>
<prop type="object" name="privateEndpoint">
<prop type="string" name="id"/>
</prop>
<prop type="object" name="privateLinkServiceConnectionState">
<prop readOnly="True" type="string" name="actionsRequired"/>
<prop type="string" name="description" required="True"/>
<prop type="string" name="status" required="True"/>
</prop>
<prop readOnly="True" type="string" name="provisioningState"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response statusCode="202"/>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="update" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privateendpointconnections/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9wcml2YXRlRW5kcG9pbnRDb25uZWN0aW9ucy97cHJpdmF0ZUVuZHBvaW50Q29ubmVjdGlvbk5hbWV9/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.privateEndpointConnectionName" options="private-endpoint-connection-name name n" required="True" idPart="child_name_1">
<help short="The name of the private endpoint connection."/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="string" var="$Path.scopeName" options="scope-name" required="True" idPart="name">
<help short="The name of the Azure Arc PrivateLinkScope resource."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<argGroup name="ConnectionState">
<arg type="string" var="$parameters.properties.privateLinkServiceConnectionState.description" options="description" group="ConnectionState">
<help short="The private link service connection description."/>
</arg>
<arg type="string" var="$parameters.properties.privateLinkServiceConnectionState.status" options="status" group="ConnectionState">
<help short="The private link service connection status."/>
</arg>
</argGroup>
<argGroup name="Properties">
<arg nullable="True" type="object" var="$parameters.properties.privateEndpoint" options="private-endpoint" group="Properties">
<help short="Private endpoint which the connection belongs to."/>
<arg nullable="True" type="string" var="$parameters.properties.privateEndpoint.id" options="id">
<help short="Resource id of the private endpoint."/>
</arg>
</arg>
</argGroup>
<operation operationId="PrivateEndpointConnections_Get">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}">
<request method="get">
<path>
<param type="string" name="privateEndpointConnectionName" arg="$Path.privateEndpointConnectionName" required="True"/>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="scopeName" arg="$Path.scopeName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object" cls="PrivateEndpointConnection_read">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/privateLinkScopes/{}/privateEndpointConnections/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop readOnly="True" type="array<string>" name="groupIds">
<item type="string"/>
</prop>
<prop type="object" name="privateEndpoint">
<prop type="string" name="id"/>
</prop>
<prop type="object" name="privateLinkServiceConnectionState">
<prop readOnly="True" type="string" name="actionsRequired"/>
<prop type="string" name="description" required="True"/>
<prop type="string" name="status" required="True"/>
</prop>
<prop readOnly="True" type="string" name="provisioningState"/>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<operation>
<instanceUpdate ref="$Instance">
<json>
<schema type="object" name="parameters" required="True" clientFlatten="True">
<prop type="object" name="properties">
<prop type="object" name="privateEndpoint" arg="$parameters.properties.privateEndpoint">
<prop type="string" name="id" arg="$parameters.properties.privateEndpoint.id"/>
</prop>
<prop type="object" name="privateLinkServiceConnectionState">
<prop type="string" name="description" arg="$parameters.properties.privateLinkServiceConnectionState.description" required="True"/>
<prop type="string" name="status" arg="$parameters.properties.privateLinkServiceConnectionState.status" required="True"/>
</prop>
</prop>
</schema>
</json>
</instanceUpdate>
</operation>
<operation operationId="PrivateEndpointConnections_CreateOrUpdate">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}">
<request method="put">
<path>
<param type="string" name="privateEndpointConnectionName" arg="$Path.privateEndpointConnectionName" required="True"/>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="scopeName" arg="$Path.scopeName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json ref="$Instance"/>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="@PrivateEndpointConnection_read"/>
</json>
</body>
</response>
<response statusCode="202"/>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privatelinkresources", "version": "2024-07-10", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9wcml2YXRlTGlua1Jlc291cmNlcw==/V/MjAyNC0wNy0xMA=="}], "commandGroups": [{"name": "connectedmachine private-link-resource", "commands": [{"name": "list", "version": "2024-07-10", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privatelinkresources", "version": "2024-07-10", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9wcml2YXRlTGlua1Jlc291cmNlcw==/V/MjAyNC0wNy0xMA=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.scopeName", "options": ["n", "scope-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the Azure Arc PrivateLinkScope resource."}, "format": {"pattern": "[a-zA-Z0-9-_\\.]+"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "PrivateLinkResources_ListByPrivateLinkScope", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "scopeName", "arg": "$Path.scopeName", "required": true, "format": {"pattern": "[a-zA-Z0-9-_\\.]+"}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-10"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/privateLinkScopes/{}/privateLinkResources/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "groupId"}, {"readOnly": true, "type": "array<string>", "name": "requiredMembers", "item": {"type": "string"}}, {"readOnly": true, "type": "array<string>", "name": "requiredZoneNames", "item": {"type": "string"}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,97 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privatelinkresources" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9wcml2YXRlTGlua1Jlc291cmNlcw==/V/MjAyNC0wNy0xMA=="/>
<commandGroup name="connectedmachine private-link-resource">
<command name="list" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privatelinkresources" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9wcml2YXRlTGlua1Jlc291cmNlcw==/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="string" var="$Path.scopeName" options="scope-name n" required="True" group="" idPart="name">
<help short="The name of the Azure Arc PrivateLinkScope resource."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="PrivateLinkResources_ListByPrivateLinkScope">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources">
<request method="get">
<path>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="scopeName" arg="$Path.scopeName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="string" name="nextLink"/>
<prop readOnly="True" type="array<object>" name="value">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/privateLinkScopes/{}/privateLinkResources/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop readOnly="True" type="string" name="groupId"/>
<prop readOnly="True" type="array<string>" name="requiredMembers">
<item type="string"/>
</prop>
<prop readOnly="True" type="array<string>" name="requiredZoneNames">
<item type="string"/>
</prop>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privatelinkresources/{}", "version": "2024-07-10", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9wcml2YXRlTGlua1Jlc291cmNlcy97Z3JvdXBOYW1lfQ==/V/MjAyNC0wNy0xMA=="}], "commandGroups": [{"name": "connectedmachine private-link-resource", "commands": [{"name": "show", "version": "2024-07-10", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privatelinkresources/{}", "version": "2024-07-10", "swagger": "mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9wcml2YXRlTGlua1Jlc291cmNlcy97Z3JvdXBOYW1lfQ==/V/MjAyNC0wNy0xMA=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.groupName", "options": ["n", "name", "group-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the private link resource."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.scopeName", "options": ["scope-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Azure Arc PrivateLinkScope resource."}, "format": {"pattern": "[a-zA-Z0-9-_\\.]+"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "PrivateLinkResources_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "groupName", "arg": "$Path.groupName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "scopeName", "arg": "$Path.scopeName", "required": true, "format": {"pattern": "[a-zA-Z0-9-_\\.]+"}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-10"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/privateLinkScopes/{}/privateLinkResources/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "groupId"}, {"readOnly": true, "type": "array<string>", "name": "requiredMembers", "item": {"type": "string"}}, {"readOnly": true, "type": "array<string>", "name": "requiredZoneNames", "item": {"type": "string"}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,96 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privatelinkresources/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9wcml2YXRlTGlua1Jlc291cmNlcy97Z3JvdXBOYW1lfQ==/V/MjAyNC0wNy0xMA=="/>
<commandGroup name="connectedmachine private-link-resource">
<command name="show" version="2024-07-10" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridcompute/privatelinkscopes/{}/privatelinkresources/{}" version="2024-07-10" swagger="mgmt-plane/hybridcompute/ResourceProviders/Microsoft.HybridCompute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29tcHV0ZS9wcml2YXRlTGlua1Njb3Blcy97c2NvcGVOYW1lfS9wcml2YXRlTGlua1Jlc291cmNlcy97Z3JvdXBOYW1lfQ==/V/MjAyNC0wNy0xMA=="/>
<argGroup name="">
<arg type="string" var="$Path.groupName" options="group-name name n" required="True" idPart="child_name_1">
<help short="The name of the private link resource."/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="string" var="$Path.scopeName" options="scope-name" required="True" idPart="name">
<help short="The name of the Azure Arc PrivateLinkScope resource."/>
<format pattern="[a-zA-Z0-9-_\.]+"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="PrivateLinkResources_Get">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}">
<request method="get">
<path>
<param type="string" name="groupName" arg="$Path.groupName" required="True"/>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="scopeName" arg="$Path.scopeName" required="True">
<format pattern="[a-zA-Z0-9-_\.]+"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-07-10&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridCompute/privateLinkScopes/{}/privateLinkResources/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop readOnly="True" type="string" name="groupId"/>
<prop readOnly="True" type="array<string>" name="requiredMembers">
<item type="string"/>
</prop>
<prop readOnly="True" type="array<string>" name="requiredZoneNames">
<item type="string"/>
</prop>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>