From 68382d681871fa1404d53f9aa3d0e089335669de Mon Sep 17 00:00:00 2001 From: necusjz Date: Thu, 27 Jul 2023 15:16:20 +0800 Subject: [PATCH] upload model --- Commands/network/vhub/connection/_create.md | 21 + Commands/network/vhub/connection/_delete.md | 16 + Commands/network/vhub/connection/_list.md | 16 + Commands/network/vhub/connection/_show.md | 16 + Commands/network/vhub/connection/_update.md | 16 + Commands/network/vhub/connection/readme.md | 20 + Commands/network/vhub/readme.md | 3 + Commands/tree.json | 173 +++++ .../2022-07-01.json | 1 + .../2022-07-01.xml | 110 +++ .../2022-07-01.json | 1 + .../2022-07-01.xml | 649 ++++++++++++++++++ 12 files changed, 1042 insertions(+) create mode 100644 Commands/network/vhub/connection/_create.md create mode 100644 Commands/network/vhub/connection/_delete.md create mode 100644 Commands/network/vhub/connection/_list.md create mode 100644 Commands/network/vhub/connection/_show.md create mode 100644 Commands/network/vhub/connection/_update.md create mode 100644 Commands/network/vhub/connection/readme.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnM=/2022-07-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnM=/2022-07-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnMve30=/2022-07-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnMve30=/2022-07-01.xml diff --git a/Commands/network/vhub/connection/_create.md b/Commands/network/vhub/connection/_create.md new file mode 100644 index 000000000..b62f247cb --- /dev/null +++ b/Commands/network/vhub/connection/_create.md @@ -0,0 +1,21 @@ +# [Command] _network vhub connection create_ + +Create a virtual hub VNet connection. + +## Versions + +### [2022-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnMve30=/2022-07-01.xml) **Stable** + + + +#### examples + +- Create a virtual hub VNet connection without routing configuration. + ```bash + network vhub connection create -n MyConnection --vhub-name MyHub -g MyRG --remote-vnet MyVNet + ``` + +- Create a virtual hub VNet connection with routing configuration. + ```bash + network vhub connection create -n MyConnection --vhub-name MyHub -g MyRG --remote-vnet MyVNet --associated-route-table /subscriptions/MySub/resourceGroups/MyRG/providers/Microsoft.Network/virtualHubs/MyHub/hubRouteTables/RouteTable1 --propagated-route-tables /subscriptions/MySub/resourceGroups/MyRG/providers/Microsoft.Network/virtualHubs/MyHub/hubRouteTables/RouteTable1 /subscriptions/MySub/resourceGroups/MyRG/providers/Microsoft.Network/virtualHubs/MyHub/hubRouteTables/RouteTable2 --labels label1 label2 --route-name route1 --next-hop 70.0.0.2 --address-prefixes 10.80.0.0/16 10.90.0.0/16 + ``` diff --git a/Commands/network/vhub/connection/_delete.md b/Commands/network/vhub/connection/_delete.md new file mode 100644 index 000000000..5673f0987 --- /dev/null +++ b/Commands/network/vhub/connection/_delete.md @@ -0,0 +1,16 @@ +# [Command] _network vhub connection delete_ + +Delete a virtual hub VNet connection. + +## Versions + +### [2022-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnMve30=/2022-07-01.xml) **Stable** + + + +#### examples + +- Delete a virtual hub VNet connection. + ```bash + network vhub connection delete -n MyConnection --vhub-name MyHub -g MyRG + ``` diff --git a/Commands/network/vhub/connection/_list.md b/Commands/network/vhub/connection/_list.md new file mode 100644 index 000000000..b76d8a1a5 --- /dev/null +++ b/Commands/network/vhub/connection/_list.md @@ -0,0 +1,16 @@ +# [Command] _network vhub connection list_ + +List virtual hub VNet connections. + +## Versions + +### [2022-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnM=/2022-07-01.xml) **Stable** + + + +#### examples + +- List VNet connections in a given virtual hub. + ```bash + network vhub connection list --vhub-name MyHub -g MyRG + ``` diff --git a/Commands/network/vhub/connection/_show.md b/Commands/network/vhub/connection/_show.md new file mode 100644 index 000000000..d0c613be6 --- /dev/null +++ b/Commands/network/vhub/connection/_show.md @@ -0,0 +1,16 @@ +# [Command] _network vhub connection show_ + +Get the details of a virtual hub VNet connection. + +## Versions + +### [2022-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnMve30=/2022-07-01.xml) **Stable** + + + +#### examples + +- Get the details of a virtual hub VNet connection. + ```bash + network vhub connection show -n MyConnection --vhub-name MyHub -g MyRG + ``` diff --git a/Commands/network/vhub/connection/_update.md b/Commands/network/vhub/connection/_update.md new file mode 100644 index 000000000..aac4a8155 --- /dev/null +++ b/Commands/network/vhub/connection/_update.md @@ -0,0 +1,16 @@ +# [Command] _network vhub connection update_ + +Update settings of a virtual hub connection. + +## Versions + +### [2022-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnMve30=/2022-07-01.xml) **Stable** + + + +#### examples + +- Add labels for propagated route tables under routing configuration. + ```bash + network vhub connection update -n MyConnection --vhub-name MyHub -g MyRG --labels Newlabel1 Newlabel2 + ``` diff --git a/Commands/network/vhub/connection/readme.md b/Commands/network/vhub/connection/readme.md new file mode 100644 index 000000000..cdd655bd8 --- /dev/null +++ b/Commands/network/vhub/connection/readme.md @@ -0,0 +1,20 @@ +# [Group] _network vhub connection_ + +Manage virtual hub VNet connections. + +## Commands + +- [create](/Commands/network/vhub/connection/_create.md) +: Create a virtual hub VNet connection. + +- [delete](/Commands/network/vhub/connection/_delete.md) +: Delete a virtual hub VNet connection. + +- [list](/Commands/network/vhub/connection/_list.md) +: List virtual hub VNet connections. + +- [show](/Commands/network/vhub/connection/_show.md) +: Get the details of a virtual hub VNet connection. + +- [update](/Commands/network/vhub/connection/_update.md) +: Update settings of a virtual hub connection. diff --git a/Commands/network/vhub/readme.md b/Commands/network/vhub/readme.md index f77366463..450247525 100644 --- a/Commands/network/vhub/readme.md +++ b/Commands/network/vhub/readme.md @@ -4,6 +4,9 @@ Manage virtual hubs. ## Subgroups +- [connection](/Commands/network/vhub/connection/readme.md) +: Manage virtual hub VNet connections. + - [route-map](/Commands/network/vhub/route-map/readme.md) : Manage route map diff --git a/Commands/tree.json b/Commands/tree.json index 24d6685a2..025570ee5 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -52089,6 +52089,179 @@ }, "vhub": { "commandGroups": { + "connection": { + "commands": { + "create": { + "help": { + "short": "Create a virtual hub VNet connection." + }, + "names": [ + "network", + "vhub", + "connection", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network vhub connection create -n MyConnection --vhub-name MyHub -g MyRG --remote-vnet MyVNet" + ], + "name": "Create a virtual hub VNet connection without routing configuration." + }, + { + "commands": [ + "network vhub connection create -n MyConnection --vhub-name MyHub -g MyRG --remote-vnet MyVNet --associated-route-table /subscriptions/MySub/resourceGroups/MyRG/providers/Microsoft.Network/virtualHubs/MyHub/hubRouteTables/RouteTable1 --propagated-route-tables /subscriptions/MySub/resourceGroups/MyRG/providers/Microsoft.Network/virtualHubs/MyHub/hubRouteTables/RouteTable1 /subscriptions/MySub/resourceGroups/MyRG/providers/Microsoft.Network/virtualHubs/MyHub/hubRouteTables/RouteTable2 --labels label1 label2 --route-name route1 --next-hop 70.0.0.2 --address-prefixes 10.80.0.0/16 10.90.0.0/16" + ], + "name": "Create a virtual hub VNet connection with routing configuration." + } + ], + "name": "2022-07-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}/hubvirtualnetworkconnections/{}", + "plane": "mgmt-plane", + "version": "2022-07-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete a virtual hub VNet connection." + }, + "names": [ + "network", + "vhub", + "connection", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network vhub connection delete -n MyConnection --vhub-name MyHub -g MyRG" + ], + "name": "Delete a virtual hub VNet connection." + } + ], + "name": "2022-07-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}/hubvirtualnetworkconnections/{}", + "plane": "mgmt-plane", + "version": "2022-07-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List virtual hub VNet connections." + }, + "names": [ + "network", + "vhub", + "connection", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network vhub connection list --vhub-name MyHub -g MyRG" + ], + "name": "List VNet connections in a given virtual hub." + } + ], + "name": "2022-07-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}/hubvirtualnetworkconnections", + "plane": "mgmt-plane", + "version": "2022-07-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get the details of a virtual hub VNet connection." + }, + "names": [ + "network", + "vhub", + "connection", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network vhub connection show -n MyConnection --vhub-name MyHub -g MyRG" + ], + "name": "Get the details of a virtual hub VNet connection." + } + ], + "name": "2022-07-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}/hubvirtualnetworkconnections/{}", + "plane": "mgmt-plane", + "version": "2022-07-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update settings of a virtual hub connection." + }, + "names": [ + "network", + "vhub", + "connection", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network vhub connection update -n MyConnection --vhub-name MyHub -g MyRG --labels Newlabel1 Newlabel2" + ], + "name": "Add labels for propagated route tables under routing configuration." + } + ], + "name": "2022-07-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}/hubvirtualnetworkconnections/{}", + "plane": "mgmt-plane", + "version": "2022-07-01" + } + ] + } + ] + } + }, + "help": { + "short": "Manage virtual hub VNet connections." + }, + "names": [ + "network", + "vhub", + "connection" + ] + }, "route-map": { "commandGroups": { "rule": { diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnM=/2022-07-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnM=/2022-07-01.json new file mode 100644 index 000000000..87dd02fd2 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnM=/2022-07-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}/hubvirtualnetworkconnections", "version": "2022-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9L2h1YlZpcnR1YWxOZXR3b3JrQ29ubmVjdGlvbnM=/V/MjAyMi0wNy0wMQ=="}], "commandGroups": [{"name": "network vhub connection", "commands": [{"name": "list", "version": "2022-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}/hubvirtualnetworkconnections", "version": "2022-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9L2h1YlZpcnR1YWxOZXR3b3JrQ29ubmVjdGlvbnM=/V/MjAyMi0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualHubName", "options": ["vhub-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the virtual hub."}}]}], "operations": [{"operationId": "HubVirtualNetworkConnections_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualHubName", "arg": "$Path.virtualHubName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/hubVirtualNetworkConnections/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "allowHubToRemoteVnetTransit"}, {"type": "boolean", "name": "allowRemoteVnetToUseHubVnetGateways"}, {"type": "boolean", "name": "enableInternetSecurity"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "remoteVirtualNetwork", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "object", "name": "routingConfiguration", "props": [{"type": "@SubResource_read", "name": "associatedRouteTable"}, {"type": "@SubResource_read", "name": "inboundRouteMap"}, {"type": "@SubResource_read", "name": "outboundRouteMap"}, {"type": "object", "name": "propagatedRouteTables", "props": [{"type": "array<@SubResource_read>", "name": "ids", "item": {"type": "@SubResource_read"}}, {"type": "array", "name": "labels", "item": {"type": "string"}}]}, {"type": "object", "name": "vnetRoutes", "props": [{"readOnly": true, "type": "array<@SubResource_read>", "name": "bgpConnections", "item": {"type": "@SubResource_read"}}, {"type": "array", "name": "staticRoutes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "nextHopIpAddress"}]}}, {"type": "object", "name": "staticRoutesConfig", "props": [{"readOnly": true, "type": "boolean", "name": "propagateStaticRoutes"}, {"type": "string", "name": "vnetLocalRouteOverrideCriteria", "enum": {"items": [{"value": "Contains"}, {"value": "Equal"}]}}]}]}]}], "clientFlatten": true}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnM=/2022-07-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnM=/2022-07-01.xml new file mode 100644 index 000000000..184978413 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnM=/2022-07-01.xml @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnMve30=/2022-07-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnMve30=/2022-07-01.json new file mode 100644 index 000000000..5f58781d8 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnMve30=/2022-07-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}/hubvirtualnetworkconnections/{}", "version": "2022-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9L2h1YlZpcnR1YWxOZXR3b3JrQ29ubmVjdGlvbnMve2Nvbm5lY3Rpb25OYW1lfQ==/V/MjAyMi0wNy0wMQ=="}], "commandGroups": [{"name": "network vhub connection", "commands": [{"name": "show", "version": "2022-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}/hubvirtualnetworkconnections/{}", "version": "2022-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9L2h1YlZpcnR1YWxOZXR3b3JrQ29ubmVjdGlvbnMve2Nvbm5lY3Rpb25OYW1lfQ==/V/MjAyMi0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.connectionName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of the connection."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualHubName", "options": ["vhub-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the virtual hub."}}]}], "operations": [{"operationId": "HubVirtualNetworkConnections_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "connectionName", "arg": "$Path.connectionName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualHubName", "arg": "$Path.virtualHubName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/hubVirtualNetworkConnections/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "allowHubToRemoteVnetTransit"}, {"type": "boolean", "name": "allowRemoteVnetToUseHubVnetGateways"}, {"type": "boolean", "name": "enableInternetSecurity"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "remoteVirtualNetwork", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "object", "name": "routingConfiguration", "props": [{"type": "@SubResource_read", "name": "associatedRouteTable"}, {"type": "@SubResource_read", "name": "inboundRouteMap"}, {"type": "@SubResource_read", "name": "outboundRouteMap"}, {"type": "object", "name": "propagatedRouteTables", "props": [{"type": "array<@SubResource_read>", "name": "ids", "item": {"type": "@SubResource_read"}}, {"type": "array", "name": "labels", "item": {"type": "string"}}]}, {"type": "object", "name": "vnetRoutes", "props": [{"readOnly": true, "type": "array<@SubResource_read>", "name": "bgpConnections", "item": {"type": "@SubResource_read"}}, {"type": "array", "name": "staticRoutes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "nextHopIpAddress"}]}}, {"type": "object", "name": "staticRoutesConfig", "props": [{"readOnly": true, "type": "boolean", "name": "propagateStaticRoutes"}, {"type": "string", "name": "vnetLocalRouteOverrideCriteria", "enum": {"items": [{"value": "Contains"}, {"value": "Equal"}]}}]}]}]}], "clientFlatten": true}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2022-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}/hubvirtualnetworkconnections/{}", "version": "2022-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9L2h1YlZpcnR1YWxOZXR3b3JrQ29ubmVjdGlvbnMve2Nvbm5lY3Rpb25OYW1lfQ==/V/MjAyMi0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.connectionName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of the connection."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualHubName", "options": ["vhub-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the virtual hub."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "HubVirtualNetworkConnections_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "connectionName", "arg": "$Path.connectionName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualHubName", "arg": "$Path.virtualHubName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}/hubvirtualnetworkconnections/{}", "version": "2022-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9L2h1YlZpcnR1YWxOZXR3b3JrQ29ubmVjdGlvbnMve2Nvbm5lY3Rpb25OYW1lfQ==/V/MjAyMi0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.connectionName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of the connection."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualHubName", "options": ["vhub-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the virtual hub."}}, {"type": "boolean", "var": "$hubVirtualNetworkConnectionParameters.properties.allowHubToRemoteVnetTransit", "options": ["remote-vnet-transit"], "group": "", "help": {"short": "Deprecated: Enable hub to remote VNet transit."}}, {"type": "boolean", "var": "$hubVirtualNetworkConnectionParameters.properties.allowRemoteVnetToUseHubVnetGateways", "options": ["use-hub-vnet-gateways"], "group": "", "help": {"short": "Deprecated: Allow remote VNet to use hub's VNet gateways."}}, {"type": "boolean", "var": "$hubVirtualNetworkConnectionParameters.properties.enableInternetSecurity", "options": ["internet-security"], "group": "", "help": {"short": "Enable internet security and default is enabled."}, "default": {"value": true}}, {"type": "string", "var": "$hubVirtualNetworkConnectionParameters.properties.remoteVirtualNetwork.id", "options": ["remote-vnet"], "group": "", "help": {"short": "Name of ID of the remote VNet to connect to."}}]}, {"name": "HubVirtualNetworkConnectionParameters", "args": [{"type": "ResourceId", "var": "$hubVirtualNetworkConnectionParameters.id", "options": ["connection-id"], "hide": true, "group": "HubVirtualNetworkConnectionParameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/hubVirtualNetworkConnections/{}"}}]}, {"name": "Routing Configuration", "args": [{"type": "string", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.associatedRouteTable.id", "options": ["associated", "associated-route-table"], "stage": "Preview", "group": "Routing Configuration", "help": {"short": "Resource ID of route table associated with this routing configuration."}}, {"type": "string", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.inboundRouteMap.id", "options": ["associated-inbound-routemap"], "group": "Routing Configuration", "help": {"short": "Resource URI of inbound routemap for this connection's routing configuration."}}, {"type": "string", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.outboundRouteMap.id", "options": ["associated-outbound-routemap"], "group": "Routing Configuration", "help": {"short": "Resource URI of outbound routemap for this connection's routing configuration."}}, {"type": "array", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.propagatedRouteTables.ids", "options": ["route-tables"], "stage": "Preview", "group": "Routing Configuration", "help": {"short": "The list of resource ids of all the RouteTables."}, "item": {"type": "object", "args": [{"type": "string", "var": "@SubResource_create.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_create"}}, {"type": "array", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.propagatedRouteTables.labels", "options": ["labels"], "stage": "Preview", "group": "Routing Configuration", "help": {"short": "Space-separated list of labels for propagated route tables."}, "item": {"type": "string"}}, {"type": "array", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutes", "options": ["static-routes"], "stage": "Preview", "group": "Routing Configuration", "help": {"short": "List of all Static Routes."}, "item": {"type": "object", "args": [{"type": "array", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutes[].addressPrefixes", "options": ["address-prefixes"], "help": {"short": "List of all address prefixes."}, "item": {"type": "string"}}, {"type": "string", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutes[].name", "options": ["route-name"], "group": "", "help": {"short": "The name of the StaticRoute that is unique within a VnetRoute."}}, {"type": "string", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutes[].nextHopIpAddress", "options": ["next-hop"], "group": "", "help": {"short": "The ip address of the next hop."}}]}}]}, {"name": "VnetRoutes", "args": [{"type": "object", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutesConfig", "options": ["static-routes-config"], "hide": true, "group": "VnetRoutes", "help": {"short": "Configuration for static routes on this HubVnetConnection."}, "args": [{"type": "string", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutesConfig.vnetLocalRouteOverrideCriteria", "options": ["vnet-local-route-override-criteria"], "help": {"short": "Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke."}, "enum": {"items": [{"name": "Contains", "value": "Contains"}, {"name": "Equal", "value": "Equal"}]}}]}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "HubVirtualNetworkConnections_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "connectionName", "arg": "$Path.connectionName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualHubName", "arg": "$Path.virtualHubName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "hubVirtualNetworkConnectionParameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$hubVirtualNetworkConnectionParameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/hubVirtualNetworkConnections/{}"}}, {"type": "string", "name": "name", "arg": "$Path.connectionName"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "allowHubToRemoteVnetTransit", "arg": "$hubVirtualNetworkConnectionParameters.properties.allowHubToRemoteVnetTransit"}, {"type": "boolean", "name": "allowRemoteVnetToUseHubVnetGateways", "arg": "$hubVirtualNetworkConnectionParameters.properties.allowRemoteVnetToUseHubVnetGateways"}, {"type": "boolean", "name": "enableInternetSecurity", "arg": "$hubVirtualNetworkConnectionParameters.properties.enableInternetSecurity"}, {"type": "object", "name": "remoteVirtualNetwork", "props": [{"type": "string", "name": "id", "arg": "$hubVirtualNetworkConnectionParameters.properties.remoteVirtualNetwork.id"}]}, {"type": "object", "name": "routingConfiguration", "props": [{"type": "object", "name": "associatedRouteTable", "props": [{"type": "string", "name": "id", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.associatedRouteTable.id"}]}, {"type": "object", "name": "inboundRouteMap", "props": [{"type": "string", "name": "id", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.inboundRouteMap.id"}]}, {"type": "object", "name": "outboundRouteMap", "props": [{"type": "string", "name": "id", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.outboundRouteMap.id"}]}, {"type": "object", "name": "propagatedRouteTables", "props": [{"type": "array", "name": "ids", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.propagatedRouteTables.ids", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "@SubResource_create.id"}], "cls": "SubResource_create"}}, {"type": "array", "name": "labels", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.propagatedRouteTables.labels", "item": {"type": "string"}}]}, {"type": "object", "name": "vnetRoutes", "props": [{"type": "array", "name": "staticRoutes", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutes[].addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "name", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutes[].name"}, {"type": "string", "name": "nextHopIpAddress", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutes[].nextHopIpAddress"}]}}, {"type": "object", "name": "staticRoutesConfig", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutesConfig", "props": [{"type": "string", "name": "vnetLocalRouteOverrideCriteria", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutesConfig.vnetLocalRouteOverrideCriteria", "enum": {"items": [{"value": "Contains"}, {"value": "Equal"}]}}]}]}]}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/hubVirtualNetworkConnections/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "allowHubToRemoteVnetTransit"}, {"type": "boolean", "name": "allowRemoteVnetToUseHubVnetGateways"}, {"type": "boolean", "name": "enableInternetSecurity"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "remoteVirtualNetwork", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "object", "name": "routingConfiguration", "props": [{"type": "@SubResource_read", "name": "associatedRouteTable"}, {"type": "@SubResource_read", "name": "inboundRouteMap"}, {"type": "@SubResource_read", "name": "outboundRouteMap"}, {"type": "object", "name": "propagatedRouteTables", "props": [{"type": "array<@SubResource_read>", "name": "ids", "item": {"type": "@SubResource_read"}}, {"type": "array", "name": "labels", "item": {"type": "string"}}]}, {"type": "object", "name": "vnetRoutes", "props": [{"readOnly": true, "type": "array<@SubResource_read>", "name": "bgpConnections", "item": {"type": "@SubResource_read"}}, {"type": "array", "name": "staticRoutes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "nextHopIpAddress"}]}}, {"type": "object", "name": "staticRoutesConfig", "props": [{"readOnly": true, "type": "boolean", "name": "propagateStaticRoutes"}, {"type": "string", "name": "vnetLocalRouteOverrideCriteria", "enum": {"items": [{"value": "Contains"}, {"value": "Equal"}]}}]}]}]}], "clientFlatten": true}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}/hubvirtualnetworkconnections/{}", "version": "2022-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9L2h1YlZpcnR1YWxOZXR3b3JrQ29ubmVjdGlvbnMve2Nvbm5lY3Rpb25OYW1lfQ==/V/MjAyMi0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.connectionName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of the connection."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualHubName", "options": ["vhub-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the virtual hub."}}, {"nullable": true, "type": "boolean", "var": "$hubVirtualNetworkConnectionParameters.properties.allowHubToRemoteVnetTransit", "options": ["remote-vnet-transit"], "hide": true, "group": "", "help": {"short": "Deprecated: Enable hub to remote VNet transit."}}, {"nullable": true, "type": "boolean", "var": "$hubVirtualNetworkConnectionParameters.properties.allowRemoteVnetToUseHubVnetGateways", "options": ["use-hub-vnet-gateways"], "hide": true, "group": "", "help": {"short": "Deprecated: Allow remote VNet to use hub's VNet gateways."}}]}, {"name": "HubVirtualNetworkConnectionParameters", "args": [{"nullable": true, "type": "ResourceId", "var": "$hubVirtualNetworkConnectionParameters.id", "options": ["connection-id"], "hide": true, "group": "HubVirtualNetworkConnectionParameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/hubVirtualNetworkConnections/{}"}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "boolean", "var": "$hubVirtualNetworkConnectionParameters.properties.enableInternetSecurity", "options": ["enable-internet-security"], "hide": true, "group": "Properties", "help": {"short": "Enable internet security."}}, {"nullable": true, "type": "object", "var": "$hubVirtualNetworkConnectionParameters.properties.remoteVirtualNetwork", "options": ["remote-virtual-network"], "hide": true, "group": "Properties", "help": {"short": "Reference to the remote virtual network."}, "args": [{"nullable": true, "type": "string", "var": "@SubResource_update.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_update"}]}, {"name": "Routing Configuration", "args": [{"nullable": true, "type": "string", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.associatedRouteTable.id", "options": ["associated", "associated-route-table"], "stage": "Preview", "group": "Routing Configuration", "help": {"short": "Resource ID of route table associated with this routing configuration."}}, {"nullable": true, "type": "string", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.inboundRouteMap.id", "options": ["associated-inbound-routemap"], "group": "Routing Configuration", "help": {"short": "Resource URI of inbound routemap for this connection's routing configuration."}}, {"nullable": true, "type": "string", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.outboundRouteMap.id", "options": ["associated-outbound-routemap"], "group": "Routing Configuration", "help": {"short": "Resource URI of outbound routemap for this connection's routing configuration."}}, {"nullable": true, "type": "array<@SubResource_update>", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.propagatedRouteTables.ids", "options": ["route-tables"], "stage": "Preview", "group": "Routing Configuration", "help": {"short": "The list of resource ids of all the RouteTables."}, "item": {"nullable": true, "type": "@SubResource_update"}}, {"nullable": true, "type": "array", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.propagatedRouteTables.labels", "options": ["labels"], "stage": "Preview", "group": "Routing Configuration", "help": {"short": "Space-separated list of labels for propagated route tables."}, "item": {"nullable": true, "type": "string"}}]}, {"name": "RoutingConfiguration", "args": [{"nullable": true, "type": "object", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes", "options": ["vnet-routes"], "hide": true, "group": "RoutingConfiguration", "help": {"short": "List of routes that control routing from VirtualHub into a virtual network connection."}, "args": [{"nullable": true, "type": "array", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutes", "options": ["static-routes"], "help": {"short": "List of all Static Routes."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "array", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutes[].addressPrefixes", "options": ["address-prefixes"], "help": {"short": "List of all address prefixes."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutes[].name", "options": ["name"], "help": {"short": "The name of the StaticRoute that is unique within a VnetRoute."}}, {"nullable": true, "type": "string", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutes[].nextHopIpAddress", "options": ["next-hop-ip-address"], "help": {"short": "The ip address of the next hop."}}]}}, {"nullable": true, "type": "object", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutesConfig", "options": ["static-routes-config"], "help": {"short": "Configuration for static routes on this HubVnetConnection."}, "args": [{"nullable": true, "type": "string", "var": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutesConfig.vnetLocalRouteOverrideCriteria", "options": ["vnet-local-route-override-criteria"], "help": {"short": "Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke."}, "enum": {"items": [{"name": "Contains", "value": "Contains"}, {"name": "Equal", "value": "Equal"}]}}]}]}]}], "operations": [{"operationId": "HubVirtualNetworkConnections_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "connectionName", "arg": "$Path.connectionName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualHubName", "arg": "$Path.virtualHubName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/hubVirtualNetworkConnections/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "allowHubToRemoteVnetTransit"}, {"type": "boolean", "name": "allowRemoteVnetToUseHubVnetGateways"}, {"type": "boolean", "name": "enableInternetSecurity"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "remoteVirtualNetwork", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "object", "name": "routingConfiguration", "props": [{"type": "@SubResource_read", "name": "associatedRouteTable"}, {"type": "@SubResource_read", "name": "inboundRouteMap"}, {"type": "@SubResource_read", "name": "outboundRouteMap"}, {"type": "object", "name": "propagatedRouteTables", "props": [{"type": "array<@SubResource_read>", "name": "ids", "item": {"type": "@SubResource_read"}}, {"type": "array", "name": "labels", "item": {"type": "string"}}]}, {"type": "object", "name": "vnetRoutes", "props": [{"readOnly": true, "type": "array<@SubResource_read>", "name": "bgpConnections", "item": {"type": "@SubResource_read"}}, {"type": "array", "name": "staticRoutes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "nextHopIpAddress"}]}}, {"type": "object", "name": "staticRoutesConfig", "props": [{"readOnly": true, "type": "boolean", "name": "propagateStaticRoutes"}, {"type": "string", "name": "vnetLocalRouteOverrideCriteria", "enum": {"items": [{"value": "Contains"}, {"value": "Equal"}]}}]}]}]}], "clientFlatten": true}], "cls": "HubVirtualNetworkConnection_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "hubVirtualNetworkConnectionParameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$hubVirtualNetworkConnectionParameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/hubVirtualNetworkConnections/{}"}}, {"type": "string", "name": "name", "arg": "$Path.connectionName"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "allowHubToRemoteVnetTransit", "arg": "$hubVirtualNetworkConnectionParameters.properties.allowHubToRemoteVnetTransit"}, {"type": "boolean", "name": "allowRemoteVnetToUseHubVnetGateways", "arg": "$hubVirtualNetworkConnectionParameters.properties.allowRemoteVnetToUseHubVnetGateways"}, {"type": "boolean", "name": "enableInternetSecurity", "arg": "$hubVirtualNetworkConnectionParameters.properties.enableInternetSecurity"}, {"type": "object", "name": "remoteVirtualNetwork", "arg": "$hubVirtualNetworkConnectionParameters.properties.remoteVirtualNetwork", "props": [{"type": "string", "name": "id", "arg": "@SubResource_update.id"}], "cls": "SubResource_update"}, {"type": "object", "name": "routingConfiguration", "props": [{"type": "object", "name": "associatedRouteTable", "props": [{"type": "string", "name": "id", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.associatedRouteTable.id"}]}, {"type": "object", "name": "inboundRouteMap", "props": [{"type": "string", "name": "id", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.inboundRouteMap.id"}]}, {"type": "object", "name": "outboundRouteMap", "props": [{"type": "string", "name": "id", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.outboundRouteMap.id"}]}, {"type": "object", "name": "propagatedRouteTables", "props": [{"type": "array<@SubResource_update>", "name": "ids", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.propagatedRouteTables.ids", "item": {"type": "@SubResource_update"}}, {"type": "array", "name": "labels", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.propagatedRouteTables.labels", "item": {"type": "string"}}]}, {"type": "object", "name": "vnetRoutes", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes", "props": [{"type": "array", "name": "staticRoutes", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutes[].addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "name", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutes[].name"}, {"type": "string", "name": "nextHopIpAddress", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutes[].nextHopIpAddress"}]}}, {"type": "object", "name": "staticRoutesConfig", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutesConfig", "props": [{"type": "string", "name": "vnetLocalRouteOverrideCriteria", "arg": "$hubVirtualNetworkConnectionParameters.properties.routingConfiguration.vnetRoutes.staticRoutesConfig.vnetLocalRouteOverrideCriteria", "enum": {"items": [{"value": "Contains"}, {"value": "Equal"}]}}]}]}]}], "clientFlatten": true}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "HubVirtualNetworkConnections_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "connectionName", "arg": "$Path.connectionName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualHubName", "arg": "$Path.virtualHubName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@HubVirtualNetworkConnection_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnMve30=/2022-07-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnMve30=/2022-07-01.xml new file mode 100644 index 000000000..37b7b6b89 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9L2h1YnZpcnR1YWxuZXR3b3JrY29ubmVjdGlvbnMve30=/2022-07-01.xml @@ -0,0 +1,649 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +