Skip to content

Commit

Permalink
Merge pull request Azure#131 from PARADISSEEKR/jins-routetable
Browse files Browse the repository at this point in the history
[Network] `az network route-table`: Migrate azure-stack profiles to aaz
  • Loading branch information
kairu-ms authored Feb 28, 2023
2 parents ffa128d + 7ebe1b7 commit 7eaec80
Show file tree
Hide file tree
Showing 36 changed files with 6,243 additions and 16,164 deletions.
11 changes: 11 additions & 0 deletions Commands/network/route-table/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ Create a route table.

#### examples

- Create a route table.
```bash
network route-table create -g MyResourceGroup -n MyRouteTable
```

### [2018-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3JvdXRldGFibGVzL3t9/2018-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{} 2018-11-01 -->

#### examples

- Create a route table.
```bash
network route-table create -g MyResourceGroup -n MyRouteTable
Expand Down
11 changes: 11 additions & 0 deletions Commands/network/route-table/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ Delete a route table.

#### examples

- Delete a route table.
```bash
network route-table delete -g MyResourceGroup -n MyRouteTable
```

### [2018-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3JvdXRldGFibGVzL3t9/2018-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{} 2018-11-01 -->

#### examples

- Delete a route table.
```bash
network route-table delete -g MyResourceGroup -n MyRouteTable
Expand Down
12 changes: 12 additions & 0 deletions Commands/network/route-table/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ List route tables.

#### examples

- List all route tables in a subscription.
```bash
network route-table list -g MyResourceGroup
```

### [2018-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3JvdXRldGFibGVz/2018-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.network/routetables 2018-11-01 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables 2018-11-01 -->

#### examples

- List all route tables in a subscription.
```bash
network route-table list -g MyResourceGroup
Expand Down
11 changes: 11 additions & 0 deletions Commands/network/route-table/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ Get the details of a route table.

#### examples

- Get the details of a route table.
```bash
network route-table show -g MyResourceGroup -n MyRouteTable
```

### [2018-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3JvdXRldGFibGVzL3t9/2018-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{} 2018-11-01 -->

#### examples

- Get the details of a route table.
```bash
network route-table show -g MyResourceGroup -n MyRouteTable
Expand Down
11 changes: 11 additions & 0 deletions Commands/network/route-table/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ Update a route table.

#### examples

- Update a route table to disable BGP route propagation.
```bash
network route-table update -g MyResourceGroup -n MyRouteTable --disable-bgp-route-propagation true
```

### [2018-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3JvdXRldGFibGVzL3t9/2018-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{} 2018-11-01 -->

#### examples

- Update a route table to disable BGP route propagation.
```bash
network route-table update -g MyResourceGroup -n MyRouteTable --disable-bgp-route-propagation true
Expand Down
11 changes: 11 additions & 0 deletions Commands/network/route-table/route/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ Create a route in a route table.

#### examples

- Create a route that forces all inbound traffic to a Network Virtual Appliance.
```bash
network route-table route create -g MyResourceGroup --route-table-name MyRouteTable -n MyRoute --next-hop-type VirtualAppliance --address-prefix 10.0.0.0/16 --next-hop-ip-address 10.0.100.4
```

### [2018-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3JvdXRldGFibGVzL3t9L3JvdXRlcy97fQ==/2018-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}/routes/{} 2018-11-01 -->

#### examples

- Create a route that forces all inbound traffic to a Network Virtual Appliance.
```bash
network route-table route create -g MyResourceGroup --route-table-name MyRouteTable -n MyRoute --next-hop-type VirtualAppliance --address-prefix 10.0.0.0/16 --next-hop-ip-address 10.0.100.4
Expand Down
11 changes: 11 additions & 0 deletions Commands/network/route-table/route/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ Delete a route from a route table.

#### examples

- Delete a route from a route table.
```bash
network route-table route delete -g MyResourceGroup --route-table-name MyRouteTable -n MyRoute
```

### [2018-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3JvdXRldGFibGVzL3t9L3JvdXRlcy97fQ==/2018-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}/routes/{} 2018-11-01 -->

#### examples

- Delete a route from a route table.
```bash
network route-table route delete -g MyResourceGroup --route-table-name MyRouteTable -n MyRoute
Expand Down
11 changes: 11 additions & 0 deletions Commands/network/route-table/route/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ List routes in a route table.

#### examples

- List routes in a route table.
```bash
network route-table route list -g MyResourceGroup --route-table-name MyRouteTable
```

### [2018-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3JvdXRldGFibGVzL3t9L3JvdXRlcw==/2018-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}/routes 2018-11-01 -->

#### examples

- List routes in a route table.
```bash
network route-table route list -g MyResourceGroup --route-table-name MyRouteTable
Expand Down
11 changes: 11 additions & 0 deletions Commands/network/route-table/route/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ Get the details of a route in a route table.

#### examples

- Get the details of a route in a route table.
```bash
network route-table route show -g MyResourceGroup --route-table-name MyRouteTable -n MyRoute -o table
```

### [2018-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3JvdXRldGFibGVzL3t9L3JvdXRlcy97fQ==/2018-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}/routes/{} 2018-11-01 -->

#### examples

- Get the details of a route in a route table.
```bash
network route-table route show -g MyResourceGroup --route-table-name MyRouteTable -n MyRoute -o table
Expand Down
16 changes: 16 additions & 0 deletions Commands/network/route-table/route/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,22 @@ Update a route in a route table.

#### examples

- Update a route in a route table to change the next hop ip address.
```bash
network route-table route update -g MyResourceGroup --route-table-name MyRouteTable -n MyRoute --next-hop-ip-address 10.0.100.5
```

- Update a route in a route table.
```bash
network route-table route update --address-prefix 10.0.0.0/16 --name MyRoute --next-hop-ip-address 10.0.100.5 --next-hop-type VirtualNetworkGateway --resource-group MyResourceGroup --route-table-name MyRouteTable
```

### [2018-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3JvdXRldGFibGVzL3t9L3JvdXRlcy97fQ==/2018-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}/routes/{} 2018-11-01 -->

#### examples

- Update a route in a route table to change the next hop ip address.
```bash
network route-table route update -g MyResourceGroup --route-table-name MyRouteTable -n MyRoute --next-hop-ip-address 10.0.100.5
Expand Down
Loading

0 comments on commit 7eaec80

Please sign in to comment.