Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{Network} Security - PL64k from NRP #548

Merged
merged 1 commit into from
Aug 23, 2024
Merged
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
11 changes: 11 additions & 0 deletions Commands/network/private-link-service/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Create a private link service.
```bash
network private-link-service create -g MyResourceGroup -n MyPLSName --vnet-name MyVnetName --subnet MySubnet --lb-name MyLBName --lb-frontend-ip-configs LoadBalancerFrontEnd -l centralus
```

### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ByaXZhdGVsaW5rc2VydmljZXMve30=/2024-03-01.xml) **Stable**

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

#### examples

- Create a private link service
```bash
network private-link-service create -g MyResourceGroup -n MyPLSName --vnet-name MyVnetName --subnet MySubnet --lb-name MyLBName --lb-frontend-ip-configs LoadBalancerFrontEnd -l centralus
```
11 changes: 11 additions & 0 deletions Commands/network/private-link-service/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Delete a private link service.
```bash
network private-link-service delete --name MyPrivateLinkService --resource-group MyResourceGroup
```

### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ByaXZhdGVsaW5rc2VydmljZXMve30=/2024-03-01.xml) **Stable**

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

#### examples

- Delete a private link service.
```bash
network private-link-service delete --name MyPrivateLinkService --resource-group MyResourceGroup
```
12 changes: 12 additions & 0 deletions Commands/network/private-link-service/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,15 @@ List private link services.
```bash
network private-link-service list --resource-group MyResourceGroup
```

### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ByaXZhdGVsaW5rc2VydmljZXM=/2024-03-01.xml) **Stable**

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

#### examples

- List private link services.
```bash
network private-link-service list --resource-group MyResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/network/private-link-service/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Get the details of a private link service.
```bash
network private-link-service show --name MyPrivateLinkService --resource-group MyResourceGroup
```

### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ByaXZhdGVsaW5rc2VydmljZXMve30=/2024-03-01.xml) **Stable**

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

#### examples

- Get the details of a private link service.
```bash
network private-link-service show --name MyPrivateLinkService --resource-group MyResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/network/private-link-service/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Update a private link service.
```bash
network private-link-service update -g MyResourceGroup -n MyPLSName --visibility SubId1 SubId2 --auto-approval SubId1 SubId2
```

### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ByaXZhdGVsaW5rc2VydmljZXMve30=/2024-03-01.xml) **Stable**

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

#### examples

- Update a private link service
```bash
network private-link-service update -g MyResourceGroup -n MyPLSName --visibility SubId1 SubId2 --auto-approval SubId1 SubId2
```
16 changes: 16 additions & 0 deletions Commands/network/vnet/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,19 @@ You may also create a subnet at the same time by specifying a subnet name and (o
```bash
network vnet create --address-prefixes 10.0.0.0/16 --name MyVirtualNetwork --resource-group MyResourceGroup --subnet-name MyAseSubnet --subnet-prefixes 10.0.0.0/24
```

### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fQ==/2024-03-01.xml) **Stable**

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

#### examples

- Create a virtual network with a specific address prefix and one subnet.
```bash
network vnet create -g MyResourceGroup -n MyVnet --address-prefix 10.0.0.0/16 --subnet-name MySubnet --subnet-prefixes 10.0.0.0/24
```

- Create a virtual network.
```bash
network vnet create --address-prefixes 10.0.0.0/16 --name MyVirtualNetwork --resource-group MyResourceGroup --subnet-name MyAseSubnet --subnet-prefixes 10.0.0.0/24
```
11 changes: 11 additions & 0 deletions Commands/network/vnet/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,14 @@ Delete a virtual network.
```bash
network vnet delete -g MyResourceGroup -n myVNet
```

### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fQ==/2024-03-01.xml) **Stable**

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

#### examples

- Delete a virtual network.
```bash
network vnet delete -g MyResourceGroup -n myVNet
```
22 changes: 22 additions & 0 deletions Commands/network/vnet/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,25 @@ List virtual networks.
```bash
network vnet list --query "[?contains(addressSpace.addressPrefixes, '10.0.0.0/16')]"
```

### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcw==/2024-03-01.xml) **Stable**

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

#### examples

- List all virtual networks in a subscription.
```bash
network vnet list
```

- List all virtual networks in a resource group.
```bash
network vnet list -g MyResourceGroup
```

- List virtual networks in a subscription which specify a certain address prefix.
```bash
network vnet list --query "[?contains(addressSpace.addressPrefixes, '10.0.0.0/16')]"
```
11 changes: 11 additions & 0 deletions Commands/network/vnet/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,14 @@ Get the details of a virtual network.
```bash
network vnet show -g MyResourceGroup -n MyVNet
```

### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fQ==/2024-03-01.xml) **Stable**

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

#### examples

- Get details for MyVNet.
```bash
network vnet show -g MyResourceGroup -n MyVNet
```
21 changes: 21 additions & 0 deletions Commands/network/vnet/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,24 @@ Update a virtual network.
```bash
network vnet update -g MyResourceGroup -n MyVNet --dns-servers null
```

### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fQ==/2024-03-01.xml) **Stable**

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

#### examples

- Update a virtual network with the IP address of a DNS server.
```bash
network vnet update -g MyResourceGroup -n MyVNet --dns-servers 10.2.0.8
```

- Update a virtual network.
```bash
network vnet update --address-prefixes 40.1.0.0/24 --name MyVNet --resource-group MyResourceGroup
```

- Update a virtual network to delete DNS server.
```bash
network vnet update -g MyResourceGroup -n MyVNet --dns-servers null
```
Loading
Loading