Get-RubrikVApp

SYNOPSIS

Connects to Rubrik and retrieves the current Rubrik vCD vApp settings

SYNTAX

Query (Default)

Get-RubrikVApp [[-Name] <String>] [-Relic] [-DetailedObject] [-SLA <String>] [-SLAAssignment <String>]
 [-PrimaryClusterID <String>] [-SLAID <String>] [-SourceObjectId <String>] [-SourceObjectName <String>]
 [-vcdClusterId <String>] [-vcdClusterName <String>] [-Server <String>] [-api <String>] [<CommonParameters>]

ID

Get-RubrikVApp [-id] <String> [-SourceObjectId <String>] [-SourceObjectName <String>] [-vcdClusterId <String>]
 [-vcdClusterName <String>] [-Server <String>] [-api <String>] [<CommonParameters>]

DESCRIPTION

The Get-RubrikVApp cmdlet retrieves all the vCD vApp settings actively running on the system. This requires authentication with your Rubrik cluster.

EXAMPLES

EXAMPLE 1

This returns details on all vCD vApps that are currently or formerly protected by Rubrik.

EXAMPLE 2

This returns details on all vCD vApps named "vApp01".

EXAMPLE 3

This returns details on all vCD vApps named "Server1" that are protected by the Gold SLA Domain.

EXAMPLE 4

This returns all removed vCD vApps that were formerly protected by Rubrik.

EXAMPLE 5

This returns all vCD vApps that are currently protected by Rubrik.

EXAMPLE 6

This returns details on all vCD vApps with the Source Object ID "VcdVapp:::01234567-8910-1abc-d435-0abc1234d567"

EXAMPLE 7

This returns details on all vCD vApps on the vCD Cluster with id "Vcd:::01234567-8910-1abc-d435-0abc1234d567"

PARAMETERS

-Name

Name of the vCD vApp

-id

vCD vApp id

-Relic

Filter results to include only relic (removed) vCD vApps

-DetailedObject

DetailedObject will retrieved the detailed vApp object, the default behavior of the API is to only retrieve a subset of the full vApp 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.

-SLA

SLA Domain policy assigned to the vCD vApp

-SLAAssignment

Filter by SLA Domain assignment type

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

-SLAID

SLA id value

-SourceObjectId

ID of Source Object in terms of vCD Hierarchy

-SourceObjectName

Name of Source Object in terms of vCD Hierarchy

-vcdClusterId

ID of vCD Cluster

-vcdClusterName

Name of vCD Cluster

-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 Matt Elliott for community usage Twitter: @NetworkBrouhaha GitHub: shamsway

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

Last updated

Was this helpful?