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
Examples
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 resourceOptions
--idID of the resource--name, -nName of the resource.--resource-group-nameName of resource group.--typeType of the resource.