Atomic Cli commands for network fabric 5.0.0

This commit is contained in:
aytripathi 2024-02-19 14:40:01 +05:30
Родитель 252beab820
Коммит 47a140e635
30 изменённых файлов: 726 добавлений и 88 удалений

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

@ -0,0 +1,9 @@
# [Command] _networkfabric device upgrade_
Upgrades the version of the Network Device.
## Versions
### [2023-06-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tYW5hZ2VkbmV0d29ya2ZhYnJpYy9uZXR3b3JrZGV2aWNlcy97fS91cGdyYWRl/2023-06-15.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkdevices/{}/upgrade 2023-06-15 -->

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

@ -18,3 +18,6 @@ Manage Network Device Resource
- [update](/Commands/networkfabric/device/_update.md)
: Update the Network Device resource.
- [upgrade](/Commands/networkfabric/device/_upgrade.md)
: Upgrades the version of the Network Device.

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

@ -21,7 +21,7 @@ Update the External Networks resource.
- Update the External Network with option A properties
```bash
networkfabric externalnetwork update --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-externalNetwork" --peering-option "OptionA" --option-a-properties "{peerASN:65234,vlanId:501,mtu:1500,primaryIpv4Prefix:'172.23.1.0/31',secondaryIpv4Prefix:'172.23.1.2/31',bfdConfiguration:{multiplier:5,intervalInMilliSeconds:300}}" --import-route-policy "{importIpv4RoutePolicyId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy',importIpv6RoutePolicyId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy'}" --export-route-policy "{exportIpv4RoutePolicyId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy',exportIpv6RoutePolicyId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy'}"
networkfabric externalnetwork update --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-externalNetwork" --peering-option "OptionA" --nni-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourcegroups/example-rg/providers/microsoft.managednetworkfabric/networkfabrics/example-fabric/networkToNetworkInterconnects/example-nni" --option-a-properties "{peerASN:65234,vlanId:501,mtu:1500,primaryIpv4Prefix:'172.23.1.0/31',secondaryIpv4Prefix:'172.23.1.2/31',bfdConfiguration:{multiplier:5,intervalInMilliSeconds:300}}" --import-route-policy "{importIpv4RoutePolicyId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy',importIpv6RoutePolicyId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy'}" --export-route-policy "{exportIpv4RoutePolicyId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy',exportIpv6RoutePolicyId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy'}"
```
- Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax.

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

@ -35,12 +35,12 @@ Create a Network Fabric resource
- Create a Network Fabric with option B Properties
```bash
networkfabric fabric create --resource-group "example-rg" --location "westus3" --resource-name "example-fabric" --nf-sku "fab1" --nfc-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-NFC" --fabric-asn 20 --ipv4-prefix 10.1.0.0/19 --rack-count 2 --server-count-per-rack 5 --ts-config "{primaryIpv4Prefix:'172.31.0.0/30',secondaryIpv4Prefix:'172.31.0.20/30',username:'****',password:'*****',serialNumber:'1234'}" --managed-network-config "{infrastructureVpnConfiguration:{networkToNetworkInterconnectId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni',peeringOption:OptionB,optionBProperties:{routeTargets:{exportIpv4RouteTargets:['65046:10039'],exportIpv6RouteTargets:['65046:10039'],importIpv4RouteTargets:['65046:10039'],importIpv6RouteTargets:['65046:10039']}}},workloadVpnConfiguration:{networkToNetworkInterconnectId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni',peeringOption:OptionB,optionBProperties:{routeTargets:{exportIpv4RouteTargets:['65046:10039'],exportIpv6RouteTargets:['65046:10039'],importIpv4RouteTargets:['65046:10039'],importIpv6RouteTargets:['65046:10039']}}}}"
networkfabric fabric create --resource-group "example-rg" --location "westus3" --resource-name "example-fabric" --nf-sku "fab1" --fabric-version "1.x.x" --nfc-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-NFC" --fabric-asn 20 --ipv4-prefix 10.1.0.0/19 --rack-count 2 --server-count-per-rack 5 --ts-config "{primaryIpv4Prefix:'172.31.0.0/30',secondaryIpv4Prefix:'172.31.0.20/30',username:'****',password:'*****',serialNumber:'1234'}" --managed-network-config "{infrastructureVpnConfiguration:{networkToNetworkInterconnectId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni',peeringOption:OptionB,optionBProperties:{routeTargets:{exportIpv4RouteTargets:['65046:10039'],exportIpv6RouteTargets:['65046:10039'],importIpv4RouteTargets:['65046:10039'],importIpv6RouteTargets:['65046:10039']}}},workloadVpnConfiguration:{networkToNetworkInterconnectId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni',peeringOption:OptionB,optionBProperties:{routeTargets:{exportIpv4RouteTargets:['65046:10039'],exportIpv6RouteTargets:['65046:10039'],importIpv4RouteTargets:['65046:10039'],importIpv6RouteTargets:['65046:10039']}}}}"
```
- Create a Network Fabric with option A Properties
```bash
networkfabric fabric create --resource-group "example-rg" --location "westus3" --resource-name "example-fabric" --nf-sku "fab1" --nfc-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-NFC" --fabric-asn 20 --ipv4-prefix "10.1.0.0/19" --rack-count 2 --server-count-per-rack 5 --ts-config "{primaryIpv4Prefix:'172.31.0.0/30',secondaryIpv4Prefix:'172.31.0.20/30',username:'****',password:'*****',serialNumber:1234}" --managed-network-config "{infrastructureVpnConfiguration:{networkToNetworkInterconnectId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni',peeringOption:OptionA,optionAProperties:{bfdConfiguration:{multiplier:5,intervalInMilliSeconds:300},mtu:1500,vlanId:520,peerASN:65133,primaryIpv4Prefix:'172.31.0.0/31',secondaryIpv4Prefix:'172.31.0.20/31'}},workloadVpnConfiguration:{networkToNetworkInterconnectId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni',peeringOption:OptionA,optionAProperties:{bfdConfiguration:{multiplier:5,intervalInMilliSeconds:300},mtu:1500,vlanId:520,peerASN:65133,primaryIpv4Prefix:'172.31.0.0/31',secondaryIpv4Prefix:'172.31.0.20/31',primaryIpv6Prefix:'3FFE:FFFF:0:CD30::a0/127',secondaryIpv6Prefix:'3FFE:FFFF:0:CD30::a0/127'}}}"
networkfabric fabric create --resource-group "example-rg" --location "westus3" --resource-name "example-fabric" --nf-sku "fab1" --fabric-version "1.x.x" --nfc-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-NFC" --fabric-asn 20 --ipv4-prefix "10.1.0.0/19" --rack-count 2 --server-count-per-rack 5 --ts-config "{primaryIpv4Prefix:'172.31.0.0/30',secondaryIpv4Prefix:'172.31.0.20/30',username:'****',password:'*****',serialNumber:1234}" --managed-network-config "{infrastructureVpnConfiguration:{networkToNetworkInterconnectId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni',peeringOption:OptionA,optionAProperties:{bfdConfiguration:{multiplier:5,intervalInMilliSeconds:300},mtu:1500,vlanId:520,peerASN:65133,primaryIpv4Prefix:'172.31.0.0/31',secondaryIpv4Prefix:'172.31.0.20/31'}},workloadVpnConfiguration:{networkToNetworkInterconnectId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni',peeringOption:OptionA,optionAProperties:{bfdConfiguration:{multiplier:5,intervalInMilliSeconds:300},mtu:1500,vlanId:520,peerASN:65133,primaryIpv4Prefix:'172.31.0.0/31',secondaryIpv4Prefix:'172.31.0.20/31',primaryIpv6Prefix:'3FFE:FFFF:0:CD30::a0/127',secondaryIpv6Prefix:'3FFE:FFFF:0:CD30::a0/127'}}}"
```
- Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax.

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

@ -0,0 +1,9 @@
# [Command] _networkfabric fabric upgrade_
Upgrades the version of the underlying resources in the given Network Fabric instance.
## Versions
### [2023-06-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tYW5hZ2VkbmV0d29ya2ZhYnJpYy9uZXR3b3JrZmFicmljcy97fS91cGdyYWRl/2023-06-15.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}/upgrade 2023-06-15 -->

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

@ -0,0 +1,16 @@
# [Command] _networkfabric fabric validate-configuration_
Validates the configuration of the underlying resources in the given Network Fabric instance.
## Versions
### [2023-06-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tYW5hZ2VkbmV0d29ya2ZhYnJpYy9uZXR3b3JrZmFicmljcy97fS92YWxpZGF0ZWNvbmZpZ3VyYXRpb24=/2023-06-15.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}/validateconfiguration 2023-06-15 -->
#### examples
- Validate the configuration
```bash
networkfabric fabric validate-configuration -g "example-rg" --resource-name "example-nf" --validate-action "Cabling"
```

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

@ -27,3 +27,9 @@ Manage Network Fabric Resource
- [update](/Commands/networkfabric/fabric/_update.md)
: Update the Network Fabric resource.
- [upgrade](/Commands/networkfabric/fabric/_upgrade.md)
: Upgrades the version of the underlying resources in the given Network Fabric instance.
- [validate-configuration](/Commands/networkfabric/fabric/_validate-configuration.md)
: Validates the configuration of the underlying resources in the given Network Fabric instance.

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

@ -0,0 +1,16 @@
# [Command] _networkfabric tap resync_
Implements the operation to the underlying resources.
## Versions
### [2023-06-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tYW5hZ2VkbmV0d29ya2ZhYnJpYy9uZXR3b3JrdGFwcy97fS9yZXN5bmM=/2023-06-15.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networktaps/{}/resync 2023-06-15 -->
#### examples
- Resync Operation
```bash
networkfabric tap resync --resource-group "example-rg" --network-tap-name "example-networktap"
```

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

@ -13,6 +13,9 @@ Manage Network Tap Resource
- [list](/Commands/networkfabric/tap/_list.md)
: List all Network Taps in the provided resource group or subscription
- [resync](/Commands/networkfabric/tap/_resync.md)
: Implements the operation to the underlying resources.
- [show](/Commands/networkfabric/tap/_show.md)
: Show details of the provided Network Tap resource

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

@ -106894,7 +106894,7 @@
"networkcloud"
]
},
"networkfabric": {
"networkfabric": {
"commandGroups": {
"acl": {
"commands": {
@ -107704,6 +107704,28 @@
]
}
]
},
"upgrade": {
"help": {
"short": "Upgrades the version of the Network Device."
},
"names": [
"networkfabric",
"device",
"upgrade"
],
"versions": [
{
"name": "2023-06-15",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkdevices/{}/upgrade",
"plane": "mgmt-plane",
"version": "2023-06-15"
}
]
}
]
}
},
"help": {
@ -108025,7 +108047,7 @@
},
{
"commands": [
"networkfabric externalnetwork update --resource-group \"example-rg\" --l3domain \"example-l3domain\" --resource-name \"example-externalNetwork\" --peering-option \"OptionA\" --option-a-properties \"{peerASN:65234,vlanId:501,mtu:1500,primaryIpv4Prefix:'172.23.1.0/31',secondaryIpv4Prefix:'172.23.1.2/31',bfdConfiguration:{multiplier:5,intervalInMilliSeconds:300}}\" --import-route-policy \"{importIpv4RoutePolicyId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy',importIpv6RoutePolicyId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy'}\" --export-route-policy \"{exportIpv4RoutePolicyId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy',exportIpv6RoutePolicyId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy'}\""
"networkfabric externalnetwork update --resource-group \"example-rg\" --l3domain \"example-l3domain\" --resource-name \"example-externalNetwork\" --peering-option \"OptionA\" --nni-id \"/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourcegroups/example-rg/providers/microsoft.managednetworkfabric/networkfabrics/example-fabric/networkToNetworkInterconnects/example-nni\" --option-a-properties \"{peerASN:65234,vlanId:501,mtu:1500,primaryIpv4Prefix:'172.23.1.0/31',secondaryIpv4Prefix:'172.23.1.2/31',bfdConfiguration:{multiplier:5,intervalInMilliSeconds:300}}\" --import-route-policy \"{importIpv4RoutePolicyId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy',importIpv6RoutePolicyId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy'}\" --export-route-policy \"{exportIpv4RoutePolicyId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy',exportIpv6RoutePolicyId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy'}\""
],
"name": "Update the External Network with option A properties"
},
@ -108164,13 +108186,13 @@
"examples": [
{
"commands": [
"networkfabric fabric create --resource-group \"example-rg\" --location \"westus3\" --resource-name \"example-fabric\" --nf-sku \"fab1\" --nfc-id \"/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-NFC\" --fabric-asn 20 --ipv4-prefix 10.1.0.0/19 --rack-count 2 --server-count-per-rack 5 --ts-config \"{primaryIpv4Prefix:'172.31.0.0/30',secondaryIpv4Prefix:'172.31.0.20/30',username:'****',password:'*****',serialNumber:'1234'}\" --managed-network-config \"{infrastructureVpnConfiguration:{networkToNetworkInterconnectId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni',peeringOption:OptionB,optionBProperties:{routeTargets:{exportIpv4RouteTargets:['65046:10039'],exportIpv6RouteTargets:['65046:10039'],importIpv4RouteTargets:['65046:10039'],importIpv6RouteTargets:['65046:10039']}}},workloadVpnConfiguration:{networkToNetworkInterconnectId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni',peeringOption:OptionB,optionBProperties:{routeTargets:{exportIpv4RouteTargets:['65046:10039'],exportIpv6RouteTargets:['65046:10039'],importIpv4RouteTargets:['65046:10039'],importIpv6RouteTargets:['65046:10039']}}}}\""
"networkfabric fabric create --resource-group \"example-rg\" --location \"westus3\" --resource-name \"example-fabric\" --nf-sku \"fab1\" --fabric-version \"1.x.x\" --nfc-id \"/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-NFC\" --fabric-asn 20 --ipv4-prefix 10.1.0.0/19 --rack-count 2 --server-count-per-rack 5 --ts-config \"{primaryIpv4Prefix:'172.31.0.0/30',secondaryIpv4Prefix:'172.31.0.20/30',username:'****',password:'*****',serialNumber:'1234'}\" --managed-network-config \"{infrastructureVpnConfiguration:{networkToNetworkInterconnectId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni',peeringOption:OptionB,optionBProperties:{routeTargets:{exportIpv4RouteTargets:['65046:10039'],exportIpv6RouteTargets:['65046:10039'],importIpv4RouteTargets:['65046:10039'],importIpv6RouteTargets:['65046:10039']}}},workloadVpnConfiguration:{networkToNetworkInterconnectId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni',peeringOption:OptionB,optionBProperties:{routeTargets:{exportIpv4RouteTargets:['65046:10039'],exportIpv6RouteTargets:['65046:10039'],importIpv4RouteTargets:['65046:10039'],importIpv6RouteTargets:['65046:10039']}}}}\""
],
"name": "Create a Network Fabric with option B Properties"
},
{
"commands": [
"networkfabric fabric create --resource-group \"example-rg\" --location \"westus3\" --resource-name \"example-fabric\" --nf-sku \"fab1\" --nfc-id \"/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-NFC\" --fabric-asn 20 --ipv4-prefix \"10.1.0.0/19\" --rack-count 2 --server-count-per-rack 5 --ts-config \"{primaryIpv4Prefix:'172.31.0.0/30',secondaryIpv4Prefix:'172.31.0.20/30',username:'****',password:'*****',serialNumber:1234}\" --managed-network-config \"{infrastructureVpnConfiguration:{networkToNetworkInterconnectId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni',peeringOption:OptionA,optionAProperties:{bfdConfiguration:{multiplier:5,intervalInMilliSeconds:300},mtu:1500,vlanId:520,peerASN:65133,primaryIpv4Prefix:'172.31.0.0/31',secondaryIpv4Prefix:'172.31.0.20/31'}},workloadVpnConfiguration:{networkToNetworkInterconnectId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni',peeringOption:OptionA,optionAProperties:{bfdConfiguration:{multiplier:5,intervalInMilliSeconds:300},mtu:1500,vlanId:520,peerASN:65133,primaryIpv4Prefix:'172.31.0.0/31',secondaryIpv4Prefix:'172.31.0.20/31',primaryIpv6Prefix:'3FFE:FFFF:0:CD30::a0/127',secondaryIpv6Prefix:'3FFE:FFFF:0:CD30::a0/127'}}}\""
"networkfabric fabric create --resource-group \"example-rg\" --location \"westus3\" --resource-name \"example-fabric\" --nf-sku \"fab1\" --fabric-version \"1.x.x\" --nfc-id \"/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-NFC\" --fabric-asn 20 --ipv4-prefix \"10.1.0.0/19\" --rack-count 2 --server-count-per-rack 5 --ts-config \"{primaryIpv4Prefix:'172.31.0.0/30',secondaryIpv4Prefix:'172.31.0.20/30',username:'****',password:'*****',serialNumber:1234}\" --managed-network-config \"{infrastructureVpnConfiguration:{networkToNetworkInterconnectId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni',peeringOption:OptionA,optionAProperties:{bfdConfiguration:{multiplier:5,intervalInMilliSeconds:300},mtu:1500,vlanId:520,peerASN:65133,primaryIpv4Prefix:'172.31.0.0/31',secondaryIpv4Prefix:'172.31.0.20/31'}},workloadVpnConfiguration:{networkToNetworkInterconnectId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni',peeringOption:OptionA,optionAProperties:{bfdConfiguration:{multiplier:5,intervalInMilliSeconds:300},mtu:1500,vlanId:520,peerASN:65133,primaryIpv4Prefix:'172.31.0.0/31',secondaryIpv4Prefix:'172.31.0.20/31',primaryIpv6Prefix:'3FFE:FFFF:0:CD30::a0/127',secondaryIpv6Prefix:'3FFE:FFFF:0:CD30::a0/127'}}}\""
],
"name": "Create a Network Fabric with option A Properties"
},
@ -108509,6 +108531,58 @@
]
}
]
},
"upgrade": {
"help": {
"short": "Upgrades the version of the underlying resources in the given Network Fabric instance."
},
"names": [
"networkfabric",
"fabric",
"upgrade"
],
"versions": [
{
"name": "2023-06-15",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}/upgrade",
"plane": "mgmt-plane",
"version": "2023-06-15"
}
]
}
]
},
"validate-configuration": {
"help": {
"short": "Validates the configuration of the underlying resources in the given Network Fabric instance."
},
"names": [
"networkfabric",
"fabric",
"validate-configuration"
],
"versions": [
{
"examples": [
{
"commands": [
"networkfabric fabric validate-configuration -g \"example-rg\" --resource-name \"example-nf\" --validate-action \"Cabling\""
],
"name": "Validate the configuration"
}
],
"name": "2023-06-15",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}/validateconfiguration",
"plane": "mgmt-plane",
"version": "2023-06-15"
}
]
}
]
}
},
"help": {
@ -112293,6 +112367,36 @@
}
]
},
"resync": {
"help": {
"short": "Implements the operation to the underlying resources."
},
"names": [
"networkfabric",
"tap",
"resync"
],
"versions": [
{
"examples": [
{
"commands": [
"networkfabric tap resync --resource-group \"example-rg\" --network-tap-name \"example-networktap\""
],
"name": "Resync Operation"
}
],
"name": "2023-06-15",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networktaps/{}/resync",
"plane": "mgmt-plane",
"version": "2023-06-15"
}
]
}
]
},
"show": {
"help": {
"short": "Show details of the provided Network Tap resource"

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

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

@ -85,7 +85,9 @@
<prop type="integer64" name="fabricASN" required="True">
<format maximum="4294967295" minimum="1"/>
</prop>
<prop readOnly="True" type="string" name="fabricVersion"/>
<prop type="string" name="fabricVersion">
<format minLength="1"/>
</prop>
<prop type="string" name="ipv4Prefix" required="True">
<format minLength="1"/>
</prop>
@ -135,9 +137,9 @@
<format maximum="4294967295" minimum="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix"/>
<prop type="string" name="primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix"/>
<prop type="string" name="secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix"/>
<prop type="integer32" name="vlanId" required="True">
<format maximum="4094" minimum="501"/>
</prop>
@ -213,9 +215,9 @@
<format minLength="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix" required="True"/>
<prop type="string" name="primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix" required="True"/>
<prop type="string" name="secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix"/>
<prop type="string" name="serialNumber">
<format minLength="1"/>
</prop>
@ -321,7 +323,9 @@
<prop type="integer64" name="fabricASN" required="True">
<format maximum="4294967295" minimum="1"/>
</prop>
<prop readOnly="True" type="string" name="fabricVersion"/>
<prop type="string" name="fabricVersion">
<format minLength="1"/>
</prop>
<prop type="string" name="ipv4Prefix" required="True">
<format minLength="1"/>
</prop>
@ -370,9 +374,9 @@
<format minLength="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix" required="True"/>
<prop type="string" name="primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix" required="True"/>
<prop type="string" name="secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix"/>
<prop type="string" name="serialNumber">
<format minLength="1"/>
</prop>

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

@ -79,7 +79,7 @@
<prop type="ResourceId" name="importIpv6RoutePolicyId"/>
</prop>
<prop type="ResourceId" name="importRoutePolicyId"/>
<prop readOnly="True" type="string" name="networkToNetworkInterconnectId"/>
<prop type="ResourceId" name="networkToNetworkInterconnectId"/>
<prop type="object" name="optionAProperties">
<prop type="object" name="bfdConfiguration">
<prop readOnly="True" type="string" name="administrativeState">
@ -111,9 +111,9 @@
<format maximum="4294967295" minimum="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix"/>
<prop type="string" name="primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix"/>
<prop type="string" name="secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix"/>
<prop type="integer32" name="vlanId" required="True">
<format maximum="4094" minimum="501"/>
</prop>

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

@ -80,7 +80,7 @@
<prop type="ResourceId" name="importIpv6RoutePolicyId"/>
</prop>
<prop type="ResourceId" name="importRoutePolicyId"/>
<prop readOnly="True" type="string" name="networkToNetworkInterconnectId"/>
<prop type="ResourceId" name="networkToNetworkInterconnectId"/>
<prop type="object" name="optionAProperties">
<prop type="object" name="bfdConfiguration">
<prop readOnly="True" type="string" name="administrativeState">
@ -112,9 +112,9 @@
<format maximum="4294967295" minimum="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix"/>
<prop type="string" name="primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix"/>
<prop type="string" name="secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix"/>
<prop type="integer32" name="vlanId" required="True">
<format maximum="4094" minimum="501"/>
</prop>
@ -296,6 +296,9 @@
<arg type="ResourceId" var="$body.properties.importRoutePolicyId" options="import-route-policy-id" group="Properties">
<help short="ARM Resource ID of the RoutePolicy. This is used for the backward compatibility."/>
</arg>
<arg type="ResourceId" var="$body.properties.networkToNetworkInterconnectId" options="nni-id" group="Properties">
<help short="ARM Resource ID of the networkToNetworkInterconnectId of the ExternalNetwork resource."/>
</arg>
<arg type="object" var="$body.properties.optionAProperties" options="option-a-properties" group="Properties">
<help short="option A properties object."/>
<arg type="object" var="$body.properties.optionAProperties.bfdConfiguration" options="bfd-configuration" group="">
@ -324,13 +327,13 @@
<arg type="string" var="$body.properties.optionAProperties.primaryIpv4Prefix" options="primary-ipv4-prefix" group="">
<help short="IPv4 Address Prefix. Example: 172.23.1.0/31."/>
</arg>
<arg type="string" var="$body.properties.optionAProperties.primaryIpv6Prefix" options="primary-ipv6-prefix" group="">
<arg nullable="True" type="string" var="$body.properties.optionAProperties.primaryIpv6Prefix" options="primary-ipv6-prefix" group="">
<help short="IPv6 Address Prefix. Example: 3FFE:FFFF:0:CD30::a1/127"/>
</arg>
<arg type="string" var="$body.properties.optionAProperties.secondaryIpv4Prefix" options="secondary-ipv4-prefix" group="">
<help short="Secondary IPv4 Address Prefix. Example: 172.23.1.2/31."/>
</arg>
<arg type="string" var="$body.properties.optionAProperties.secondaryIpv6Prefix" options="secondary-ipv6-prefix" group="">
<arg nullable="True" type="string" var="$body.properties.optionAProperties.secondaryIpv6Prefix" options="secondary-ipv6-prefix" group="">
<help short="Secondary IPv6 Address Prefix. Example: 3FFE:FFFF:0:CD30::a4/127"/>
</arg>
<arg type="integer32" var="$body.properties.optionAProperties.vlanId" options="vlan-id" required="True" group="">
@ -417,6 +420,7 @@
<prop type="ResourceId" name="importIpv6RoutePolicyId" arg="$body.properties.importRoutePolicy.importIpv6RoutePolicyId"/>
</prop>
<prop type="ResourceId" name="importRoutePolicyId" arg="$body.properties.importRoutePolicyId"/>
<prop type="ResourceId" name="networkToNetworkInterconnectId" arg="$body.properties.networkToNetworkInterconnectId"/>
<prop type="object" name="optionAProperties" arg="$body.properties.optionAProperties">
<prop type="object" name="bfdConfiguration" arg="$body.properties.optionAProperties.bfdConfiguration">
<prop type="integer32" name="intervalInMilliSeconds" arg="$body.properties.optionAProperties.bfdConfiguration.intervalInMilliSeconds">
@ -436,9 +440,9 @@
<format maximum="4294967295" minimum="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix" arg="$body.properties.optionAProperties.primaryIpv4Prefix"/>
<prop type="string" name="primaryIpv6Prefix" arg="$body.properties.optionAProperties.primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix" arg="$body.properties.optionAProperties.primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix" arg="$body.properties.optionAProperties.secondaryIpv4Prefix"/>
<prop type="string" name="secondaryIpv6Prefix" arg="$body.properties.optionAProperties.secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix" arg="$body.properties.optionAProperties.secondaryIpv6Prefix"/>
<prop type="integer32" name="vlanId" arg="$body.properties.optionAProperties.vlanId" required="True">
<format maximum="4094" minimum="501"/>
</prop>
@ -528,7 +532,7 @@
<prop type="ResourceId" name="importIpv6RoutePolicyId"/>
</prop>
<prop type="ResourceId" name="importRoutePolicyId"/>
<prop readOnly="True" type="string" name="networkToNetworkInterconnectId"/>
<prop type="ResourceId" name="networkToNetworkInterconnectId"/>
<prop type="object" name="optionAProperties">
<prop type="object" name="bfdConfiguration">
<prop readOnly="True" type="string" name="administrativeState">
@ -560,9 +564,9 @@
<format maximum="4294967295" minimum="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix"/>
<prop type="string" name="primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix"/>
<prop type="string" name="secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix"/>
<prop type="integer32" name="vlanId" required="True">
<format maximum="4094" minimum="501"/>
</prop>
@ -696,6 +700,9 @@
<arg type="ResourceId" var="$body.properties.importRoutePolicyId" options="import-route-policy-id" group="Properties">
<help short="ARM Resource ID of the RoutePolicy. This is used for the backward compatibility."/>
</arg>
<arg type="ResourceId" var="$body.properties.networkToNetworkInterconnectId" options="nni-id" group="Properties">
<help short="ARM Resource ID of the networkToNetworkInterconnectId of the ExternalNetwork resource."/>
</arg>
<arg type="object" var="$body.properties.optionAProperties" options="option-a-properties" group="Properties">
<help short="option A properties object."/>
<arg type="object" var="$body.properties.optionAProperties.bfdConfiguration" options="bfd-configuration" group="">
@ -724,13 +731,13 @@
<arg type="string" var="$body.properties.optionAProperties.primaryIpv4Prefix" options="primary-ipv4-prefix" group="">
<help short="IPv4 Address Prefix. Example: 172.23.1.0/31."/>
</arg>
<arg type="string" var="$body.properties.optionAProperties.primaryIpv6Prefix" options="primary-ipv6-prefix" group="">
<arg nullable="True" type="string" var="$body.properties.optionAProperties.primaryIpv6Prefix" options="primary-ipv6-prefix" group="">
<help short="IPv6 Address Prefix. Example: 3FFE:FFFF:0:CD30::a1/127"/>
</arg>
<arg type="string" var="$body.properties.optionAProperties.secondaryIpv4Prefix" options="secondary-ipv4-prefix" group="">
<help short="Secondary IPv4 Address Prefix. Example: 172.23.1.2/31."/>
</arg>
<arg type="string" var="$body.properties.optionAProperties.secondaryIpv6Prefix" options="secondary-ipv6-prefix" group="">
<arg nullable="True" type="string" var="$body.properties.optionAProperties.secondaryIpv6Prefix" options="secondary-ipv6-prefix" group="">
<help short="Secondary IPv6 Address Prefix. Example: 3FFE:FFFF:0:CD30::a4/127"/>
</arg>
<arg type="integer32" var="$body.properties.optionAProperties.vlanId" options="vlan-id" group="">
@ -817,6 +824,7 @@
<prop type="ResourceId" name="importIpv6RoutePolicyId" arg="$body.properties.importRoutePolicy.importIpv6RoutePolicyId"/>
</prop>
<prop type="ResourceId" name="importRoutePolicyId" arg="$body.properties.importRoutePolicyId"/>
<prop type="ResourceId" name="networkToNetworkInterconnectId" arg="$body.properties.networkToNetworkInterconnectId"/>
<prop type="object" name="optionAProperties" arg="$body.properties.optionAProperties">
<prop type="object" name="bfdConfiguration" arg="$body.properties.optionAProperties.bfdConfiguration">
<prop type="integer32" name="intervalInMilliSeconds" arg="$body.properties.optionAProperties.bfdConfiguration.intervalInMilliSeconds">
@ -836,9 +844,9 @@
<format maximum="4294967295" minimum="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix" arg="$body.properties.optionAProperties.primaryIpv4Prefix"/>
<prop type="string" name="primaryIpv6Prefix" arg="$body.properties.optionAProperties.primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix" arg="$body.properties.optionAProperties.primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix" arg="$body.properties.optionAProperties.secondaryIpv4Prefix"/>
<prop type="string" name="secondaryIpv6Prefix" arg="$body.properties.optionAProperties.secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix" arg="$body.properties.optionAProperties.secondaryIpv6Prefix"/>
<prop type="integer32" name="vlanId" arg="$body.properties.optionAProperties.vlanId">
<format maximum="4094" minimum="501"/>
</prop>
@ -928,7 +936,7 @@
<prop type="ResourceId" name="importIpv6RoutePolicyId"/>
</prop>
<prop type="ResourceId" name="importRoutePolicyId"/>
<prop readOnly="True" type="string" name="networkToNetworkInterconnectId"/>
<prop type="ResourceId" name="networkToNetworkInterconnectId"/>
<prop type="object" name="optionAProperties">
<prop type="object" name="bfdConfiguration">
<prop readOnly="True" type="string" name="administrativeState">
@ -960,9 +968,9 @@
<format maximum="4294967295" minimum="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix"/>
<prop type="string" name="primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix"/>
<prop type="string" name="secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix"/>
<prop type="integer32" name="vlanId" required="True">
<format maximum="4094" minimum="501"/>
</prop>

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

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkdevices/{}/upgrade", "version": "2023-06-15", "swagger": "mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmV0d29ya0RldmljZXMve25ldHdvcmtEZXZpY2VOYW1lfS91cGdyYWRl/V/MjAyMy0wNi0xNQ=="}], "commandGroups": [{"name": "networkfabric device", "commands": [{"name": "upgrade", "version": "2023-06-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkdevices/{}/upgrade", "version": "2023-06-15", "swagger": "mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmV0d29ya0RldmljZXMve25ldHdvcmtEZXZpY2VOYW1lfS91cGdyYWRl/V/MjAyMy0wNi0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.networkDeviceName", "options": ["resource-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Network Device."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of the resource group"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "ID of subscription"}}]}, {"name": "Body", "args": [{"type": "string", "var": "$body.version", "options": ["version"], "group": "Body", "help": {"short": "Specify the version."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "NetworkDevices_Upgrade", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/upgrade", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "networkDeviceName", "arg": "$Path.networkDeviceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-06-15"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "required": true, "props": [{"type": "string", "name": "version", "arg": "$body.version"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "configurationState", "enum": {"items": [{"value": "Accepted"}, {"value": "DeferredControl"}, {"value": "Deprovisioned"}, {"value": "Deprovisioning"}, {"value": "ErrorDeprovisioning"}, {"value": "ErrorProvisioning"}, {"value": "Failed"}, {"value": "PendingCommit"}, {"value": "Provisioned"}, {"value": "Provisioning"}, {"value": "Rejected"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array<object>", "name": "additionalInfo", "item": {"type": "object", "props": [{"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"}], "cls": "CommonPostActionResponseForStateUpdate_read"}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@CommonPostActionResponseForStateUpdate_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}

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

@ -0,0 +1,107 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkdevices/{}/upgrade" version="2023-06-15" swagger="mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmV0d29ya0RldmljZXMve25ldHdvcmtEZXZpY2VOYW1lfS91cGdyYWRl/V/MjAyMy0wNi0xNQ=="/>
<commandGroup name="networkfabric device">
<command name="upgrade" version="2023-06-15" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkdevices/{}/upgrade" version="2023-06-15" swagger="mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmV0d29ya0RldmljZXMve25ldHdvcmtEZXZpY2VOYW1lfS91cGdyYWRl/V/MjAyMy0wNi0xNQ=="/>
<argGroup name="">
<arg type="string" var="$Path.networkDeviceName" options="resource-name" required="True" group="" idPart="name">
<help short="Name of the Network Device."/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" group="" idPart="resource_group">
<help short="Name of the resource group"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" group="" idPart="subscription">
<help short="ID of subscription"/>
</arg>
</argGroup>
<argGroup name="Body">
<arg type="string" var="$body.version" options="version" group="Body">
<help short="Specify the version."/>
</arg>
</argGroup>
<operation operationId="NetworkDevices_Upgrade">
<longRunning finalStateVia="location"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/upgrade">
<request method="post">
<path>
<param type="string" name="networkDeviceName" arg="$Path.networkDeviceName" required="True"/>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2023-06-15&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="body" required="True" clientFlatten="True">
<prop type="string" name="version" arg="$body.version"/>
</schema>
</json>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object" cls="CommonPostActionResponseForStateUpdate_read">
<prop readOnly="True" type="string" name="configurationState">
<enum>
<item value="&quot;Accepted&quot;"/>
<item value="&quot;DeferredControl&quot;"/>
<item value="&quot;Deprovisioned&quot;"/>
<item value="&quot;Deprovisioning&quot;"/>
<item value="&quot;ErrorDeprovisioning&quot;"/>
<item value="&quot;ErrorProvisioning&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;PendingCommit&quot;"/>
<item value="&quot;Provisioned&quot;"/>
<item value="&quot;Provisioning&quot;"/>
<item value="&quot;Rejected&quot;"/>
<item value="&quot;Succeeded&quot;"/>
</enum>
</prop>
<prop type="object" name="error" cls="ErrorDetail_read">
<prop readOnly="True" type="array<object>" name="additionalInfo">
<item type="object">
<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>
</schema>
</json>
</body>
</response>
<response statusCode="202">
<header>
<item name="Location"/>
</header>
<body>
<json var="$Instance">
<schema type="@CommonPostActionResponseForStateUpdate_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>

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

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

@ -70,7 +70,9 @@
<prop type="integer64" name="fabricASN" required="True">
<format maximum="4294967295" minimum="1"/>
</prop>
<prop readOnly="True" type="string" name="fabricVersion"/>
<prop type="string" name="fabricVersion">
<format minLength="1"/>
</prop>
<prop type="string" name="ipv4Prefix" required="True">
<format minLength="1"/>
</prop>
@ -120,9 +122,9 @@
<format maximum="4294967295" minimum="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix"/>
<prop type="string" name="primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix"/>
<prop type="string" name="secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix"/>
<prop type="integer32" name="vlanId" required="True">
<format maximum="4094" minimum="501"/>
</prop>
@ -198,9 +200,9 @@
<format minLength="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix" required="True"/>
<prop type="string" name="primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix" required="True"/>
<prop type="string" name="secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix"/>
<prop type="string" name="serialNumber">
<format minLength="1"/>
</prop>
@ -332,6 +334,10 @@
<help short="ASN of CE devices for CE/PE connectivity. The value should be between 1 to 4294967295. Example: 65123"/>
<format maximum="4294967295" minimum="1"/>
</arg>
<arg type="string" var="$body.properties.fabricVersion" options="fabric-version" group="Properties">
<help short="The version of Network Fabric."/>
<format minLength="1"/>
</arg>
<arg type="string" var="$body.properties.ipv4Prefix" options="ipv4-prefix" required="True" group="Properties">
<help short="IPv4Prefix for Management Network. Example: 10.1.0.0/19."/>
<format minLength="1"/>
@ -369,13 +375,13 @@
<arg type="string" var="@VpnConfigurationProperties_create.optionAProperties.primaryIpv4Prefix" options="primary-ipv4-prefix" group="">
<help short="IPv4 Address Prefix. Example: 172.31.0.0/31."/>
</arg>
<arg type="string" var="@VpnConfigurationProperties_create.optionAProperties.primaryIpv6Prefix" options="primary-ipv6-prefix" group="">
<arg nullable="True" type="string" var="@VpnConfigurationProperties_create.optionAProperties.primaryIpv6Prefix" options="primary-ipv6-prefix" group="">
<help short="IPv6 Address Prefix. Example: 3FFE:FFFF:0:CD30::a0/127."/>
</arg>
<arg type="string" var="@VpnConfigurationProperties_create.optionAProperties.secondaryIpv4Prefix" options="secondary-ipv4-prefix" group="">
<help short="Secondary IPv4 Address Prefix. Example: 172.31.0.20/31."/>
</arg>
<arg type="string" var="@VpnConfigurationProperties_create.optionAProperties.secondaryIpv6Prefix" options="secondary-ipv6-prefix" group="">
<arg nullable="True" type="string" var="@VpnConfigurationProperties_create.optionAProperties.secondaryIpv6Prefix" options="secondary-ipv6-prefix" group="">
<help short="Secondary IPv6 Address Prefix. Example: 3FFE:FFFF:0:CD30::a4/127."/>
</arg>
<arg type="integer32" var="@VpnConfigurationProperties_create.optionAProperties.vlanId" options="vlan-id" required="True" group="">
@ -457,13 +463,13 @@
<arg type="string" var="$body.properties.terminalServerConfiguration.primaryIpv4Prefix" options="primary-ipv4-prefix" required="True" group="">
<help short="IPv4 Address Prefix. Example:172.31.0.0/30."/>
</arg>
<arg type="string" var="$body.properties.terminalServerConfiguration.primaryIpv6Prefix" options="primary-ipv6-prefix" group="">
<arg nullable="True" type="string" var="$body.properties.terminalServerConfiguration.primaryIpv6Prefix" options="primary-ipv6-prefix" group="">
<help short="IPv6 Address Prefix. Example: 3FFE:FFFF:0:CD30::a0/127."/>
</arg>
<arg type="string" var="$body.properties.terminalServerConfiguration.secondaryIpv4Prefix" options="secondary-ipv4-prefix" required="True" group="">
<help short="Secondary IPv4 Address Prefix. Example:172.31.0.20/30."/>
</arg>
<arg type="string" var="$body.properties.terminalServerConfiguration.secondaryIpv6Prefix" options="secondary-ipv6-prefix" group="">
<arg nullable="True" type="string" var="$body.properties.terminalServerConfiguration.secondaryIpv6Prefix" options="secondary-ipv6-prefix" group="">
<help short="Secondary IPv6 Address Prefix. Example: 3FFE:FFFF:0:CD30::a4/127."/>
</arg>
<arg type="string" var="$body.properties.terminalServerConfiguration.serialNumber" options="serial-number">
@ -502,6 +508,9 @@
<prop type="integer64" name="fabricASN" arg="$body.properties.fabricASN" required="True">
<format maximum="4294967295" minimum="1"/>
</prop>
<prop type="string" name="fabricVersion" arg="$body.properties.fabricVersion">
<format minLength="1"/>
</prop>
<prop type="string" name="ipv4Prefix" arg="$body.properties.ipv4Prefix" required="True">
<format minLength="1"/>
</prop>
@ -528,9 +537,9 @@
<format maximum="4294967295" minimum="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix" arg="@VpnConfigurationProperties_create.optionAProperties.primaryIpv4Prefix"/>
<prop type="string" name="primaryIpv6Prefix" arg="@VpnConfigurationProperties_create.optionAProperties.primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix" arg="@VpnConfigurationProperties_create.optionAProperties.primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix" arg="@VpnConfigurationProperties_create.optionAProperties.secondaryIpv4Prefix"/>
<prop type="string" name="secondaryIpv6Prefix" arg="@VpnConfigurationProperties_create.optionAProperties.secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix" arg="@VpnConfigurationProperties_create.optionAProperties.secondaryIpv6Prefix"/>
<prop type="integer32" name="vlanId" arg="@VpnConfigurationProperties_create.optionAProperties.vlanId" required="True">
<format maximum="4094" minimum="501"/>
</prop>
@ -589,9 +598,9 @@
<format minLength="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix" arg="$body.properties.terminalServerConfiguration.primaryIpv4Prefix" required="True"/>
<prop type="string" name="primaryIpv6Prefix" arg="$body.properties.terminalServerConfiguration.primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix" arg="$body.properties.terminalServerConfiguration.primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix" arg="$body.properties.terminalServerConfiguration.secondaryIpv4Prefix" required="True"/>
<prop type="string" name="secondaryIpv6Prefix" arg="$body.properties.terminalServerConfiguration.secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix" arg="$body.properties.terminalServerConfiguration.secondaryIpv6Prefix"/>
<prop type="string" name="serialNumber" arg="$body.properties.terminalServerConfiguration.serialNumber">
<format minLength="1"/>
</prop>
@ -647,7 +656,9 @@
<prop type="integer64" name="fabricASN" required="True">
<format maximum="4294967295" minimum="1"/>
</prop>
<prop readOnly="True" type="string" name="fabricVersion"/>
<prop type="string" name="fabricVersion">
<format minLength="1"/>
</prop>
<prop type="string" name="ipv4Prefix" required="True">
<format minLength="1"/>
</prop>
@ -697,9 +708,9 @@
<format maximum="4294967295" minimum="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix"/>
<prop type="string" name="primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix"/>
<prop type="string" name="secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix"/>
<prop type="integer32" name="vlanId" required="True">
<format maximum="4094" minimum="501"/>
</prop>
@ -775,9 +786,9 @@
<format minLength="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix" required="True"/>
<prop type="string" name="primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix" required="True"/>
<prop type="string" name="secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix"/>
<prop type="string" name="serialNumber">
<format minLength="1"/>
</prop>
@ -895,13 +906,13 @@
<arg type="string" var="@VpnConfigurationPatchableProperties_update.optionAProperties.primaryIpv4Prefix" options="primary-ipv4-prefix" group="">
<help short="IPv4 Address Prefix. Example: 172.31.0.0/31."/>
</arg>
<arg type="string" var="@VpnConfigurationPatchableProperties_update.optionAProperties.primaryIpv6Prefix" options="primary-ipv6-prefix" group="">
<arg nullable="True" type="string" var="@VpnConfigurationPatchableProperties_update.optionAProperties.primaryIpv6Prefix" options="primary-ipv6-prefix" group="">
<help short="IPv6 Address Prefix. Example: 3FFE:FFFF:0:CD30::a0/127."/>
</arg>
<arg type="string" var="@VpnConfigurationPatchableProperties_update.optionAProperties.secondaryIpv4Prefix" options="secondary-ipv4-prefix" group="">
<help short="Secondary IPv4 Address Prefix. Example: 172.31.0.20/31."/>
</arg>
<arg type="string" var="@VpnConfigurationPatchableProperties_update.optionAProperties.secondaryIpv6Prefix" options="secondary-ipv6-prefix" group="">
<arg nullable="True" type="string" var="@VpnConfigurationPatchableProperties_update.optionAProperties.secondaryIpv6Prefix" options="secondary-ipv6-prefix" group="">
<help short="Secondary IPv6 Address Prefix. Example: 3FFE:FFFF:0:CD30::a4/127"/>
</arg>
<arg type="integer32" var="@VpnConfigurationPatchableProperties_update.optionAProperties.vlanId" options="vlan-id" group="">
@ -976,13 +987,13 @@
<arg type="string" var="$body.properties.terminalServerConfiguration.primaryIpv4Prefix" options="primary-ipv4-prefix" group="">
<help short="IPv4 Address Prefix. Example:172.31.0.0/30."/>
</arg>
<arg type="string" var="$body.properties.terminalServerConfiguration.primaryIpv6Prefix" options="primary-ipv6-prefix" group="">
<arg nullable="True" type="string" var="$body.properties.terminalServerConfiguration.primaryIpv6Prefix" options="primary-ipv6-prefix" group="">
<help short="IPv6 Address Prefix. Example: 3FFE:FFFF:0:CD30::a0/127."/>
</arg>
<arg type="string" var="$body.properties.terminalServerConfiguration.secondaryIpv4Prefix" options="secondary-ipv4-prefix" group="">
<help short="Secondary IPv4 Address Prefix. Example:172.31.0.20/30."/>
</arg>
<arg type="string" var="$body.properties.terminalServerConfiguration.secondaryIpv6Prefix" options="secondary-ipv6-prefix" group="">
<arg nullable="True" type="string" var="$body.properties.terminalServerConfiguration.secondaryIpv6Prefix" options="secondary-ipv6-prefix" group="">
<help short="Secondary IPv6 Address Prefix. Example: 3FFE:FFFF:0:CD30::a4/127."/>
</arg>
<arg type="string" var="$body.properties.terminalServerConfiguration.serialNumber" options="serial-number">
@ -1046,9 +1057,9 @@
<format maximum="4294967295" minimum="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix" arg="@VpnConfigurationPatchableProperties_update.optionAProperties.primaryIpv4Prefix"/>
<prop type="string" name="primaryIpv6Prefix" arg="@VpnConfigurationPatchableProperties_update.optionAProperties.primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix" arg="@VpnConfigurationPatchableProperties_update.optionAProperties.primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix" arg="@VpnConfigurationPatchableProperties_update.optionAProperties.secondaryIpv4Prefix"/>
<prop type="string" name="secondaryIpv6Prefix" arg="@VpnConfigurationPatchableProperties_update.optionAProperties.secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix" arg="@VpnConfigurationPatchableProperties_update.optionAProperties.secondaryIpv6Prefix"/>
<prop type="integer32" name="vlanId" arg="@VpnConfigurationPatchableProperties_update.optionAProperties.vlanId">
<format maximum="4094" minimum="501"/>
</prop>
@ -1103,9 +1114,9 @@
<format minLength="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix" arg="$body.properties.terminalServerConfiguration.primaryIpv4Prefix"/>
<prop type="string" name="primaryIpv6Prefix" arg="$body.properties.terminalServerConfiguration.primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix" arg="$body.properties.terminalServerConfiguration.primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix" arg="$body.properties.terminalServerConfiguration.secondaryIpv4Prefix"/>
<prop type="string" name="secondaryIpv6Prefix" arg="$body.properties.terminalServerConfiguration.secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix" arg="$body.properties.terminalServerConfiguration.secondaryIpv6Prefix"/>
<prop type="string" name="serialNumber" arg="$body.properties.terminalServerConfiguration.serialNumber">
<format minLength="1"/>
</prop>
@ -1161,7 +1172,9 @@
<prop type="integer64" name="fabricASN" required="True">
<format maximum="4294967295" minimum="1"/>
</prop>
<prop readOnly="True" type="string" name="fabricVersion"/>
<prop type="string" name="fabricVersion">
<format minLength="1"/>
</prop>
<prop type="string" name="ipv4Prefix" required="True">
<format minLength="1"/>
</prop>
@ -1211,9 +1224,9 @@
<format maximum="4294967295" minimum="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix"/>
<prop type="string" name="primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix"/>
<prop type="string" name="secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix"/>
<prop type="integer32" name="vlanId" required="True">
<format maximum="4094" minimum="501"/>
</prop>
@ -1289,9 +1302,9 @@
<format minLength="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix" required="True"/>
<prop type="string" name="primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix" required="True"/>
<prop type="string" name="secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix"/>
<prop type="string" name="serialNumber">
<format minLength="1"/>
</prop>

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

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}/upgrade", "version": "2023-06-15", "swagger": "mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmV0d29ya0ZhYnJpY3Mve25ldHdvcmtGYWJyaWNOYW1lfS91cGdyYWRl/V/MjAyMy0wNi0xNQ=="}], "commandGroups": [{"name": "networkfabric fabric", "commands": [{"name": "upgrade", "version": "2023-06-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}/upgrade", "version": "2023-06-15", "swagger": "mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmV0d29ya0ZhYnJpY3Mve25ldHdvcmtGYWJyaWNOYW1lfS91cGdyYWRl/V/MjAyMy0wNi0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.networkFabricName", "options": ["resource-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Network Fabric."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of the resource group"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "ID of subscription"}}]}, {"name": "Body", "args": [{"type": "string", "var": "$body.action", "options": ["action"], "group": "Body", "help": {"short": "Action to be performed while upgrading the fabric."}, "enum": {"items": [{"name": "Complete", "value": "Complete"}, {"name": "Start", "value": "Start"}]}}, {"type": "string", "var": "$body.version", "options": ["version"], "group": "Body", "help": {"short": "Specify the version."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "NetworkFabrics_upgrade", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/upgrade", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "networkFabricName", "arg": "$Path.networkFabricName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-06-15"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "required": true, "props": [{"type": "string", "name": "action", "arg": "$body.action", "enum": {"items": [{"value": "Complete"}, {"value": "Start"}]}}, {"type": "string", "name": "version", "arg": "$body.version"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "configurationState", "enum": {"items": [{"value": "Accepted"}, {"value": "DeferredControl"}, {"value": "Deprovisioned"}, {"value": "Deprovisioning"}, {"value": "ErrorDeprovisioning"}, {"value": "ErrorProvisioning"}, {"value": "Failed"}, {"value": "PendingCommit"}, {"value": "Provisioned"}, {"value": "Provisioning"}, {"value": "Rejected"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array<object>", "name": "additionalInfo", "item": {"type": "object", "props": [{"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"}], "cls": "CommonPostActionResponseForStateUpdate_read"}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@CommonPostActionResponseForStateUpdate_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}

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

@ -0,0 +1,120 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}/upgrade" version="2023-06-15" swagger="mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmV0d29ya0ZhYnJpY3Mve25ldHdvcmtGYWJyaWNOYW1lfS91cGdyYWRl/V/MjAyMy0wNi0xNQ=="/>
<commandGroup name="networkfabric fabric">
<command name="upgrade" version="2023-06-15" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}/upgrade" version="2023-06-15" swagger="mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmV0d29ya0ZhYnJpY3Mve25ldHdvcmtGYWJyaWNOYW1lfS91cGdyYWRl/V/MjAyMy0wNi0xNQ=="/>
<argGroup name="">
<arg type="string" var="$Path.networkFabricName" options="resource-name" required="True" group="" idPart="name">
<help short="Name of the Network Fabric."/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" group="" idPart="resource_group">
<help short="Name of the resource group"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" group="" idPart="subscription">
<help short="ID of subscription"/>
</arg>
</argGroup>
<argGroup name="Body">
<arg type="string" var="$body.action" options="action" group="Body">
<help short="Action to be performed while upgrading the fabric."/>
<enum>
<item name="Complete" value="&quot;Complete&quot;"/>
<item name="Start" value="&quot;Start&quot;"/>
</enum>
</arg>
<arg type="string" var="$body.version" options="version" group="Body">
<help short="Specify the version."/>
</arg>
</argGroup>
<operation operationId="NetworkFabrics_upgrade">
<longRunning finalStateVia="location"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/upgrade">
<request method="post">
<path>
<param type="string" name="networkFabricName" arg="$Path.networkFabricName" required="True"/>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2023-06-15&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="body" required="True" clientFlatten="True">
<prop type="string" name="action" arg="$body.action">
<enum>
<item value="&quot;Complete&quot;"/>
<item value="&quot;Start&quot;"/>
</enum>
</prop>
<prop type="string" name="version" arg="$body.version"/>
</schema>
</json>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object" cls="CommonPostActionResponseForStateUpdate_read">
<prop readOnly="True" type="string" name="configurationState">
<enum>
<item value="&quot;Accepted&quot;"/>
<item value="&quot;DeferredControl&quot;"/>
<item value="&quot;Deprovisioned&quot;"/>
<item value="&quot;Deprovisioning&quot;"/>
<item value="&quot;ErrorDeprovisioning&quot;"/>
<item value="&quot;ErrorProvisioning&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;PendingCommit&quot;"/>
<item value="&quot;Provisioned&quot;"/>
<item value="&quot;Provisioning&quot;"/>
<item value="&quot;Rejected&quot;"/>
<item value="&quot;Succeeded&quot;"/>
</enum>
</prop>
<prop type="object" name="error" cls="ErrorDetail_read">
<prop readOnly="True" type="array<object>" name="additionalInfo">
<item type="object">
<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>
</schema>
</json>
</body>
</response>
<response statusCode="202">
<header>
<item name="Location"/>
</header>
<body>
<json var="$Instance">
<schema type="@CommonPostActionResponseForStateUpdate_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.managednetworkfabric/networkfabrics/{}/validateconfiguration", "version": "2023-06-15", "swagger": "mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmV0d29ya0ZhYnJpY3Mve25ldHdvcmtGYWJyaWNOYW1lfS92YWxpZGF0ZUNvbmZpZ3VyYXRpb24=/V/MjAyMy0wNi0xNQ=="}], "commandGroups": [{"name": "networkfabric fabric", "commands": [{"name": "validate-configuration", "version": "2023-06-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}/validateconfiguration", "version": "2023-06-15", "swagger": "mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmV0d29ya0ZhYnJpY3Mve25ldHdvcmtGYWJyaWNOYW1lfS92YWxpZGF0ZUNvbmZpZ3VyYXRpb24=/V/MjAyMy0wNi0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.networkFabricName", "options": ["resource-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Network Fabric."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of the resource group"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "ID of subscription"}}]}, {"name": "Body", "args": [{"type": "string", "var": "$body.validateAction", "options": ["validate-action"], "group": "Body", "help": {"short": "Validate action that to be performed"}, "format": {"minLength": 1}, "enum": {"items": [{"name": "Cabling", "value": "Cabling"}, {"name": "Configuration", "value": "Configuration"}, {"name": "Connectivity", "value": "Connectivity"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "NetworkFabrics_ValidateConfiguration", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/validateConfiguration", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "networkFabricName", "arg": "$Path.networkFabricName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-06-15"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "required": true, "props": [{"type": "string", "name": "validateAction", "arg": "$body.validateAction", "format": {"minLength": 1}, "enum": {"items": [{"value": "Cabling"}, {"value": "Configuration"}, {"value": "Connectivity"}]}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "configurationState", "enum": {"items": [{"value": "Accepted"}, {"value": "DeferredControl"}, {"value": "Deprovisioned"}, {"value": "Deprovisioning"}, {"value": "ErrorDeprovisioning"}, {"value": "ErrorProvisioning"}, {"value": "Failed"}, {"value": "PendingCommit"}, {"value": "Provisioned"}, {"value": "Provisioning"}, {"value": "Rejected"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array<object>", "name": "additionalInfo", "item": {"type": "object", "props": [{"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"}, {"type": "string", "name": "url"}], "cls": "ValidateConfigurationResponse_read"}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@ValidateConfigurationResponse_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}

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

@ -0,0 +1,121 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}/validateconfiguration" version="2023-06-15" swagger="mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmV0d29ya0ZhYnJpY3Mve25ldHdvcmtGYWJyaWNOYW1lfS92YWxpZGF0ZUNvbmZpZ3VyYXRpb24=/V/MjAyMy0wNi0xNQ=="/>
<commandGroup name="networkfabric fabric">
<command name="validate-configuration" version="2023-06-15" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}/validateconfiguration" version="2023-06-15" swagger="mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmV0d29ya0ZhYnJpY3Mve25ldHdvcmtGYWJyaWNOYW1lfS92YWxpZGF0ZUNvbmZpZ3VyYXRpb24=/V/MjAyMy0wNi0xNQ=="/>
<argGroup name="">
<arg type="string" var="$Path.networkFabricName" options="resource-name" required="True" group="" idPart="name">
<help short="Name of the Network Fabric."/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" group="" idPart="resource_group">
<help short="Name of the resource group"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" group="" idPart="subscription">
<help short="ID of subscription"/>
</arg>
</argGroup>
<argGroup name="Body">
<arg type="string" var="$body.validateAction" options="validate-action" group="Body">
<help short="Validate action that to be performed"/>
<format minLength="1"/>
<enum>
<item name="Cabling" value="&quot;Cabling&quot;"/>
<item name="Configuration" value="&quot;Configuration&quot;"/>
<item name="Connectivity" value="&quot;Connectivity&quot;"/>
</enum>
</arg>
</argGroup>
<operation operationId="NetworkFabrics_ValidateConfiguration">
<longRunning finalStateVia="location"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/validateConfiguration">
<request method="post">
<path>
<param type="string" name="networkFabricName" arg="$Path.networkFabricName" required="True"/>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2023-06-15&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="body" required="True" clientFlatten="True">
<prop type="string" name="validateAction" arg="$body.validateAction">
<format minLength="1"/>
<enum>
<item value="&quot;Cabling&quot;"/>
<item value="&quot;Configuration&quot;"/>
<item value="&quot;Connectivity&quot;"/>
</enum>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object" cls="ValidateConfigurationResponse_read">
<prop readOnly="True" type="string" name="configurationState">
<enum>
<item value="&quot;Accepted&quot;"/>
<item value="&quot;DeferredControl&quot;"/>
<item value="&quot;Deprovisioned&quot;"/>
<item value="&quot;Deprovisioning&quot;"/>
<item value="&quot;ErrorDeprovisioning&quot;"/>
<item value="&quot;ErrorProvisioning&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;PendingCommit&quot;"/>
<item value="&quot;Provisioned&quot;"/>
<item value="&quot;Provisioning&quot;"/>
<item value="&quot;Rejected&quot;"/>
<item value="&quot;Succeeded&quot;"/>
</enum>
</prop>
<prop type="object" name="error" cls="ErrorDetail_read">
<prop readOnly="True" type="array<object>" name="additionalInfo">
<item type="object">
<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="url"/>
</schema>
</json>
</body>
</response>
<response statusCode="202">
<header>
<item name="Location"/>
</header>
<body>
<json var="$Instance">
<schema type="@ValidateConfigurationResponse_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>

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

@ -143,9 +143,9 @@
<format maximum="4294967295" minimum="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix"/>
<prop type="string" name="primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix"/>
<prop type="string" name="secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix"/>
<prop type="integer32" name="vlanId" required="True">
<format maximum="4094" minimum="100"/>
</prop>

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

@ -144,9 +144,9 @@
<format maximum="4294967295" minimum="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix"/>
<prop type="string" name="primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix"/>
<prop type="string" name="secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix"/>
<prop type="integer32" name="vlanId" required="True">
<format maximum="4094" minimum="100"/>
</prop>
@ -362,13 +362,13 @@
<arg type="string" var="$body.properties.optionBLayer3Configuration.primaryIpv4Prefix" options="primary-ipv4-prefix" group="">
<help short="IPv4 Address Prefix. Example: 172.31.0.0/31."/>
</arg>
<arg type="string" var="$body.properties.optionBLayer3Configuration.primaryIpv6Prefix" options="primary-ipv6-prefix" group="">
<arg nullable="True" type="string" var="$body.properties.optionBLayer3Configuration.primaryIpv6Prefix" options="primary-ipv6-prefix" group="">
<help short="IPv6 Address Prefix. Example: 3FFE:FFFF:0:CD30::a0/127."/>
</arg>
<arg type="string" var="$body.properties.optionBLayer3Configuration.secondaryIpv4Prefix" options="secondary-ipv4-prefix" group="">
<help short="Secondary IPv4 Address Prefix. Example: 172.31.0.20/31."/>
</arg>
<arg type="string" var="$body.properties.optionBLayer3Configuration.secondaryIpv6Prefix" options="secondary-ipv6-prefix" group="">
<arg nullable="True" type="string" var="$body.properties.optionBLayer3Configuration.secondaryIpv6Prefix" options="secondary-ipv6-prefix" group="">
<help short="Secondary IPv6 Address Prefix. Example: 3FFE:FFFF:0:CD30::a4/127."/>
</arg>
<arg type="integer32" var="$body.properties.optionBLayer3Configuration.vlanId" options="vlan-id" required="True" group="">
@ -471,9 +471,9 @@
<format maximum="4294967295" minimum="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix" arg="$body.properties.optionBLayer3Configuration.primaryIpv4Prefix"/>
<prop type="string" name="primaryIpv6Prefix" arg="$body.properties.optionBLayer3Configuration.primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix" arg="$body.properties.optionBLayer3Configuration.primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix" arg="$body.properties.optionBLayer3Configuration.secondaryIpv4Prefix"/>
<prop type="string" name="secondaryIpv6Prefix" arg="$body.properties.optionBLayer3Configuration.secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix" arg="$body.properties.optionBLayer3Configuration.secondaryIpv6Prefix"/>
<prop type="integer32" name="vlanId" arg="$body.properties.optionBLayer3Configuration.vlanId" required="True">
<format maximum="4094" minimum="100"/>
</prop>
@ -597,9 +597,9 @@
<format maximum="4294967295" minimum="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix"/>
<prop type="string" name="primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix"/>
<prop type="string" name="secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix"/>
<prop type="integer32" name="vlanId" required="True">
<format maximum="4094" minimum="100"/>
</prop>
@ -751,13 +751,13 @@
<arg type="string" var="$body.properties.optionBLayer3Configuration.primaryIpv4Prefix" options="primary-ipv4-prefix" group="">
<help short="IPv4 Address Prefix. Example: 172.31.0.0/31."/>
</arg>
<arg type="string" var="$body.properties.optionBLayer3Configuration.primaryIpv6Prefix" options="primary-ipv6-prefix" group="">
<arg nullable="True" type="string" var="$body.properties.optionBLayer3Configuration.primaryIpv6Prefix" options="primary-ipv6-prefix" group="">
<help short="IPv6 Address Prefix. Example: 3FFE:FFFF:0:CD30::a0/127."/>
</arg>
<arg type="string" var="$body.properties.optionBLayer3Configuration.secondaryIpv4Prefix" options="secondary-ipv4-prefix" group="">
<help short="Secondary IPv4 Address Prefix. Example: 172.31.0.20/31."/>
</arg>
<arg type="string" var="$body.properties.optionBLayer3Configuration.secondaryIpv6Prefix" options="secondary-ipv6-prefix" group="">
<arg nullable="True" type="string" var="$body.properties.optionBLayer3Configuration.secondaryIpv6Prefix" options="secondary-ipv6-prefix" group="">
<help short="Secondary IPv6 Address Prefix. Example: 3FFE:FFFF:0:CD30::a4/127."/>
</arg>
<arg type="integer32" var="$body.properties.optionBLayer3Configuration.vlanId" options="vlan-id" group="">
@ -837,9 +837,9 @@
<format maximum="4294967295" minimum="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix" arg="$body.properties.optionBLayer3Configuration.primaryIpv4Prefix"/>
<prop type="string" name="primaryIpv6Prefix" arg="$body.properties.optionBLayer3Configuration.primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix" arg="$body.properties.optionBLayer3Configuration.primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix" arg="$body.properties.optionBLayer3Configuration.secondaryIpv4Prefix"/>
<prop type="string" name="secondaryIpv6Prefix" arg="$body.properties.optionBLayer3Configuration.secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix" arg="$body.properties.optionBLayer3Configuration.secondaryIpv6Prefix"/>
<prop type="integer32" name="vlanId" arg="$body.properties.optionBLayer3Configuration.vlanId">
<format maximum="4094" minimum="100"/>
</prop>
@ -957,9 +957,9 @@
<format maximum="4294967295" minimum="1"/>
</prop>
<prop type="string" name="primaryIpv4Prefix"/>
<prop type="string" name="primaryIpv6Prefix"/>
<prop nullable="True" type="string" name="primaryIpv6Prefix"/>
<prop type="string" name="secondaryIpv4Prefix"/>
<prop type="string" name="secondaryIpv6Prefix"/>
<prop nullable="True" type="string" name="secondaryIpv6Prefix"/>
<prop type="integer32" name="vlanId" required="True">
<format maximum="4094" minimum="100"/>
</prop>

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

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networktaps/{}/resync", "version": "2023-06-15", "swagger": "mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmV0d29ya1RhcHMve25ldHdvcmtUYXBOYW1lfS9yZXN5bmM=/V/MjAyMy0wNi0xNQ=="}], "commandGroups": [{"name": "networkfabric tap", "commands": [{"name": "resync", "version": "2023-06-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networktaps/{}/resync", "version": "2023-06-15", "swagger": "mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmV0d29ya1RhcHMve25ldHdvcmtUYXBOYW1lfS9yZXN5bmM=/V/MjAyMy0wNi0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.networkTapName", "options": ["network-tap-name"], "required": true, "idPart": "name", "help": {"short": "Name of the Network Tap."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of the resource group"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "ID of subscription"}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "NetworkTaps_Resync", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTaps/{networkTapName}/resync", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "networkTapName", "arg": "$Path.networkTapName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-06-15"}, "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": "configurationState", "enum": {"items": [{"value": "Accepted"}, {"value": "DeferredControl"}, {"value": "Deprovisioned"}, {"value": "Deprovisioning"}, {"value": "ErrorDeprovisioning"}, {"value": "ErrorProvisioning"}, {"value": "Failed"}, {"value": "PendingCommit"}, {"value": "Provisioned"}, {"value": "Provisioning"}, {"value": "Rejected"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array<object>", "name": "additionalInfo", "item": {"type": "object", "props": [{"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"}], "cls": "CommonPostActionResponseForStateUpdate_read"}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@CommonPostActionResponseForStateUpdate_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}

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

@ -0,0 +1,95 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networktaps/{}/resync" version="2023-06-15" swagger="mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmV0d29ya1RhcHMve25ldHdvcmtUYXBOYW1lfS9yZXN5bmM=/V/MjAyMy0wNi0xNQ=="/>
<commandGroup name="networkfabric tap">
<command name="resync" version="2023-06-15" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networktaps/{}/resync" version="2023-06-15" swagger="mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmV0d29ya1RhcHMve25ldHdvcmtUYXBOYW1lfS9yZXN5bmM=/V/MjAyMy0wNi0xNQ=="/>
<argGroup name="">
<arg type="string" var="$Path.networkTapName" options="network-tap-name" required="True" idPart="name">
<help short="Name of the Network Tap."/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" group="" idPart="resource_group">
<help short="Name of the resource group"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" group="" idPart="subscription">
<help short="ID of subscription"/>
</arg>
</argGroup>
<operation operationId="NetworkTaps_Resync">
<longRunning finalStateVia="location"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTaps/{networkTapName}/resync">
<request method="post">
<path>
<param type="string" name="networkTapName" arg="$Path.networkTapName" required="True"/>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2023-06-15&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object" cls="CommonPostActionResponseForStateUpdate_read">
<prop readOnly="True" type="string" name="configurationState">
<enum>
<item value="&quot;Accepted&quot;"/>
<item value="&quot;DeferredControl&quot;"/>
<item value="&quot;Deprovisioned&quot;"/>
<item value="&quot;Deprovisioning&quot;"/>
<item value="&quot;ErrorDeprovisioning&quot;"/>
<item value="&quot;ErrorProvisioning&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;PendingCommit&quot;"/>
<item value="&quot;Provisioned&quot;"/>
<item value="&quot;Provisioning&quot;"/>
<item value="&quot;Rejected&quot;"/>
<item value="&quot;Succeeded&quot;"/>
</enum>
</prop>
<prop type="object" name="error" cls="ErrorDetail_read">
<prop readOnly="True" type="array<object>" name="additionalInfo">
<item type="object">
<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>
</schema>
</json>
</body>
</response>
<response statusCode="202">
<header>
<item name="Location"/>
</header>
<body>
<json var="$Instance">
<schema type="@CommonPostActionResponseForStateUpdate_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>