Skip to content

Commit

Permalink
Merge pull request Azure#50 from ZengTaoxu/express-route
Browse files Browse the repository at this point in the history
Add command model for `az network express-route`
  • Loading branch information
necusjz authored Nov 30, 2022
2 parents 2b99bb6 + cb0895b commit 4d5a5fe
Show file tree
Hide file tree
Showing 117 changed files with 38,701 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Commands/network/express-route/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network express-route create_

Create an express route circuit.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZWNpcmN1aXRzL3t9/2022-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecircuits/{} 2022-01-01 -->

#### examples

- Create an ExpressRoute circuit.
```bash
network express-route create --bandwidth 200 -n MyCircuit --peering-location "SiliconValley" -g MyResourceGroup --provider "Equinix" -l "West US" --sku-family MeteredData --sku-tier Standard
```
21 changes: 21 additions & 0 deletions Commands/network/express-route/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# [Command] _network express-route delete_

Delete an ExpressRoute circuit.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZWNpcmN1aXRzL3t9/2022-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecircuits/{} 2022-01-01 -->

#### examples

- Delete an ExpressRoute circuit.
```bash
network express-route delete -n MyCircuit -g MyResourceGroup
```

- Delete an ExpressRoute circuit. (autogenerated)
```bash
network express-route delete --name MyCircuit --resource-group MyResourceGroup --subscription MySubscription
```
16 changes: 16 additions & 0 deletions Commands/network/express-route/_get-stats.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network express-route get-stats_

Get the statistics of an ExpressRoute circuit.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZWNpcmN1aXRzL3t9L3N0YXRz/2022-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecircuits/{}/stats 2022-01-01 -->

#### examples

- Get the statistics of an ExpressRoute circuit.
```bash
network express-route get-stats -g MyResourceGroup -n MyCircuit
```
16 changes: 16 additions & 0 deletions Commands/network/express-route/_list-arp-tables.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network express-route list-arp-tables_

Show the current Address Resolution Protocol (ARP) table of an ExpressRoute circuit.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZWNpcmN1aXRzL3t9L3BlZXJpbmdzL3t9L2FycHRhYmxlcy97fQ==/2022-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecircuits/{}/peerings/{}/arptables/{} 2022-01-01 -->

#### examples

- Show the current Address Resolution Protocol (ARP) table of an ExpressRoute circuit.
```bash
network express-route list-arp-tables -g MyResourceGroup -n MyCircuit --path primary --peering-name AzurePrivatePeering
```
16 changes: 16 additions & 0 deletions Commands/network/express-route/_list-route-tables-summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network express-route list-route-tables-summary_

Show the current routing table summary of an ExpressRoute circuit peering.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZWNpcmN1aXRzL3t9L3BlZXJpbmdzL3t9L3JvdXRldGFibGVzc3VtbWFyeS97fQ==/2022-01-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecircuits/{}/peerings/{}/routetablessummary/{} 2022-01-01 -->

#### examples

- List Route Table Summary
```bash
network express-route list-route-tables-summary -g MyResourceGroup -n MyCircuit --path primary --peering-name AzurePrivatePeering
```
16 changes: 16 additions & 0 deletions Commands/network/express-route/_list-route-tables.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network express-route list-route-tables_

Show the current routing table of an ExpressRoute circuit peering.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZWNpcmN1aXRzL3t9L3BlZXJpbmdzL3t9L3JvdXRldGFibGVzL3t9/2022-01-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecircuits/{}/peerings/{}/routetables/{} 2022-01-01 -->

#### examples

- Show the current routing table of an ExpressRoute circuit peering.
```bash
network express-route list-route-tables -g MyResourceGroup -n MyCircuit --path primary --peering-name AzurePrivatePeering
```
16 changes: 16 additions & 0 deletions Commands/network/express-route/_list-service-providers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network express-route list-service-providers_

List available ExpressRoute service providers.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZXNlcnZpY2Vwcm92aWRlcnM=/2022-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.network/expressrouteserviceproviders 2022-01-01 -->

#### examples

- List available ExpressRoute service providers.
```bash
network express-route list-service-providers
```
17 changes: 17 additions & 0 deletions Commands/network/express-route/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# [Command] _network express-route list_

List all ExpressRoute circuits for the current subscription.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZWNpcmN1aXRz/2022-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.network/expressroutecircuits 2022-01-01 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecircuits 2022-01-01 -->

#### examples

- List all ExpressRoute circuits for the current subscription.
```bash
network express-route list -g MyResourceGroup
```
16 changes: 16 additions & 0 deletions Commands/network/express-route/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network express-route show_

Get the details of an ExpressRoute circuit.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZWNpcmN1aXRzL3t9/2022-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecircuits/{} 2022-01-01 -->

#### examples

- Get the details of an ExpressRoute circuit.
```bash
network express-route show -n MyCircuit -g MyResourceGroup
```
16 changes: 16 additions & 0 deletions Commands/network/express-route/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network express-route update_

Update settings of an ExpressRoute circuit.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZWNpcmN1aXRzL3t9/2022-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecircuits/{} 2022-01-01 -->

#### examples

- Change the SKU of an ExpressRoute circuit from Standard to Premium.
```bash
network express-route update -n MyCircuit -g MyResourceGroup --sku-tier Premium
```
16 changes: 16 additions & 0 deletions Commands/network/express-route/auth/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network express-route auth create_

Create a new link authorization for an ExpressRoute circuit.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZWNpcmN1aXRzL3t9L2F1dGhvcml6YXRpb25zL3t9/2022-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecircuits/{}/authorizations/{} 2022-01-01 -->

#### examples

- Create a new link authorization for an ExpressRoute circuit.
```bash
network express-route auth create --circuit-name MyCircuit -g MyResourceGroup -n MyAuthorization
```
16 changes: 16 additions & 0 deletions Commands/network/express-route/auth/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network express-route auth delete_

Delete a link authorization of an ExpressRoute circuit.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZWNpcmN1aXRzL3t9L2F1dGhvcml6YXRpb25zL3t9/2022-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecircuits/{}/authorizations/{} 2022-01-01 -->

#### examples

- Delete a link authorization of an ExpressRoute circuit.
```bash
network express-route auth delete --circuit-name MyCircuit -g MyResourceGroup -n MyAuthorization
```
21 changes: 21 additions & 0 deletions Commands/network/express-route/auth/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# [Command] _network express-route auth list_

List link authorizations of an ExpressRoute circuit.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZWNpcmN1aXRzL3t9L2F1dGhvcml6YXRpb25z/2022-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecircuits/{}/authorizations 2022-01-01 -->

#### examples

- List link authorizations of an ExpressRoute circuit.
```bash
network express-route auth list -g MyResourceGroup --circuit-name MyCircuit
```

- List link authorizations of an ExpressRoute circuit. (autogenerated)
```bash
network express-route auth list --circuit-name MyCircuit --resource-group MyResourceGroup --subscription MySubscription
```
16 changes: 16 additions & 0 deletions Commands/network/express-route/auth/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network express-route auth show_

Get the details of a link authorization of an ExpressRoute circuit.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZWNpcmN1aXRzL3t9L2F1dGhvcml6YXRpb25zL3t9/2022-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecircuits/{}/authorizations/{} 2022-01-01 -->

#### examples

- Get the details of a link authorization of an ExpressRoute circuit.
```bash
network express-route auth show -g MyResourceGroup --circuit-name MyCircuit -n MyAuthorization
```
9 changes: 9 additions & 0 deletions Commands/network/express-route/auth/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network express-route auth update_

Update an authorization in the specified express route circuit.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZWNpcmN1aXRzL3t9L2F1dGhvcml6YXRpb25zL3t9/2022-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecircuits/{}/authorizations/{} 2022-01-01 -->
22 changes: 22 additions & 0 deletions Commands/network/express-route/auth/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# [Group] _network express-route auth_

Manage authentication of an ExpressRoute circuit.

To learn more about ExpressRoute circuit authentication visit https://docs.microsoft.com/azure/expressroute/howto-linkvnet-cli#connect-a-virtual-network-in-a-different-subscription-to-a-circuit.

## Commands

- [create](/Commands/network/express-route/auth/_create.md)
: Create a new link authorization for an ExpressRoute circuit.

- [delete](/Commands/network/express-route/auth/_delete.md)
: Delete a link authorization of an ExpressRoute circuit.

- [list](/Commands/network/express-route/auth/_list.md)
: List link authorizations of an ExpressRoute circuit.

- [show](/Commands/network/express-route/auth/_show.md)
: Get the details of a link authorization of an ExpressRoute circuit.

- [update](/Commands/network/express-route/auth/_update.md)
: Update an authorization in the specified express route circuit.
16 changes: 16 additions & 0 deletions Commands/network/express-route/gateway/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network express-route gateway create_

Create an ExpressRoute gateway.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZWdhdGV3YXlzL3t9/2022-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutegateways/{} 2022-01-01 -->

#### examples

- Create an ExpressRoute gateway.
```bash
network express-route gateway create --name MyExpressRouteGateway --resource-group MyResourceGroup --min-val 5
```
16 changes: 16 additions & 0 deletions Commands/network/express-route/gateway/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network express-route gateway delete_

Delete an ExpressRoute gateway.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZWdhdGV3YXlzL3t9/2022-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutegateways/{} 2022-01-01 -->

#### examples

- Delete an ExpressRoute gateway. (autogenerated)
```bash
network express-route gateway delete --name MyExpressRouteGateway --resource-group MyResourceGroup
```
17 changes: 17 additions & 0 deletions Commands/network/express-route/gateway/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# [Command] _network express-route gateway list_

List ExpressRoute gateways.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZWdhdGV3YXlz/2022-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.network/expressroutegateways 2022-01-01 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutegateways 2022-01-01 -->

#### examples

- List ExpressRoute gateways. (autogenerated)
```bash
network express-route gateway list --resource-group MyResourceGroup
```
16 changes: 16 additions & 0 deletions Commands/network/express-route/gateway/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network express-route gateway show_

Get the details of an ExpressRoute gateway.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZWdhdGV3YXlzL3t9/2022-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutegateways/{} 2022-01-01 -->

#### examples

- Get the details of an ExpressRoute gateway. (autogenerated)
```bash
network express-route gateway show --name MyExpressRouteGateway --resource-group MyResourceGroup
```
16 changes: 16 additions & 0 deletions Commands/network/express-route/gateway/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network express-route gateway update_

Update settings of an ExpressRoute gateway.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZWdhdGV3YXlzL3t9/2022-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutegateways/{} 2022-01-01 -->

#### examples

- Update an ExpressRoute gateway.
```bash
network express-route gateway update --name MyExpressRouteGateway --resource-group MyResourceGroup --min-val 3
```
21 changes: 21 additions & 0 deletions Commands/network/express-route/gateway/connection/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# [Command] _network express-route gateway connection create_

Create an ExpressRoute gateway connection.

## Versions

### [2022-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZWdhdGV3YXlzL3t9L2V4cHJlc3Nyb3V0ZWNvbm5lY3Rpb25zL3t9/2022-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutegateways/{}/expressrouteconnections/{} 2022-01-01 -->

#### examples

- Create an ExpressRoute gateway connection.
```bash
network express-route gateway connection create --gateway-name MyGateway -n MyExpressRouteConnection -g MyResourceGroup --peering /subscriptions/MySub/resourceGroups/MyResourceGroup/providers/Microsoft.Network/expressRouteCircuits/MyCircuit/peerings/AzurePrivatePeering --associated-route-table /MySub/resourceGroups/MyResourceGroup/providers/Microsoft.Network/virtualHubs/MyHub/hubRouteTables/MyRouteTable1 --propagated-route-tables [/MySub/resourceGroups/MyResourceGroup/providers/Microsoft.Network/virtualHubs/MyHub/hubRouteTables/MyRouteTable1,/MySub/resourceGroups/MyResourceGroup/providers/Microsoft.Network/virtualHubs/MyHub/hubRouteTables/MyRouteTable2] --labels [label1,label2]
```

- Create an ExpressRoute gateway connection. (autogenerated)
```bash
network express-route gateway connection create --gateway-name MyGateway --name MyExpressRouteConnection --peering /subscriptions/MySub/resourceGroups/MyResourceGroup/provi ders/Microsoft.Network/expressRouteCircuits/MyCircuit/peerings/AzurePrivatePeering --resource-group MyResourceGroup
```
Loading

0 comments on commit 4d5a5fe

Please sign in to comment.