你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzKustoCluster
获取 Kusto 群集。
语法
Get-AzKustoCluster
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzKustoCluster
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzKustoCluster
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzKustoCluster
-InputObject <IKustoIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
说明
获取 Kusto 群集。
示例
示例 1:列出资源组中的所有 Kusto 群集
Get-AzKustoCluster -ResourceGroupName testrg
Location Name Type Zone
-------- ---- ---- ----
East US testnewkustocluster Microsoft.Kusto/Clusters
East US testnewkustocluster2 Microsoft.Kusto/Clusters
上述命令列出了资源组“testrg”中的所有 Kusto 群集。
示例 2:按名称获取特定的 Kusto 群集
Get-AzKustoCluster -ResourceGroupName testrg -Name testnewkustocluster
Location Name Type Zone
-------- ---- ---- ----
East US testnewkustocluster Microsoft.Kusto/Clusters
上述命令返回资源组“testrg”中名为“testnewkustocluster”的 Kusto 群集。
参数
-DefaultProfile
DefaultProfile 参数不起作用。 如果对其他订阅执行 cmdlet,请使用 SubscriptionId 参数。
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
要构造的标识参数,请参阅 INPUTOBJECT 属性的 NOTES 部分并创建哈希表。
Type: | IKustoIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Kusto 群集的名称。
Type: | String |
Aliases: | ClusterName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
资源组的名称。 此名称不区分大小写。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
目标订阅的 ID。
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
输入
输出
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈