az network private-link-service connection

Manage private link service endpoint connections.

Commands

az network private-link-service connection delete

Delete a private link service endpoint connection.

az network private-link-service connection update

Update a private link service endpoint connection.

Delete a private link service endpoint connection.

az network private-link-service connection delete --name
                                                  --resource-group
                                                  --service-name
                                                  [--subscription]

Delete a private link service endpoint connection. (autogenerated)

az network private-link-service connection delete --name MyPrivateEndpointConnection --resource-group MyResourceGroup --service-name MyService
--name -n

Name of the private endpoint connection. List them by using "az network private-link-service show".

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service-name

Name of the private link service.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

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.

az network private-link-service connection update --connection-status {Approved, Rejected, Removed}
                                                  --name
                                                  --resource-group
                                                  --service-name
                                                  [--action-required]
                                                  [--description]
                                                  [--subscription]

Update the endpoint connections status of private link service

az network private-link-service connection update -g MyResourceGroup -n MyEndpointName.f072a430-2d82-4470-ab30-d23fcfee58d1 --service-name MyPLSName --connection-status Rejected
--connection-status

Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

accepted values: Approved, Rejected, Removed
--name -n

Name of the private endpoint connection. List them by using "az network private-link-service show".

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service-name

Name of the private link service.

--action-required

A message indicating if changes on the service provider require any updates on the consumer.

--description

The reason for approval/rejection of the connection.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.