diff --git a/Commands/network/routeserver/_update.md b/Commands/network/routeserver/_update.md index f9d00758200..191198e3d13 100644 --- a/Commands/network/routeserver/_update.md +++ b/Commands/network/routeserver/_update.md @@ -12,5 +12,5 @@ Update a route server. - Update a route server. ```bash - network routeserver update --name myrouteserver --resource-group myresourcegroup --tags super_secure no_80 no_22 + network routeserver update --name myrouteserver --resource-group myresourcegroup --allow-b2b-traffic ``` diff --git a/Commands/tree.json b/Commands/tree.json index 2f69ccb3ea8..86e87ce7801 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -35479,7 +35479,7 @@ "examples": [ { "commands": [ - "network routeserver update --name myrouteserver --resource-group myresourcegroup --tags super_secure no_80 no_22" + "network routeserver update --name myrouteserver --resource-group myresourcegroup --allow-b2b-traffic" ], "name": "Update a route server." } diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJz/2022-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJz/2022-01-01.json index 5c784e17fed..181caae34f6 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJz/2022-01-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJz/2022-01-01.json @@ -1,923 +1 @@ -{ - "plane": "mgmt-plane", - "resources": [ - { - "id": "/subscriptions/{}/providers/microsoft.network/virtualhubs", - "version": "2022-01-01", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdmlydHVhbEh1YnM=/V/MjAyMi0wMS0wMQ==" - }, - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs", - "version": "2022-01-01", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicw==/V/MjAyMi0wMS0wMQ==" - } - ], - "commandGroups": [ - { - "name": "network routeserver", - "commands": [ - { - "name": "list", - "version": "2022-01-01", - "resources": [ - { - "id": "/subscriptions/{}/providers/microsoft.network/virtualhubs", - "version": "2022-01-01", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdmlydHVhbEh1YnM=/V/MjAyMi0wMS0wMQ==" - }, - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs", - "version": "2022-01-01", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicw==/V/MjAyMi0wMS0wMQ==" - } - ], - "argGroups": [ - { - "name": "", - "args": [ - { - "type": "ResourceGroupName", - "var": "$Path.resourceGroupName", - "options": [ - "g", - "resource-group" - ] - }, - { - "type": "SubscriptionId", - "var": "$Path.subscriptionId", - "options": [ - "subscription" - ], - "required": true - } - ] - } - ], - "conditions": [ - { - "var": "$Condition_VirtualHubs_ListByResourceGroup", - "operator": { - "type": "and", - "operators": [ - { - "type": "hasValue", - "arg": "$Path.resourceGroupName" - }, - { - "type": "hasValue", - "arg": "$Path.subscriptionId" - } - ] - } - }, - { - "var": "$Condition_VirtualHubs_List", - "operator": { - "type": "and", - "operators": [ - { - "type": "hasValue", - "arg": "$Path.subscriptionId" - }, - { - "type": "not", - "operator": { - "type": "hasValue", - "arg": "$Path.resourceGroupName" - } - } - ] - } - } - ], - "operations": [ - { - "when": [ - "$Condition_VirtualHubs_ListByResourceGroup" - ], - "operationId": "VirtualHubs_ListByResourceGroup", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs", - "request": { - "method": "get", - "path": { - "params": [ - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-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/{}" - } - }, - { - "readOnly": true, - "type": "string", - "name": "kind" - }, - { - "type": "ResourceLocation", - "name": "location", - "required": true - }, - { - "readOnly": true, - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "addressPrefix" - }, - { - "type": "boolean", - "name": "allowBranchToBranchTraffic" - }, - { - "type": "@SubResource_read", - "name": "azureFirewall" - }, - { - "readOnly": true, - "type": "array<@SubResource_read>", - "name": "bgpConnections", - "item": { - "type": "@SubResource_read" - } - }, - { - "type": "@SubResource_read", - "name": "expressRouteGateway" - }, - { - "type": "string", - "name": "hubRoutingPreference", - "enum": { - "items": [ - { - "value": "ASPath" - }, - { - "value": "ExpressRoute" - }, - { - "value": "VpnGateway" - } - ] - } - }, - { - "readOnly": true, - "type": "array<@SubResource_read>", - "name": "ipConfigurations", - "item": { - "type": "@SubResource_read" - } - }, - { - "type": "@SubResource_read", - "name": "p2SVpnGateway" - }, - { - "type": "string", - "name": "preferredRoutingGateway", - "enum": { - "items": [ - { - "value": "ExpressRoute" - }, - { - "value": "None" - }, - { - "value": "VpnGateway" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "type": "object", - "name": "routeTable", - "props": [ - { - "type": "array", - "name": "routes", - "item": { - "type": "object", - "props": [ - { - "type": "array", - "name": "addressPrefixes", - "item": { - "type": "string" - } - }, - { - "type": "string", - "name": "nextHopIpAddress" - } - ] - } - } - ] - }, - { - "readOnly": true, - "type": "string", - "name": "routingState", - "enum": { - "items": [ - { - "value": "Failed" - }, - { - "value": "None" - }, - { - "value": "Provisioned" - }, - { - "value": "Provisioning" - } - ] - } - }, - { - "type": "@SubResource_read", - "name": "securityPartnerProvider" - }, - { - "type": "string", - "name": "securityProviderName" - }, - { - "type": "string", - "name": "sku" - }, - { - "type": "array", - "name": "virtualHubRouteTableV2s", - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}" - } - }, - { - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "array", - "name": "attachedConnections", - "item": { - "type": "string" - } - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "type": "array", - "name": "routes", - "item": { - "type": "object", - "props": [ - { - "type": "string", - "name": "destinationType" - }, - { - "type": "array", - "name": "destinations", - "item": { - "type": "string" - } - }, - { - "type": "string", - "name": "nextHopType" - }, - { - "type": "array", - "name": "nextHops", - "item": { - "type": "string" - } - } - ] - } - } - ], - "clientFlatten": true - } - ] - } - }, - { - "type": "integer64", - "name": "virtualRouterAsn", - "format": { - "maximum": 4294967295, - "minimum": 0 - } - }, - { - "type": "object", - "name": "virtualRouterAutoScaleConfiguration", - "props": [ - { - "type": "integer32", - "name": "minCapacity", - "format": { - "minimum": 0 - } - } - ] - }, - { - "type": "array", - "name": "virtualRouterIps", - "item": { - "type": "string" - } - }, - { - "type": "object", - "name": "virtualWan", - "props": [ - { - "type": "string", - "name": "id" - } - ], - "cls": "SubResource_read" - }, - { - "type": "@SubResource_read", - "name": "vpnGateway" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "additionalProps": { - "item": { - "type": "string" - } - } - }, - { - "readOnly": true, - "type": "string", - "name": "type" - } - ] - } - } - ] - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - }, - { - "when": [ - "$Condition_VirtualHubs_List" - ], - "operationId": "VirtualHubs_List", - "http": { - "path": "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualHubs", - "request": { - "method": "get", - "path": { - "params": [ - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-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/{}" - } - }, - { - "readOnly": true, - "type": "string", - "name": "kind" - }, - { - "type": "ResourceLocation", - "name": "location", - "required": true - }, - { - "readOnly": true, - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "addressPrefix" - }, - { - "type": "boolean", - "name": "allowBranchToBranchTraffic" - }, - { - "type": "@SubResource_read", - "name": "azureFirewall" - }, - { - "readOnly": true, - "type": "array<@SubResource_read>", - "name": "bgpConnections", - "item": { - "type": "@SubResource_read" - } - }, - { - "type": "@SubResource_read", - "name": "expressRouteGateway" - }, - { - "type": "string", - "name": "hubRoutingPreference", - "enum": { - "items": [ - { - "value": "ASPath" - }, - { - "value": "ExpressRoute" - }, - { - "value": "VpnGateway" - } - ] - } - }, - { - "readOnly": true, - "type": "array<@SubResource_read>", - "name": "ipConfigurations", - "item": { - "type": "@SubResource_read" - } - }, - { - "type": "@SubResource_read", - "name": "p2SVpnGateway" - }, - { - "type": "string", - "name": "preferredRoutingGateway", - "enum": { - "items": [ - { - "value": "ExpressRoute" - }, - { - "value": "None" - }, - { - "value": "VpnGateway" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "type": "object", - "name": "routeTable", - "props": [ - { - "type": "array", - "name": "routes", - "item": { - "type": "object", - "props": [ - { - "type": "array", - "name": "addressPrefixes", - "item": { - "type": "string" - } - }, - { - "type": "string", - "name": "nextHopIpAddress" - } - ] - } - } - ] - }, - { - "readOnly": true, - "type": "string", - "name": "routingState", - "enum": { - "items": [ - { - "value": "Failed" - }, - { - "value": "None" - }, - { - "value": "Provisioned" - }, - { - "value": "Provisioning" - } - ] - } - }, - { - "type": "@SubResource_read", - "name": "securityPartnerProvider" - }, - { - "type": "string", - "name": "securityProviderName" - }, - { - "type": "string", - "name": "sku" - }, - { - "type": "array", - "name": "virtualHubRouteTableV2s", - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}" - } - }, - { - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "array", - "name": "attachedConnections", - "item": { - "type": "string" - } - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "type": "array", - "name": "routes", - "item": { - "type": "object", - "props": [ - { - "type": "string", - "name": "destinationType" - }, - { - "type": "array", - "name": "destinations", - "item": { - "type": "string" - } - }, - { - "type": "string", - "name": "nextHopType" - }, - { - "type": "array", - "name": "nextHops", - "item": { - "type": "string" - } - } - ] - } - } - ], - "clientFlatten": true - } - ] - } - }, - { - "type": "integer64", - "name": "virtualRouterAsn", - "format": { - "maximum": 4294967295, - "minimum": 0 - } - }, - { - "type": "object", - "name": "virtualRouterAutoScaleConfiguration", - "props": [ - { - "type": "integer32", - "name": "minCapacity", - "format": { - "minimum": 0 - } - } - ] - }, - { - "type": "array", - "name": "virtualRouterIps", - "item": { - "type": "string" - } - }, - { - "type": "@SubResource_read", - "name": "virtualWan" - }, - { - "type": "@SubResource_read", - "name": "vpnGateway" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "additionalProps": { - "item": { - "type": "string" - } - } - }, - { - "readOnly": true, - "type": "string", - "name": "type" - } - ] - } - } - ] - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - } - ], - "outputs": [ - { - "type": "array", - "ref": "$Instance.value", - "clientFlatten": true, - "nextLink": "$Instance.nextLink" - } - ] - } - ] - } - ] -} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.network/virtualhubs", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdmlydHVhbEh1YnM=/V/MjAyMi0wMS0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicw==/V/MjAyMi0wMS0wMQ=="}], "commandGroups": [{"name": "network routeserver", "commands": [{"name": "list", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.network/virtualhubs", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdmlydHVhbEh1YnM=/V/MjAyMi0wMS0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicw==/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_VirtualHubs_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_VirtualHubs_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_VirtualHubs_ListByResourceGroup"], "operationId": "VirtualHubs_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-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/{}"}}, {"readOnly": true, "type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic"}, {"type": "@SubResource_read", "name": "azureFirewall"}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "bgpConnections", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "ipConfigurations", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "routeTable", "props": [{"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress"}]}}]}, {"readOnly": true, "type": "string", "name": "routingState", "enum": {"items": [{"value": "Failed"}, {"value": "None"}, {"value": "Provisioned"}, {"value": "Provisioning"}]}}, {"type": "@SubResource_read", "name": "securityPartnerProvider"}, {"type": "string", "name": "securityProviderName"}, {"type": "string", "name": "sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType"}, {"type": "array", "name": "destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType"}, {"type": "array", "name": "nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "item": {"type": "string"}}, {"type": "object", "name": "virtualWan", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "@SubResource_read", "name": "vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_VirtualHubs_List"], "operationId": "VirtualHubs_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualHubs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-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/{}"}}, {"readOnly": true, "type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic"}, {"type": "@SubResource_read", "name": "azureFirewall"}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "bgpConnections", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "ipConfigurations", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "routeTable", "props": [{"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress"}]}}]}, {"readOnly": true, "type": "string", "name": "routingState", "enum": {"items": [{"value": "Failed"}, {"value": "None"}, {"value": "Provisioned"}, {"value": "Provisioning"}]}}, {"type": "@SubResource_read", "name": "securityPartnerProvider"}, {"type": "string", "name": "securityProviderName"}, {"type": "string", "name": "sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType"}, {"type": "array", "name": "destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType"}, {"type": "array", "name": "nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "item": {"type": "string"}}, {"type": "@SubResource_read", "name": "virtualWan"}, {"type": "@SubResource_read", "name": "vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJz/2022-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJz/2022-01-01.xml index c05de82d69b..c802a7d4881 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJz/2022-01-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJz/2022-01-01.xml @@ -7,8 +7,8 @@ - - + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9/2022-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9/2022-01-01.json index 9505a933662..56fad1bc559 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9/2022-01-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9/2022-01-01.json @@ -1,3144 +1 @@ -{ - "plane": "mgmt-plane", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}", - "version": "2022-01-01", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9/V/MjAyMi0wMS0wMQ==" - } - ], - "commandGroups": [ - { - "name": "network routeserver", - "commands": [ - { - "name": "show", - "version": "2022-01-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}", - "version": "2022-01-01", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9/V/MjAyMi0wMS0wMQ==" - } - ], - "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": [ - "n", - "name" - ], - "required": true, - "idPart": "name", - "help": { - "short": "The name of the Route Server." - } - } - ] - } - ], - "operations": [ - { - "operationId": "VirtualHubs_Get", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", - "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-01-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/{}" - } - }, - { - "readOnly": true, - "type": "string", - "name": "kind" - }, - { - "type": "ResourceLocation", - "name": "location", - "required": true - }, - { - "readOnly": true, - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "addressPrefix" - }, - { - "type": "boolean", - "name": "allowBranchToBranchTraffic" - }, - { - "type": "@SubResource_read", - "name": "azureFirewall" - }, - { - "readOnly": true, - "type": "array<@SubResource_read>", - "name": "bgpConnections", - "item": { - "type": "@SubResource_read" - } - }, - { - "type": "@SubResource_read", - "name": "expressRouteGateway" - }, - { - "type": "string", - "name": "hubRoutingPreference", - "enum": { - "items": [ - { - "value": "ASPath" - }, - { - "value": "ExpressRoute" - }, - { - "value": "VpnGateway" - } - ] - } - }, - { - "readOnly": true, - "type": "array<@SubResource_read>", - "name": "ipConfigurations", - "item": { - "type": "@SubResource_read" - } - }, - { - "type": "@SubResource_read", - "name": "p2SVpnGateway" - }, - { - "type": "string", - "name": "preferredRoutingGateway", - "enum": { - "items": [ - { - "value": "ExpressRoute" - }, - { - "value": "None" - }, - { - "value": "VpnGateway" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "type": "object", - "name": "routeTable", - "props": [ - { - "type": "array", - "name": "routes", - "item": { - "type": "object", - "props": [ - { - "type": "array", - "name": "addressPrefixes", - "item": { - "type": "string" - } - }, - { - "type": "string", - "name": "nextHopIpAddress" - } - ] - } - } - ] - }, - { - "readOnly": true, - "type": "string", - "name": "routingState", - "enum": { - "items": [ - { - "value": "Failed" - }, - { - "value": "None" - }, - { - "value": "Provisioned" - }, - { - "value": "Provisioning" - } - ] - } - }, - { - "type": "@SubResource_read", - "name": "securityPartnerProvider" - }, - { - "type": "string", - "name": "securityProviderName" - }, - { - "type": "string", - "name": "sku" - }, - { - "type": "array", - "name": "virtualHubRouteTableV2s", - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}" - } - }, - { - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "array", - "name": "attachedConnections", - "item": { - "type": "string" - } - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "type": "array", - "name": "routes", - "item": { - "type": "object", - "props": [ - { - "type": "string", - "name": "destinationType" - }, - { - "type": "array", - "name": "destinations", - "item": { - "type": "string" - } - }, - { - "type": "string", - "name": "nextHopType" - }, - { - "type": "array", - "name": "nextHops", - "item": { - "type": "string" - } - } - ] - } - } - ], - "clientFlatten": true - } - ] - } - }, - { - "type": "integer64", - "name": "virtualRouterAsn", - "format": { - "maximum": 4294967295, - "minimum": 0 - } - }, - { - "type": "object", - "name": "virtualRouterAutoScaleConfiguration", - "props": [ - { - "type": "integer32", - "name": "minCapacity", - "format": { - "minimum": 0 - } - } - ] - }, - { - "type": "array", - "name": "virtualRouterIps", - "item": { - "type": "string" - } - }, - { - "type": "object", - "name": "virtualWan", - "props": [ - { - "type": "string", - "name": "id" - } - ], - "cls": "SubResource_read" - }, - { - "type": "@SubResource_read", - "name": "vpnGateway" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "additionalProps": { - "item": { - "type": "string" - } - } - }, - { - "readOnly": true, - "type": "string", - "name": "type" - } - ] - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - } - ], - "outputs": [ - { - "type": "object", - "ref": "$Instance", - "clientFlatten": true - } - ] - }, - { - "name": "delete", - "version": "2022-01-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}", - "version": "2022-01-01", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9/V/MjAyMi0wMS0wMQ==" - } - ], - "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": [ - "n", - "name" - ], - "required": true, - "idPart": "name", - "help": { - "short": "The name of the Route Server." - } - } - ] - } - ], - "operations": [ - { - "longRunning": { - "finalStateVia": "location" - }, - "operationId": "VirtualHubs_Delete", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", - "request": { - "method": "delete", - "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-01-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-01-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}", - "version": "2022-01-01", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9/V/MjAyMi0wMS0wMQ==" - } - ], - "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": [ - "n", - "name" - ], - "required": true, - "idPart": "name", - "help": { - "short": "The name of the Route Server." - } - }, - { - "type": "ResourceLocation", - "var": "$virtualHubParameters.location", - "options": [ - "l", - "location" - ], - "required": true, - "group": "", - "help": { - "short": "Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`." - } - }, - { - "type": "string", - "var": "$virtualHubParameters.properties.sku", - "options": [ - "sku" - ], - "group": "", - "help": { - "short": "The sku of this VirtualHub." - } - }, - { - "type": "object", - "var": "$virtualHubParameters.tags", - "options": [ - "tags" - ], - "group": "", - "help": { - "short": "Space-separated tags: key[=value] [key[=value] ...]." - }, - "additionalProps": { - "item": { - "type": "string" - } - } - } - ] - }, - { - "name": "Properties", - "args": [ - { - "type": "string", - "var": "$virtualHubParameters.properties.addressPrefix", - "options": [ - "address-prefix" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "Address-prefix for this VirtualHub." - } - }, - { - "type": "boolean", - "var": "$virtualHubParameters.properties.allowBranchToBranchTraffic", - "options": [ - "allow-branch-to-branch-traffic" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "Flag to control transit for VirtualRouter hub." - } - }, - { - "type": "@SubResource_create", - "var": "$virtualHubParameters.properties.azureFirewall", - "options": [ - "azure-firewall" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The azureFirewall associated with this VirtualHub." - } - }, - { - "type": "@SubResource_create", - "var": "$virtualHubParameters.properties.expressRouteGateway", - "options": [ - "express-route-gateway" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The expressRouteGateway associated with this VirtualHub." - } - }, - { - "type": "string", - "var": "$virtualHubParameters.properties.hubRoutingPreference", - "options": [ - "hub-routing-preference" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The hubRoutingPreference of this VirtualHub." - }, - "enum": { - "items": [ - { - "name": "ASPath", - "value": "ASPath" - }, - { - "name": "ExpressRoute", - "value": "ExpressRoute" - }, - { - "name": "VpnGateway", - "value": "VpnGateway" - } - ] - } - }, - { - "type": "@SubResource_create", - "var": "$virtualHubParameters.properties.p2SVpnGateway", - "options": [ - "p2-s-vpn-gateway" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The P2SVpnGateway associated with this VirtualHub." - } - }, - { - "type": "string", - "var": "$virtualHubParameters.properties.preferredRoutingGateway", - "options": [ - "preferred-routing-gateway" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The preferred gateway to route on-prem traffic" - }, - "enum": { - "items": [ - { - "name": "ExpressRoute", - "value": "ExpressRoute" - }, - { - "name": "None", - "value": "None" - }, - { - "name": "VpnGateway", - "value": "VpnGateway" - } - ] - } - }, - { - "type": "object", - "var": "$virtualHubParameters.properties.routeTable", - "options": [ - "route-table" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The routeTable associated with this virtual hub." - }, - "args": [ - { - "type": "array", - "var": "$virtualHubParameters.properties.routeTable.routes", - "options": [ - "routes" - ], - "help": { - "short": "List of all routes." - }, - "item": { - "type": "object", - "args": [ - { - "type": "array", - "var": "$virtualHubParameters.properties.routeTable.routes[].addressPrefixes", - "options": [ - "address-prefixes" - ], - "help": { - "short": "List of all addressPrefixes." - }, - "item": { - "type": "string" - } - }, - { - "type": "string", - "var": "$virtualHubParameters.properties.routeTable.routes[].nextHopIpAddress", - "options": [ - "next-hop-ip-address" - ], - "help": { - "short": "NextHop ip address." - } - } - ] - } - } - ] - }, - { - "type": "@SubResource_create", - "var": "$virtualHubParameters.properties.securityPartnerProvider", - "options": [ - "security-partner-provider" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The securityPartnerProvider associated with this VirtualHub." - } - }, - { - "type": "string", - "var": "$virtualHubParameters.properties.securityProviderName", - "options": [ - "security-provider-name" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The Security Provider name." - } - }, - { - "type": "array", - "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s", - "options": [ - "virtual-hub-route-table-v2s" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "List of all virtual hub route table v2s associated with this VirtualHub." - }, - "item": { - "type": "object", - "args": [ - { - "type": "ResourceId", - "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].id", - "options": [ - "id" - ], - "help": { - "short": "Resource ID." - }, - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}" - } - }, - { - "type": "string", - "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].name", - "options": [ - "name" - ], - "help": { - "short": "The name of the resource that is unique within a resource group. This name can be used to access the resource." - } - }, - { - "type": "array", - "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.attachedConnections", - "options": [ - "attached-connections" - ], - "group": "Properties", - "help": { - "short": "List of all connections attached to this route table v2." - }, - "item": { - "type": "string" - } - }, - { - "type": "array", - "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes", - "options": [ - "routes" - ], - "group": "Properties", - "help": { - "short": "List of all routes." - }, - "item": { - "type": "object", - "args": [ - { - "type": "string", - "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinationType", - "options": [ - "destination-type" - ], - "help": { - "short": "The type of destinations." - } - }, - { - "type": "array", - "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinations", - "options": [ - "destinations" - ], - "help": { - "short": "List of all destinations." - }, - "item": { - "type": "string" - } - }, - { - "type": "string", - "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHopType", - "options": [ - "next-hop-type" - ], - "help": { - "short": "The type of next hops." - } - }, - { - "type": "array", - "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHops", - "options": [ - "next-hops" - ], - "help": { - "short": "NextHops ip address." - }, - "item": { - "type": "string" - } - } - ] - } - } - ] - } - }, - { - "type": "integer64", - "var": "$virtualHubParameters.properties.virtualRouterAsn", - "options": [ - "virtual-router-asn" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "VirtualRouter ASN." - }, - "format": { - "maximum": 4294967295, - "minimum": 0 - } - }, - { - "type": "object", - "var": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration", - "options": [ - "virtual-router-auto-scale-configuration" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The VirtualHub Router autoscale configuration." - }, - "args": [ - { - "type": "integer32", - "var": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration.minCapacity", - "options": [ - "min-capacity" - ], - "help": { - "short": "The minimum number of scale units for VirtualHub Router." - }, - "format": { - "minimum": 0 - } - } - ] - }, - { - "type": "array", - "var": "$virtualHubParameters.properties.virtualRouterIps", - "options": [ - "virtual-router-ips" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "VirtualRouter IPs." - }, - "item": { - "type": "string" - } - }, - { - "type": "object", - "var": "$virtualHubParameters.properties.virtualWan", - "options": [ - "virtual-wan" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The VirtualWAN to which the VirtualHub belongs." - }, - "args": [ - { - "type": "string", - "var": "@SubResource_create.id", - "options": [ - "id" - ], - "help": { - "short": "Resource ID." - } - } - ], - "cls": "SubResource_create" - }, - { - "type": "@SubResource_create", - "var": "$virtualHubParameters.properties.vpnGateway", - "options": [ - "vpn-gateway" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The VpnGateway associated with this VirtualHub." - } - } - ] - }, - { - "name": "VirtualHubParameters", - "args": [ - { - "type": "ResourceId", - "var": "$virtualHubParameters.id", - "options": [ - "id" - ], - "hide": true, - "group": "VirtualHubParameters", - "help": { - "short": "Resource ID." - }, - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}" - } - } - ] - } - ], - "operations": [ - { - "longRunning": { - "finalStateVia": "azure-async-operation" - }, - "operationId": "VirtualHubs_CreateOrUpdate", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", - "request": { - "method": "put", - "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-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - }, - "body": { - "json": { - "schema": { - "type": "object", - "name": "virtualHubParameters", - "required": true, - "props": [ - { - "type": "ResourceId", - "name": "id", - "arg": "$virtualHubParameters.id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}" - } - }, - { - "type": "ResourceLocation", - "name": "location", - "arg": "$virtualHubParameters.location", - "required": true - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "addressPrefix", - "arg": "$virtualHubParameters.properties.addressPrefix" - }, - { - "type": "boolean", - "name": "allowBranchToBranchTraffic", - "arg": "$virtualHubParameters.properties.allowBranchToBranchTraffic" - }, - { - "type": "@SubResource_create", - "name": "azureFirewall", - "arg": "$virtualHubParameters.properties.azureFirewall" - }, - { - "type": "@SubResource_create", - "name": "expressRouteGateway", - "arg": "$virtualHubParameters.properties.expressRouteGateway" - }, - { - "type": "string", - "name": "hubRoutingPreference", - "arg": "$virtualHubParameters.properties.hubRoutingPreference", - "enum": { - "items": [ - { - "value": "ASPath" - }, - { - "value": "ExpressRoute" - }, - { - "value": "VpnGateway" - } - ] - } - }, - { - "type": "@SubResource_create", - "name": "p2SVpnGateway", - "arg": "$virtualHubParameters.properties.p2SVpnGateway" - }, - { - "type": "string", - "name": "preferredRoutingGateway", - "arg": "$virtualHubParameters.properties.preferredRoutingGateway", - "enum": { - "items": [ - { - "value": "ExpressRoute" - }, - { - "value": "None" - }, - { - "value": "VpnGateway" - } - ] - } - }, - { - "type": "object", - "name": "routeTable", - "arg": "$virtualHubParameters.properties.routeTable", - "props": [ - { - "type": "array", - "name": "routes", - "arg": "$virtualHubParameters.properties.routeTable.routes", - "item": { - "type": "object", - "props": [ - { - "type": "array", - "name": "addressPrefixes", - "arg": "$virtualHubParameters.properties.routeTable.routes[].addressPrefixes", - "item": { - "type": "string" - } - }, - { - "type": "string", - "name": "nextHopIpAddress", - "arg": "$virtualHubParameters.properties.routeTable.routes[].nextHopIpAddress" - } - ] - } - } - ] - }, - { - "type": "@SubResource_create", - "name": "securityPartnerProvider", - "arg": "$virtualHubParameters.properties.securityPartnerProvider" - }, - { - "type": "string", - "name": "securityProviderName", - "arg": "$virtualHubParameters.properties.securityProviderName" - }, - { - "type": "string", - "name": "sku", - "arg": "$virtualHubParameters.properties.sku" - }, - { - "type": "array", - "name": "virtualHubRouteTableV2s", - "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s", - "item": { - "type": "object", - "props": [ - { - "type": "ResourceId", - "name": "id", - "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}" - } - }, - { - "type": "string", - "name": "name", - "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "array", - "name": "attachedConnections", - "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.attachedConnections", - "item": { - "type": "string" - } - }, - { - "type": "array", - "name": "routes", - "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes", - "item": { - "type": "object", - "props": [ - { - "type": "string", - "name": "destinationType", - "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinationType" - }, - { - "type": "array", - "name": "destinations", - "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinations", - "item": { - "type": "string" - } - }, - { - "type": "string", - "name": "nextHopType", - "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHopType" - }, - { - "type": "array", - "name": "nextHops", - "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHops", - "item": { - "type": "string" - } - } - ] - } - } - ], - "clientFlatten": true - } - ] - } - }, - { - "type": "integer64", - "name": "virtualRouterAsn", - "arg": "$virtualHubParameters.properties.virtualRouterAsn", - "format": { - "maximum": 4294967295, - "minimum": 0 - } - }, - { - "type": "object", - "name": "virtualRouterAutoScaleConfiguration", - "arg": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration", - "props": [ - { - "type": "integer32", - "name": "minCapacity", - "arg": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration.minCapacity", - "format": { - "minimum": 0 - } - } - ] - }, - { - "type": "array", - "name": "virtualRouterIps", - "arg": "$virtualHubParameters.properties.virtualRouterIps", - "item": { - "type": "string" - } - }, - { - "type": "object", - "name": "virtualWan", - "arg": "$virtualHubParameters.properties.virtualWan", - "props": [ - { - "type": "string", - "name": "id", - "arg": "@SubResource_create.id" - } - ], - "cls": "SubResource_create" - }, - { - "type": "@SubResource_create", - "name": "vpnGateway", - "arg": "$virtualHubParameters.properties.vpnGateway" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "arg": "$virtualHubParameters.tags", - "additionalProps": { - "item": { - "type": "string" - } - } - } - ], - "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/{}" - } - }, - { - "readOnly": true, - "type": "string", - "name": "kind" - }, - { - "type": "ResourceLocation", - "name": "location", - "required": true - }, - { - "readOnly": true, - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "addressPrefix" - }, - { - "type": "boolean", - "name": "allowBranchToBranchTraffic" - }, - { - "type": "@SubResource_read", - "name": "azureFirewall" - }, - { - "readOnly": true, - "type": "array<@SubResource_read>", - "name": "bgpConnections", - "item": { - "type": "@SubResource_read" - } - }, - { - "type": "@SubResource_read", - "name": "expressRouteGateway" - }, - { - "type": "string", - "name": "hubRoutingPreference", - "enum": { - "items": [ - { - "value": "ASPath" - }, - { - "value": "ExpressRoute" - }, - { - "value": "VpnGateway" - } - ] - } - }, - { - "readOnly": true, - "type": "array<@SubResource_read>", - "name": "ipConfigurations", - "item": { - "type": "@SubResource_read" - } - }, - { - "type": "@SubResource_read", - "name": "p2SVpnGateway" - }, - { - "type": "string", - "name": "preferredRoutingGateway", - "enum": { - "items": [ - { - "value": "ExpressRoute" - }, - { - "value": "None" - }, - { - "value": "VpnGateway" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "type": "object", - "name": "routeTable", - "props": [ - { - "type": "array", - "name": "routes", - "item": { - "type": "object", - "props": [ - { - "type": "array", - "name": "addressPrefixes", - "item": { - "type": "string" - } - }, - { - "type": "string", - "name": "nextHopIpAddress" - } - ] - } - } - ] - }, - { - "readOnly": true, - "type": "string", - "name": "routingState", - "enum": { - "items": [ - { - "value": "Failed" - }, - { - "value": "None" - }, - { - "value": "Provisioned" - }, - { - "value": "Provisioning" - } - ] - } - }, - { - "type": "@SubResource_read", - "name": "securityPartnerProvider" - }, - { - "type": "string", - "name": "securityProviderName" - }, - { - "type": "string", - "name": "sku" - }, - { - "type": "array", - "name": "virtualHubRouteTableV2s", - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}" - } - }, - { - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "array", - "name": "attachedConnections", - "item": { - "type": "string" - } - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "type": "array", - "name": "routes", - "item": { - "type": "object", - "props": [ - { - "type": "string", - "name": "destinationType" - }, - { - "type": "array", - "name": "destinations", - "item": { - "type": "string" - } - }, - { - "type": "string", - "name": "nextHopType" - }, - { - "type": "array", - "name": "nextHops", - "item": { - "type": "string" - } - } - ] - } - } - ], - "clientFlatten": true - } - ] - } - }, - { - "type": "integer64", - "name": "virtualRouterAsn", - "format": { - "maximum": 4294967295, - "minimum": 0 - } - }, - { - "type": "object", - "name": "virtualRouterAutoScaleConfiguration", - "props": [ - { - "type": "integer32", - "name": "minCapacity", - "format": { - "minimum": 0 - } - } - ] - }, - { - "type": "array", - "name": "virtualRouterIps", - "item": { - "type": "string" - } - }, - { - "type": "object", - "name": "virtualWan", - "props": [ - { - "type": "string", - "name": "id" - } - ], - "cls": "SubResource_read" - }, - { - "type": "@SubResource_read", - "name": "vpnGateway" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "additionalProps": { - "item": { - "type": "string" - } - } - }, - { - "readOnly": true, - "type": "string", - "name": "type" - } - ] - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - } - ], - "outputs": [ - { - "type": "object", - "ref": "$Instance", - "clientFlatten": true - } - ] - }, - { - "name": "update", - "version": "2022-01-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}", - "version": "2022-01-01", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9/V/MjAyMi0wMS0wMQ==" - } - ], - "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": [ - "n", - "name" - ], - "required": true, - "idPart": "name", - "help": { - "short": "The name of the Route Server." - } - }, - { - "nullable": true, - "type": "boolean", - "var": "$virtualHubParameters.properties.allowBranchToBranchTraffic", - "options": [ - "allow-b2b-traffic" - ], - "group": "", - "help": { - "short": "Allow branch to branch traffic." - } - }, - { - "nullable": true, - "type": "object", - "var": "$virtualHubParameters.tags", - "options": [ - "tags" - ], - "group": "", - "help": { - "short": "Space-separated tags: key[=value] [key[=value] ...]." - }, - "additionalProps": { - "item": { - "nullable": true, - "type": "string" - } - } - } - ] - }, - { - "name": "Properties", - "args": [ - { - "nullable": true, - "type": "string", - "var": "$virtualHubParameters.properties.addressPrefix", - "options": [ - "address-prefix" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "Address-prefix for this VirtualHub." - } - }, - { - "nullable": true, - "type": "@SubResource_update", - "var": "$virtualHubParameters.properties.azureFirewall", - "options": [ - "azure-firewall" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The azureFirewall associated with this VirtualHub." - } - }, - { - "nullable": true, - "type": "@SubResource_update", - "var": "$virtualHubParameters.properties.expressRouteGateway", - "options": [ - "express-route-gateway" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The expressRouteGateway associated with this VirtualHub." - } - }, - { - "nullable": true, - "type": "string", - "var": "$virtualHubParameters.properties.hubRoutingPreference", - "options": [ - "hub-routing-preference" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The hubRoutingPreference of this VirtualHub." - }, - "enum": { - "items": [ - { - "name": "ASPath", - "value": "ASPath" - }, - { - "name": "ExpressRoute", - "value": "ExpressRoute" - }, - { - "name": "VpnGateway", - "value": "VpnGateway" - } - ] - } - }, - { - "nullable": true, - "type": "@SubResource_update", - "var": "$virtualHubParameters.properties.p2SVpnGateway", - "options": [ - "p2-s-vpn-gateway" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The P2SVpnGateway associated with this VirtualHub." - } - }, - { - "nullable": true, - "type": "string", - "var": "$virtualHubParameters.properties.preferredRoutingGateway", - "options": [ - "preferred-routing-gateway" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The preferred gateway to route on-prem traffic" - }, - "enum": { - "items": [ - { - "name": "ExpressRoute", - "value": "ExpressRoute" - }, - { - "name": "None", - "value": "None" - }, - { - "name": "VpnGateway", - "value": "VpnGateway" - } - ] - } - }, - { - "nullable": true, - "type": "object", - "var": "$virtualHubParameters.properties.routeTable", - "options": [ - "route-table" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The routeTable associated with this virtual hub." - }, - "args": [ - { - "nullable": true, - "type": "array", - "var": "$virtualHubParameters.properties.routeTable.routes", - "options": [ - "routes" - ], - "help": { - "short": "List of all routes." - }, - "item": { - "nullable": true, - "type": "object", - "args": [ - { - "nullable": true, - "type": "array", - "var": "$virtualHubParameters.properties.routeTable.routes[].addressPrefixes", - "options": [ - "address-prefixes" - ], - "help": { - "short": "List of all addressPrefixes." - }, - "item": { - "nullable": true, - "type": "string" - } - }, - { - "nullable": true, - "type": "string", - "var": "$virtualHubParameters.properties.routeTable.routes[].nextHopIpAddress", - "options": [ - "next-hop-ip-address" - ], - "help": { - "short": "NextHop ip address." - } - } - ] - } - } - ] - }, - { - "nullable": true, - "type": "@SubResource_update", - "var": "$virtualHubParameters.properties.securityPartnerProvider", - "options": [ - "security-partner-provider" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The securityPartnerProvider associated with this VirtualHub." - } - }, - { - "nullable": true, - "type": "string", - "var": "$virtualHubParameters.properties.securityProviderName", - "options": [ - "security-provider-name" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The Security Provider name." - } - }, - { - "nullable": true, - "type": "string", - "var": "$virtualHubParameters.properties.sku", - "options": [ - "sku" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The sku of this VirtualHub." - } - }, - { - "nullable": true, - "type": "array", - "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s", - "options": [ - "virtual-hub-route-table-v2s" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "List of all virtual hub route table v2s associated with this VirtualHub." - }, - "item": { - "nullable": true, - "type": "object", - "args": [ - { - "nullable": true, - "type": "ResourceId", - "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].id", - "options": [ - "id" - ], - "help": { - "short": "Resource ID." - }, - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}" - } - }, - { - "nullable": true, - "type": "string", - "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].name", - "options": [ - "name" - ], - "help": { - "short": "The name of the resource that is unique within a resource group. This name can be used to access the resource." - } - }, - { - "nullable": true, - "type": "array", - "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.attachedConnections", - "options": [ - "attached-connections" - ], - "group": "Properties", - "help": { - "short": "List of all connections attached to this route table v2." - }, - "item": { - "nullable": true, - "type": "string" - } - }, - { - "nullable": true, - "type": "array", - "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes", - "options": [ - "routes" - ], - "group": "Properties", - "help": { - "short": "List of all routes." - }, - "item": { - "nullable": true, - "type": "object", - "args": [ - { - "nullable": true, - "type": "string", - "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinationType", - "options": [ - "destination-type" - ], - "help": { - "short": "The type of destinations." - } - }, - { - "nullable": true, - "type": "array", - "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinations", - "options": [ - "destinations" - ], - "help": { - "short": "List of all destinations." - }, - "item": { - "nullable": true, - "type": "string" - } - }, - { - "nullable": true, - "type": "string", - "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHopType", - "options": [ - "next-hop-type" - ], - "help": { - "short": "The type of next hops." - } - }, - { - "nullable": true, - "type": "array", - "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHops", - "options": [ - "next-hops" - ], - "help": { - "short": "NextHops ip address." - }, - "item": { - "nullable": true, - "type": "string" - } - } - ] - } - } - ] - } - }, - { - "nullable": true, - "type": "integer64", - "var": "$virtualHubParameters.properties.virtualRouterAsn", - "options": [ - "virtual-router-asn" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "VirtualRouter ASN." - }, - "format": { - "maximum": 4294967295, - "minimum": 0 - } - }, - { - "nullable": true, - "type": "object", - "var": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration", - "options": [ - "virtual-router-auto-scale-configuration" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The VirtualHub Router autoscale configuration." - }, - "args": [ - { - "nullable": true, - "type": "integer32", - "var": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration.minCapacity", - "options": [ - "min-capacity" - ], - "help": { - "short": "The minimum number of scale units for VirtualHub Router." - }, - "format": { - "minimum": 0 - } - } - ] - }, - { - "nullable": true, - "type": "array", - "var": "$virtualHubParameters.properties.virtualRouterIps", - "options": [ - "virtual-router-ips" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "VirtualRouter IPs." - }, - "item": { - "nullable": true, - "type": "string" - } - }, - { - "nullable": true, - "type": "object", - "var": "$virtualHubParameters.properties.virtualWan", - "options": [ - "virtual-wan" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The VirtualWAN to which the VirtualHub belongs." - }, - "args": [ - { - "nullable": true, - "type": "string", - "var": "@SubResource_update.id", - "options": [ - "id" - ], - "help": { - "short": "Resource ID." - } - } - ], - "cls": "SubResource_update" - }, - { - "nullable": true, - "type": "@SubResource_update", - "var": "$virtualHubParameters.properties.vpnGateway", - "options": [ - "vpn-gateway" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The VpnGateway associated with this VirtualHub." - } - } - ] - }, - { - "name": "VirtualHubParameters", - "args": [ - { - "nullable": true, - "type": "ResourceId", - "var": "$virtualHubParameters.id", - "options": [ - "id" - ], - "hide": true, - "group": "VirtualHubParameters", - "help": { - "short": "Resource ID." - }, - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}" - } - }, - { - "type": "ResourceLocation", - "var": "$virtualHubParameters.location", - "options": [ - "l", - "location" - ], - "hide": true, - "group": "VirtualHubParameters", - "help": { - "short": "Resource location." - } - } - ] - } - ], - "operations": [ - { - "operationId": "VirtualHubs_Get", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", - "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-01-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/{}" - } - }, - { - "readOnly": true, - "type": "string", - "name": "kind" - }, - { - "type": "ResourceLocation", - "name": "location", - "required": true - }, - { - "readOnly": true, - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "addressPrefix" - }, - { - "type": "boolean", - "name": "allowBranchToBranchTraffic" - }, - { - "type": "@SubResource_read", - "name": "azureFirewall" - }, - { - "readOnly": true, - "type": "array<@SubResource_read>", - "name": "bgpConnections", - "item": { - "type": "@SubResource_read" - } - }, - { - "type": "@SubResource_read", - "name": "expressRouteGateway" - }, - { - "type": "string", - "name": "hubRoutingPreference", - "enum": { - "items": [ - { - "value": "ASPath" - }, - { - "value": "ExpressRoute" - }, - { - "value": "VpnGateway" - } - ] - } - }, - { - "readOnly": true, - "type": "array<@SubResource_read>", - "name": "ipConfigurations", - "item": { - "type": "@SubResource_read" - } - }, - { - "type": "@SubResource_read", - "name": "p2SVpnGateway" - }, - { - "type": "string", - "name": "preferredRoutingGateway", - "enum": { - "items": [ - { - "value": "ExpressRoute" - }, - { - "value": "None" - }, - { - "value": "VpnGateway" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "type": "object", - "name": "routeTable", - "props": [ - { - "type": "array", - "name": "routes", - "item": { - "type": "object", - "props": [ - { - "type": "array", - "name": "addressPrefixes", - "item": { - "type": "string" - } - }, - { - "type": "string", - "name": "nextHopIpAddress" - } - ] - } - } - ] - }, - { - "readOnly": true, - "type": "string", - "name": "routingState", - "enum": { - "items": [ - { - "value": "Failed" - }, - { - "value": "None" - }, - { - "value": "Provisioned" - }, - { - "value": "Provisioning" - } - ] - } - }, - { - "type": "@SubResource_read", - "name": "securityPartnerProvider" - }, - { - "type": "string", - "name": "securityProviderName" - }, - { - "type": "string", - "name": "sku" - }, - { - "type": "array", - "name": "virtualHubRouteTableV2s", - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}" - } - }, - { - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "array", - "name": "attachedConnections", - "item": { - "type": "string" - } - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "type": "array", - "name": "routes", - "item": { - "type": "object", - "props": [ - { - "type": "string", - "name": "destinationType" - }, - { - "type": "array", - "name": "destinations", - "item": { - "type": "string" - } - }, - { - "type": "string", - "name": "nextHopType" - }, - { - "type": "array", - "name": "nextHops", - "item": { - "type": "string" - } - } - ] - } - } - ], - "clientFlatten": true - } - ] - } - }, - { - "type": "integer64", - "name": "virtualRouterAsn", - "format": { - "maximum": 4294967295, - "minimum": 0 - } - }, - { - "type": "object", - "name": "virtualRouterAutoScaleConfiguration", - "props": [ - { - "type": "integer32", - "name": "minCapacity", - "format": { - "minimum": 0 - } - } - ] - }, - { - "type": "array", - "name": "virtualRouterIps", - "item": { - "type": "string" - } - }, - { - "type": "object", - "name": "virtualWan", - "props": [ - { - "type": "string", - "name": "id" - } - ], - "cls": "SubResource_read" - }, - { - "type": "@SubResource_read", - "name": "vpnGateway" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "additionalProps": { - "item": { - "type": "string" - } - } - }, - { - "readOnly": true, - "type": "string", - "name": "type" - } - ], - "cls": "VirtualHub_read" - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - }, - { - "instanceUpdate": { - "instance": "$Instance", - "json": { - "schema": { - "type": "object", - "name": "virtualHubParameters", - "required": true, - "props": [ - { - "type": "ResourceId", - "name": "id", - "arg": "$virtualHubParameters.id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}" - } - }, - { - "type": "ResourceLocation", - "name": "location", - "arg": "$virtualHubParameters.location", - "required": true - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "addressPrefix", - "arg": "$virtualHubParameters.properties.addressPrefix" - }, - { - "type": "boolean", - "name": "allowBranchToBranchTraffic", - "arg": "$virtualHubParameters.properties.allowBranchToBranchTraffic" - }, - { - "type": "@SubResource_update", - "name": "azureFirewall", - "arg": "$virtualHubParameters.properties.azureFirewall" - }, - { - "type": "@SubResource_update", - "name": "expressRouteGateway", - "arg": "$virtualHubParameters.properties.expressRouteGateway" - }, - { - "type": "string", - "name": "hubRoutingPreference", - "arg": "$virtualHubParameters.properties.hubRoutingPreference", - "enum": { - "items": [ - { - "value": "ASPath" - }, - { - "value": "ExpressRoute" - }, - { - "value": "VpnGateway" - } - ] - } - }, - { - "type": "@SubResource_update", - "name": "p2SVpnGateway", - "arg": "$virtualHubParameters.properties.p2SVpnGateway" - }, - { - "type": "string", - "name": "preferredRoutingGateway", - "arg": "$virtualHubParameters.properties.preferredRoutingGateway", - "enum": { - "items": [ - { - "value": "ExpressRoute" - }, - { - "value": "None" - }, - { - "value": "VpnGateway" - } - ] - } - }, - { - "type": "object", - "name": "routeTable", - "arg": "$virtualHubParameters.properties.routeTable", - "props": [ - { - "type": "array", - "name": "routes", - "arg": "$virtualHubParameters.properties.routeTable.routes", - "item": { - "type": "object", - "props": [ - { - "type": "array", - "name": "addressPrefixes", - "arg": "$virtualHubParameters.properties.routeTable.routes[].addressPrefixes", - "item": { - "type": "string" - } - }, - { - "type": "string", - "name": "nextHopIpAddress", - "arg": "$virtualHubParameters.properties.routeTable.routes[].nextHopIpAddress" - } - ] - } - } - ] - }, - { - "type": "@SubResource_update", - "name": "securityPartnerProvider", - "arg": "$virtualHubParameters.properties.securityPartnerProvider" - }, - { - "type": "string", - "name": "securityProviderName", - "arg": "$virtualHubParameters.properties.securityProviderName" - }, - { - "type": "string", - "name": "sku", - "arg": "$virtualHubParameters.properties.sku" - }, - { - "type": "array", - "name": "virtualHubRouteTableV2s", - "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s", - "item": { - "type": "object", - "props": [ - { - "type": "ResourceId", - "name": "id", - "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}" - } - }, - { - "type": "string", - "name": "name", - "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "array", - "name": "attachedConnections", - "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.attachedConnections", - "item": { - "type": "string" - } - }, - { - "type": "array", - "name": "routes", - "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes", - "item": { - "type": "object", - "props": [ - { - "type": "string", - "name": "destinationType", - "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinationType" - }, - { - "type": "array", - "name": "destinations", - "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinations", - "item": { - "type": "string" - } - }, - { - "type": "string", - "name": "nextHopType", - "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHopType" - }, - { - "type": "array", - "name": "nextHops", - "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHops", - "item": { - "type": "string" - } - } - ] - } - } - ], - "clientFlatten": true - } - ] - } - }, - { - "type": "integer64", - "name": "virtualRouterAsn", - "arg": "$virtualHubParameters.properties.virtualRouterAsn", - "format": { - "maximum": 4294967295, - "minimum": 0 - } - }, - { - "type": "object", - "name": "virtualRouterAutoScaleConfiguration", - "arg": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration", - "props": [ - { - "type": "integer32", - "name": "minCapacity", - "arg": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration.minCapacity", - "format": { - "minimum": 0 - } - } - ] - }, - { - "type": "array", - "name": "virtualRouterIps", - "arg": "$virtualHubParameters.properties.virtualRouterIps", - "item": { - "type": "string" - } - }, - { - "type": "object", - "name": "virtualWan", - "arg": "$virtualHubParameters.properties.virtualWan", - "props": [ - { - "type": "string", - "name": "id", - "arg": "@SubResource_update.id" - } - ], - "cls": "SubResource_update" - }, - { - "type": "@SubResource_update", - "name": "vpnGateway", - "arg": "$virtualHubParameters.properties.vpnGateway" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "arg": "$virtualHubParameters.tags", - "additionalProps": { - "item": { - "type": "string" - } - } - } - ], - "clientFlatten": true - } - } - } - }, - { - "longRunning": { - "finalStateVia": "azure-async-operation" - }, - "operationId": "VirtualHubs_CreateOrUpdate", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", - "request": { - "method": "put", - "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-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - }, - "body": { - "json": { - "ref": "$Instance" - } - } - }, - "responses": [ - { - "statusCode": [ - 200, - 201 - ], - "body": { - "json": { - "var": "$Instance", - "schema": { - "type": "@VirtualHub_read" - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - } - ], - "outputs": [ - { - "type": "object", - "ref": "$Instance", - "clientFlatten": true - } - ] - } - ] - } - ] -} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9/V/MjAyMi0wMS0wMQ=="}], "commandGroups": [{"name": "network routeserver", "commands": [{"name": "show", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9/V/MjAyMi0wMS0wMQ=="}], "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": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the route server."}}]}], "operations": [{"operationId": "VirtualHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "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-01-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/{}"}}, {"readOnly": true, "type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic"}, {"type": "@SubResource_read", "name": "azureFirewall"}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "bgpConnections", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "ipConfigurations", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "routeTable", "props": [{"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress"}]}}]}, {"readOnly": true, "type": "string", "name": "routingState", "enum": {"items": [{"value": "Failed"}, {"value": "None"}, {"value": "Provisioned"}, {"value": "Provisioning"}]}}, {"type": "@SubResource_read", "name": "securityPartnerProvider"}, {"type": "string", "name": "securityProviderName"}, {"type": "string", "name": "sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType"}, {"type": "array", "name": "destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType"}, {"type": "array", "name": "nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "item": {"type": "string"}}, {"type": "object", "name": "virtualWan", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "@SubResource_read", "name": "vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9/V/MjAyMi0wMS0wMQ=="}], "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": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the route server."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "VirtualHubs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "request": {"method": "delete", "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-01-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-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9/V/MjAyMi0wMS0wMQ=="}], "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": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the route server."}}, {"type": "ResourceLocation", "var": "$virtualHubParameters.location", "options": ["l", "location"], "required": true, "group": "", "help": {"short": "Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`."}}, {"type": "string", "var": "$virtualHubParameters.properties.hubRoutingPreference", "options": ["hub-routing-preference"], "group": "", "help": {"short": "Routing preference of the route server."}, "enum": {"items": [{"name": "ASPath", "value": "ASPath"}, {"name": "ExpressRoute", "value": "ExpressRoute"}, {"name": "VpnGateway", "value": "VpnGateway"}]}}, {"type": "string", "var": "$virtualHubParameters.properties.sku", "options": ["sku"], "group": "", "help": {"short": "SKU of the route server."}}, {"type": "object", "var": "$virtualHubParameters.tags", "options": ["tags"], "group": "", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$virtualHubParameters.properties.addressPrefix", "options": ["address-prefix"], "hide": true, "group": "Properties", "help": {"short": "Address-prefix for this VirtualHub."}}, {"type": "boolean", "var": "$virtualHubParameters.properties.allowBranchToBranchTraffic", "options": ["allow-branch-to-branch-traffic"], "hide": true, "group": "Properties", "help": {"short": "Flag to control transit for VirtualRouter hub."}}, {"type": "@SubResource_create", "var": "$virtualHubParameters.properties.azureFirewall", "options": ["azure-firewall"], "hide": true, "group": "Properties", "help": {"short": "The azureFirewall associated with this VirtualHub."}}, {"type": "@SubResource_create", "var": "$virtualHubParameters.properties.expressRouteGateway", "options": ["express-route-gateway"], "hide": true, "group": "Properties", "help": {"short": "The expressRouteGateway associated with this VirtualHub."}}, {"type": "@SubResource_create", "var": "$virtualHubParameters.properties.p2SVpnGateway", "options": ["p2-s-vpn-gateway"], "hide": true, "group": "Properties", "help": {"short": "The P2SVpnGateway associated with this VirtualHub."}}, {"type": "string", "var": "$virtualHubParameters.properties.preferredRoutingGateway", "options": ["preferred-routing-gateway"], "hide": true, "group": "Properties", "help": {"short": "The preferred gateway to route on-prem traffic"}, "enum": {"items": [{"name": "ExpressRoute", "value": "ExpressRoute"}, {"name": "None", "value": "None"}, {"name": "VpnGateway", "value": "VpnGateway"}]}}, {"type": "object", "var": "$virtualHubParameters.properties.routeTable", "options": ["route-table"], "hide": true, "group": "Properties", "help": {"short": "The routeTable associated with this virtual hub."}, "args": [{"type": "array", "var": "$virtualHubParameters.properties.routeTable.routes", "options": ["routes"], "help": {"short": "List of all routes."}, "item": {"type": "object", "args": [{"type": "array", "var": "$virtualHubParameters.properties.routeTable.routes[].addressPrefixes", "options": ["address-prefixes"], "help": {"short": "List of all addressPrefixes."}, "item": {"type": "string"}}, {"type": "string", "var": "$virtualHubParameters.properties.routeTable.routes[].nextHopIpAddress", "options": ["next-hop-ip-address"], "help": {"short": "NextHop ip address."}}]}}]}, {"type": "@SubResource_create", "var": "$virtualHubParameters.properties.securityPartnerProvider", "options": ["security-partner-provider"], "hide": true, "group": "Properties", "help": {"short": "The securityPartnerProvider associated with this VirtualHub."}}, {"type": "string", "var": "$virtualHubParameters.properties.securityProviderName", "options": ["security-provider-name"], "hide": true, "group": "Properties", "help": {"short": "The Security Provider name."}}, {"type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s", "options": ["virtual-hub-route-table-v2s"], "hide": true, "group": "Properties", "help": {"short": "List of all virtual hub route table v2s associated with this VirtualHub."}, "item": {"type": "object", "args": [{"type": "ResourceId", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].id", "options": ["id"], "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.attachedConnections", "options": ["attached-connections"], "group": "Properties", "help": {"short": "List of all connections attached to this route table v2."}, "item": {"type": "string"}}, {"type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes", "options": ["routes"], "group": "Properties", "help": {"short": "List of all routes."}, "item": {"type": "object", "args": [{"type": "string", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinationType", "options": ["destination-type"], "help": {"short": "The type of destinations."}}, {"type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinations", "options": ["destinations"], "help": {"short": "List of all destinations."}, "item": {"type": "string"}}, {"type": "string", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHopType", "options": ["next-hop-type"], "help": {"short": "The type of next hops."}}, {"type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHops", "options": ["next-hops"], "help": {"short": "NextHops ip address."}, "item": {"type": "string"}}]}}]}}, {"type": "integer64", "var": "$virtualHubParameters.properties.virtualRouterAsn", "options": ["virtual-router-asn"], "hide": true, "group": "Properties", "help": {"short": "VirtualRouter ASN."}, "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "var": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration", "options": ["virtual-router-auto-scale-configuration"], "hide": true, "group": "Properties", "help": {"short": "The VirtualHub Router autoscale configuration."}, "args": [{"type": "integer32", "var": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration.minCapacity", "options": ["min-capacity"], "help": {"short": "The minimum number of scale units for VirtualHub Router."}, "format": {"minimum": 0}}]}, {"type": "array", "var": "$virtualHubParameters.properties.virtualRouterIps", "options": ["virtual-router-ips"], "hide": true, "group": "Properties", "help": {"short": "VirtualRouter IPs."}, "item": {"type": "string"}}, {"type": "object", "var": "$virtualHubParameters.properties.virtualWan", "options": ["virtual-wan"], "hide": true, "group": "Properties", "help": {"short": "The VirtualWAN to which the VirtualHub belongs."}, "args": [{"type": "string", "var": "@SubResource_create.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_create"}, {"type": "@SubResource_create", "var": "$virtualHubParameters.properties.vpnGateway", "options": ["vpn-gateway"], "hide": true, "group": "Properties", "help": {"short": "The VpnGateway associated with this VirtualHub."}}]}, {"name": "VirtualHubParameters", "args": [{"type": "ResourceId", "var": "$virtualHubParameters.id", "options": ["id"], "hide": true, "group": "VirtualHubParameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "request": {"method": "put", "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-01-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "virtualHubParameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$virtualHubParameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}, {"type": "ResourceLocation", "name": "location", "arg": "$virtualHubParameters.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix", "arg": "$virtualHubParameters.properties.addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic", "arg": "$virtualHubParameters.properties.allowBranchToBranchTraffic"}, {"type": "@SubResource_create", "name": "azureFirewall", "arg": "$virtualHubParameters.properties.azureFirewall"}, {"type": "@SubResource_create", "name": "expressRouteGateway", "arg": "$virtualHubParameters.properties.expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "arg": "$virtualHubParameters.properties.hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"type": "@SubResource_create", "name": "p2SVpnGateway", "arg": "$virtualHubParameters.properties.p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "arg": "$virtualHubParameters.properties.preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"type": "object", "name": "routeTable", "arg": "$virtualHubParameters.properties.routeTable", "props": [{"type": "array", "name": "routes", "arg": "$virtualHubParameters.properties.routeTable.routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "arg": "$virtualHubParameters.properties.routeTable.routes[].addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress", "arg": "$virtualHubParameters.properties.routeTable.routes[].nextHopIpAddress"}]}}]}, {"type": "@SubResource_create", "name": "securityPartnerProvider", "arg": "$virtualHubParameters.properties.securityPartnerProvider"}, {"type": "string", "name": "securityProviderName", "arg": "$virtualHubParameters.properties.securityProviderName"}, {"type": "string", "name": "sku", "arg": "$virtualHubParameters.properties.sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.attachedConnections", "item": {"type": "string"}}, {"type": "array", "name": "routes", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinationType"}, {"type": "array", "name": "destinations", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHopType"}, {"type": "array", "name": "nextHops", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "arg": "$virtualHubParameters.properties.virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "arg": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "arg": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration.minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "arg": "$virtualHubParameters.properties.virtualRouterIps", "item": {"type": "string"}}, {"type": "object", "name": "virtualWan", "arg": "$virtualHubParameters.properties.virtualWan", "props": [{"type": "string", "name": "id", "arg": "@SubResource_create.id"}], "cls": "SubResource_create"}, {"type": "@SubResource_create", "name": "vpnGateway", "arg": "$virtualHubParameters.properties.vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$virtualHubParameters.tags", "additionalProps": {"item": {"type": "string"}}}], "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/{}"}}, {"readOnly": true, "type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic"}, {"type": "@SubResource_read", "name": "azureFirewall"}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "bgpConnections", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "ipConfigurations", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "routeTable", "props": [{"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress"}]}}]}, {"readOnly": true, "type": "string", "name": "routingState", "enum": {"items": [{"value": "Failed"}, {"value": "None"}, {"value": "Provisioned"}, {"value": "Provisioning"}]}}, {"type": "@SubResource_read", "name": "securityPartnerProvider"}, {"type": "string", "name": "securityProviderName"}, {"type": "string", "name": "sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType"}, {"type": "array", "name": "destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType"}, {"type": "array", "name": "nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "item": {"type": "string"}}, {"type": "object", "name": "virtualWan", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "@SubResource_read", "name": "vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9/V/MjAyMi0wMS0wMQ=="}], "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": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the route server."}}, {"nullable": true, "type": "boolean", "var": "$virtualHubParameters.properties.allowBranchToBranchTraffic", "options": ["allow-b2b-traffic"], "group": "", "help": {"short": "Whether to allow branch to branch traffic."}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.hubRoutingPreference", "options": ["hub-routing-preference"], "group": "", "help": {"short": "Routing preference of the route server."}, "enum": {"items": [{"name": "ASPath", "value": "ASPath"}, {"name": "ExpressRoute", "value": "ExpressRoute"}, {"name": "VpnGateway", "value": "VpnGateway"}]}}, {"nullable": true, "type": "object", "var": "$virtualHubParameters.tags", "options": ["tags"], "group": "", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.addressPrefix", "options": ["address-prefix"], "hide": true, "group": "Properties", "help": {"short": "Address-prefix for this VirtualHub."}}, {"nullable": true, "type": "@SubResource_update", "var": "$virtualHubParameters.properties.azureFirewall", "options": ["azure-firewall"], "hide": true, "group": "Properties", "help": {"short": "The azureFirewall associated with this VirtualHub."}}, {"nullable": true, "type": "@SubResource_update", "var": "$virtualHubParameters.properties.expressRouteGateway", "options": ["express-route-gateway"], "hide": true, "group": "Properties", "help": {"short": "The expressRouteGateway associated with this VirtualHub."}}, {"nullable": true, "type": "@SubResource_update", "var": "$virtualHubParameters.properties.p2SVpnGateway", "options": ["p2-s-vpn-gateway"], "hide": true, "group": "Properties", "help": {"short": "The P2SVpnGateway associated with this VirtualHub."}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.preferredRoutingGateway", "options": ["preferred-routing-gateway"], "hide": true, "group": "Properties", "help": {"short": "The preferred gateway to route on-prem traffic"}, "enum": {"items": [{"name": "ExpressRoute", "value": "ExpressRoute"}, {"name": "None", "value": "None"}, {"name": "VpnGateway", "value": "VpnGateway"}]}}, {"nullable": true, "type": "object", "var": "$virtualHubParameters.properties.routeTable", "options": ["route-table"], "hide": true, "group": "Properties", "help": {"short": "The routeTable associated with this virtual hub."}, "args": [{"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.routeTable.routes", "options": ["routes"], "help": {"short": "List of all routes."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.routeTable.routes[].addressPrefixes", "options": ["address-prefixes"], "help": {"short": "List of all addressPrefixes."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.routeTable.routes[].nextHopIpAddress", "options": ["next-hop-ip-address"], "help": {"short": "NextHop ip address."}}]}}]}, {"nullable": true, "type": "@SubResource_update", "var": "$virtualHubParameters.properties.securityPartnerProvider", "options": ["security-partner-provider"], "hide": true, "group": "Properties", "help": {"short": "The securityPartnerProvider associated with this VirtualHub."}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.securityProviderName", "options": ["security-provider-name"], "hide": true, "group": "Properties", "help": {"short": "The Security Provider name."}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.sku", "options": ["sku"], "hide": true, "group": "Properties", "help": {"short": "The sku of this VirtualHub."}}, {"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s", "options": ["virtual-hub-route-table-v2s"], "hide": true, "group": "Properties", "help": {"short": "List of all virtual hub route table v2s associated with this VirtualHub."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "ResourceId", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].id", "options": ["id"], "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.attachedConnections", "options": ["attached-connections"], "group": "Properties", "help": {"short": "List of all connections attached to this route table v2."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes", "options": ["routes"], "group": "Properties", "help": {"short": "List of all routes."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinationType", "options": ["destination-type"], "help": {"short": "The type of destinations."}}, {"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinations", "options": ["destinations"], "help": {"short": "List of all destinations."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHopType", "options": ["next-hop-type"], "help": {"short": "The type of next hops."}}, {"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHops", "options": ["next-hops"], "help": {"short": "NextHops ip address."}, "item": {"nullable": true, "type": "string"}}]}}]}}, {"nullable": true, "type": "integer64", "var": "$virtualHubParameters.properties.virtualRouterAsn", "options": ["virtual-router-asn"], "hide": true, "group": "Properties", "help": {"short": "VirtualRouter ASN."}, "format": {"maximum": 4294967295, "minimum": 0}}, {"nullable": true, "type": "object", "var": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration", "options": ["virtual-router-auto-scale-configuration"], "hide": true, "group": "Properties", "help": {"short": "The VirtualHub Router autoscale configuration."}, "args": [{"nullable": true, "type": "integer32", "var": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration.minCapacity", "options": ["min-capacity"], "help": {"short": "The minimum number of scale units for VirtualHub Router."}, "format": {"minimum": 0}}]}, {"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.virtualRouterIps", "options": ["virtual-router-ips"], "hide": true, "group": "Properties", "help": {"short": "VirtualRouter IPs."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "object", "var": "$virtualHubParameters.properties.virtualWan", "options": ["virtual-wan"], "hide": true, "group": "Properties", "help": {"short": "The VirtualWAN to which the VirtualHub belongs."}, "args": [{"nullable": true, "type": "string", "var": "@SubResource_update.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_update"}, {"nullable": true, "type": "@SubResource_update", "var": "$virtualHubParameters.properties.vpnGateway", "options": ["vpn-gateway"], "hide": true, "group": "Properties", "help": {"short": "The VpnGateway associated with this VirtualHub."}}]}, {"name": "VirtualHubParameters", "args": [{"nullable": true, "type": "ResourceId", "var": "$virtualHubParameters.id", "options": ["id"], "hide": true, "group": "VirtualHubParameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}, {"type": "ResourceLocation", "var": "$virtualHubParameters.location", "options": ["l", "location"], "hide": true, "group": "VirtualHubParameters", "help": {"short": "Resource location."}}]}], "operations": [{"operationId": "VirtualHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "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-01-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/{}"}}, {"readOnly": true, "type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic"}, {"type": "@SubResource_read", "name": "azureFirewall"}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "bgpConnections", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "ipConfigurations", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "routeTable", "props": [{"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress"}]}}]}, {"readOnly": true, "type": "string", "name": "routingState", "enum": {"items": [{"value": "Failed"}, {"value": "None"}, {"value": "Provisioned"}, {"value": "Provisioning"}]}}, {"type": "@SubResource_read", "name": "securityPartnerProvider"}, {"type": "string", "name": "securityProviderName"}, {"type": "string", "name": "sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType"}, {"type": "array", "name": "destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType"}, {"type": "array", "name": "nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "item": {"type": "string"}}, {"type": "object", "name": "virtualWan", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "@SubResource_read", "name": "vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualHub_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "virtualHubParameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$virtualHubParameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}, {"type": "ResourceLocation", "name": "location", "arg": "$virtualHubParameters.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix", "arg": "$virtualHubParameters.properties.addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic", "arg": "$virtualHubParameters.properties.allowBranchToBranchTraffic"}, {"type": "@SubResource_update", "name": "azureFirewall", "arg": "$virtualHubParameters.properties.azureFirewall"}, {"type": "@SubResource_update", "name": "expressRouteGateway", "arg": "$virtualHubParameters.properties.expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "arg": "$virtualHubParameters.properties.hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"type": "@SubResource_update", "name": "p2SVpnGateway", "arg": "$virtualHubParameters.properties.p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "arg": "$virtualHubParameters.properties.preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"type": "object", "name": "routeTable", "arg": "$virtualHubParameters.properties.routeTable", "props": [{"type": "array", "name": "routes", "arg": "$virtualHubParameters.properties.routeTable.routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "arg": "$virtualHubParameters.properties.routeTable.routes[].addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress", "arg": "$virtualHubParameters.properties.routeTable.routes[].nextHopIpAddress"}]}}]}, {"type": "@SubResource_update", "name": "securityPartnerProvider", "arg": "$virtualHubParameters.properties.securityPartnerProvider"}, {"type": "string", "name": "securityProviderName", "arg": "$virtualHubParameters.properties.securityProviderName"}, {"type": "string", "name": "sku", "arg": "$virtualHubParameters.properties.sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.attachedConnections", "item": {"type": "string"}}, {"type": "array", "name": "routes", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinationType"}, {"type": "array", "name": "destinations", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHopType"}, {"type": "array", "name": "nextHops", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "arg": "$virtualHubParameters.properties.virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "arg": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "arg": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration.minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "arg": "$virtualHubParameters.properties.virtualRouterIps", "item": {"type": "string"}}, {"type": "object", "name": "virtualWan", "arg": "$virtualHubParameters.properties.virtualWan", "props": [{"type": "string", "name": "id", "arg": "@SubResource_update.id"}], "cls": "SubResource_update"}, {"type": "@SubResource_update", "name": "vpnGateway", "arg": "$virtualHubParameters.properties.vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$virtualHubParameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "request": {"method": "put", "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-01-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualHub_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9/2022-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9/2022-01-01.xml index 0083f6d51ab..a27fb38a9d6 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9/2022-01-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9/2022-01-01.xml @@ -7,8 +7,8 @@ - - + + @@ -167,8 +167,8 @@ - - + + @@ -204,14 +204,22 @@ - - + + + + + + + + + + - + @@ -233,14 +241,6 @@ - - - - - - - - @@ -585,11 +585,19 @@ - - + + - + + + + + + + + + @@ -608,14 +616,6 @@ - - - - - - - - @@ -870,7 +870,7 @@ - +