Get-RubrikNutanixCluster

SYNOPSIS

Connects to Rubrik and retrieves the current Nutanix Clusters

SYNTAX

Query (Default)

Get-RubrikNutanixCluster [[-Name] <String>] [-Hostname <String>] [-PrimaryClusterID <String>]
 [-GetConnectionStatus] [-DetailedObject] [-Server <String>] [-api <String>] [<CommonParameters>]

ID

Get-RubrikNutanixCluster [-Id] <String> [-Hostname <String>] [-PrimaryClusterID <String>]
 [-GetConnectionStatus] [-DetailedObject] [-Server <String>] [-api <String>] [<CommonParameters>]

DESCRIPTION

The Get-RubrikNutanixCluster cmdlet will retrieve the all the Nutanix Cluster settings actively running on the system.

EXAMPLES

EXAMPLE 1

This will return all the Nutanix Clusters and their associated settings currently known to the Rubrik cluster

EXAMPLE 2

This will return all the Nutanix Clusters and their associated settings, including their connection status which are currently known to the Rubrik cluster

EXAMPLE 3

This will return all the Nutanix Clusters named ProductionCluster currently associated with the cluster in which the API is authenticated to

EXAMPLE 4

This will return all the Nutanix Clusters with a hostname of "nutanix.domain.local" currently known to the Rubrik cluster

PARAMETERS

-Id

Nutanix Cluster Id

-Name

Nutanix Cluster Name

-Hostname

Nutanix Cluster hostname

-PrimaryClusterID

Filter the summary information based on the primarycluster_id of the primary Rubrik cluster. Use 'local' as the primary_cluster_id of the Rubrik cluster that is hosting the current REST API session.

-GetConnectionStatus

Should the connection status be retrieved. Retrieving the connection status could adversly affect performance

-DetailedObject

DetailedObject will retrieved the detailed Nutanix clusterobject, the default behavior of the API is to only retrieve a subset of the full Nutanix Cluster object unless we query directly by ID. Using this parameter does affect performance as more data will be retrieved and more API-queries will be performed.

-Server

Rubrik server IP or FQDN

-api

API version

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Written by Mike Preston for community usage Twitter: @mwpreston GitHub: mwpreston

https://rubrik.gitbook.io/rubrik-sdk-for-powershell/command-documentation/reference/get-rubriknutanixcluster

Last updated

Was this helpful?