Skip to content

Commit 7513c64

Browse files
authored
Merge pull request #744 from rubrikinc/jaap-53docs
Merge updated documentation into `devel` for 5.3 release
2 parents 0037b64 + b413142 commit 7513c64

23 files changed

+2300
-251
lines changed

CHANGELOG.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1414
* **Fixed** for any bug fixes.
1515
* **Security** in case of vulnerabilities.
1616

17-
## Unreleased
18-
19-
### Changed
20-
21-
### Added
22-
23-
### Fixed
24-
25-
## [5.3.0]() - 2021-04-08
17+
## [5.3.0]() - 2021-04-09
2618

2719
### Changed
2820

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018 Rubrik, Inc
3+
Copyright (c) 2021 Rubrik, Inc
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Rubrik/Public/Get-RubrikDebugInfo.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ function Get-RubrikDebugInfo
5656
$HashProps.RubrikInstalledModule = ((Get-Module -Name Rubrik -ListAvailable) | ForEach-Object {if ($_.PrivateData.PSData.Prerelease -ne $null) {'{0}-{1}' -f $_.Version,$_.PrivateData.PSData.Prerelease} else {$_.version}}) -join ', '
5757

5858
# Add configured module options and default parameters
59-
$HashProps.RubrikModuleOptions = Get-RubrikModuleOption
60-
$HashProps.RubrikModuleDefaultParameters = Get-RubrikModuleDefaultParameter
59+
$HashProps.RubrikModuleOptions = (($Opt = Get-RubrikModuleOption).psobject.properties.name.foreach{"$_ = $($Opt.$_)"}) -join '; '
60+
$HashProps.RubrikModuleDefaultParameters = (($Par = Get-RubrikModuleDefaultParameter).psobject.properties.name.foreach{"$_ = $($Par.$_)"}) -join '; '
6161

6262
# Output as object
6363
return [pscustomobject]$HashProps

Rubrik/Rubrik.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
CompanyName = 'Rubrik'
2727

2828
# Copyright statement for this module
29-
Copyright = '(c) 2015-2020 Rubrik, Inc. All rights reserved.'
29+
Copyright = '(c) 2015-2021 Rubrik, Inc. All rights reserved.'
3030

3131
# Description of the functionality provided by this module
3232
Description = "This is a community project that provides a PowerShell module for managing and monitoring Rubrik's Cloud Data Management platform."

Rubrik/en-US/Rubrik-help.xml

Lines changed: 1511 additions & 128 deletions
Large diffs are not rendered by default.

docs/SUMMARY.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
* [Get-RubrikDatabaseMount](command-documentation/reference/get-rubrikdatabasemount.md)
4141
* [Get-RubrikDatabaseRecoverableRange](command-documentation/reference/get-rubrikdatabaserecoverablerange.md)
4242
* [Get-RubrikDatabaseRecoveryPoint](command-documentation/reference/get-rubrikdatabaserecoverypoint.md)
43+
* [Get-RubrikDebugInfo](command-documentation/reference/get-rubrikdebuginfo.md)
4344
* [Get-RubrikDNSSetting](command-documentation/reference/get-rubrikdnssetting.md)
4445
* [Get-RubrikDownloadLink](command-documentation/reference/get-rubrikdownloadlink.md)
4546
* [Get-RubrikEmailSetting](command-documentation/reference/get-rubrikemailsetting.md)
@@ -215,6 +216,7 @@
215216
* [Suspend-RubrikSLA](command-documentation/reference/suspend-rubriksla.md)
216217
* [Sync-RubrikAnnotation](command-documentation/reference/sync-rubrikannotation.md)
217218
* [Sync-RubrikTag](command-documentation/reference/sync-rubriktag.md)
219+
* [Test-RubrikSnapshotVerification](command-documentation/reference/test-rubriksnapshotverification.md)
218220
* [Update-RubrikHost](command-documentation/reference/update-rubrikhost.md)
219221
* [Update-RubrikNutanixCluster](command-documentation/reference/update-rubriknutanixcluster.md)
220222
* [Update-RubrikVCD](command-documentation/reference/update-rubrikvcd.md)
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
external help file: Rubrik-help.xml
3+
Module Name: Rubrik
4+
online version: https://rubrik.gitbook.io/rubrik-sdk-for-powershell/command-documentation/reference/get-rubrikdebuginfo
5+
schema: 2.0.0
6+
---
7+
8+
# Get-RubrikDebugInfo
9+
10+
## SYNOPSIS
11+
Displays information about the Rubrik module and the PowerShell
12+
13+
## SYNTAX
14+
15+
```
16+
Get-RubrikDebugInfo [<CommonParameters>]
17+
```
18+
19+
## DESCRIPTION
20+
The Get-RubrikDebugInfo cmdlet will retrieve the version of code that is actively running on the system.
21+
It will gather essential information that can be used for quickly troubleshooting issues
22+
23+
## EXAMPLES
24+
25+
### EXAMPLE 1
26+
```
27+
Get-RubrikDebugInfo
28+
```
29+
30+
This will return information about the PowerShell version, the PowerShell client or console, and both the Rubrik cluster and Rubrik PowerShell module version numbers
31+
32+
## PARAMETERS
33+
34+
### CommonParameters
35+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
36+
37+
## INPUTS
38+
39+
## OUTPUTS
40+
41+
## NOTES
42+
Written by Jaap Brasser for community usage
43+
Twitter: @jaap_brasser
44+
GitHub: JaapBrasser
45+
46+
## RELATED LINKS
47+
48+
[https://rubrik.gitbook.io/rubrik-sdk-for-powershell/command-documentation/reference/get-rubrikdebuginfo](https://rubrik.gitbook.io/rubrik-sdk-for-powershell/command-documentation/reference/get-rubrikdebuginfo)
49+

docs/command-documentation/reference/get-rubrikevent.md

Lines changed: 55 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ Retrieve information for events that match the value specified in any of the fol
1414

1515
### eventByID
1616
```
17-
Get-RubrikEvent [-Limit <Int32>] [-AfterId <String>] [-Status <String>] [-EventType <String>]
18-
[-ExcludeEventType <String[]>] [-id <Array>] [-ObjectName <String>] [-BeforeDate <DateTime>]
19-
[-AfterDate <DateTime>] [-ObjectType <String>] [-ExcludeObjectType <String[]>] [-ShowOnlyLatest]
20-
[-FilterOnlyOnLatest] [-IncludeEventSeries] [-Server <String>] [-api <String>] [<CommonParameters>]
17+
Get-RubrikEvent [-Limit <Int32>] [-AfterId <String>] [-Status <String>] [-EventSeriesStatus <String>]
18+
[-EventType <String>] [-ExcludeEventType <String[]>] [-id <String[]>] [-ObjectName <String>]
19+
[-BeforeDate <DateTime>] [-AfterDate <DateTime>] [-ObjectType <String>] [-ExcludeObjectType <String[]>]
20+
[-Descending] [-IncludeEventSeries] [-Server <String>] [-api <String>] [<CommonParameters>]
2121
```
2222

2323
### EventSeries
@@ -99,6 +99,34 @@ Get-RubrikEvent -Limit 25 -EventType Archive -ExcludeObjectType AggregateAhvVm,M
9999
This will retrieve all Archive events while excluding events of the AggregateAhvVm & Mssql object types while displaying verbose messages.
100100
This will potentially display less than 25 objects, as filtering happens after receiving the objects from the endpoint
101101

102+
### EXAMPLE 10
103+
```
104+
Get-RubrikDatabase | ForEach-Object {Get-RubrikEvent -Limit 1 -Verbose -id $_.ID}
105+
```
106+
107+
This will retrieve the last event for each of the SQL databases protected by Rubrik identifying the database by its object_id while displaying Verbose information
108+
109+
### EXAMPLE 11
110+
```
111+
Get-RubrikEvent -Limit 1 -Descending:$false
112+
```
113+
114+
Will retrieve the oldest event on the Rubrik Cluster
115+
116+
### EXAMPLE 12
117+
```
118+
Get-RubrikEvent -Limit 1 -Descending:$false -EventType Backup
119+
```
120+
121+
Will retrieve the oldest backup event on the Rubrik Cluster
122+
123+
### EXAMPLE 13
124+
```
125+
Get-RubrikEvent -Status Failure -EventSeriesStatus Success
126+
```
127+
128+
Will retrieve the first 50 Events which have event_status failed and event_series_status Success
129+
102130
## PARAMETERS
103131

104132
### -Limit
@@ -147,13 +175,29 @@ Accept wildcard characters: False
147175
```
148176
149177
### -Status
178+
Filter by Event status.
179+
Enter any of the following values: 'Failure', 'Warning', 'Running', 'Success', 'Canceled', 'Canceling'.
180+
181+
```yaml
182+
Type: String
183+
Parameter Sets: eventByID
184+
Aliases: event_status
185+
186+
Required: False
187+
Position: Named
188+
Default value: None
189+
Accept pipeline input: False
190+
Accept wildcard characters: False
191+
```
192+
193+
### -EventSeriesStatus
150194
Filter by Status.
151-
Enter any of the following values: 'Failure', 'Warning', 'Running', 'Success', 'Canceled', 'Canceling’.
195+
Enter any of the following values: 'Success', 'Failure', 'Scheduled', 'Active', 'Canceling', 'Canceled', 'SuccessWithWarnings'.
152196
153197
```yaml
154198
Type: String
155199
Parameter Sets: eventByID
156-
Aliases:
200+
Aliases: event_series_status
157201

158202
Required: False
159203
Position: Named
@@ -197,7 +241,7 @@ Accept wildcard characters: False
197241
Filter by a comma separated list of object IDs.
198242
199243
```yaml
200-
Type: Array
244+
Type: String[]
201245
Parameter Sets: eventByID
202246
Aliases: object_ids
203247

@@ -286,36 +330,14 @@ Accept pipeline input: False
286330
Accept wildcard characters: False
287331
```
288332
289-
### -ShowOnlyLatest
290-
A switch value that determines whether to show only on the most recent event in the series.
291-
When 'true' only the most recent event in the series are shown.
292-
When 'false' all events in the series are shown.
293-
The default value is 'true'.
294-
Note: Deprecated in 5.2
295-
296-
```yaml
297-
Type: SwitchParameter
298-
Parameter Sets: eventByID
299-
Aliases: show_only_latest
300-
301-
Required: False
302-
Position: Named
303-
Default value: False
304-
Accept pipeline input: False
305-
Accept wildcard characters: False
306-
```
307-
308-
### -FilterOnlyOnLatest
309-
A Switch value that determines whether to filter only on the most recent event in the series.
310-
When 'true' only the most recent event in the series are filtered.
311-
When 'false' all events in the series are filtered.
312-
The default value is 'true'.
313-
Note: Deprecated in 5.2
333+
### -Descending
334+
A Switch value that determines whether to display the results in descending or ascending order.
335+
Setting this to Descending:$false will return the oldest results instead of the most recent
314336
315337
```yaml
316338
Type: SwitchParameter
317339
Parameter Sets: eventByID
318-
Aliases: filter_only_on_latest
340+
Aliases: order_by_time
319341

320342
Required: False
321343
Position: Named

0 commit comments

Comments
 (0)