Skip to content

Commit

Permalink
Merge pull request #600 from Jing-song/jins-exp-cross
Browse files Browse the repository at this point in the history
Migrate `express-route-cross-connection` to AAZ
  • Loading branch information
necusjz authored Oct 25, 2024
2 parents beedcd9 + 289c35d commit d7e719a
Show file tree
Hide file tree
Showing 31 changed files with 5,283 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Commands/network/cross-connection/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network cross-connection create_

Create the specified ExpressRouteCrossConnection.

## Versions

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecrossconnections/{} 2018-04-01 -->
16 changes: 16 additions & 0 deletions Commands/network/cross-connection/_list-arp-tables.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network cross-connection list-arp-tables_

Show the current address resolution protocol (ARP) table of an express route cross connection peering.

## Versions

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecrossconnections/{}/peerings/{}/arptables/{} 2018-04-01 -->

#### examples

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

Show the current routing table of an express route cross connection peering.

## Versions

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

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

#### examples

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

List all express route cross-connections for the current subscription.

## Versions

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

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

#### examples

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

Show the details of an express route cross connection.

## Versions

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

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

#### examples

- Show the details of an express route cross-connection.
```bash
network cross-connection show -n MyCircuit -g MyResourceGroup
```
9 changes: 9 additions & 0 deletions Commands/network/cross-connection/_summarize-route-table.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network cross-connection summarize-route-table_

Show the route table summary associated with the express route cross connection in a resource group.

## Versions

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecrossconnections/{}/peerings/{}/routetablessummary/{} 2018-04-01 -->
9 changes: 9 additions & 0 deletions Commands/network/cross-connection/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network cross-connection update_

Update settings of an express route cross-connection.

## Versions

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecrossconnections/{} 2018-04-01 -->
16 changes: 16 additions & 0 deletions Commands/network/cross-connection/peering/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network cross-connection peering create_

Create peering settings for an express route cross connection.

## Versions

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecrossconnections/{}/peerings/{} 2018-04-01 -->

#### examples

- Create microsoft peering settings with IPv4 configuration.
```bash
network cross-connection peering create -g MyResourceGroup --cross-connection-name MyCircuit --peering-type MicrosoftPeering --peer-asn 10002 --vlan-id 103 --primary-peer-subnet 101.0.0.0/30 --secondary-peer-subnet 102.0.0.0/30 --advertised-public-prefixes 101.0.0.0/30
```
16 changes: 16 additions & 0 deletions Commands/network/cross-connection/peering/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network cross-connection peering delete_

Delete peering settings.

## Versions

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecrossconnections/{}/peerings/{} 2018-04-01 -->

#### examples

- Delete private peering.
```bash
network cross-connection peering delete -g MyResourceGroup --cross-connection-name MyCircuit -n AzurePrivatePeering
```
16 changes: 16 additions & 0 deletions Commands/network/cross-connection/peering/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network cross-connection peering list_

List peering settings of an express route cross connection.

## Versions

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecrossconnections/{}/peerings 2018-04-01 -->

#### examples

- List peering settings of an express route cross-connection.
```bash
network cross-connection peering list -g MyResourceGroup --cross-connection-name MyCircuit
```
16 changes: 16 additions & 0 deletions Commands/network/cross-connection/peering/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network cross-connection peering show_

Show the details of an express route peering.

## Versions

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecrossconnections/{}/peerings/{} 2018-04-01 -->

#### examples

- Show private peering details of an express route cross-connection.
```bash
network cross-connection peering show -g MyResourceGroup --cross-connection-name MyCircuit -n AzurePrivatePeering
```
9 changes: 9 additions & 0 deletions Commands/network/cross-connection/peering/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network cross-connection peering update_

Update peering settings for an express route cross connection.

## Versions

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressroutecrossconnections/{}/peerings/{} 2018-04-01 -->
20 changes: 20 additions & 0 deletions Commands/network/cross-connection/peering/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _network cross-connection peering_

Manage express route cross connection peering

## Commands

- [create](/Commands/network/cross-connection/peering/_create.md)
: Create peering settings for an express route cross connection.

- [delete](/Commands/network/cross-connection/peering/_delete.md)
: Delete peering settings.

- [list](/Commands/network/cross-connection/peering/_list.md)
: List peering settings of an express route cross connection.

- [show](/Commands/network/cross-connection/peering/_show.md)
: Show the details of an express route peering.

- [update](/Commands/network/cross-connection/peering/_update.md)
: Update peering settings for an express route cross connection.
31 changes: 31 additions & 0 deletions Commands/network/cross-connection/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# [Group] _network cross-connection_

Manage express route cross connection

## Subgroups

- [peering](/Commands/network/cross-connection/peering/readme.md)
: Manage express route cross connection peering

## Commands

- [create](/Commands/network/cross-connection/_create.md)
: Create the specified ExpressRouteCrossConnection.

- [list](/Commands/network/cross-connection/_list.md)
: List all express route cross-connections for the current subscription.

- [list-arp-tables](/Commands/network/cross-connection/_list-arp-tables.md)
: Show the current address resolution protocol (ARP) table of an express route cross connection peering.

- [list-route-tables](/Commands/network/cross-connection/_list-route-tables.md)
: Show the current routing table of an express route cross connection peering.

- [show](/Commands/network/cross-connection/_show.md)
: Show the details of an express route cross connection.

- [summarize-route-table](/Commands/network/cross-connection/_summarize-route-table.md)
: Show the route table summary associated with the express route cross connection in a resource group.

- [update](/Commands/network/cross-connection/_update.md)
: Update settings of an express route cross-connection.
3 changes: 3 additions & 0 deletions Commands/network/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ Manage Azure Network resources.
- [bastion](/Commands/network/bastion/readme.md)
: Manage Azure Bastion host machines.

- [cross-connection](/Commands/network/cross-connection/readme.md)
: Manage express route cross connection

- [custom-ip](/Commands/network/custom-ip/readme.md)
: Manage custom IP.

Expand Down
Loading

0 comments on commit d7e719a

Please sign in to comment.