Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions Commands/network/vnet-gateway/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,3 +175,29 @@ Create a virtual network gateway.
```bash
network vnet-gateway create --gateway-type Vpn --location westus2 --name MyVnetGateway --no-wait --public-ip-addresses myVGPublicIPAddress --resource-group MyResourceGroup --sku Basic --vnet MyVnet --vpn-type PolicyBased
```

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

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

#### examples

- Create a basic virtual network gateway for site-to-site connectivity.
```bash
network vnet-gateway create -g MyResourceGroup -n MyVnetGateway --public-ip-address MyGatewayIp --vnet MyVnet --gateway-type Vpn --sku VpnGw1 --vpn-type RouteBased --no-wait
```

- Create a basic virtual network gateway that provides point-to-site connectivity with a RADIUS secret that matches what is configured on a RADIUS server.
```bash
network vnet-gateway create -g MyResourceGroup -n MyVnetGateway --public-ip-address MyGatewayIp --vnet MyVnet --gateway-type Vpn --sku VpnGw1 --vpn-type RouteBased --address-prefixes 40.1.0.0/24 --client-protocol IkeV2 SSTP --radius-secret 111_aaa --radius-server 30.1.1.15 --vpn-gateway-generation Generation1
```

- Create a basic virtual network gateway with multi authentication
```bash
network vnet-gateway create -g MyResourceGroup -n MyVnetGateway --public-ip-address MyGatewayIp --vnet MyVnet --gateway-type Vpn --sku VpnGw1 --vpn-type RouteBased --address-prefixes 40.1.0.0/24 --client-protocol OpenVPN --radius-secret 111_aaa --radius-server 30.1.1.15 --aad-issuer https://sts.windows.net/00000-000000-00000-0000-000/ --aad-tenant https://login.microsoftonline.com/000 --aad-audience 0000-000 --root-cert-name root-cert --root-cert-data "root-cert.cer" --vpn-auth-type AAD Certificate Radius
```

- Create a virtual network gateway.
```bash
network vnet-gateway create --gateway-type Vpn --location westus2 --name MyVnetGateway --no-wait --public-ip-addresses myVGPublicIPAddress --resource-group MyResourceGroup --sku Basic --vnet MyVnet --vpn-type PolicyBased
```
11 changes: 11 additions & 0 deletions Commands/network/vnet-gateway/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,14 @@ In order to delete a Virtual Network Gateway, you must first delete ALL Connecti
```bash
network vnet-gateway delete -g MyResourceGroup -n MyVnetGateway
```

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

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

#### examples

- Delete a virtual network gateway.
```bash
network vnet-gateway delete -g MyResourceGroup -n MyVnetGateway
```
11 changes: 11 additions & 0 deletions Commands/network/vnet-gateway/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,14 @@ List virtual network gateways.
```bash
network vnet-gateway list -g MyResourceGroup
```

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

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

#### examples

- List virtual network gateways in a resource group.
```bash
network vnet-gateway list -g MyResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/network/vnet-gateway/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,14 @@ Get the details of a virtual network gateway.
```bash
network vnet-gateway show -g MyResourceGroup -n MyVnetGateway
```

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

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

#### examples

- Get the details of a virtual network gateway.
```bash
network vnet-gateway show -g MyResourceGroup -n MyVnetGateway
```
16 changes: 16 additions & 0 deletions Commands/network/vnet-gateway/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,19 @@ Update a virtual network gateway.
```bash
network vnet-gateway update --address-prefixes 40.1.0.0/24 --client-protocol IkeV2 --name MyVnetGateway --resource-group MyResourceGroup
```

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

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

#### examples

- Change the SKU of a virtual network gateway.
```bash
network vnet-gateway update -g MyResourceGroup -n MyVnetGateway --sku VpnGw2
```

- Update a virtual network gateway.
```bash
network vnet-gateway update --address-prefixes 40.1.0.0/24 --client-protocol IkeV2 --name MyVnetGateway --resource-group MyResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/network/vnet-gateway/identity/_assign.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,14 @@ Assign the user or system managed identities.
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30=/2024-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{} 2024-07-01 identity -->

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{} 2025-01-01 identity -->

#### examples

- UpdateVirtualNetworkGateway
```bash
network vnet-gateway identity assign --resource-group rg1 --name vpngw
```
4 changes: 4 additions & 0 deletions Commands/network/vnet-gateway/identity/_remove.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ Remove the user or system managed identities.
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30=/2024-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{} 2024-07-01 identity -->

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{} 2025-01-01 identity -->
4 changes: 4 additions & 0 deletions Commands/network/vnet-gateway/identity/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ Show the details of managed identities.
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30=/2024-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{} 2024-07-01 identity -->

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{} 2025-01-01 identity -->
4 changes: 4 additions & 0 deletions Commands/network/vpn-connection/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ Create a VPN connection.
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Nvbm5lY3Rpb25zL3t9/2024-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/connections/{} 2024-07-01 -->

### [2025-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Nvbm5lY3Rpb25zL3t9/2025-01-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/connections/{} 2025-01-01 -->
11 changes: 11 additions & 0 deletions Commands/network/vpn-connection/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,14 @@ Delete a VPN connection.
```bash
network vpn-connection delete -g MyResourceGroup -n MyConnection
```

### [2025-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Nvbm5lY3Rpb25zL3t9/2025-01-01.xml) **Stable**

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

#### examples

- Delete a VPN connection.
```bash
network vpn-connection delete -g MyResourceGroup -n MyConnection
```
11 changes: 11 additions & 0 deletions Commands/network/vpn-connection/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,14 @@ List all VPN connections.
```bash
network vpn-connection list -g MyResourceGroup
```

### [2025-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Nvbm5lY3Rpb25z/2025-01-01.xml) **Stable**

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

#### examples

- List all VPN connections in a resource group.
```bash
network vpn-connection list -g MyResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/network/vpn-connection/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,14 @@ Get the details of a VPN connection.
```bash
network vpn-connection show -g MyResourceGroup -n MyConnection
```

### [2025-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Nvbm5lY3Rpb25zL3t9/2025-01-01.xml) **Stable**

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

#### examples

- View the details of a VPN connection.
```bash
network vpn-connection show -g MyResourceGroup -n MyConnection
```
16 changes: 16 additions & 0 deletions Commands/network/vpn-connection/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,19 @@ Update a VPN connection.
```bash
network vpn-connection update --name MyConnection --resource-group MyResourceGroup --use-policy-based-traffic-selectors true
```

### [2025-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Nvbm5lY3Rpb25zL3t9/2025-01-01.xml) **Stable**

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

#### examples

- Add BGP to an existing connection.
```bash
network vpn-connection update -g MyResourceGroup -n MyConnection --enable-bgp True
```

- Update a VPN connection.
```bash
network vpn-connection update --name MyConnection --resource-group MyResourceGroup --use-policy-based-traffic-selectors true
```

Large diffs are not rendered by default.

Loading