Skip to content

Commit

Permalink
Merge pull request Azure#80 from ZengTaoxu/private-link
Browse files Browse the repository at this point in the history
Add command model for `az network private-link-service`
  • Loading branch information
necusjz authored Jan 17, 2023
2 parents cd63f8d + a3c9177 commit 8412c71
Show file tree
Hide file tree
Showing 23 changed files with 51,720 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Commands/network/private-link-service/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network private-link-service create_

Create a private link service.

## Versions

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/privatelinkservices/{} 2022-01-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
```
16 changes: 16 additions & 0 deletions Commands/network/private-link-service/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network private-link-service delete_

Delete a private link service.

## Versions

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

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

#### examples

- Delete a private link service.
```bash
network private-link-service delete --name MyPrivateLinkService --resource-group MyResourceGroup
```
17 changes: 17 additions & 0 deletions Commands/network/private-link-service/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# [Command] _network private-link-service list_

List private link services.

## Versions

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

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

#### examples

- List private link services.
```bash
network private-link-service list --resource-group MyResourceGroup
```
16 changes: 16 additions & 0 deletions Commands/network/private-link-service/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network private-link-service show_

Get the details of a private link service.

## Versions

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

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

#### examples

- Get the details of a private link service.
```bash
network private-link-service show --name MyPrivateLinkService --resource-group MyResourceGroup
```
16 changes: 16 additions & 0 deletions Commands/network/private-link-service/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network private-link-service update_

Update a private link service.

## Versions

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

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

#### examples

- Update a private link service
```bash
network private-link-service update -g MyResourceGroup -n MyPLSName --visibility SubId1 SubId2 --auto-approval SubId1 SubId2
```
9 changes: 9 additions & 0 deletions Commands/network/private-link-service/connection/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network private-link-service connection create_

Create private end point connection for a private link service in a subscription.

## Versions

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/privatelinkservices/{}/privateendpointconnections/{} 2022-01-01 -->
16 changes: 16 additions & 0 deletions Commands/network/private-link-service/connection/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network private-link-service connection delete_

Delete a private link service endpoint connection.

## Versions

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

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

#### examples

- Delete a private link service endpoint connection.
```bash
network private-link-service connection delete --name MyPrivateEndpointConnection --resource-group MyResourceGroup --service-name MyService
```
9 changes: 9 additions & 0 deletions Commands/network/private-link-service/connection/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network private-link-service connection list_

List all private end point connections for a specific private link service.

## Versions

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/privatelinkservices/{}/privateendpointconnections 2022-01-01 -->
9 changes: 9 additions & 0 deletions Commands/network/private-link-service/connection/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network private-link-service connection show_

Get the specific private end point connection by specific private link service in the resource group.

## Versions

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/privatelinkservices/{}/privateendpointconnections/{} 2022-01-01 -->
18 changes: 18 additions & 0 deletions Commands/network/private-link-service/connection/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# [Command] _network private-link-service connection update_

Update a private link service endpoint connection.

To update the connection status, the name of the connection should be provided. Please obtain this name by running 'az network private-link-service show -g MyResourceGroup -n MyPLSName'. The connection name is under the 'privateEndpointConnections' filed.

## Versions

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

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

#### examples

- Update the endpoint connections status of private link service
```bash
network private-link-service connection update -g MyResourceGroup -n MyEndpointName.f072a430-2d82-4470-ab30-d23fcfee58d1 --service-name MyPLSName --connection-status Rejected
```
20 changes: 20 additions & 0 deletions Commands/network/private-link-service/connection/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _network private-link-service connection_

Manage private link service endpoint connections.

## Commands

- [create](/Commands/network/private-link-service/connection/_create.md)
: Create private end point connection for a private link service in a subscription.

- [delete](/Commands/network/private-link-service/connection/_delete.md)
: Delete a private link service endpoint connection.

- [list](/Commands/network/private-link-service/connection/_list.md)
: List all private end point connections for a specific private link service.

- [show](/Commands/network/private-link-service/connection/_show.md)
: Get the specific private end point connection by specific private link service in the resource group.

- [update](/Commands/network/private-link-service/connection/_update.md)
: Update a private link service endpoint connection.
25 changes: 25 additions & 0 deletions Commands/network/private-link-service/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# [Group] _network private-link-service_

Manage private link services.

## Subgroups

- [connection](/Commands/network/private-link-service/connection/readme.md)
: Manage private link service endpoint connections.

## Commands

- [create](/Commands/network/private-link-service/_create.md)
: Create a private link service.

- [delete](/Commands/network/private-link-service/_delete.md)
: Delete a private link service.

- [list](/Commands/network/private-link-service/_list.md)
: List private link services.

- [show](/Commands/network/private-link-service/_show.md)
: Get the details of a private link service.

- [update](/Commands/network/private-link-service/_update.md)
: Update a private link service.
3 changes: 3 additions & 0 deletions Commands/network/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ Manage Azure Network resources.
- [private-endpoint](/Commands/network/private-endpoint/readme.md)
: Manage private endpoints.

- [private-link-service](/Commands/network/private-link-service/readme.md)
: Manage private link services.

- [profile](/Commands/network/profile/readme.md)
: Manage network profiles.

Expand Down
Loading

0 comments on commit 8412c71

Please sign in to comment.