CmdID

CmdID / az / az network / az network private-link-resource

az network private-link-resource list

List all private link resources. Azure CLI reference

3 examples 4 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

List all private link resources for a storage account.

az network private-link-resource list -g MyResourceGroup -n MySA --type Microsoft.Storage/storageAccountsIdentify
-gName of resource group.
-nName of the resource.
--typeType of the resource.

List all private link resources for a keyvault.

az network private-link-resource list -g MyResourceGroup -n MyKV --type Microsoft.Keyvault/vaultsIdentify
-gName of resource group.
-nName of the resource.
--typeType of the resource.

List all private link resources for an ACR.

az network private-link-resource list --id /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerRegistry/registries/testreg000002Identify
--idID of the resource

Options

4 in the Azure CLI reference
--idID of the resource
--name, -nName of the resource.
--resource-group-nameName of resource group.
--typeType of the resource.