Get-AzKustoPrivateLinkResource
取得私人鏈接資源。
語法
Get-AzKustoPrivateLinkResource
-ClusterName <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzKustoPrivateLinkResource
-ClusterName <String>
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzKustoPrivateLinkResource
-InputObject <IKustoIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
取得私人鏈接資源。
範例
範例 1:列出叢集中的所有 PrivateLinkResource
Get-AzKustoPrivateLinkResource -ClusterName "mycluster" -ResourceGroupName "testrg"
Name Type
---- ----
mycluster/cluster Microsoft.Kusto/Clusters/PrivateLinkResources
上述命令會傳回資源群組 「testrg」 中找到的叢集中 「mycluster」 中的所有 PrivateLinkResource。
範例 2:依名稱取得特定的 PrivateLinkResource
Get-AzKustoPrivateLinkResource -ClusterName "mycluster" -ResourceGroupName "testrg" -Name "ManagedPrivateEndpointName"
Name Type
---- ----
mycluster/cluster Microsoft.Kusto/Clusters/PrivateLinkResources
上述命令會在資源群組 「testrg」 中找到的叢集 「mycluster」 中傳回名為 「mycluster/cluster」 的 PrivateLinkResource。
參數
-ClusterName
Kusto 叢集的名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-DefaultProfile
DefaultProfile 參數無法運作。 如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。
類型: | PSObject |
別名: | AzureRMContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
類型: | IKustoIdentity |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-Name
私人鏈接資源的名稱。
類型: | String |
別名: | PrivateLinkResourceName |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceGroupName
資源群組的名稱。 名稱不區分大小寫。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-SubscriptionId
目標訂用帳戶的標識碼。
類型: | String[] |
Position: | Named |
預設值: | (Get-AzContext).Subscription.Id |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |