az network private-link-service
Manage private link services.
Commands
Name | Description | Type | Status |
---|---|---|---|
az network private-link-service connection |
Manage private link service endpoint connections. |
Core | GA |
az network private-link-service connection delete |
Delete a private link service endpoint connection. |
Core | GA |
az network private-link-service connection update |
Update a private link service endpoint connection. |
Core | GA |
az network private-link-service connection wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network private-link-service create |
Create a private link service. |
Core | GA |
az network private-link-service delete |
Delete a private link service. |
Core | GA |
az network private-link-service list |
List private link services. |
Core | GA |
az network private-link-service list-auto-approved |
List all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. |
Core | GA |
az network private-link-service show |
Get the details of a private link service. |
Core | GA |
az network private-link-service update |
Update a private link service. |
Core | GA |
az network private-link-service wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network private-link-service create
Create a private link service.
az network private-link-service create --lb-frontend-ip-configs
--name
--resource-group
--subnet
[--auto-approval]
[--edge-zone]
[--enable-proxy-protocol {0, 1, f, false, n, no, t, true, y, yes}]
[--fqdns]
[--lb-name]
[--location]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--private-ip-address]
[--private-ip-address-version {IPv4, IPv6}]
[--private-ip-allocation-method {Dynamic, Static}]
[--tags]
[--visibility]
[--vnet-name]
Examples
Create a private link service
az network private-link-service create -g MyResourceGroup -n MyPLSName --vnet-name MyVnetName --subnet MySubnet --lb-name MyLBName --lb-frontend-ip-configs LoadBalancerFrontEnd -l centralus
Required Parameters
Space-separated list of names or IDs of load balancer frontend IP configurations to link to. If names are used, also supply --lb-name
. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Name of the private link service.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subnet to use. If name provided, also supply --vnet-name
.
Optional Parameters
Space-separated list of subscription IDs to auto-approve. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
The name of edge zone.
Enable proxy protocol for private link service.
Space-separated list of FQDNs. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Name of the load balancer to retrieve frontend IP configs from. Ignored if a frontend IP configuration ID is supplied.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Do not wait for the long-running operation to finish.
Static private IP address to use.
IP version of the private IP address.
Private IP address allocation method.
Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Space-separated list of subscription IDs for which the private link service is visible. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
The virtual network (VNet) name.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az network private-link-service delete
Delete a private link service.
az network private-link-service delete [--ids]
[--name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
Examples
Delete a private link service.
az network private-link-service delete --name MyPrivateLinkService --resource-group MyResourceGroup
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of the private link service.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az network private-link-service list
List private link services.
az network private-link-service list [--max-items]
[--next-token]
[--resource-group]
Examples
List private link services.
az network private-link-service list --resource-group MyResourceGroup
Optional Parameters
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az network private-link-service list-auto-approved
List all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.
az network private-link-service list-auto-approved [--location]
[--max-items]
[--next-token]
[--resource-group]
Examples
List all of the private link service that can be linked to a Private Endpoint with auto approved
az network private-link-service list-auto-approved -l westus
Optional Parameters
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
. When not specified, the location of the resource group will be used.
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az network private-link-service show
Get the details of a private link service.
az network private-link-service show [--expand]
[--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Get the details of a private link service.
az network private-link-service show --name MyPrivateLinkService --resource-group MyResourceGroup
Optional Parameters
Expands referenced resources. Default value is None.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of the private link service.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az network private-link-service update
Update a private link service.
az network private-link-service update [--add]
[--auto-approval]
[--enable-proxy-protocol {0, 1, f, false, n, no, t, true, y, yes}]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--fqdns]
[--ids]
[--lb-frontend-ip-configs]
[--lb-name]
[--name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--remove]
[--resource-group]
[--set]
[--subscription]
[--tags]
[--visibility]
Examples
Update a private link service
az network private-link-service update -g MyResourceGroup -n MyPLSName --visibility SubId1 SubId2 --auto-approval SubId1 SubId2
Optional Parameters
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>
.
Space-separated list of subscription IDs to auto-approve. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Enable proxy protocol for private link service.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Space-separated list of FQDNs. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Space-separated list of names or IDs of load balancer frontend IP configurations to link to. If names are used, also supply --lb-name
. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Name of the load balancer to retrieve frontend IP configs from. Ignored if a frontend IP configuration ID is supplied.
Name of the private link service.
Do not wait for the long-running operation to finish.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Space-separated list of subscription IDs for which the private link service is visible. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az network private-link-service wait
Place the CLI in a waiting state until a condition is met.
az network private-link-service wait [--created]
[--custom]
[--deleted]
[--exists]
[--expand]
[--ids]
[--interval]
[--name]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
Optional Parameters
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
Expands referenced resources. Default value is None.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Polling interval in seconds.
Name of the private link service.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI