你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzOperationalInsightsCluster
获取或列出群集
语法
Get-AzOperationalInsightsCluster
[-ResourceGroupName <String>]
[-ClusterName <String>]
[-ResourceId <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzOperationalInsightsCluster
-ResourceGroupName <String>
-ClusterName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzOperationalInsightsCluster
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
说明
获取或列出群集、未提供“-ClusterName”时列出资源组下的群集、未提供“-ClusterName”和“ResourceGroupName”时在订阅下列出群集。
示例
示例 1
Get-AzOperationalInsightsCluster -ResourceGroupName "rg-name" -ClusterName "cluster-name"
Identity : Microsoft.Azure.Commands.OperationalInsights.Models.PSIdentity
Sku : Microsoft.Azure.Commands.OperationalInsights.Models.PSClusterSku
ClusterId : {cluster-id}
ProvisioningState : Succeeded
IsDoubleEncryptionEnabled : True
IsAvailabilityZonesEnabled : False
BillingType : Cluster
KeyVaultProperties : Microsoft.Azure.Commands.OperationalInsights.Models.PSKeyVaultProperties
LastModifiedDate : Wed, 26 May 2021 15:19:38 GMT
CreatedDate : Sun, 27 Dec 2020 11:17:11 GMT
AssociatedWorkspaces : {workspaces}
CapacityReservationProperties : Microsoft.Azure.Management.OperationalInsights.Models.CapacityReservationProperties
Location : South Central US
Id : /subscriptions/{subscription}/resourceGroups/{rg-name}/providers/Microsoft.OperationalInsights/clusters/{cluster-name}
Name : {cluster-name}
Type : Microsoft.OperationalInsights/clusters
Tags : {}
获取群集
参数
-ClusterName
群集名称。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
用于与 Azure 通信的凭据、帐户、租户和订阅。
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
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 |
-ResourceId
目标资源 ID。 这可以从 Azure 中目标资源的“属性”条目复制。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
输入
输出
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈