az network private-link-resource

管理私人連結資源。

命令

az network private-link-resource list

列出所有私人連結資源。

列出所有私人連結資源。

az network private-link-resource list [--id]
                                      [--name]
                                      [--resource-group]
                                      [--type {Microsoft.ApiManagement/service, Microsoft.AppConfiguration/configurationStores, Microsoft.Authorization/resourceManagementPrivateLinks, Microsoft.Automation/automationAccounts, Microsoft.Batch/batchAccounts, Microsoft.BotService/botServices, Microsoft.Cache/Redis, Microsoft.CognitiveServices/accounts, Microsoft.Compute/diskAccesses, Microsoft.ContainerRegistry/registries, Microsoft.DBforMariaDB/servers, Microsoft.DBforMySQL/servers, Microsoft.DBforPostgreSQL/servers, Microsoft.Dashboard/grafana, Microsoft.DataFactory/factories, Microsoft.Databricks/workspaces, Microsoft.DeviceUpdate/accounts, Microsoft.Devices/IotHubs, Microsoft.DigitalTwins/digitalTwinsInstances, Microsoft.DocumentDB/databaseAccounts, Microsoft.EventGrid/domains, Microsoft.EventGrid/topics, Microsoft.EventHub/namespaces, Microsoft.HDInsight/clusters, Microsoft.HealthcareApis/services, Microsoft.HybridCompute/privateLinkScopes, Microsoft.KeyVault/managedHSMs, Microsoft.Keyvault/vaults, Microsoft.KubernetesConfiguration/privateLinkScopes, Microsoft.Kusto/clusters, Microsoft.MachineLearningServices/workspaces, Microsoft.Media/mediaservices, Microsoft.Network/applicationGateways, Microsoft.Network/privateLinkServices, Microsoft.OpenEnergyPlatform/energyServices, Microsoft.PowerBI/privateLinkServicesForPowerBI, Microsoft.Purview/accounts, Microsoft.RecoveryServices/vaults, Microsoft.Search/searchServices, Microsoft.ServiceBus/namespaces, Microsoft.SignalRService/WebPubSub, Microsoft.SignalRService/signalr, Microsoft.Sql/servers, Microsoft.Storage/storageAccounts, Microsoft.StorageSync/storageSyncServices, Microsoft.Synapse/workspaces, Microsoft.Web/hostingEnvironments, Microsoft.Web/sites, microsoft.insights/privateLinkScopes}]

列出儲存體帳戶的所有私人連結資源。

az network private-link-resource list -g MyResourceGroup -n MySA --type Microsoft.Storage/storageAccounts

列出 keyvault 的所有私人連結資源。

az network private-link-resource list -g MyResourceGroup -n MyKV --type Microsoft.Keyvault/vaults

列出 ACR 的所有私人連結資源。

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

資源的識別碼。

--name -n

資源名稱。 如果提供,也必須提供 --type 和 --resource-group。

--resource-group -g

資源群組的名稱。 如果提供,也必須提供 --name 和 --type。

--type

資源類型。 如果提供,也必須提供 --name 和 --resource-group。

接受的值: Microsoft.ApiManagement/service, Microsoft.AppConfiguration/configurationStores, Microsoft.Authorization/resourceManagementPrivateLinks, Microsoft.Automation/automationAccounts, Microsoft.Batch/batchAccounts, Microsoft.BotService/botServices, Microsoft.Cache/Redis, Microsoft.CognitiveServices/accounts, Microsoft.Compute/diskAccesses, Microsoft.ContainerRegistry/registries, Microsoft.DBforMariaDB/servers, Microsoft.DBforMySQL/servers, Microsoft.DBforPostgreSQL/servers, Microsoft.Dashboard/grafana, Microsoft.DataFactory/factories, Microsoft.Databricks/workspaces, Microsoft.DeviceUpdate/accounts, Microsoft.Devices/IotHubs, Microsoft.DigitalTwins/digitalTwinsInstances, Microsoft.DocumentDB/databaseAccounts, Microsoft.EventGrid/domains, Microsoft.EventGrid/topics, Microsoft.EventHub/namespaces, Microsoft.HDInsight/clusters, Microsoft.HealthcareApis/services, Microsoft.HybridCompute/privateLinkScopes, Microsoft.KeyVault/managedHSMs, Microsoft.Keyvault/vaults, Microsoft.KubernetesConfiguration/privateLinkScopes, Microsoft.Kusto/clusters, Microsoft.MachineLearningServices/workspaces, Microsoft.Media/mediaservices, Microsoft.Network/applicationGateways, Microsoft.Network/privateLinkServices, Microsoft.OpenEnergyPlatform/energyServices, Microsoft.PowerBI/privateLinkServicesForPowerBI, Microsoft.Purview/accounts, Microsoft.RecoveryServices/vaults, Microsoft.Search/searchServices, Microsoft.ServiceBus/namespaces, Microsoft.SignalRService/WebPubSub, Microsoft.SignalRService/signalr, Microsoft.Sql/servers, Microsoft.Storage/storageAccounts, Microsoft.StorageSync/storageSyncServices, Microsoft.Synapse/workspaces, Microsoft.Web/hostingEnvironments, Microsoft.Web/sites, microsoft.insights/privateLinkScopes