|
4362 | 4362 | }
|
4363 | 4363 | }
|
4364 | 4364 | },
|
| 4365 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{hubName}/bgpConnections/{connectionName}/learnedRoutes": { |
| 4366 | + "post": { |
| 4367 | + "operationId": "VirtualHubBgpConnections_ListLearnedRoutes", |
| 4368 | + "description": "Retrieves a list of routes the virtual hub bgp connection has learned.", |
| 4369 | + "parameters": [ |
| 4370 | + { |
| 4371 | + "name": "resourceGroupName", |
| 4372 | + "in": "path", |
| 4373 | + "required": true, |
| 4374 | + "type": "string", |
| 4375 | + "description": "The name of the resource group." |
| 4376 | + }, |
| 4377 | + { |
| 4378 | + "name": "hubName", |
| 4379 | + "in": "path", |
| 4380 | + "required": true, |
| 4381 | + "type": "string", |
| 4382 | + "description": "The name of the virtual hub." |
| 4383 | + }, |
| 4384 | + { |
| 4385 | + "name": "connectionName", |
| 4386 | + "in": "path", |
| 4387 | + "required": true, |
| 4388 | + "type": "string", |
| 4389 | + "description": "The name of the virtual hub bgp connection." |
| 4390 | + }, |
| 4391 | + { |
| 4392 | + "$ref": "./network.json#/parameters/ApiVersionParameter" |
| 4393 | + }, |
| 4394 | + { |
| 4395 | + "$ref": "./network.json#/parameters/SubscriptionIdParameter" |
| 4396 | + } |
| 4397 | + ], |
| 4398 | + "responses": { |
| 4399 | + "200": { |
| 4400 | + "description": "List of advertised BGP routes.", |
| 4401 | + "schema": { |
| 4402 | + "$ref": "#/definitions/PeerRouteList" |
| 4403 | + } |
| 4404 | + }, |
| 4405 | + "202": { |
| 4406 | + "description": "Accepted and the operation will complete asynchronously." |
| 4407 | + }, |
| 4408 | + "default": { |
| 4409 | + "description": "Error response describing why the operation failed.", |
| 4410 | + "schema": { |
| 4411 | + "$ref": "./network.json#/definitions/CloudError" |
| 4412 | + } |
| 4413 | + } |
| 4414 | + }, |
| 4415 | + "x-ms-examples": { |
| 4416 | + "VirtualRouterPeerListLearnedRoutes": { |
| 4417 | + "$ref": "./examples/VirtualRouterPeerListLearnedRoute.json" |
| 4418 | + } |
| 4419 | + }, |
| 4420 | + "x-ms-long-running-operation": true, |
| 4421 | + "x-ms-long-running-operation-options": { |
| 4422 | + "final-state-via": "location" |
| 4423 | + } |
| 4424 | + } |
| 4425 | + }, |
| 4426 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{hubName}/bgpConnections/{connectionName}/advertisedRoutes": { |
| 4427 | + "post": { |
| 4428 | + "operationId": "VirtualHubBgpConnections_ListAdvertisedRoutes", |
| 4429 | + "description": "Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer.", |
| 4430 | + "parameters": [ |
| 4431 | + { |
| 4432 | + "name": "resourceGroupName", |
| 4433 | + "in": "path", |
| 4434 | + "required": true, |
| 4435 | + "type": "string", |
| 4436 | + "description": "The name of the resource group." |
| 4437 | + }, |
| 4438 | + { |
| 4439 | + "name": "hubName", |
| 4440 | + "in": "path", |
| 4441 | + "required": true, |
| 4442 | + "type": "string", |
| 4443 | + "description": "The name of the virtual hub." |
| 4444 | + }, |
| 4445 | + { |
| 4446 | + "name": "connectionName", |
| 4447 | + "in": "path", |
| 4448 | + "required": true, |
| 4449 | + "type": "string", |
| 4450 | + "description": "The name of the virtual hub bgp connection." |
| 4451 | + }, |
| 4452 | + { |
| 4453 | + "$ref": "./network.json#/parameters/ApiVersionParameter" |
| 4454 | + }, |
| 4455 | + { |
| 4456 | + "$ref": "./network.json#/parameters/SubscriptionIdParameter" |
| 4457 | + } |
| 4458 | + ], |
| 4459 | + "responses": { |
| 4460 | + "200": { |
| 4461 | + "description": "List of learned BGP routes.", |
| 4462 | + "schema": { |
| 4463 | + "$ref": "#/definitions/PeerRouteList" |
| 4464 | + } |
| 4465 | + }, |
| 4466 | + "202": { |
| 4467 | + "description": "Accepted and the operation will complete asynchronously." |
| 4468 | + }, |
| 4469 | + "default": { |
| 4470 | + "description": "Error response describing why the operation failed.", |
| 4471 | + "schema": { |
| 4472 | + "$ref": "./network.json#/definitions/CloudError" |
| 4473 | + } |
| 4474 | + } |
| 4475 | + }, |
| 4476 | + "x-ms-examples": { |
| 4477 | + "VirtualRouterPeerListAdvertisedRoutes": { |
| 4478 | + "$ref": "./examples/VirtualRouterPeerListAdvertisedRoute.json" |
| 4479 | + } |
| 4480 | + }, |
| 4481 | + "x-ms-long-running-operation": true, |
| 4482 | + "x-ms-long-running-operation-options": { |
| 4483 | + "final-state-via": "location" |
| 4484 | + } |
| 4485 | + } |
| 4486 | + }, |
4365 | 4487 | "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}": {
|
4366 | 4488 | "get": {
|
4367 | 4489 | "operationId": "VirtualHubIpConfiguration_Get",
|
|
5342 | 5464 | },
|
5343 | 5465 | "description": "Properties of the bgp connection."
|
5344 | 5466 | },
|
| 5467 | + "PeerRoute": { |
| 5468 | + "properties": { |
| 5469 | + "localAddress": { |
| 5470 | + "type": "string", |
| 5471 | + "readOnly": true, |
| 5472 | + "description": "The peer's local address." |
| 5473 | + }, |
| 5474 | + "network": { |
| 5475 | + "type": "string", |
| 5476 | + "readOnly": true, |
| 5477 | + "description": "The route's network prefix." |
| 5478 | + }, |
| 5479 | + "nextHop": { |
| 5480 | + "type": "string", |
| 5481 | + "readOnly": true, |
| 5482 | + "description": "The route's next hop." |
| 5483 | + }, |
| 5484 | + "sourcePeer": { |
| 5485 | + "type": "string", |
| 5486 | + "readOnly": true, |
| 5487 | + "description": "The peer this route was learned from." |
| 5488 | + }, |
| 5489 | + "origin": { |
| 5490 | + "type": "string", |
| 5491 | + "readOnly": true, |
| 5492 | + "description": "The source this route was learned from." |
| 5493 | + }, |
| 5494 | + "asPath": { |
| 5495 | + "type": "string", |
| 5496 | + "readOnly": true, |
| 5497 | + "description": "The route's AS path sequence." |
| 5498 | + }, |
| 5499 | + "weight": { |
| 5500 | + "type": "integer", |
| 5501 | + "format": "int32", |
| 5502 | + "readOnly": true, |
| 5503 | + "description": "The route's weight." |
| 5504 | + } |
| 5505 | + }, |
| 5506 | + "description": "Peer routing details." |
| 5507 | + }, |
| 5508 | + "PeerRouteList": { |
| 5509 | + "properties": { |
| 5510 | + "value": { |
| 5511 | + "type": "array", |
| 5512 | + "items": { |
| 5513 | + "$ref": "#/definitions/PeerRoute" |
| 5514 | + }, |
| 5515 | + "description": "List of peer routes." |
| 5516 | + } |
| 5517 | + }, |
| 5518 | + "description": "List of virtual router peer routes." |
| 5519 | + }, |
5345 | 5520 | "HubIpConfiguration": {
|
5346 | 5521 | "properties": {
|
5347 | 5522 | "properties": {
|
|
0 commit comments