forked from Azure/azure-cli-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Azure#80 from ZengTaoxu/private-link
Add command model for `az network private-link-service`
- Loading branch information
Showing
23 changed files
with
51,720 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
16
Commands/network/private-link-service/connection/_delete.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
18
Commands/network/private-link-service/connection/_update.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
20
Commands/network/private-link-service/connection/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.