Skip to content

Commit

Permalink
fixing model errors (#31490)
Browse files Browse the repository at this point in the history
* fixing model errors

* more fixes

* more fixes

* prettier checks

* prettier

---------

Co-authored-by: Prajjwal Kamboj <[email protected]>
  • Loading branch information
2 people authored and GuptaVertika committed Nov 20, 2024
1 parent 4dbf497 commit cfe2667
Show file tree
Hide file tree
Showing 50 changed files with 397 additions and 191 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,39 +12,37 @@
"responses": {
"200": {
"body": {
"status": "Succeeded",
"properties": {
"output": {
"value": [
{
"addressPrefixes": [
"10.147.128.0/17"
],
"nextHops": [
"/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0"
],
"nextHopType": "Remote Hub",
"routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0",
"asPath": "65520-65520"
},
{
"addressPrefixes": [
"10.0.0.0/16"
],
"nextHops": [
"/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1"
],
"nextHopType": "ExpressRouteGateway",
"routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1",
"asPath": "12076-12076"
}
]
"value": [
{
"addressPrefixes": [
"10.147.128.0/17"
],
"nextHops": [
"/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0"
],
"nextHopType": "Remote Hub",
"routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0",
"asPath": "65520-65520"
},
{
"addressPrefixes": [
"10.0.0.0/16"
],
"nextHops": [
"/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1"
],
"nextHopType": "ExpressRouteGateway",
"routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1",
"asPath": "12076-12076"
}
}
]
}
},
"202": {
"description": "Accepted and the operation will complete asynchronously."
"description": "Accepted and the operation will complete asynchronously.",
"headers": {
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,39 +12,37 @@
"responses": {
"200": {
"body": {
"status": "Succeeded",
"properties": {
"output": {
"value": [
{
"addressPrefixes": [
"10.147.128.0/17"
],
"nextHops": [
"/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0"
],
"nextHopType": "Remote Hub",
"routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0",
"asPath": "65520-65520"
},
{
"addressPrefixes": [
"10.0.0.0/16"
],
"nextHops": [
"/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1"
],
"nextHopType": "ExpressRouteGateway",
"routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1",
"asPath": "12076-12076"
}
]
"value": [
{
"addressPrefixes": [
"10.147.128.0/17"
],
"nextHops": [
"/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0"
],
"nextHopType": "Remote Hub",
"routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0",
"asPath": "65520-65520"
},
{
"addressPrefixes": [
"10.0.0.0/16"
],
"nextHops": [
"/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1"
],
"nextHopType": "ExpressRouteGateway",
"routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1",
"asPath": "12076-12076"
}
}
]
}
},
"202": {
"description": "Accepted and the operation will complete asynchronously."
"description": "Accepted and the operation will complete asynchronously.",
"headers": {
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,39 +9,37 @@
"responses": {
"200": {
"body": {
"status": "Succeeded",
"properties": {
"output": {
"value": [
{
"addressPrefixes": [
"10.147.128.0/17"
],
"nextHops": [
"/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0"
],
"nextHopType": "Remote Hub",
"routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0",
"asPath": "65520-65520"
},
{
"addressPrefixes": [
"10.0.0.0/16"
],
"nextHops": [
"/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1"
],
"nextHopType": "ExpressRouteGateway",
"routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1",
"asPath": "12076-12076"
}
]
"value": [
{
"addressPrefixes": [
"10.147.128.0/17"
],
"nextHops": [
"/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0"
],
"nextHopType": "Remote Hub",
"routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0",
"asPath": "65520-65520"
},
{
"addressPrefixes": [
"10.0.0.0/16"
],
"nextHops": [
"/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1"
],
"nextHopType": "ExpressRouteGateway",
"routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1",
"asPath": "12076-12076"
}
}
]
}
},
"202": {
"description": "Accepted and the operation will complete asynchronously."
"description": "Accepted and the operation will complete asynchronously.",
"headers": {
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
"subscriptionId": "subid"
},
"responses": {
"202": {},
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}"
}
},
"200": {},
"204": {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"subscriptionId": "subid"
},
"responses": {
"202": {},
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}"
}
},
"200": {},
"204": {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
}
},
"responses": {
"202": {},
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}"
}
},
"200": {
"body": {
"name": "expressRouteGatewayName",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
}
},
"responses": {
"202": {},
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}"
}
},
"200": {
"body": {
"profileUrl": "aaaaaaaaaaaaaaaaaaaaaaaaaaa"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,25 @@
"responses": {
"200": {
"body": {
"status": "Succeeded",
"properties": {
"output": {
"value": [
{
"prefix": "192.168.50.0/24",
"asPath": "65520-65520",
"bgpCommunities": "4293853166,12076,51004"
},
{
"prefix": "10.200.0.0/16",
"asPath": "65520-65520-12076-12076",
"bgpCommunities": "4293787629,12076,51027,4293734188"
}
]
"value": [
{
"prefix": "192.168.50.0/24",
"asPath": "65520-65520",
"bgpCommunities": "4293853166,12076,51004"
},
{
"prefix": "10.200.0.0/16",
"asPath": "65520-65520-12076-12076",
"bgpCommunities": "4293787629,12076,51027,4293734188"
}
}
]
}
},
"202": {
"description": "Accepted and the operation will complete asynchronously."
"description": "Accepted and the operation will complete asynchronously.",
"headers": {
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,25 @@
"responses": {
"200": {
"body": {
"status": "Succeeded",
"properties": {
"output": {
"value": [
{
"prefix": "192.168.50.0/24",
"asPath": "65520-65520",
"bgpCommunities": "4293853166,12076,51004"
},
{
"prefix": "10.200.0.0/16",
"asPath": "65520-65520-12076-12076",
"bgpCommunities": "4293787629,12076,51027,4293734188"
}
]
"value": [
{
"prefix": "192.168.50.0/24",
"asPath": "65520-65520",
"bgpCommunities": "4293853166,12076,51004"
},
{
"prefix": "10.200.0.0/16",
"asPath": "65520-65520-12076-12076",
"bgpCommunities": "4293787629,12076,51027,4293734188"
}
}
]
}
},
"202": {
"description": "Accepted and the operation will complete asynchronously."
"description": "Accepted and the operation will complete asynchronously.",
"headers": {
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
]
}
},
"202": {}
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}"
}
},
"204": {}
}
}
Loading

0 comments on commit cfe2667

Please sign in to comment.