Udostępnij za pośrednictwem


Get-AzOperationalInsightsCluster

Pobieranie lub wyświetlanie listy klastrów

Składnia

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>]

Opis

Pobieranie lub wyświetlanie listy klastrów, wyświetlanie listy klastrów w grupie zasobów, gdy nie podano parametru "-ClusterName", wyświetl listę klastrów w ramach subskrypcji, gdy nie podano wartości "-ClusterName" i "ResourceGroupName".

Przykłady

Przykład 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							: {}

Pobieranie klastra

Parametry

-ClusterName

Nazwa klastra.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

Poświadczenia, konto, dzierżawa i subskrypcja używane do komunikacji z platformą Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

Nazwa grupy zasobów.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceId

Identyfikator zasobu docelowego. Można to skopiować z wpisu Właściwości zasobu docelowego na platformie Azure.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Dane wejściowe

String

Dane wyjściowe

PSCluster