diff --git a/CHANGELOG.md b/CHANGELOG.md index 4af906011..862fe3522 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,25 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## 2019-07-16 + +### Changed [New-RubrikSLA] + +* Added ability to specify advanced SLA configuration settings introduced in 5.0 on New-RubrikSLA to address [Issue 304](https://github.com/rubrikinc/rubrik-sdk-for-powershell/issues/354) +* Changed -HourlyFrequency to take input in days or weeks instead of hours + +## 2019-07-15 + +### Added [Register-RubrikBackupService] + +* Added new `Register-RubrikBackupService`cmdlet to register the Rubrik Backup Service installed on the specified VM with the Rubrik cluster. This addresses issue [219](https://github.com/rubrikinc/rubrik-sdk-for-powershell/issues/219). Like in the UI, there is a delay between the successful execution of the command and the actual registration of RBS. + +### Added [*-Bootstrap] functions + +* Added new `New-RubrikBootstrap` function to send a Rubrik Bootstrap Request +* Added new `Get-RubrikBootstrap` function that Connects to the Rubrik cluster and retrieves the bootstrap process progress +* Created a templates folder with examples of Rubrik bootstrap + ## 2019-07-14 ### Changed [Connect-Rubrik] - Will validate if token is correct diff --git a/Rubrik/Private/Get-RubrikAPIData.ps1 b/Rubrik/Private/Get-RubrikAPIData.ps1 index cee3145c7..568349a65 100644 --- a/Rubrik/Private/Get-RubrikAPIData.ps1 +++ b/Rubrik/Private/Get-RubrikAPIData.ps1 @@ -1118,12 +1118,16 @@ function Get-RubrikAPIData($endpoint) { URI = '/api/v2/sla_domain' Method = 'Post' Body = @{ - name = 'name' - frequencies = @{ - timeUnit = 'timeUnit' + name = 'name' + showAdvancedUi = 'showAdvancedUi' + frequencies = @{ frequency = 'frequency' retention = 'retention' } + advancedUiConfig = @{ + timeUnit = 'timeUnit' + retentionType = 'retentionType' + } } Query = '' Result = '' @@ -1250,6 +1254,22 @@ function Get-RubrikAPIData($endpoint) { Success = '200' } } + 'Register-RubrikBackupService' = @{ + '1.0' = @{ + Description = 'Register the Rubrik Backup Service.' + URI = @{ + VMware = '/api/v1/vmware/vm/{id}/register_agent' + HyperV = '/api/internal/hyperv/vm/{id}/register_agent' + Nutanix = '/api/internal/nutanix/vm/{id}/register_agent' + } + Method = 'Post' + Body = '' + Query = '' + Result = '' + Filter = '' + Success = '204' + } + } 'Remove-RubrikAPIToken' = @{ '5.0' = @{ Description = 'Deletes session tokens' @@ -1965,7 +1985,56 @@ function Get-RubrikAPIData($endpoint) { Success = '204' } } - + 'Get-RubrikBootStrap' = @{ + '1.0' = @{ + Description = 'Status of the bootstrap request' + URI = '/api/internal/cluster/{id}/bootstrap' + Method = 'Get' + Body = '' + Query = @{ + request_id = 'request_id' + } + Result = '' + Filter = '' + Success = '200' + } + } + 'New-RubrikBootStrap' = @{ + '1.0' = @{ + Description = 'New Bootstrap Request' + URI = '/api/internal/cluster/{id}/bootstrap' + Method = 'Post' + Body = @{ + name = 'name' + dnsNameservers = 'dnsNameservers' + dnsSearchDomains = 'dnsSearchDomains' + ntpServerConfigs = @{ + server = 'ntpServerConfigs' + } + enableSoftwareEncryptionAtRest = 'enableSoftwareEncryptionAtRest' + adminUserInfo = @{ + emailAddress = 'emailAddress' + id = 'id' + password = 'password' + } + #change to a foreach loop and accept object + #needs to be depth 3 to work + nodeConfigs = @{ + node1 = @{ + managementIpConfig = @{ + address = 'address' + gateway = 'management_gateway' + netmask = 'management_netmask' + } + } + } + } + Query = '' + Result = '' + Filter = '' + Success = '202' + } + } } # End of API # Determine which version of RCDM is running diff --git a/Rubrik/Public/Get-RubrikBootStrap.ps1 b/Rubrik/Public/Get-RubrikBootStrap.ps1 new file mode 100644 index 000000000..f8c7ba17d --- /dev/null +++ b/Rubrik/Public/Get-RubrikBootStrap.ps1 @@ -0,0 +1,65 @@ +#Requires -Version 3 +function Get-RubrikBootStrap +{ + <# + .SYNOPSIS + Connects to Rubrik cluster and retrieves the bootstrap process progress. + + .DESCRIPTION + This function is created to pull the status of a cluster bootstrap request. + + .NOTES + + + .LINK + https://github.com/nshores/rubrik-sdk-for-powershell/tree/bootstrap + + .EXAMPLE + Get-RubrikBootStrap -server 169.254.11.25 -requestid 1 + This will return the bootstrap status of the job with the requested ID. + #> + + [CmdletBinding()] + Param( + # ID of the Rubrik cluster or me for self + [ValidateNotNullOrEmpty()] + [String] $id = 'me', + # Rubrik server IP or FQDN + [ValidateNotNullOrEmpty()] + [String] $Server, + # Bootstrap Request ID + [ValidateNotNullOrEmpty()] + [Alias('request_id')] + [string] $RequestId = '1' + ) + + Begin { + + # The Begin section is used to perform one-time loads of data necessary to carry out the function's purpose + # If a command needs to be run with each iteration or pipeline input, place it in the Process section + + # API data references the name of the function + # For convenience, that name is saved here to $function + $function = $MyInvocation.MyCommand.Name + + # Retrieve all of the URI, method, body, query, result, filter, and success details for the API endpoint + Write-Verbose -Message "Gather API Data for $function" + $resources = Get-RubrikAPIData -endpoint $function + Write-Verbose -Message "Load API data for $($resources.Function)" + Write-Verbose -Message "Description: $($resources.Description)" + + } + + Process { + + $uri = New-URIString -server $Server -endpoint ($resources.URI) -id $id + $uri = Test-QueryParam -querykeys ($resources.Query.Keys) -parameters ((Get-Command $function).Parameters.Values) -uri $uri + $body = New-BodyString -bodykeys ($resources.Body.Keys) -parameters ((Get-Command $function).Parameters.Values) + $result = Submit-Request -uri $uri -header $Header -method $($resources.Method) -body $body + $result = Test-ReturnFormat -api $api -result $result -location $resources.Result + $result = Test-FilterObject -filter ($resources.Filter) -result $result + + return $result + + } # End of process +} # End of function diff --git a/Rubrik/Public/Get-RubrikHost.ps1 b/Rubrik/Public/Get-RubrikHost.ps1 index a7023d24b..09d7a129c 100644 --- a/Rubrik/Public/Get-RubrikHost.ps1 +++ b/Rubrik/Public/Get-RubrikHost.ps1 @@ -72,7 +72,7 @@ function Get-RubrikHost # API data references the name of the function # For convenience, that name is saved here to $function $function = $MyInvocation.MyCommand.Name - + # Retrieve all of the URI, method, body, query, result, filter, and success details for the API endpoint Write-Verbose -Message "Gather API Data for $function" $resources = Get-RubrikAPIData -endpoint $function diff --git a/Rubrik/Public/New-RubrikBootStrap.ps1 b/Rubrik/Public/New-RubrikBootStrap.ps1 new file mode 100644 index 000000000..dccf62961 --- /dev/null +++ b/Rubrik/Public/New-RubrikBootStrap.ps1 @@ -0,0 +1,152 @@ +#Requires -Version 3 +function New-RubrikBootStrap +{ + <# + .SYNOPSIS + Send a Rubrik Bootstrap Request + + .DESCRIPTION + This will send a bootstrap request + + .NOTES + #DNS Param must be an array even if only passing a single server + #NTP Must be an array than contains hash table for each server object + #Nodeconfigs Param must be a hash table object. + + + .LINK + https://github.com/nshores/rubrik-sdk-for-powershell/tree/bootstrap + + .EXAMPLE + https://gist.github.com/nshores/104f069570740ea645d67a8aeab19759 + New-RubrikBootStrap -Server 169.254.11.25 + -name 'rubrik-edge' + -dnsNameservers @('192.168.11.1') + -dnsSearchDomains @('corp.us','branch.corp.us') + -ntpserverconfigs @(@{server = 'pool.ntp.org'}) + -adminUserInfo @{emailAddress = 'nick@shoresmedia.com'; id ='admin'; password = 'P@SSw0rd!'} + -nodeconfigs @{node1 = @{managementIpConfig = @{address = '192.168.11.1'; gateway = '192.168.11.100'; netmask = '255.255.255.0'}}} + + #> + + [CmdletBinding()] + Param( + # ID of the Rubrik cluster or me for self + [ValidateNotNullOrEmpty()] + [String] $id = 'me', + # Rubrik server IP or FQDN + [ValidateNotNullOrEmpty()] + [String] $Server, + # Admin User Info Hashtable + [Parameter(Mandatory = $true)] + [ValidateScript({ + $requiredProperties = @("emailAddress","id","password") + ForEach($item in $requiredProperties) { + if(!$_.ContainsKey($item)) { + Throw "adminUserInfo missing property $($item)" + } + if([string]::IsNullOrEmpty($_[$item])) { + Throw "adminUserInfo $($item) is null or empty" + } + } + return $true + })] + [ValidateNotNullOrEmpty()] + [Object] + $adminUserInfo, + # Node Configuration Hashtable + [Parameter(Mandatory = $true)] + [ValidateScript({ + $requiredProperties = @("address","gateway","netmask") + ForEach($node in $_.Keys) { + $ipConfig = $_[$node].managementIpConfig + ForEach($item in $requiredProperties) { + if(!$ipConfig.ContainsKey($item)) { + Throw "node configuration for $($node) missing property $($item)" + } + if([string]::IsNullOrEmpty($ipConfig[$item])) { + Throw "node configuration for $($node) value $($item) is null or empty" + } + } + } + return $true + })] + [ValidateNotNullOrEmpty()] + [System.Object] + $nodeConfigs, + # Software Encryption + [bool] + $enableSoftwareEncryptionAtRest = $false, + # Cluster/Edge Name + [ValidateNotNullOrEmpty()] + [string] + $name, + # NTP Servers + $ntpServerConfigs, + # DNS Servers + [String[]] + $dnsNameservers, + # DNS Search Domains + [String[]] + $dnsSearchDomains + ) + + Begin { + + # The Begin section is used to perform one-time loads of data necessary to carry out the function's purpose + # If a command needs to be run with each iteration or pipeline input, place it in the Process section + + # API data references the name of the function + # For convenience, that name is saved here to $function + $function = $MyInvocation.MyCommand.Name + + # Retrieve all of the URI, method, body, query, result, filter, and success details for the API endpoint + Write-Verbose -Message "Gather API Data for $function" + $resources = Get-RubrikAPIData -endpoint $function + Write-Verbose -Message "Load API data for $($resources.Function)" + Write-Verbose -Message "Description: $($resources.Description)" + + #region One-off + # If there is more than node node, update the API data to contain all data for all nodes + if($nodeConfigs.Count -gt 1) { + ForEach($key in $nodeConfigs.Keys) { + $resources.Body.nodeConfigs[$key] = $nodeConfigs[$key] + } + } + + # Default DNS servers to 8.8.8.8 + if($dnsNameServers -eq '') { + $dnsNameServers = @( + '8.8.8.8' + ) + } + + # Default DNS search domains to an empty array + if($dnsSearchDomains -eq '') { + $dnsSearchDomains = @() + } + + # Default NTP servers to pool.ntp.org + if($ntpServerConfigs.Length -lt 1) { + $ntpServerConfigs = @( + @{ + server = 'pool.ntp.org' + } + ) + } + #endregion + } + + Process { + + $uri = New-URIString -server $Server -endpoint ($resources.URI) -id $id + $uri = Test-QueryParam -querykeys ($resources.Query.Keys) -parameters ((Get-Command $function).Parameters.Values) -uri $uri + $body = New-BodyString -bodykeys ($resources.Body.Keys) -parameters ((Get-Command $function).Parameters.Values) + $result = Submit-Request -uri $uri -Headers @{"content-type"="application/json"} -method $($resources.Method) -body $body + $result = Test-ReturnFormat -api $api -result $result -location $resources.Result + $result = Test-FilterObject -filter ($resources.Filter) -result $result + + return $result + + } # End of process +} # End of function diff --git a/Rubrik/Public/New-RubrikSLA.ps1 b/Rubrik/Public/New-RubrikSLA.ps1 index 5f8fb36e9..f094a691c 100644 --- a/Rubrik/Public/New-RubrikSLA.ps1 +++ b/Rubrik/Public/New-RubrikSLA.ps1 @@ -33,33 +33,69 @@ function New-RubrikSLA [ValidateNotNullOrEmpty()] [Alias('SLA')] [String]$Name, - # Hourly frequency to take backups + # Hourly frequency to take snapshots [int]$HourlyFrequency, - # Number of hours to retain the hourly backups + # Number of days or weeks to retain the hourly snapshots. For CDM versions prior to 5.0 this value must be set in days [int]$HourlyRetention, - # Daily frequency to take backups + # Retention type to apply to hourly snapshots when $AdvancedConfig is used. Does not apply to CDM versions prior to 5.0 + [ValidateSet('Daily','Weekly')] + [String]$HourlyRetentionType='Daily', + # Daily frequency to take snapshots [int]$DailyFrequency, - # Number of days to retain the daily backups + # Number of days or weeks to retain the daily snapshots. For CDM versions prior to 5.0 this value must be set in days [int]$DailyRetention, - # Weekly frequency to take backups + # Retention type to apply to daily snapshots when $AdvancedConfig is used. Does not apply to CDM versions prior to 5.0 + [ValidateSet('Daily','Weekly')] + [String]$DailyRetentionType='Daily', + # Weekly frequency to take snapshots [int]$WeeklyFrequency, - # Number of weeks to retain the weekly backups + # Number of weeks to retain the weekly snapshots [int]$WeeklyRetention, - # Monthly frequency to take backups + # Day of week for the weekly snapshots when $AdvancedConfig is used. The default is Saturday. Does not apply to CDM versions prior to 5.0 + [ValidateSet('Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday')] + [String]$DayOfWeek='Saturday', + # Monthly frequency to take snapshots [int]$MonthlyFrequency, - # Number of months to retain the monthly backups + # Number of months, quarters or years to retain the monthly backups. For CDM versions prior to 5.0, this value must be set in years [int]$MonthlyRetention, - # Yearly frequency to take backups + # Day of month for the monthly snapshots when $AdvancedConfig is used. The default is the last day of the month. Does not apply to CDM versions prior to 5.0 + [ValidateSet('FirstDay','Fifteenth','LastDay')] + [String]$DayOfMonth='LastDay', + # Retention type to apply to monthly snapshots. Does not apply to CDM versions prior to 5.0 + [ValidateSet('Monthly','Quarterly','Yearly')] + [String]$MonthlyRetentionType='Monthly', + # Quarterly frequency to take snapshots. Does not apply to CDM versions prior to 5.0 + [int]$QuarterlyFrequency, + # Number of quarters or years to retain the monthly snapshots. Does not apply to CDM versions prior to 5.0 + [int]$QuarterlyRetention, + # Day of quarter for the quarterly snapshots when $AdvancedConfig is used. The default is the last day of the quarter. Does not apply to CDM versions prior to 5.0 + [ValidateSet('FirstDay','LastDay')] + [String]$DayOfQuarter='LastDay', + # Month that starts the first quarter of the year for the quarterly snapshots when $AdvancedConfig is used. The default is January. Does not apply to CDM versions prior to 5.0 + [ValidateSet('January','February','March','April','May','June','July','August','September','October','November','December')] + [String]$FirstQuarterStartMonth='January', + # Retention type to apply to quarterly snapshots. The default is Quarterly. Does not apply to CDM versions prior to 5.0 + [ValidateSet('Quarterly','Yearly')] + [String]$QuarterlyRetentionType='Quarterly', + # Yearly frequency to take snapshots [int]$YearlyFrequency, - # Number of years to retain the yearly backups + # Number of years to retain the yearly snapshots [int]$YearlyRetention, + # Day of year for the yearly snapshots when $AdvancedConfig is used. The default is the last day of the year. Does not apply to CDM versions prior to 5.0 + [ValidateSet('FirstDay','LastDay')] + [String]$DayOfYear='LastDay', + # Month that starts the first quarter of the year for the quarterly snapshots when $AdvancedConfig is used. The default is January. Does not apply to CDM versions prior to 5.0 + [ValidateSet('January','February','March','April','May','June','July','August','September','October','November','December')] + [String]$YearStartMonth='January', + # Whether to turn advanced SLA configuration on or off. Does not apply to CDM versions prior to 5.0 + [switch]$AdvancedConfig, # Rubrik server IP or FQDN [String]$Server = $global:RubrikConnection.server, # API version [String]$api = $global:RubrikConnection.api ) - Begin { + Begin { # The Begin section is used to perform one-time loads of data necessary to carry out the function's purpose # If a command needs to be run with each iteration or pipeline input, place it in the Process section @@ -86,18 +122,46 @@ function New-RubrikSLA #region One-off Write-Verbose -Message 'Build the body' - $body = @{ - $resources.Body.name = $Name - frequencies = @() + # Build the body for CDM versions 5 and above when the advanced SLA configuration is turned on + if (($uri.contains('v2')) -and $AdvancedConfig) { + $body = @{ + $resources.Body.name = $Name + frequencies = @() + showAdvancedUi = $AdvancedConfig.IsPresent + advancedUiConfig = @() + } + # Build the body for CDM versions 5 and above when the advanced SLA configuration is turned off + } elseif ($uri.contains('v2')) { + $body = @{ + $resources.Body.name = $Name + frequencies = @() + showAdvancedUi = $AdvancedConfig.IsPresent + } + # Build the body for CDM versions prior to 5.0 + } else { + $body = @{ + $resources.Body.name = $Name + frequencies = @() + } } Write-Verbose -Message 'Setting ParamValidation flag to $false to check if user set any params' [bool]$ParamValidation = $false - - if ($HourlyFrequency -and $HourlyRetention) - { - if($uri.contains('v2')){ - $body.frequencies += @{'hourly'=@{frequency=$HourlyFrequency;retention=$HourlyRetention}} + + if ((($uri.contains('v2')) -and (-not $AdvancedConfig)) -or (-not ($uri.contains('v2')))) { + $HourlyRetention = $HourlyRetention * 24 + } + if (-not ($uri.contains('v2'))) { + $MonthlyRetention = $MonthlyRetention * 12 + } + + # Populate the body according to the version of CDM and to whether the advanced SLA configuration is enabled in 5.x + if ($HourlyFrequency -and $HourlyRetention) { + if (($uri.contains('v2')) -and $AdvancedConfig) { + $body.frequencies += @{'hourly'=@{frequency=$HourlyFrequency;retention=$HourlyRetention}} + $body.advancedUiConfig += @{timeUnit='Hourly';retentionType=$HourlyRetentionType} + } elseif ($uri.contains('v2')) { + $body.frequencies += @{'hourly'=@{frequency=$HourlyFrequency;retention=$HourlyRetention}} } else { $body.frequencies += @{ $resources.Body.frequencies.timeUnit = 'Hourly' @@ -108,10 +172,12 @@ function New-RubrikSLA [bool]$ParamValidation = $true } - if ($DailyFrequency -and $DailyRetention) - { - if($uri.contains('v2')){ - $body.frequencies += @{'daily'=@{frequency=$DailyFrequency;retention=$DailyRetention}} + if ($DailyFrequency -and $DailyRetention) { + if (($uri.contains('v2')) -and $AdvancedConfig) { + $body.frequencies += @{'daily'=@{frequency=$DailyFrequency;retention=$DailyRetention}} + $body.advancedUiConfig += @{timeUnit='Daily';retentionType=$DailyRetentionType} + } elseif ($uri.contains('v2')) { + $body.frequencies += @{'daily'=@{frequency=$DailyFrequency;retention=$DailyRetention}} } else { $body.frequencies += @{ $resources.Body.frequencies.timeUnit = 'Daily' @@ -122,12 +188,14 @@ function New-RubrikSLA [bool]$ParamValidation = $true } - if ($WeeklyFrequency -and $WeeklyRetention) - { - Write-Warning -Message 'Weekly SLA configurations are not yet supported in the Rubrik web UI.' - if($uri.contains('v2')){ - $body.frequencies += @{'weekly'=@{frequency=$WeeklyFrequency;retention=$WeeklyRetention}} + if ($WeeklyFrequency -and $WeeklyRetention) { + if (($uri.contains('v2')) -and $AdvancedConfig) { + $body.frequencies += @{'weekly'=@{frequency=$WeeklyFrequency;retention=$WeeklyRetention;dayOfWeek=$DayOfWeek}} + $body.advancedUiConfig += @{timeUnit='Weekly';retentionType='Weekly'} + } elseif ($uri.contains('v2')) { + $body.frequencies += @{'weekly'=@{frequency=$WeeklyFrequency;retention=$WeeklyRetention;dayOfWeek=$DayOfWeek}} } else { + Write-Warning -Message 'Weekly SLA configurations are not supported in this version of Rubrik CDM.' $body.frequencies += @{ $resources.Body.frequencies.timeUnit = 'Weekly' $resources.Body.frequencies.frequency = $WeeklyFrequency @@ -137,10 +205,12 @@ function New-RubrikSLA [bool]$ParamValidation = $true } - if ($MonthlyFrequency -and $MonthlyRetention) - { - if($uri.contains('v2')){ - $body.frequencies += @{'monthly'=@{frequency=$MonthlyFrequency;retention=$MonthlyRetention}} + if ($MonthlyFrequency -and $MonthlyRetention) { + if (($uri.contains('v2')) -and $AdvancedConfig) { + $body.frequencies += @{'monthly'=@{frequency=$MonthlyFrequency;retention=$MonthlyRetention;dayOfMonth=$DayOfMonth}} + $body.advancedUiConfig += @{timeUnit='Monthly';retentionType=$MonthlyRetentionType} + } elseif ($uri.contains('v2')) { + $body.frequencies += @{'monthly'=@{frequency=$MonthlyFrequency;retention=$MonthlyRetention;dayOfMonth=$DayOfMonth}} } else { $body.frequencies += @{ $resources.Body.frequencies.timeUnit = 'Monthly' @@ -151,12 +221,26 @@ function New-RubrikSLA [bool]$ParamValidation = $true } - if ($YearlyFrequency -and $YearlyRetention) - { - if($uri.contains('v2')){ - $body.frequencies += @{'yearly'=@{frequency=$YearlyFrequency;retention=$YearlyRetention}} + if ($QuarterlyFrequency -and $QuarterlyRetention) { + if (($uri.contains('v2')) -and $AdvancedConfig) { + $body.frequencies += @{'quarterly'=@{frequency=$QuarterlyFrequency;retention=$QuarterlyRetention;firstQuarterStartMonth=$FirstQuarterStartMonth;dayOfQuarter=$DayOfQuarter}} + $body.advancedUiConfig += @{timeUnit='Quarterly';retentionType=$QuarterlyRetentionType} + } elseif ($uri.contains('v2')) { + $body.frequencies += @{'quarterly'=@{frequency=$QuarterlyFrequency;retention=$QuarterlyRetention;firstQuarterStartMonth=$FirstQuarterStartMonth;dayOfQuarter=$DayOfQuarter}} + } else { + Write-Warning -Message 'Quarterly SLA configurations are not supported in this version of Rubrik CDM.' + } + [bool]$ParamValidation = $true + } + + if ($YearlyFrequency -and $YearlyRetention) { + if (($uri.contains('v2')) -and $AdvancedConfig) { + $body.frequencies += @{'yearly'=@{frequency=$YearlyFrequency;retention=$YearlyRetention;yearStartMonth=$YearStartMonth;dayOfYear=$DayOfYear}} + $body.advancedUiConfig += @{timeUnit='Yearly';retentionType='Yearly'} + } elseif ($uri.contains('v2')) { + $body.frequencies += @{'yearly'=@{frequency=$YearlyFrequency;retention=$YearlyRetention;yearStartMonth=$YearStartMonth;dayOfYear=$DayOfYear}} } else { - $body.frequencies += @{ + $body.frequencies += @{ $resources.Body.frequencies.timeUnit = 'Yearly' $resources.Body.frequencies.frequency = $YearlyFrequency $resources.Body.frequencies.retention = $YearlyRetention diff --git a/Rubrik/Public/Register-RubrikBackupService.ps1 b/Rubrik/Public/Register-RubrikBackupService.ps1 new file mode 100644 index 000000000..67ea57fc5 --- /dev/null +++ b/Rubrik/Public/Register-RubrikBackupService.ps1 @@ -0,0 +1,80 @@ +#requires -Version 3 +function Register-RubrikBackupService +{ + <# + .SYNOPSIS + Register the Rubrik Backup Service + + .DESCRIPTION + Register the Rubrik Backup Service for the specified VM + + .NOTES + Written by Pierre-François Guglielmi + Twitter: @pfguglielmi + GitHub: pfguglielmi + + .LINK + https://github.com/rubrikinc/rubrik-sdk-for-powershell + + .EXAMPLE + Get-RubrikVM -Name "demo-win01" | Register-RubrikBackupService -Verbose + Get the details of VMware VM demo-win01 and register the Rubrik Backup Service installed on it with the Rubrik cluster + + .EXAMPLE + Get-RubrikNutanixVM -Name "demo-ahv01" | Register-RubrikBackupService -Verbose + Get the details of Nutanix VM demo-win01 and register the Rubrik Backup Service installed on it with the Rubrik cluster + + .EXAMPLE + Get-RubrikHyperVVM -Name "demo-hyperv01" | Register-RubrikBackupService -Verbose + Get the details of Hyper-V VM demo-win01 and register the Rubrik Backup Service installed on it with the Rubrik cluster + + .EXAMPLE + Register-RubrikBackupService -VMid VirtualMachine:::2af8fe5f-5b64-44dd-a9e0-ec063753b823-vm-37558 + Register the Rubrik Backup Service installed on this VM with the Rubrik cluster by specifying the VM id + #> + + [CmdletBinding()] + Param( + # ID of the VM which agent needs to be registered + [Parameter(Mandatory = $true,ValueFromPipelineByPropertyName = $true)] + [Alias('VMid')] + [String]$id, + # Rubrik server IP or FQDN + [String]$Server = $global:RubrikConnection.server, + # API version + [String]$api = $global:RubrikConnection.api + ) + + Begin { + + # The Begin section is used to perform one-time loads of data necessary to carry out the function's purpose + # If a command needs to be run with each iteration or pipeline input, place it in the Process section + + # Check to ensure that a session to the Rubrik cluster exists and load the needed header data for authentication + Test-RubrikConnection + + # API data references the name of the function + # For convenience, that name is saved here to $function + $function = $MyInvocation.MyCommand.Name + + # Retrieve all of the URI, method, body, query, result, filter, and success details for the API endpoint + Write-Verbose -Message "Gather API Data for $function" + $resources = Get-RubrikAPIData -endpoint $function + Write-Verbose -Message "Load API data for $($resources.Function)" + Write-Verbose -Message "Description: $($resources.Description)" + + } + + Process { + + $uri = New-URIString -server $Server -endpoint ($resources.URI) -id $id + $uri = Test-QueryParam -querykeys ($resources.Query.Keys) -parameters ((Get-Command $function).Parameters.Values) -uri $uri + $body = New-BodyString -bodykeys ($resources.Body.Keys) -parameters ((Get-Command $function).Parameters.Values) + $result = Submit-Request -uri $uri -header $Header -method $($resources.Method) -body $body + $result = Test-ReturnFormat -api $api -result $result -location $resources.Result + $result = Test-FilterObject -filter ($resources.Filter) -result $result + + return $result + + } # End of process +} # End of function \ No newline at end of file diff --git a/Rubrik/Rubrik.psd1 b/Rubrik/Rubrik.psd1 index 6508b6525..1c36da6d7 100755 --- a/Rubrik/Rubrik.psd1 +++ b/Rubrik/Rubrik.psd1 @@ -3,7 +3,7 @@ # # Generated by: Chris Wahl # -# Generated on: 7/13/2019 +# Generated on: 7/16/2019 # @{ @@ -12,7 +12,7 @@ RootModule = 'Rubrik.psm1' # Version number of this module. -ModuleVersion = '4.0.0.357' +ModuleVersion = '4.0.0.371' # Supported PSEditions # CompatiblePSEditions = @() @@ -30,7 +30,7 @@ CompanyName = 'Rubrik' Copyright = '(c) 2015-2019 Rubrik, Inc. All rights reserved.' # Description of the functionality provided by this module -Description = 'This is a community project that provides a Windows PowerShell module for managing and monitoring Rubrik''s Converged Data Management platform.' +Description = 'This is a community project that provides a Windows PowerShell module for managing and monitoring Rubrik''s Cloud Data Management platform.' # Minimum version of the Windows PowerShell engine required by this module PowerShellVersion = '4.0' @@ -72,22 +72,22 @@ PowerShellVersion = '4.0' FunctionsToExport = @('Connect-Rubrik', 'Disconnect-Rubrik', 'Export-RubrikDatabase', 'Export-RubrikReport', 'Export-RubrikVM', 'Get-RubrikAPIToken', 'Get-RubrikAPIVersion', 'Get-RubrikAvailabilityGroup', - 'Get-RubrikDatabase', 'Get-RubrikDatabaseFiles', - 'Get-RubrikDatabaseMount', 'Get-RubrikDatabaseRecoverableRange', - 'Get-RubrikEvent', 'Get-RubrikFileset', 'Get-RubrikFilesetTemplate', - 'Get-RubrikHost', 'Get-RubrikHyperVVM', 'Get-RubrikLDAP', - 'Get-RubrikLogShipping', 'Get-RubrikManagedVolume', - 'Get-RubrikManagedVolumeExport', 'Get-RubrikMount', - 'Get-RubrikNASShare', 'Get-RubrikNutanixVM', 'Get-RubrikOracleDB', - 'Get-RubrikOrganization', 'Get-RubrikReport', 'Get-RubrikReportData', - 'Get-RubrikRequest', 'Get-RubrikSetting', 'Get-RubrikSLA', - 'Get-RubrikSnapshot', 'Get-RubrikSoftwareVersion', + 'Get-RubrikBootStrap', 'Get-RubrikDatabase', + 'Get-RubrikDatabaseFiles', 'Get-RubrikDatabaseMount', + 'Get-RubrikDatabaseRecoverableRange', 'Get-RubrikEvent', + 'Get-RubrikFileset', 'Get-RubrikFilesetTemplate', 'Get-RubrikHost', + 'Get-RubrikHyperVVM', 'Get-RubrikLDAP', 'Get-RubrikLogShipping', + 'Get-RubrikManagedVolume', 'Get-RubrikManagedVolumeExport', + 'Get-RubrikMount', 'Get-RubrikNASShare', 'Get-RubrikNutanixVM', + 'Get-RubrikOracleDB', 'Get-RubrikOrganization', 'Get-RubrikReport', + 'Get-RubrikReportData', 'Get-RubrikRequest', 'Get-RubrikSetting', + 'Get-RubrikSLA', 'Get-RubrikSnapshot', 'Get-RubrikSoftwareVersion', 'Get-RubrikSQLInstance', 'Get-RubrikSupportTunnel', 'Get-RubrikUnmanagedObject', 'Get-RubrikVCenter', 'Get-RubrikVersion', 'Get-RubrikVM', 'Get-RubrikVMSnapshot', 'Get-RubrikVMwareDatastore', 'Get-RubrikVMwareHost', 'Get-RubrikVolumeGroup', 'Get-RubrikVolumeGroupMount', 'Invoke-RubrikRESTCall', - 'Move-RubrikMountVMDK', 'New-RubrikAPIToken', + 'Move-RubrikMountVMDK', 'New-RubrikAPIToken', 'New-RubrikBootStrap', 'New-RubrikDatabaseMount', 'New-RubrikFileset', 'New-RubrikFilesetTemplate', 'New-RubrikHost', 'New-RubrikLDAP', 'New-RubrikLogBackup', 'New-RubrikLogShipping', @@ -97,7 +97,8 @@ FunctionsToExport = @('Connect-Rubrik', 'Disconnect-Rubrik', 'Export-RubrikDatab 'New-RubrikVMDKMount', 'New-RubrikVolumeGroupMount', 'Protect-RubrikDatabase', 'Protect-RubrikFileset', 'Protect-RubrikHyperVVM', 'Protect-RubrikNutanixVM', - 'Protect-RubrikTag', 'Protect-RubrikVM', 'Remove-RubrikAPIToken', + 'Protect-RubrikTag', 'Protect-RubrikVM', + 'Register-RubrikBackupService', 'Remove-RubrikAPIToken', 'Remove-RubrikDatabaseMount', 'Remove-RubrikFileset', 'Remove-RubrikHost', 'Remove-RubrikLogShipping', 'Remove-RubrikManagedVolume', 'Remove-RubrikManagedVolumeExport', @@ -140,7 +141,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Rubrik','Converged_Data_Management','CDM','Backup','Recovery','Data_Protection' + Tags = 'Rubrik','Cloud_Data_Management','CDM','Backup','Recovery','Data_Protection' # A URL to the license for this module. LicenseUri = 'https://github.com/rubrikinc/rubrik-sdk-for-powershell/blob/master/LICENSE' diff --git a/Rubrik/en-US/Rubrik-help.xml b/Rubrik/en-US/Rubrik-help.xml index bef2e8209..18caf7592 100644 --- a/Rubrik/en-US/Rubrik-help.xml +++ b/Rubrik/en-US/Rubrik-help.xml @@ -2287,6 +2287,120 @@ + + + Get-RubrikBootStrap + Get + RubrikBootStrap + + Connects to Rubrik cluster and retrieves the bootstrap process progress. + + + + This function is created to pull the status of a cluster bootstrap request. + + + + Get-RubrikBootStrap + + id + + ID of the Rubrik cluster or me for self + + String + + String + + + Me + + + Server + + Rubrik server IP or FQDN + + String + + String + + + None + + + RequestId + + Bootstrap Request ID + + String + + String + + + 1 + + + + + + id + + ID of the Rubrik cluster or me for self + + String + + String + + + Me + + + Server + + Rubrik server IP or FQDN + + String + + String + + + None + + + RequestId + + Bootstrap Request ID + + String + + String + + + 1 + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + Get-RubrikBootStrap -server 169.254.11.25 -requestid 1 + + This will return the bootstrap status of the job with the requested ID. + + + + + + https://github.com/nshores/rubrik-sdk-for-powershell/tree/bootstrap + https://github.com/nshores/rubrik-sdk-for-powershell/tree/bootstrap + + + Get-RubrikDatabase @@ -10785,68 +10899,32 @@ - New-RubrikDatabaseMount + New-RubrikBootStrap New - RubrikDatabaseMount + RubrikBootStrap - Create a new Live Mount from a protected database + Send a Rubrik Bootstrap Request - The New-RubrikDatabaseMount cmdlet is used to create a Live Mount (clone) of a protected database and run it in an existing database environment. + This will send a bootstrap request - New-RubrikDatabaseMount - + New-RubrikBootStrap + id - Rubrik id of the database - - String - - String - - - None - - - TargetInstanceId - - ID of Instance to use for the mount - - String - - String - - - None - - - MountedDatabaseName - - Name of the mounted database + ID of the Rubrik cluster or me for self String String - None - - - TimestampMs - - Recovery Point desired in the form of Epoch with Milliseconds - - Int64 - - Int64 - - - 0 + Me - + Server Rubrik server IP or FQDN @@ -10856,49 +10934,48 @@ String - $global:RubrikConnection.server + None - - api + + adminUserInfo - API version + Admin User Info Hashtable - String + Object - String + Object - $global:RubrikConnection.api + None - - WhatIf + + nodeConfigs - Shows what would happen if the cmdlet runs. The cmdlet is not run. + Node Configuration Hashtable + Object - SwitchParameter + Object - False + None - - Confirm + + enableSoftwareEncryptionAtRest - Prompts you for confirmation before running the cmdlet. + Software Encryption + Boolean - SwitchParameter + Boolean False - - - New-RubrikDatabaseMount - - id + + name - Rubrik id of the database + Cluster/Edge Name String @@ -10907,102 +10984,466 @@ None - - TargetInstanceId + + ntpServerConfigs - ID of Instance to use for the mount + NTP Servers - String + Object - String + Object None - - MountedDatabaseName + + dnsNameservers - Name of the mounted database + DNS Servers - String + String[] - String + String[] None - - RecoveryDateTime + + dnsSearchDomains - Recovery Point desired in the form of DateTime value + DNS Search Domains - DateTime + String[] - DateTime + String[] None - - Server - - Rubrik server IP or FQDN - - String - - String - - - $global:RubrikConnection.server - - - api - - API version - - String - - String - - - $global:RubrikConnection.api - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - - SwitchParameter - - - False - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - - SwitchParameter - - - False - - + id - Rubrik id of the database + ID of the Rubrik cluster or me for self String String - None + Me + + + Server + + Rubrik server IP or FQDN + + String + + String + + + None + + + adminUserInfo + + Admin User Info Hashtable + + Object + + Object + + + None + + + nodeConfigs + + Node Configuration Hashtable + + Object + + Object + + + None + + + enableSoftwareEncryptionAtRest + + Software Encryption + + Boolean + + Boolean + + + False + + + name + + Cluster/Edge Name + + String + + String + + + None + + + ntpServerConfigs + + NTP Servers + + Object + + Object + + + None + + + dnsNameservers + + DNS Servers + + String[] + + String[] + + + None + + + dnsSearchDomains + + DNS Search Domains + + String[] + + String[] + + + None + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + https://gist.github.com/nshores/104f069570740ea645d67a8aeab19759 + + New-RubrikBootStrap -Server 169.254.11.25 -name 'rubrik-edge' -dnsNameservers @('192.168.11.1') -dnsSearchDomains @('corp.us','branch.corp.us') -ntpserverconfigs @(@{server = 'pool.ntp.org'}) -adminUserInfo @{emailAddress = 'nick@shoresmedia.com'; id ='admin'; password = 'P@SSw0rd!'} -nodeconfigs @{node1 = @{managementIpConfig = @{address = '192.168.11.1'; gateway = '192.168.11.100'; netmask = '255.255.255.0'}}} + + + + + + Online Version: + https://github.com/nshores/rubrik-sdk-for-powershell/tree/bootstrap + + + + + + DNS Param must be an array even if only passing a single server + DNS Param must be an array even if only passing a single server + + + + + + + + + + + + + + + Online Version: + https://github.com/nshores/rubrik-sdk-for-powershell/tree/bootstrap + + + + + + NTP Must be an array than contains hash table for each server object + NTP Must be an array than contains hash table for each server object + + + + + + + + + + + + + + + Online Version: + https://github.com/nshores/rubrik-sdk-for-powershell/tree/bootstrap + + + + + + Nodeconfigs Param must be a hash table object. + Nodeconfigs Param must be a hash table object. + + + + + + + + + + + + + + + https://github.com/nshores/rubrik-sdk-for-powershell/tree/bootstrap + https://github.com/nshores/rubrik-sdk-for-powershell/tree/bootstrap + + + + + + New-RubrikDatabaseMount + New + RubrikDatabaseMount + + Create a new Live Mount from a protected database + + + + The New-RubrikDatabaseMount cmdlet is used to create a Live Mount (clone) of a protected database and run it in an existing database environment. + + + + New-RubrikDatabaseMount + + id + + Rubrik id of the database + + String + + String + + + None + + + TargetInstanceId + + ID of Instance to use for the mount + + String + + String + + + None + + + MountedDatabaseName + + Name of the mounted database + + String + + String + + + None + + + TimestampMs + + Recovery Point desired in the form of Epoch with Milliseconds + + Int64 + + Int64 + + + 0 + + + Server + + Rubrik server IP or FQDN + + String + + String + + + $global:RubrikConnection.server + + + api + + API version + + String + + String + + + $global:RubrikConnection.api + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + + SwitchParameter + + + False + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + + SwitchParameter + + + False + + + + New-RubrikDatabaseMount + + id + + Rubrik id of the database + + String + + String + + + None + + + TargetInstanceId + + ID of Instance to use for the mount + + String + + String + + + None + + + MountedDatabaseName + + Name of the mounted database + + String + + String + + + None + + + RecoveryDateTime + + Recovery Point desired in the form of DateTime value + + DateTime + + DateTime + + + None + + + Server + + Rubrik server IP or FQDN + + String + + String + + + $global:RubrikConnection.server + + + api + + API version + + String + + String + + + $global:RubrikConnection.api + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + + SwitchParameter + + + False + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + + SwitchParameter + + + False + + + + + + id + + Rubrik id of the database + + String + + String + + + None TargetInstanceId @@ -14116,19 +14557,79 @@ Name - SLA Domain Name + SLA Domain Name + + String + + String + + + None + + + DayOfWeek + + Day of week for the weekly snapshots when $AdvancedConfig is used. The default is Saturday. Does not apply to CDM versions prior to 5.0 + + String + + String + + + Saturday + + + MonthlyFrequency + + Monthly frequency to take snapshots + + Int32 + + Int32 + + + 0 + + + MonthlyRetention + + Number of months, quarters or years to retain the monthly backups. For CDM versions prior to 5.0, this value must be set in years + + Int32 + + Int32 + + + 0 + + + DayOfMonth + + Day of month for the monthly snapshots when $AdvancedConfig is used. The default is the last day of the month. Does not apply to CDM versions prior to 5.0 + + String + + String + + + LastDay + + + MonthlyRetentionType + + Retention type to apply to monthly snapshots. Does not apply to CDM versions prior to 5.0 String String - None + Monthly - - YearlyFrequency + + QuarterlyFrequency - Yearly frequency to take backups + Quarterly frequency to take snapshots. Does not apply to CDM versions prior to 5.0 Int32 @@ -14137,10 +14638,10 @@ 0 - - YearlyRetention + + QuarterlyRetention - Number of years to retain the yearly backups + Number of quarters or years to retain the monthly snapshots. Does not apply to CDM versions prior to 5.0 Int32 @@ -14149,34 +14650,46 @@ 0 - - Server + + DayOfQuarter - Rubrik server IP or FQDN + Day of quarter for the quarterly snapshots when $AdvancedConfig is used. The default is the last day of the quarter. Does not apply to CDM versions prior to 5.0 String String - $global:RubrikConnection.server + LastDay - - api + + FirstQuarterStartMonth - API version + Month that starts the first quarter of the year for the quarterly snapshots when $AdvancedConfig is used. The default is January. Does not apply to CDM versions prior to 5.0 String String - $global:RubrikConnection.api + January + + + QuarterlyRetentionType + + Retention type to apply to quarterly snapshots. The default is Quarterly. Does not apply to CDM versions prior to 5.0 + + String + + String + + + Quarterly HourlyFrequency - Hourly frequency to take backups + Hourly frequency to take snapshots Int32 @@ -14185,10 +14698,10 @@ 0 - - HourlyRetention + + YearlyFrequency - Number of hours to retain the hourly backups + Yearly frequency to take snapshots Int32 @@ -14197,10 +14710,10 @@ 0 - - DailyFrequency + + YearlyRetention - Daily frequency to take backups + Number of years to retain the yearly snapshots Int32 @@ -14209,10 +14722,58 @@ 0 - - DailyRetention + + DayOfYear - Number of days to retain the daily backups + Day of year for the yearly snapshots when $AdvancedConfig is used. The default is the last day of the year. Does not apply to CDM versions prior to 5.0 + + String + + String + + + LastDay + + + YearStartMonth + + Month that starts the first quarter of the year for the quarterly snapshots when $AdvancedConfig is used. The default is January. Does not apply to CDM versions prior to 5.0 + + String + + String + + + January + + + Server + + Rubrik server IP or FQDN + + String + + String + + + $global:RubrikConnection.server + + + api + + API version + + String + + String + + + $global:RubrikConnection.api + + + HourlyRetention + + Number of days or weeks to retain the hourly snapshots. For CDM versions prior to 5.0 this value must be set in days Int32 @@ -14221,10 +14782,22 @@ 0 - - WeeklyFrequency + + HourlyRetentionType + + Retention type to apply to hourly snapshots when $AdvancedConfig is used. Does not apply to CDM versions prior to 5.0 + + String + + String + + + Daily + + + DailyFrequency - Weekly frequency to take backups + Daily frequency to take snapshots Int32 @@ -14233,10 +14806,10 @@ 0 - - WeeklyRetention + + DailyRetention - Number of weeks to retain the weekly backups + Number of days or weeks to retain the daily snapshots. For CDM versions prior to 5.0 this value must be set in days Int32 @@ -14245,10 +14818,22 @@ 0 + + DailyRetentionType + + Retention type to apply to daily snapshots when $AdvancedConfig is used. Does not apply to CDM versions prior to 5.0 + + String + + String + + + Daily + - MonthlyFrequency + WeeklyFrequency - Monthly frequency to take backups + Weekly frequency to take snapshots Int32 @@ -14258,9 +14843,9 @@ 0 - MonthlyRetention + WeeklyRetention - Number of months to retain the monthly backups + Number of weeks to retain the weekly snapshots Int32 @@ -14269,6 +14854,17 @@ 0 + + AdvancedConfig + + Whether to turn advanced SLA configuration on or off. Does not apply to CDM versions prior to 5.0 + + + SwitchParameter + + + False + WhatIf @@ -14297,19 +14893,127 @@ Name - SLA Domain Name + SLA Domain Name + + String + + String + + + None + + + HourlyFrequency + + Hourly frequency to take snapshots + + Int32 + + Int32 + + + 0 + + + HourlyRetention + + Number of days or weeks to retain the hourly snapshots. For CDM versions prior to 5.0 this value must be set in days + + Int32 + + Int32 + + + 0 + + + HourlyRetentionType + + Retention type to apply to hourly snapshots when $AdvancedConfig is used. Does not apply to CDM versions prior to 5.0 + + String + + String + + + Daily + + + DailyFrequency + + Daily frequency to take snapshots + + Int32 + + Int32 + + + 0 + + + DailyRetention + + Number of days or weeks to retain the daily snapshots. For CDM versions prior to 5.0 this value must be set in days + + Int32 + + Int32 + + + 0 + + + DailyRetentionType + + Retention type to apply to daily snapshots when $AdvancedConfig is used. Does not apply to CDM versions prior to 5.0 + + String + + String + + + Daily + + + WeeklyFrequency + + Weekly frequency to take snapshots + + Int32 + + Int32 + + + 0 + + + WeeklyRetention + + Number of weeks to retain the weekly snapshots + + Int32 + + Int32 + + + 0 + + + DayOfWeek + + Day of week for the weekly snapshots when $AdvancedConfig is used. The default is Saturday. Does not apply to CDM versions prior to 5.0 String String - None + Saturday - - HourlyFrequency + + MonthlyFrequency - Hourly frequency to take backups + Monthly frequency to take snapshots Int32 @@ -14318,10 +15022,10 @@ 0 - - HourlyRetention + + MonthlyRetention - Number of hours to retain the hourly backups + Number of months, quarters or years to retain the monthly backups. For CDM versions prior to 5.0, this value must be set in years Int32 @@ -14330,34 +15034,34 @@ 0 - - DailyFrequency + + DayOfMonth - Daily frequency to take backups + Day of month for the monthly snapshots when $AdvancedConfig is used. The default is the last day of the month. Does not apply to CDM versions prior to 5.0 - Int32 + String - Int32 + String - 0 + LastDay - - DailyRetention + + MonthlyRetentionType - Number of days to retain the daily backups + Retention type to apply to monthly snapshots. Does not apply to CDM versions prior to 5.0 - Int32 + String - Int32 + String - 0 + Monthly - - WeeklyFrequency + + QuarterlyFrequency - Weekly frequency to take backups + Quarterly frequency to take snapshots. Does not apply to CDM versions prior to 5.0 Int32 @@ -14366,10 +15070,10 @@ 0 - - WeeklyRetention + + QuarterlyRetention - Number of weeks to retain the weekly backups + Number of quarters or years to retain the monthly snapshots. Does not apply to CDM versions prior to 5.0 Int32 @@ -14378,34 +15082,46 @@ 0 - - MonthlyFrequency + + DayOfQuarter - Monthly frequency to take backups + Day of quarter for the quarterly snapshots when $AdvancedConfig is used. The default is the last day of the quarter. Does not apply to CDM versions prior to 5.0 - Int32 + String - Int32 + String - 0 + LastDay - - MonthlyRetention + + FirstQuarterStartMonth - Number of months to retain the monthly backups + Month that starts the first quarter of the year for the quarterly snapshots when $AdvancedConfig is used. The default is January. Does not apply to CDM versions prior to 5.0 - Int32 + String - Int32 + String - 0 + January - + + QuarterlyRetentionType + + Retention type to apply to quarterly snapshots. The default is Quarterly. Does not apply to CDM versions prior to 5.0 + + String + + String + + + Quarterly + + YearlyFrequency - Yearly frequency to take backups + Yearly frequency to take snapshots Int32 @@ -14414,10 +15130,10 @@ 0 - + YearlyRetention - Number of years to retain the yearly backups + Number of years to retain the yearly snapshots Int32 @@ -14426,7 +15142,43 @@ 0 - + + DayOfYear + + Day of year for the yearly snapshots when $AdvancedConfig is used. The default is the last day of the year. Does not apply to CDM versions prior to 5.0 + + String + + String + + + LastDay + + + YearStartMonth + + Month that starts the first quarter of the year for the quarterly snapshots when $AdvancedConfig is used. The default is January. Does not apply to CDM versions prior to 5.0 + + String + + String + + + January + + + AdvancedConfig + + Whether to turn advanced SLA configuration on or off. Does not apply to CDM versions prior to 5.0 + + SwitchParameter + + SwitchParameter + + + False + + Server Rubrik server IP or FQDN @@ -14438,7 +15190,7 @@ $global:RubrikConnection.server - + api API version @@ -17780,6 +18532,141 @@ + + + Register-RubrikBackupService + Register + RubrikBackupService + + Register the Rubrik Backup Service + + + + Register the Rubrik Backup Service for the specified VM + + + + Register-RubrikBackupService + + id + + ID of the VM which agent needs to be registered + + String + + String + + + None + + + Server + + Rubrik server IP or FQDN + + String + + String + + + $global:RubrikConnection.server + + + api + + API version + + String + + String + + + $global:RubrikConnection.api + + + + + + id + + ID of the VM which agent needs to be registered + + String + + String + + + None + + + Server + + Rubrik server IP or FQDN + + String + + String + + + $global:RubrikConnection.server + + + api + + API version + + String + + String + + + $global:RubrikConnection.api + + + + + + + Written by Pierre-Fran §ois Guglielmi Twitter: @pfguglielmi GitHub: pfguglielmi + + + + + -------------------------- EXAMPLE 1 -------------------------- + Get-RubrikVM -Name "demo-win01" | Register-RubrikBackupService -Verbose + + Get the details of VMware VM demo-win01 and register the Rubrik Backup Service installed on it with the Rubrik cluster + + + + -------------------------- EXAMPLE 2 -------------------------- + Get-RubrikNutanixVM -Name "demo-ahv01" | Register-RubrikBackupService -Verbose + + Get the details of Nutanix VM demo-win01 and register the Rubrik Backup Service installed on it with the Rubrik cluster + + + + -------------------------- EXAMPLE 3 -------------------------- + Get-RubrikHyperVVM -Name "demo-hyperv01" | Register-RubrikBackupService -Verbose + + Get the details of Hyper-V VM demo-win01 and register the Rubrik Backup Service installed on it with the Rubrik cluster + + + + -------------------------- EXAMPLE 4 -------------------------- + Register-RubrikBackupService -VMid VirtualMachine:::2af8fe5f-5b64-44dd-a9e0-ec063753b823-vm-37558 + + Register the Rubrik Backup Service installed on this VM with the Rubrik cluster by specifying the VM id + + + + + + https://github.com/rubrikinc/rubrik-sdk-for-powershell + https://github.com/rubrikinc/rubrik-sdk-for-powershell + + + Remove-RubrikAPIToken diff --git a/TestsResults.xml b/TestsResults.xml index 5f0d0ee12..761df961f 100644 --- a/TestsResults.xml +++ b/TestsResults.xml @@ -1,26 +1,26 @@  - + - + - + - + - + - + - + - + - - - - + + + + @@ -29,21 +29,21 @@ - + - + - + - + - + - + - - + + @@ -52,221 +52,224 @@ - + - + - + - + - - + + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - + + - + - + - + - - - - - - + + + + + + - + - + - + - - + + - + - + - + - - - - + + + + - + - + - + - + - + - + - + - - - - + + + + @@ -274,173 +277,173 @@ - + - + - + - - - + + + - + - + - + - - - - - + + + + + - + - + - + - - - - + + + + - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - - + + - + - + - - - - - - - - - - - - + + + + + + + + + + + + - + - + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + - - - - - + + + + + - + - + - + - + - + - + - + - - - - + + + + @@ -448,705 +451,705 @@ - + - + - + - - - - - + + + + + - + - + - + - - - - + + + + - + - + - + - - - + + + - + - + - + - + - - - + + + - + - + - + - + - + - - + + - + - + - + - - - - + + + + - + - + - + - - + + - + - + - + - + - - - + + + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - + - + - + - + - - + + - + - + - + - + - - + + - + - - - - + + + + - + - + - + - - - - + + + + - + - + - + - + - + - + - + - + - + - - - - - + + + + + - + - + - + - + - + - + - + - + - + - - - - - + + + + + - + - + - + - - - - + + + + - + - + - + - + - + - + - + - + - + - - - - - + + + + + - + - + - + - - + + - + - + - + - - + + - + - + - + - + - + - + - + - - + + - + - - + + - + - + - + - + - + - + - + - - + + - + - + - + - - + + - + - + - + - - + + - + - + - + - - - - - + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - + + + + - + - + - + - - + + - + - + - + - - + + - + - + - + - - + + - + - + - - - - - - - - - - - + + + + + + + + + + + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + - - + + diff --git a/docs/documentation/contribution.html b/docs/documentation/contribution.html index f13358e0f..63316bbc7 100644 --- a/docs/documentation/contribution.html +++ b/docs/documentation/contribution.html @@ -1811,7 +1811,7 @@

No results matching " var gitbook = gitbook || []; gitbook.push(function() { - gitbook.page.hasChanged({"page":{"title":"Contribution","level":"1.7","depth":1,"next":{"title":"Licensing","level":"1.8","depth":1,"path":"documentation/licensing.md","ref":"documentation/licensing.md","articles":[]},"previous":{"title":"Support","level":"1.6","depth":1,"path":"documentation/support.md","ref":"documentation/support.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"documentation/contribution.md","mtime":"2019-07-13T12:27:53.509Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-13T12:32:09.051Z"},"basePath":"..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Contribution","level":"1.7","depth":1,"next":{"title":"Licensing","level":"1.8","depth":1,"path":"documentation/licensing.md","ref":"documentation/licensing.md","articles":[]},"previous":{"title":"Support","level":"1.6","depth":1,"path":"documentation/support.md","ref":"documentation/support.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"documentation/contribution.md","mtime":"2019-07-16T01:32:25.316Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-16T01:36:14.696Z"},"basePath":"..","book":{"language":""}}); }); diff --git a/docs/documentation/faq.html b/docs/documentation/faq.html index b09711842..3443fd0ee 100644 --- a/docs/documentation/faq.html +++ b/docs/documentation/faq.html @@ -1634,7 +1634,7 @@

No results matching " var gitbook = gitbook || []; gitbook.push(function() { - gitbook.page.hasChanged({"page":{"title":"FAQ","level":"1.9","depth":1,"next":{"title":"Workflow","level":"2.1","depth":1,"path":"workflow/readme.md","ref":"workflow/readme.md","articles":[{"title":"Flow Audit","level":"2.1.1","depth":2,"path":"workflow/flow_audit.md","ref":"workflow/flow_audit.md","articles":[]}]},"previous":{"title":"Licensing","level":"1.8","depth":1,"path":"documentation/licensing.md","ref":"documentation/licensing.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"documentation/faq.md","mtime":"2019-07-13T12:27:53.509Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-13T12:32:09.051Z"},"basePath":"..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"FAQ","level":"1.9","depth":1,"next":{"title":"Workflow","level":"2.1","depth":1,"path":"workflow/readme.md","ref":"workflow/readme.md","articles":[{"title":"Flow Audit","level":"2.1.1","depth":2,"path":"workflow/flow_audit.md","ref":"workflow/flow_audit.md","articles":[]}]},"previous":{"title":"Licensing","level":"1.8","depth":1,"path":"documentation/licensing.md","ref":"documentation/licensing.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"documentation/faq.md","mtime":"2019-07-16T01:32:25.331Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-16T01:36:14.696Z"},"basePath":"..","book":{"language":""}}); }); diff --git a/docs/documentation/getting_started.html b/docs/documentation/getting_started.html index a2577bdf8..674fa48c3 100644 --- a/docs/documentation/getting_started.html +++ b/docs/documentation/getting_started.html @@ -1681,7 +1681,7 @@

No results matching " var gitbook = gitbook || []; gitbook.push(function() { - gitbook.page.hasChanged({"page":{"title":"Getting Started","level":"1.4","depth":1,"next":{"title":"Project Architecture","level":"1.5","depth":1,"path":"documentation/project_architecture.md","ref":"documentation/project_architecture.md","articles":[]},"previous":{"title":"Installation","level":"1.3","depth":1,"path":"documentation/installation.md","ref":"documentation/installation.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"documentation/getting_started.md","mtime":"2019-07-13T12:27:53.509Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-13T12:32:09.051Z"},"basePath":"..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Getting Started","level":"1.4","depth":1,"next":{"title":"Project Architecture","level":"1.5","depth":1,"path":"documentation/project_architecture.md","ref":"documentation/project_architecture.md","articles":[]},"previous":{"title":"Installation","level":"1.3","depth":1,"path":"documentation/installation.md","ref":"documentation/installation.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"documentation/getting_started.md","mtime":"2019-07-16T01:32:25.331Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-16T01:36:14.696Z"},"basePath":"..","book":{"language":""}}); }); diff --git a/docs/documentation/installation.html b/docs/documentation/installation.html index bfa38c45e..3f87ee04e 100644 --- a/docs/documentation/installation.html +++ b/docs/documentation/installation.html @@ -1673,7 +1673,7 @@

No results matching " var gitbook = gitbook || []; gitbook.push(function() { - gitbook.page.hasChanged({"page":{"title":"Installation","level":"1.3","depth":1,"next":{"title":"Getting Started","level":"1.4","depth":1,"path":"documentation/getting_started.md","ref":"documentation/getting_started.md","articles":[]},"previous":{"title":"Requirements","level":"1.2","depth":1,"path":"documentation/requirements.md","ref":"documentation/requirements.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"documentation/installation.md","mtime":"2019-07-13T12:27:53.509Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-13T12:32:09.051Z"},"basePath":"..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Installation","level":"1.3","depth":1,"next":{"title":"Getting Started","level":"1.4","depth":1,"path":"documentation/getting_started.md","ref":"documentation/getting_started.md","articles":[]},"previous":{"title":"Requirements","level":"1.2","depth":1,"path":"documentation/requirements.md","ref":"documentation/requirements.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"documentation/installation.md","mtime":"2019-07-16T01:32:25.331Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-16T01:36:14.696Z"},"basePath":"..","book":{"language":""}}); }); diff --git a/docs/documentation/licensing.html b/docs/documentation/licensing.html index 6d207dd97..07f4d5bde 100644 --- a/docs/documentation/licensing.html +++ b/docs/documentation/licensing.html @@ -1635,7 +1635,7 @@

No results matching " var gitbook = gitbook || []; gitbook.push(function() { - gitbook.page.hasChanged({"page":{"title":"Licensing","level":"1.8","depth":1,"next":{"title":"FAQ","level":"1.9","depth":1,"path":"documentation/faq.md","ref":"documentation/faq.md","articles":[]},"previous":{"title":"Contribution","level":"1.7","depth":1,"path":"documentation/contribution.md","ref":"documentation/contribution.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"documentation/licensing.md","mtime":"2019-07-13T12:27:53.509Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-13T12:32:09.051Z"},"basePath":"..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Licensing","level":"1.8","depth":1,"next":{"title":"FAQ","level":"1.9","depth":1,"path":"documentation/faq.md","ref":"documentation/faq.md","articles":[]},"previous":{"title":"Contribution","level":"1.7","depth":1,"path":"documentation/contribution.md","ref":"documentation/contribution.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"documentation/licensing.md","mtime":"2019-07-16T01:32:25.331Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-16T01:36:14.696Z"},"basePath":"..","book":{"language":""}}); }); diff --git a/docs/documentation/project_architecture.html b/docs/documentation/project_architecture.html index c5ac1965b..39b911c3e 100644 --- a/docs/documentation/project_architecture.html +++ b/docs/documentation/project_architecture.html @@ -1647,7 +1647,7 @@

No results matching " var gitbook = gitbook || []; gitbook.push(function() { - gitbook.page.hasChanged({"page":{"title":"Project Architecture","level":"1.5","depth":1,"next":{"title":"Support","level":"1.6","depth":1,"path":"documentation/support.md","ref":"documentation/support.md","articles":[]},"previous":{"title":"Getting Started","level":"1.4","depth":1,"path":"documentation/getting_started.md","ref":"documentation/getting_started.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"documentation/project_architecture.md","mtime":"2019-07-13T12:27:53.525Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-13T12:32:09.051Z"},"basePath":"..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Project Architecture","level":"1.5","depth":1,"next":{"title":"Support","level":"1.6","depth":1,"path":"documentation/support.md","ref":"documentation/support.md","articles":[]},"previous":{"title":"Getting Started","level":"1.4","depth":1,"path":"documentation/getting_started.md","ref":"documentation/getting_started.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"documentation/project_architecture.md","mtime":"2019-07-16T01:32:25.331Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-16T01:36:14.696Z"},"basePath":"..","book":{"language":""}}); }); diff --git a/docs/documentation/requirements.html b/docs/documentation/requirements.html index aeee44ab1..0e305e680 100644 --- a/docs/documentation/requirements.html +++ b/docs/documentation/requirements.html @@ -1641,7 +1641,7 @@

No results matching " var gitbook = gitbook || []; gitbook.push(function() { - gitbook.page.hasChanged({"page":{"title":"Requirements","level":"1.2","depth":1,"next":{"title":"Installation","level":"1.3","depth":1,"path":"documentation/installation.md","ref":"documentation/installation.md","articles":[]},"previous":{"title":"Introduction","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"documentation/requirements.md","mtime":"2019-07-13T12:27:53.525Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-13T12:32:09.051Z"},"basePath":"..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Requirements","level":"1.2","depth":1,"next":{"title":"Installation","level":"1.3","depth":1,"path":"documentation/installation.md","ref":"documentation/installation.md","articles":[]},"previous":{"title":"Introduction","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"documentation/requirements.md","mtime":"2019-07-16T01:32:25.331Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-16T01:36:14.696Z"},"basePath":"..","book":{"language":""}}); }); diff --git a/docs/documentation/support.html b/docs/documentation/support.html index 873d184b3..2326fc2cf 100644 --- a/docs/documentation/support.html +++ b/docs/documentation/support.html @@ -1636,7 +1636,7 @@

No results matching " var gitbook = gitbook || []; gitbook.push(function() { - gitbook.page.hasChanged({"page":{"title":"Support","level":"1.6","depth":1,"next":{"title":"Contribution","level":"1.7","depth":1,"path":"documentation/contribution.md","ref":"documentation/contribution.md","articles":[]},"previous":{"title":"Project Architecture","level":"1.5","depth":1,"path":"documentation/project_architecture.md","ref":"documentation/project_architecture.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"documentation/support.md","mtime":"2019-07-13T12:27:53.525Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-13T12:32:09.051Z"},"basePath":"..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Support","level":"1.6","depth":1,"next":{"title":"Contribution","level":"1.7","depth":1,"path":"documentation/contribution.md","ref":"documentation/contribution.md","articles":[]},"previous":{"title":"Project Architecture","level":"1.5","depth":1,"path":"documentation/project_architecture.md","ref":"documentation/project_architecture.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"documentation/support.md","mtime":"2019-07-16T01:32:25.331Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-16T01:36:14.696Z"},"basePath":"..","book":{"language":""}}); }); diff --git a/docs/index.html b/docs/index.html index 29b3799ce..9fd083aac 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1629,7 +1629,7 @@

No results matching " var gitbook = gitbook || []; gitbook.push(function() { - gitbook.page.hasChanged({"page":{"title":"Introduction","level":"1.1","depth":1,"next":{"title":"Requirements","level":"1.2","depth":1,"path":"documentation/requirements.md","ref":"documentation/requirements.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"README.md","mtime":"2019-07-13T12:27:53.556Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-13T12:32:09.051Z"},"basePath":".","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Introduction","level":"1.1","depth":1,"next":{"title":"Requirements","level":"1.2","depth":1,"path":"documentation/requirements.md","ref":"documentation/requirements.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"README.md","mtime":"2019-07-16T01:32:25.347Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-16T01:36:14.696Z"},"basePath":".","book":{"language":""}}); }); diff --git a/docs/reference/Get-RubrikBootStrap.md b/docs/reference/Get-RubrikBootStrap.md new file mode 100644 index 000000000..8e5a2081c --- /dev/null +++ b/docs/reference/Get-RubrikBootStrap.md @@ -0,0 +1,90 @@ +--- +external help file: Rubrik-help.xml +Module Name: Rubrik +online version: https://github.com/nshores/rubrik-sdk-for-powershell/tree/bootstrap +schema: 2.0.0 +--- + +# Get-RubrikBootStrap + +## SYNOPSIS +Connects to Rubrik cluster and retrieves the bootstrap process progress. + +## SYNTAX + +``` +Get-RubrikBootStrap [[-id] ] [[-Server] ] [[-RequestId] ] [] +``` + +## DESCRIPTION +This function is created to pull the status of a cluster bootstrap request. + +## EXAMPLES + +### EXAMPLE 1 +``` +Get-RubrikBootStrap -server 169.254.11.25 -requestid 1 +``` + +This will return the bootstrap status of the job with the requested ID. + +## PARAMETERS + +### -id +ID of the Rubrik cluster or me for self + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 1 +Default value: Me +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Server +Rubrik server IP or FQDN + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 2 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RequestId +Bootstrap Request ID + +```yaml +Type: String +Parameter Sets: (All) +Aliases: request_id + +Required: False +Position: 3 +Default value: 1 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### 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](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +## NOTES + +## RELATED LINKS + +[https://github.com/nshores/rubrik-sdk-for-powershell/tree/bootstrap](https://github.com/nshores/rubrik-sdk-for-powershell/tree/bootstrap) + diff --git a/docs/reference/New-RubrikBootStrap.md b/docs/reference/New-RubrikBootStrap.md new file mode 100644 index 000000000..510317df5 --- /dev/null +++ b/docs/reference/New-RubrikBootStrap.md @@ -0,0 +1,191 @@ +--- +external help file: Rubrik-help.xml +Module Name: Rubrik +online version: https://github.com/nshores/rubrik-sdk-for-powershell/tree/bootstrap +schema: 2.0.0 +--- + +# New-RubrikBootStrap + +## SYNOPSIS +Send a Rubrik Bootstrap Request + +## SYNTAX + +``` +New-RubrikBootStrap [[-id] ] [[-Server] ] [-adminUserInfo] [-nodeConfigs] + [[-enableSoftwareEncryptionAtRest] ] [[-name] ] [[-ntpServerConfigs] ] + [[-dnsNameservers] ] [[-dnsSearchDomains] ] [] +``` + +## DESCRIPTION +This will send a bootstrap request + +## EXAMPLES + +### EXAMPLE 1 +``` +https://gist.github.com/nshores/104f069570740ea645d67a8aeab19759 +``` + +New-RubrikBootStrap -Server 169.254.11.25 +-name 'rubrik-edge' +-dnsNameservers @('192.168.11.1') +-dnsSearchDomains @('corp.us','branch.corp.us') +-ntpserverconfigs @(@{server = 'pool.ntp.org'}) +-adminUserInfo @{emailAddress = 'nick@shoresmedia.com'; id ='admin'; password = 'P@SSw0rd!'} +-nodeconfigs @{node1 = @{managementIpConfig = @{address = '192.168.11.1'; gateway = '192.168.11.100'; netmask = '255.255.255.0'}}} + +## PARAMETERS + +### -id +ID of the Rubrik cluster or me for self + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 1 +Default value: Me +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Server +Rubrik server IP or FQDN + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 2 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -adminUserInfo +Admin User Info Hashtable + +```yaml +Type: Object +Parameter Sets: (All) +Aliases: + +Required: True +Position: 3 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -nodeConfigs +Node Configuration Hashtable + +```yaml +Type: Object +Parameter Sets: (All) +Aliases: + +Required: True +Position: 4 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -enableSoftwareEncryptionAtRest +Software Encryption + +```yaml +Type: Boolean +Parameter Sets: (All) +Aliases: + +Required: False +Position: 5 +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -name +Cluster/Edge Name + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 6 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ntpServerConfigs +NTP Servers + +```yaml +Type: Object +Parameter Sets: (All) +Aliases: + +Required: False +Position: 7 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -dnsNameservers +DNS Servers + +```yaml +Type: String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: 8 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -dnsSearchDomains +DNS Search Domains + +```yaml +Type: String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: 9 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### 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](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +## NOTES +#DNS Param must be an array even if only passing a single server +#NTP Must be an array than contains hash table for each server object +#Nodeconfigs Param must be a hash table object. + +## RELATED LINKS + +[https://github.com/nshores/rubrik-sdk-for-powershell/tree/bootstrap](https://github.com/nshores/rubrik-sdk-for-powershell/tree/bootstrap) + diff --git a/docs/reference/New-RubrikSLA.md b/docs/reference/New-RubrikSLA.md index 29f64f1bf..adbff67f4 100644 --- a/docs/reference/New-RubrikSLA.md +++ b/docs/reference/New-RubrikSLA.md @@ -14,10 +14,13 @@ Creates a new Rubrik SLA Domain ``` New-RubrikSLA [-Name] [[-HourlyFrequency] ] [[-HourlyRetention] ] - [[-DailyFrequency] ] [[-DailyRetention] ] [[-WeeklyFrequency] ] - [[-WeeklyRetention] ] [[-MonthlyFrequency] ] [[-MonthlyRetention] ] - [[-YearlyFrequency] ] [[-YearlyRetention] ] [[-Server] ] [[-api] ] [-WhatIf] - [-Confirm] [] + [[-HourlyRetentionType] ] [[-DailyFrequency] ] [[-DailyRetention] ] + [[-DailyRetentionType] ] [[-WeeklyFrequency] ] [[-WeeklyRetention] ] + [[-DayOfWeek] ] [[-MonthlyFrequency] ] [[-MonthlyRetention] ] [[-DayOfMonth] ] + [[-MonthlyRetentionType] ] [[-QuarterlyFrequency] ] [[-QuarterlyRetention] ] + [[-DayOfQuarter] ] [[-FirstQuarterStartMonth] ] [[-QuarterlyRetentionType] ] + [[-YearlyFrequency] ] [[-YearlyRetention] ] [[-DayOfYear] ] [[-YearStartMonth] ] + [-AdvancedConfig] [[-Server] ] [[-api] ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -58,7 +61,7 @@ Accept wildcard characters: False ``` ### -HourlyFrequency -Hourly frequency to take backups +Hourly frequency to take snapshots ```yaml Type: Int32 @@ -73,7 +76,8 @@ Accept wildcard characters: False ``` ### -HourlyRetention -Number of hours to retain the hourly backups +Number of days or weeks to retain the hourly snapshots. +For CDM versions prior to 5.0 this value must be set in days ```yaml Type: Int32 @@ -87,8 +91,24 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -HourlyRetentionType +Retention type to apply to hourly snapshots when $AdvancedConfig is used. +Does not apply to CDM versions prior to 5.0 + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 4 +Default value: Daily +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -DailyFrequency -Daily frequency to take backups +Daily frequency to take snapshots ```yaml Type: Int32 @@ -96,14 +116,15 @@ Parameter Sets: (All) Aliases: Required: False -Position: 4 +Position: 5 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ### -DailyRetention -Number of days to retain the daily backups +Number of days or weeks to retain the daily snapshots. +For CDM versions prior to 5.0 this value must be set in days ```yaml Type: Int32 @@ -111,14 +132,30 @@ Parameter Sets: (All) Aliases: Required: False -Position: 5 +Position: 6 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` +### -DailyRetentionType +Retention type to apply to daily snapshots when $AdvancedConfig is used. +Does not apply to CDM versions prior to 5.0 + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 7 +Default value: Daily +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -WeeklyFrequency -Weekly frequency to take backups +Weekly frequency to take snapshots ```yaml Type: Int32 @@ -126,14 +163,14 @@ Parameter Sets: (All) Aliases: Required: False -Position: 6 +Position: 8 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ### -WeeklyRetention -Number of weeks to retain the weekly backups +Number of weeks to retain the weekly snapshots ```yaml Type: Int32 @@ -141,14 +178,31 @@ Parameter Sets: (All) Aliases: Required: False -Position: 7 +Position: 9 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` +### -DayOfWeek +Day of week for the weekly snapshots when $AdvancedConfig is used. +The default is Saturday. +Does not apply to CDM versions prior to 5.0 + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 10 +Default value: Saturday +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -MonthlyFrequency -Monthly frequency to take backups +Monthly frequency to take snapshots ```yaml Type: Int32 @@ -156,14 +210,15 @@ Parameter Sets: (All) Aliases: Required: False -Position: 8 +Position: 11 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ### -MonthlyRetention -Number of months to retain the monthly backups +Number of months, quarters or years to retain the monthly backups. +For CDM versions prior to 5.0, this value must be set in years ```yaml Type: Int32 @@ -171,14 +226,130 @@ Parameter Sets: (All) Aliases: Required: False -Position: 9 +Position: 12 +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DayOfMonth +Day of month for the monthly snapshots when $AdvancedConfig is used. +The default is the last day of the month. +Does not apply to CDM versions prior to 5.0 + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 13 +Default value: LastDay +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MonthlyRetentionType +Retention type to apply to monthly snapshots. +Does not apply to CDM versions prior to 5.0 + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 14 +Default value: Monthly +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -QuarterlyFrequency +Quarterly frequency to take snapshots. +Does not apply to CDM versions prior to 5.0 + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: 15 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` +### -QuarterlyRetention +Number of quarters or years to retain the monthly snapshots. +Does not apply to CDM versions prior to 5.0 + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: 16 +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DayOfQuarter +Day of quarter for the quarterly snapshots when $AdvancedConfig is used. +The default is the last day of the quarter. +Does not apply to CDM versions prior to 5.0 + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 17 +Default value: LastDay +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FirstQuarterStartMonth +Month that starts the first quarter of the year for the quarterly snapshots when $AdvancedConfig is used. +The default is January. +Does not apply to CDM versions prior to 5.0 + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 18 +Default value: January +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -QuarterlyRetentionType +Retention type to apply to quarterly snapshots. +The default is Quarterly. +Does not apply to CDM versions prior to 5.0 + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 19 +Default value: Quarterly +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -YearlyFrequency -Yearly frequency to take backups +Yearly frequency to take snapshots ```yaml Type: Int32 @@ -186,14 +357,14 @@ Parameter Sets: (All) Aliases: Required: False -Position: 10 +Position: 20 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ### -YearlyRetention -Number of years to retain the yearly backups +Number of years to retain the yearly snapshots ```yaml Type: Int32 @@ -201,12 +372,62 @@ Parameter Sets: (All) Aliases: Required: False -Position: 11 +Position: 21 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` +### -DayOfYear +Day of year for the yearly snapshots when $AdvancedConfig is used. +The default is the last day of the year. +Does not apply to CDM versions prior to 5.0 + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 22 +Default value: LastDay +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -YearStartMonth +Month that starts the first quarter of the year for the quarterly snapshots when $AdvancedConfig is used. +The default is January. +Does not apply to CDM versions prior to 5.0 + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 23 +Default value: January +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdvancedConfig +Whether to turn advanced SLA configuration on or off. +Does not apply to CDM versions prior to 5.0 + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Server Rubrik server IP or FQDN @@ -216,7 +437,7 @@ Parameter Sets: (All) Aliases: Required: False -Position: 12 +Position: 24 Default value: $global:RubrikConnection.server Accept pipeline input: False Accept wildcard characters: False @@ -231,7 +452,7 @@ Parameter Sets: (All) Aliases: Required: False -Position: 13 +Position: 25 Default value: $global:RubrikConnection.api Accept pipeline input: False Accept wildcard characters: False diff --git a/docs/reference/Register-RubrikBackupService.md b/docs/reference/Register-RubrikBackupService.md new file mode 100644 index 000000000..7764e40f3 --- /dev/null +++ b/docs/reference/Register-RubrikBackupService.md @@ -0,0 +1,114 @@ +--- +external help file: Rubrik-help.xml +Module Name: Rubrik +online version: https://github.com/rubrikinc/rubrik-sdk-for-powershell +schema: 2.0.0 +--- + +# Register-RubrikBackupService + +## SYNOPSIS +Register the Rubrik Backup Service + +## SYNTAX + +``` +Register-RubrikBackupService [-id] [[-Server] ] [[-api] ] [] +``` + +## DESCRIPTION +Register the Rubrik Backup Service for the specified VM + +## EXAMPLES + +### EXAMPLE 1 +``` +Get-RubrikVM -Name "demo-win01" | Register-RubrikBackupService -Verbose +``` + +Get the details of VMware VM demo-win01 and register the Rubrik Backup Service installed on it with the Rubrik cluster + +### EXAMPLE 2 +``` +Get-RubrikNutanixVM -Name "demo-ahv01" | Register-RubrikBackupService -Verbose +``` + +Get the details of Nutanix VM demo-win01 and register the Rubrik Backup Service installed on it with the Rubrik cluster + +### EXAMPLE 3 +``` +Get-RubrikHyperVVM -Name "demo-hyperv01" | Register-RubrikBackupService -Verbose +``` + +Get the details of Hyper-V VM demo-win01 and register the Rubrik Backup Service installed on it with the Rubrik cluster + +### EXAMPLE 4 +``` +Register-RubrikBackupService -VMid VirtualMachine:::2af8fe5f-5b64-44dd-a9e0-ec063753b823-vm-37558 +``` + +Register the Rubrik Backup Service installed on this VM with the Rubrik cluster by specifying the VM id + +## PARAMETERS + +### -id +ID of the VM which agent needs to be registered + +```yaml +Type: String +Parameter Sets: (All) +Aliases: VMid + +Required: True +Position: 1 +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + +### -Server +Rubrik server IP or FQDN + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 2 +Default value: $global:RubrikConnection.server +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -api +API version + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 3 +Default value: $global:RubrikConnection.api +Accept pipeline input: False +Accept wildcard characters: False +``` + +### 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](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +## NOTES +Written by Pierre-Fran §ois Guglielmi +Twitter: @pfguglielmi +GitHub: pfguglielmi + +## RELATED LINKS + +[https://github.com/rubrikinc/rubrik-sdk-for-powershell](https://github.com/rubrikinc/rubrik-sdk-for-powershell) + diff --git a/docs/reference/readme.html b/docs/reference/readme.html index 6a79d9fa0..ced67d978 100644 --- a/docs/reference/readme.html +++ b/docs/reference/readme.html @@ -1634,7 +1634,7 @@

No results matching " var gitbook = gitbook || []; gitbook.push(function() { - gitbook.page.hasChanged({"page":{"title":"Reference","level":"2.2","depth":1,"next":{"title":"Connect-Rubrik","level":"2.2.1","depth":2,"path":"reference/Connect-Rubrik.md","ref":"reference/Connect-Rubrik.md","articles":[]},"previous":{"title":"Flow Audit","level":"2.1.1","depth":2,"path":"workflow/flow_audit.md","ref":"workflow/flow_audit.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"reference/readme.md","mtime":"2019-07-13T12:27:53.652Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-13T12:32:09.051Z"},"basePath":"..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Reference","level":"2.2","depth":1,"next":{"title":"Connect-Rubrik","level":"2.2.1","depth":2,"path":"reference/Connect-Rubrik.md","ref":"reference/Connect-Rubrik.md","articles":[]},"previous":{"title":"Flow Audit","level":"2.1.1","depth":2,"path":"workflow/flow_audit.md","ref":"workflow/flow_audit.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"reference/readme.md","mtime":"2019-07-16T01:32:25.425Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-16T01:36:14.696Z"},"basePath":"..","book":{"language":""}}); }); diff --git a/docs/workflow/flow_audit.html b/docs/workflow/flow_audit.html index 1eb7bc051..e9c88f3dc 100644 --- a/docs/workflow/flow_audit.html +++ b/docs/workflow/flow_audit.html @@ -1647,7 +1647,7 @@

No results matching " var gitbook = gitbook || []; gitbook.push(function() { - gitbook.page.hasChanged({"page":{"title":"Flow Audit","level":"2.1.1","depth":2,"next":{"title":"Reference","level":"2.2","depth":1,"path":"reference/readme.md","ref":"reference/readme.md","articles":[{"title":"Connect-Rubrik","level":"2.2.1","depth":2,"path":"reference/Connect-Rubrik.md","ref":"reference/Connect-Rubrik.md","articles":[]},{"title":"Disconnect-Rubrik","level":"2.2.2","depth":2,"path":"reference/Disconnect-Rubrik.md","ref":"reference/Disconnect-Rubrik.md","articles":[]},{"title":"Export-RubrikDatabase","level":"2.2.3","depth":2,"path":"reference/Export-RubrikDatabase.md","ref":"reference/Export-RubrikDatabase.md","articles":[]},{"title":"Export-RubrikReport","level":"2.2.4","depth":2,"path":"reference/Export-RubrikReport.md","ref":"reference/Export-RubrikReport.md","articles":[]},{"title":"Get-RubrikAPIVersion","level":"2.2.5","depth":2,"path":"reference/Get-RubrikAPIVersion.md","ref":"reference/Get-RubrikAPIVersion.md","articles":[]},{"title":"Get-RubrikAvailabilityGroup","level":"2.2.6","depth":2,"path":"reference/Get-RubrikAvailabilityGroup.md","ref":"reference/Get-RubrikAvailabilityGroup.md","articles":[]},{"title":"Get-RubrikDatabase","level":"2.2.7","depth":2,"path":"reference/Get-RubrikDatabase.md","ref":"reference/Get-RubrikDatabase.md","articles":[]},{"title":"Get-RubrikDatabaseFiles","level":"2.2.8","depth":2,"path":"reference/Get-RubrikDatabaseFiles.md","ref":"reference/Get-RubrikDatabaseFiles.md","articles":[]},{"title":"Get-RubrikDatabaseMount","level":"2.2.9","depth":2,"path":"reference/Get-RubrikDatabaseMount.md","ref":"reference/Get-RubrikDatabaseMount.md","articles":[]},{"title":"Get-RubrikDatabaseRecoverableRange","level":"2.2.10","depth":2,"path":"reference/Get-RubrikDatabaseRecoverableRange.md","ref":"reference/Get-RubrikDatabaseRecoverableRange.md","articles":[]},{"title":"Get-RubrikFileset","level":"2.2.11","depth":2,"path":"reference/Get-RubrikFileset.md","ref":"reference/Get-RubrikFileset.md","articles":[]},{"title":"Get-RubrikFilesetTemplate","level":"2.2.12","depth":2,"path":"reference/Get-RubrikFilesetTemplate.md","ref":"reference/Get-RubrikFilesetTemplate.md","articles":[]},{"title":"Get-RubrikHost","level":"2.2.13","depth":2,"path":"reference/Get-RubrikHost.md","ref":"reference/Get-RubrikHost.md","articles":[]},{"title":"Get-RubrikHyperVVM","level":"2.2.14","depth":2,"path":"reference/Get-RubrikHyperVVM.md","ref":"reference/Get-RubrikHyperVVM.md","articles":[]},{"title":"Get-RubrikLDAP","level":"2.2.15","depth":2,"path":"reference/Get-RubrikLDAP.md","ref":"reference/Get-RubrikLDAP.md","articles":[]},{"title":"Get-RubrikLogShipping","level":"2.2.16","depth":2,"path":"reference/Get-RubrikLogShipping.md","ref":"reference/Get-RubrikLogShipping.md","articles":[]},{"title":"Get-RubrikManagedVolume","level":"2.2.17","depth":2,"path":"reference/Get-RubrikManagedVolume.md","ref":"reference/Get-RubrikManagedVolume.md","articles":[]},{"title":"Get-RubrikManagedVolumeExport","level":"2.2.18","depth":2,"path":"reference/Get-RubrikManagedVolumeExport.md","ref":"reference/Get-RubrikManagedVolumeExport.md","articles":[]},{"title":"Get-RubrikMount","level":"2.2.19","depth":2,"path":"reference/Get-RubrikMount.md","ref":"reference/Get-RubrikMount.md","articles":[]},{"title":"Get-RubrikNASShare","level":"2.2.20","depth":2,"path":"reference/Get-RubrikNASShare.md","ref":"reference/Get-RubrikNASShare.md","articles":[]},{"title":"Get-RubrikNutanixVM","level":"2.2.21","depth":2,"path":"reference/Get-RubrikNutanixVM.md","ref":"reference/Get-RubrikNutanixVM.md","articles":[]},{"title":"Get-RubrikOrganization","level":"2.2.22","depth":2,"path":"reference/Get-RubrikOrganization.md","ref":"reference/Get-RubrikOrganization.md","articles":[]},{"title":"Get-RubrikReport","level":"2.2.23","depth":2,"path":"reference/Get-RubrikReport.md","ref":"reference/Get-RubrikReport.md","articles":[]},{"title":"Get-RubrikReportData","level":"2.2.24","depth":2,"path":"reference/Get-RubrikReportData.md","ref":"reference/Get-RubrikReportData.md","articles":[]},{"title":"Get-RubrikRequest","level":"2.2.25","depth":2,"path":"reference/Get-RubrikRequest.md","ref":"reference/Get-RubrikRequest.md","articles":[]},{"title":"Get-RubrikSetting","level":"2.2.26","depth":2,"path":"reference/Get-RubrikSetting.md","ref":"reference/Get-RubrikSetting.md","articles":[]},{"title":"Get-RubrikSLA","level":"2.2.27","depth":2,"path":"reference/Get-RubrikSLA.md","ref":"reference/Get-RubrikSLA.md","articles":[]},{"title":"Get-RubrikSnapshot","level":"2.2.28","depth":2,"path":"reference/Get-RubrikSnapshot.md","ref":"reference/Get-RubrikSnapshot.md","articles":[]},{"title":"Get-RubrikSoftwareVersion","level":"2.2.29","depth":2,"path":"reference/Get-RubrikSoftwareVersion.md","ref":"reference/Get-RubrikSoftwareVersion.md","articles":[]},{"title":"Get-RubrikSQLInstance","level":"2.2.30","depth":2,"path":"reference/Get-RubrikSQLInstance.md","ref":"reference/Get-RubrikSQLInstance.md","articles":[]},{"title":"Get-RubrikSupportTunnel","level":"2.2.31","depth":2,"path":"reference/Get-RubrikSupportTunnel.md","ref":"reference/Get-RubrikSupportTunnel.md","articles":[]},{"title":"Get-RubrikUnmanagedObject","level":"2.2.32","depth":2,"path":"reference/Get-RubrikUnmanagedObject.md","ref":"reference/Get-RubrikUnmanagedObject.md","articles":[]},{"title":"Get-RubrikVCenter","level":"2.2.33","depth":2,"path":"reference/Get-RubrikVCenter.md","ref":"reference/Get-RubrikVCenter.md","articles":[]},{"title":"Get-RubrikVersion","level":"2.2.34","depth":2,"path":"reference/Get-RubrikVersion.md","ref":"reference/Get-RubrikVersion.md","articles":[]},{"title":"Get-RubrikVM","level":"2.2.35","depth":2,"path":"reference/Get-RubrikVM.md","ref":"reference/Get-RubrikVM.md","articles":[]},{"title":"Get-RubrikVMSnapshot","level":"2.2.36","depth":2,"path":"reference/Get-RubrikVMSnapshot.md","ref":"reference/Get-RubrikVMSnapshot.md","articles":[]},{"title":"Get-RubrikVolumeGroup","level":"2.2.37","depth":2,"path":"reference/Get-RubrikVolumeGroup.md","ref":"reference/Get-RubrikVolumeGroup.md","articles":[]},{"title":"Get-RubrikVolumeGroupMount","level":"2.2.38","depth":2,"path":"reference/Get-RubrikVolumeGroupMount.md","ref":"reference/Get-RubrikVolumeGroupMount.md","articles":[]},{"title":"Invoke-RubrikRESTCall","level":"2.2.39","depth":2,"path":"reference/Invoke-RubrikRESTCall.md","ref":"reference/Invoke-RubrikRESTCall.md","articles":[]},{"title":"Move-RubrikMountVMDK","level":"2.2.40","depth":2,"path":"reference/Move-RubrikMountVMDK.md","ref":"reference/Move-RubrikMountVMDK.md","articles":[]},{"title":"New-RubrikDatabaseMount","level":"2.2.41","depth":2,"path":"reference/New-RubrikDatabaseMount.md","ref":"reference/New-RubrikDatabaseMount.md","articles":[]},{"title":"New-RubrikFileset","level":"2.2.42","depth":2,"path":"reference/New-RubrikFileset.md","ref":"reference/New-RubrikFileset.md","articles":[]},{"title":"New-RubrikFilesetTemplate","level":"2.2.43","depth":2,"path":"reference/New-RubrikFilesetTemplate.md","ref":"reference/New-RubrikFilesetTemplate.md","articles":[]},{"title":"New-RubrikHost","level":"2.2.44","depth":2,"path":"reference/New-RubrikHost.md","ref":"reference/New-RubrikHost.md","articles":[]},{"title":"New-RubrikLDAP","level":"2.2.45","depth":2,"path":"reference/New-RubrikLDAP.md","ref":"reference/New-RubrikLDAP.md","articles":[]},{"title":"New-RubrikLogBackup","level":"2.2.46","depth":2,"path":"reference/New-RubrikLogBackup.md","ref":"reference/New-RubrikLogBackup.md","articles":[]},{"title":"New-RubrikLogShipping","level":"2.2.47","depth":2,"path":"reference/New-RubrikLogShipping.md","ref":"reference/New-RubrikLogShipping.md","articles":[]},{"title":"New-RubrikManagedVolume","level":"2.2.48","depth":2,"path":"reference/New-RubrikManagedVolume.md","ref":"reference/New-RubrikManagedVolume.md","articles":[]},{"title":"New-RubrikManagedVolumeExport","level":"2.2.49","depth":2,"path":"reference/New-RubrikManagedVolumeExport.md","ref":"reference/New-RubrikManagedVolumeExport.md","articles":[]},{"title":"New-RubrikMount","level":"2.2.50","depth":2,"path":"reference/New-RubrikMount.md","ref":"reference/New-RubrikMount.md","articles":[]},{"title":"New-RubrikNASShare","level":"2.2.51","depth":2,"path":"reference/New-RubrikNASShare.md","ref":"reference/New-RubrikNASShare.md","articles":[]},{"title":"New-RubrikReport","level":"2.2.52","depth":2,"path":"reference/New-RubrikReport.md","ref":"reference/New-RubrikReport.md","articles":[]},{"title":"New-RubrikSLA","level":"2.2.53","depth":2,"path":"reference/New-RubrikSLA.md","ref":"reference/New-RubrikSLA.md","articles":[]},{"title":"New-RubrikSnapshot","level":"2.2.54","depth":2,"path":"reference/New-RubrikSnapshot.md","ref":"reference/New-RubrikSnapshot.md","articles":[]},{"title":"New-RubrikVCenter","level":"2.2.55","depth":2,"path":"reference/New-RubrikVCenter.md","ref":"reference/New-RubrikVCenter.md","articles":[]},{"title":"New-RubrikVMDKMount","level":"2.2.56","depth":2,"path":"reference/New-RubrikVMDKMount.md","ref":"reference/New-RubrikVMDKMount.md","articles":[]},{"title":"New-RubrikVolumeGroupMount","level":"2.2.57","depth":2,"path":"reference/New-RubrikVolumeGroupMount.md","ref":"reference/New-RubrikVolumeGroupMount.md","articles":[]},{"title":"Protect-RubrikDatabase","level":"2.2.58","depth":2,"path":"reference/Protect-RubrikDatabase.md","ref":"reference/Protect-RubrikDatabase.md","articles":[]},{"title":"Protect-RubrikFileset","level":"2.2.59","depth":2,"path":"reference/Protect-RubrikFileset.md","ref":"reference/Protect-RubrikFileset.md","articles":[]},{"title":"Protect-RubrikHyperVVM","level":"2.2.60","depth":2,"path":"reference/Protect-RubrikHyperVVM.md","ref":"reference/Protect-RubrikHyperVVM.md","articles":[]},{"title":"Protect-RubrikNutanixVM","level":"2.2.61","depth":2,"path":"reference/Protect-RubrikNutanixVM.md","ref":"reference/Protect-RubrikNutanixVM.md","articles":[]},{"title":"Protect-RubrikTag","level":"2.2.62","depth":2,"path":"reference/Protect-RubrikTag.md","ref":"reference/Protect-RubrikTag.md","articles":[]},{"title":"Protect-RubrikVM","level":"2.2.63","depth":2,"path":"reference/Protect-RubrikVM.md","ref":"reference/Protect-RubrikVM.md","articles":[]},{"title":"Remove-RubrikDatabaseMount","level":"2.2.64","depth":2,"path":"reference/Remove-RubrikDatabaseMount.md","ref":"reference/Remove-RubrikDatabaseMount.md","articles":[]},{"title":"Remove-RubrikFileset","level":"2.2.65","depth":2,"path":"reference/Remove-RubrikFileset.md","ref":"reference/Remove-RubrikFileset.md","articles":[]},{"title":"Remove-RubrikHost","level":"2.2.66","depth":2,"path":"reference/Remove-RubrikHost.md","ref":"reference/Remove-RubrikHost.md","articles":[]},{"title":"Remove-RubrikLogShipping","level":"2.2.67","depth":2,"path":"reference/Remove-RubrikLogShipping.md","ref":"reference/Remove-RubrikLogShipping.md","articles":[]},{"title":"Remove-RubrikManagedVolume","level":"2.2.68","depth":2,"path":"reference/Remove-RubrikManagedVolume.md","ref":"reference/Remove-RubrikManagedVolume.md","articles":[]},{"title":"Remove-RubrikManagedVolumeExport","level":"2.2.69","depth":2,"path":"reference/Remove-RubrikManagedVolumeExport.md","ref":"reference/Remove-RubrikManagedVolumeExport.md","articles":[]},{"title":"Remove-RubrikMount","level":"2.2.70","depth":2,"path":"reference/Remove-RubrikMount.md","ref":"reference/Remove-RubrikMount.md","articles":[]},{"title":"Remove-RubrikNASShare","level":"2.2.71","depth":2,"path":"reference/Remove-RubrikNASShare.md","ref":"reference/Remove-RubrikNASShare.md","articles":[]},{"title":"Remove-RubrikReport","level":"2.2.72","depth":2,"path":"reference/Remove-RubrikReport.md","ref":"reference/Remove-RubrikReport.md","articles":[]},{"title":"Remove-RubrikSLA","level":"2.2.73","depth":2,"path":"reference/Remove-RubrikSLA.md","ref":"reference/Remove-RubrikSLA.md","articles":[]},{"title":"Remove-RubrikUnmanagedObject","level":"2.2.74","depth":2,"path":"reference/Remove-RubrikUnmanagedObject.md","ref":"reference/Remove-RubrikUnmanagedObject.md","articles":[]},{"title":"Remove-RubrikVCenter","level":"2.2.75","depth":2,"path":"reference/Remove-RubrikVCenter.md","ref":"reference/Remove-RubrikVCenter.md","articles":[]},{"title":"Remove-RubrikVolumeGroupMount","level":"2.2.76","depth":2,"path":"reference/Remove-RubrikVolumeGroupMount.md","ref":"reference/Remove-RubrikVolumeGroupMount.md","articles":[]},{"title":"Reset-RubrikLogShipping","level":"2.2.77","depth":2,"path":"reference/Reset-RubrikLogShipping.md","ref":"reference/Reset-RubrikLogShipping.md","articles":[]},{"title":"Restore-RubrikDatabase","level":"2.2.78","depth":2,"path":"reference/Restore-RubrikDatabase.md","ref":"reference/Restore-RubrikDatabase.md","articles":[]},{"title":"Set-RubrikAvailabilityGroup","level":"2.2.79","depth":2,"path":"reference/Set-RubrikAvailabilityGroup.md","ref":"reference/Set-RubrikAvailabilityGroup.md","articles":[]},{"title":"Set-RubrikBlackout","level":"2.2.80","depth":2,"path":"reference/Set-RubrikBlackout.md","ref":"reference/Set-RubrikBlackout.md","articles":[]},{"title":"Set-RubrikDatabase","level":"2.2.81","depth":2,"path":"reference/Set-RubrikDatabase.md","ref":"reference/Set-RubrikDatabase.md","articles":[]},{"title":"Set-RubrikHyperVVM","level":"2.2.82","depth":2,"path":"reference/Set-RubrikHyperVVM.md","ref":"reference/Set-RubrikHyperVVM.md","articles":[]},{"title":"Set-RubrikLogShipping","level":"2.2.83","depth":2,"path":"reference/Set-RubrikLogShipping.md","ref":"reference/Set-RubrikLogShipping.md","articles":[]},{"title":"Set-RubrikManagedVolume","level":"2.2.84","depth":2,"path":"reference/Set-RubrikManagedVolume.md","ref":"reference/Set-RubrikManagedVolume.md","articles":[]},{"title":"Set-RubrikMount","level":"2.2.85","depth":2,"path":"reference/Set-RubrikMount.md","ref":"reference/Set-RubrikMount.md","articles":[]},{"title":"Set-RubrikNASShare","level":"2.2.86","depth":2,"path":"reference/Set-RubrikNASShare.md","ref":"reference/Set-RubrikNASShare.md","articles":[]},{"title":"Set-RubrikNutanixVM","level":"2.2.87","depth":2,"path":"reference/Set-RubrikNutanixVM.md","ref":"reference/Set-RubrikNutanixVM.md","articles":[]},{"title":"Set-RubrikSetting","level":"2.2.88","depth":2,"path":"reference/Set-RubrikSetting.md","ref":"reference/Set-RubrikSetting.md","articles":[]},{"title":"Set-RubrikSQLInstance","level":"2.2.89","depth":2,"path":"reference/Set-RubrikSQLInstance.md","ref":"reference/Set-RubrikSQLInstance.md","articles":[]},{"title":"Set-RubrikSupportTunnel","level":"2.2.90","depth":2,"path":"reference/Set-RubrikSupportTunnel.md","ref":"reference/Set-RubrikSupportTunnel.md","articles":[]},{"title":"Set-RubrikVCenter","level":"2.2.91","depth":2,"path":"reference/Set-RubrikVCenter.md","ref":"reference/Set-RubrikVCenter.md","articles":[]},{"title":"Set-RubrikVM","level":"2.2.92","depth":2,"path":"reference/Set-RubrikVM.md","ref":"reference/Set-RubrikVM.md","articles":[]},{"title":"Start-RubrikManagedVolumeSnapshot","level":"2.2.93","depth":2,"path":"reference/Start-RubrikManagedVolumeSnapshot.md","ref":"reference/Start-RubrikManagedVolumeSnapshot.md","articles":[]},{"title":"Stop-RubrikManagedVolumeSnapshot","level":"2.2.94","depth":2,"path":"reference/Stop-RubrikManagedVolumeSnapshot.md","ref":"reference/Stop-RubrikManagedVolumeSnapshot.md","articles":[]},{"title":"Sync-RubrikAnnotation","level":"2.2.95","depth":2,"path":"reference/Sync-RubrikAnnotation.md","ref":"reference/Sync-RubrikAnnotation.md","articles":[]},{"title":"Sync-RubrikTag","level":"2.2.96","depth":2,"path":"reference/Sync-RubrikTag.md","ref":"reference/Sync-RubrikTag.md","articles":[]},{"title":"Update-RubrikHost","level":"2.2.97","depth":2,"path":"reference/Update-RubrikHost.md","ref":"reference/Update-RubrikHost.md","articles":[]},{"title":"Update-RubrikVCenter","level":"2.2.98","depth":2,"path":"reference/Update-RubrikVCenter.md","ref":"reference/Update-RubrikVCenter.md","articles":[]}]},"previous":{"title":"Workflow","level":"2.1","depth":1,"path":"workflow/readme.md","ref":"workflow/readme.md","articles":[{"title":"Flow Audit","level":"2.1.1","depth":2,"path":"workflow/flow_audit.md","ref":"workflow/flow_audit.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"workflow/flow_audit.md","mtime":"2019-07-13T12:27:53.652Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-13T12:32:09.051Z"},"basePath":"..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Flow Audit","level":"2.1.1","depth":2,"next":{"title":"Reference","level":"2.2","depth":1,"path":"reference/readme.md","ref":"reference/readme.md","articles":[{"title":"Connect-Rubrik","level":"2.2.1","depth":2,"path":"reference/Connect-Rubrik.md","ref":"reference/Connect-Rubrik.md","articles":[]},{"title":"Disconnect-Rubrik","level":"2.2.2","depth":2,"path":"reference/Disconnect-Rubrik.md","ref":"reference/Disconnect-Rubrik.md","articles":[]},{"title":"Export-RubrikDatabase","level":"2.2.3","depth":2,"path":"reference/Export-RubrikDatabase.md","ref":"reference/Export-RubrikDatabase.md","articles":[]},{"title":"Export-RubrikReport","level":"2.2.4","depth":2,"path":"reference/Export-RubrikReport.md","ref":"reference/Export-RubrikReport.md","articles":[]},{"title":"Get-RubrikAPIVersion","level":"2.2.5","depth":2,"path":"reference/Get-RubrikAPIVersion.md","ref":"reference/Get-RubrikAPIVersion.md","articles":[]},{"title":"Get-RubrikAvailabilityGroup","level":"2.2.6","depth":2,"path":"reference/Get-RubrikAvailabilityGroup.md","ref":"reference/Get-RubrikAvailabilityGroup.md","articles":[]},{"title":"Get-RubrikDatabase","level":"2.2.7","depth":2,"path":"reference/Get-RubrikDatabase.md","ref":"reference/Get-RubrikDatabase.md","articles":[]},{"title":"Get-RubrikDatabaseFiles","level":"2.2.8","depth":2,"path":"reference/Get-RubrikDatabaseFiles.md","ref":"reference/Get-RubrikDatabaseFiles.md","articles":[]},{"title":"Get-RubrikDatabaseMount","level":"2.2.9","depth":2,"path":"reference/Get-RubrikDatabaseMount.md","ref":"reference/Get-RubrikDatabaseMount.md","articles":[]},{"title":"Get-RubrikDatabaseRecoverableRange","level":"2.2.10","depth":2,"path":"reference/Get-RubrikDatabaseRecoverableRange.md","ref":"reference/Get-RubrikDatabaseRecoverableRange.md","articles":[]},{"title":"Get-RubrikFileset","level":"2.2.11","depth":2,"path":"reference/Get-RubrikFileset.md","ref":"reference/Get-RubrikFileset.md","articles":[]},{"title":"Get-RubrikFilesetTemplate","level":"2.2.12","depth":2,"path":"reference/Get-RubrikFilesetTemplate.md","ref":"reference/Get-RubrikFilesetTemplate.md","articles":[]},{"title":"Get-RubrikHost","level":"2.2.13","depth":2,"path":"reference/Get-RubrikHost.md","ref":"reference/Get-RubrikHost.md","articles":[]},{"title":"Get-RubrikHyperVVM","level":"2.2.14","depth":2,"path":"reference/Get-RubrikHyperVVM.md","ref":"reference/Get-RubrikHyperVVM.md","articles":[]},{"title":"Get-RubrikLDAP","level":"2.2.15","depth":2,"path":"reference/Get-RubrikLDAP.md","ref":"reference/Get-RubrikLDAP.md","articles":[]},{"title":"Get-RubrikLogShipping","level":"2.2.16","depth":2,"path":"reference/Get-RubrikLogShipping.md","ref":"reference/Get-RubrikLogShipping.md","articles":[]},{"title":"Get-RubrikManagedVolume","level":"2.2.17","depth":2,"path":"reference/Get-RubrikManagedVolume.md","ref":"reference/Get-RubrikManagedVolume.md","articles":[]},{"title":"Get-RubrikManagedVolumeExport","level":"2.2.18","depth":2,"path":"reference/Get-RubrikManagedVolumeExport.md","ref":"reference/Get-RubrikManagedVolumeExport.md","articles":[]},{"title":"Get-RubrikMount","level":"2.2.19","depth":2,"path":"reference/Get-RubrikMount.md","ref":"reference/Get-RubrikMount.md","articles":[]},{"title":"Get-RubrikNASShare","level":"2.2.20","depth":2,"path":"reference/Get-RubrikNASShare.md","ref":"reference/Get-RubrikNASShare.md","articles":[]},{"title":"Get-RubrikNutanixVM","level":"2.2.21","depth":2,"path":"reference/Get-RubrikNutanixVM.md","ref":"reference/Get-RubrikNutanixVM.md","articles":[]},{"title":"Get-RubrikOrganization","level":"2.2.22","depth":2,"path":"reference/Get-RubrikOrganization.md","ref":"reference/Get-RubrikOrganization.md","articles":[]},{"title":"Get-RubrikReport","level":"2.2.23","depth":2,"path":"reference/Get-RubrikReport.md","ref":"reference/Get-RubrikReport.md","articles":[]},{"title":"Get-RubrikReportData","level":"2.2.24","depth":2,"path":"reference/Get-RubrikReportData.md","ref":"reference/Get-RubrikReportData.md","articles":[]},{"title":"Get-RubrikRequest","level":"2.2.25","depth":2,"path":"reference/Get-RubrikRequest.md","ref":"reference/Get-RubrikRequest.md","articles":[]},{"title":"Get-RubrikSetting","level":"2.2.26","depth":2,"path":"reference/Get-RubrikSetting.md","ref":"reference/Get-RubrikSetting.md","articles":[]},{"title":"Get-RubrikSLA","level":"2.2.27","depth":2,"path":"reference/Get-RubrikSLA.md","ref":"reference/Get-RubrikSLA.md","articles":[]},{"title":"Get-RubrikSnapshot","level":"2.2.28","depth":2,"path":"reference/Get-RubrikSnapshot.md","ref":"reference/Get-RubrikSnapshot.md","articles":[]},{"title":"Get-RubrikSoftwareVersion","level":"2.2.29","depth":2,"path":"reference/Get-RubrikSoftwareVersion.md","ref":"reference/Get-RubrikSoftwareVersion.md","articles":[]},{"title":"Get-RubrikSQLInstance","level":"2.2.30","depth":2,"path":"reference/Get-RubrikSQLInstance.md","ref":"reference/Get-RubrikSQLInstance.md","articles":[]},{"title":"Get-RubrikSupportTunnel","level":"2.2.31","depth":2,"path":"reference/Get-RubrikSupportTunnel.md","ref":"reference/Get-RubrikSupportTunnel.md","articles":[]},{"title":"Get-RubrikUnmanagedObject","level":"2.2.32","depth":2,"path":"reference/Get-RubrikUnmanagedObject.md","ref":"reference/Get-RubrikUnmanagedObject.md","articles":[]},{"title":"Get-RubrikVCenter","level":"2.2.33","depth":2,"path":"reference/Get-RubrikVCenter.md","ref":"reference/Get-RubrikVCenter.md","articles":[]},{"title":"Get-RubrikVersion","level":"2.2.34","depth":2,"path":"reference/Get-RubrikVersion.md","ref":"reference/Get-RubrikVersion.md","articles":[]},{"title":"Get-RubrikVM","level":"2.2.35","depth":2,"path":"reference/Get-RubrikVM.md","ref":"reference/Get-RubrikVM.md","articles":[]},{"title":"Get-RubrikVMSnapshot","level":"2.2.36","depth":2,"path":"reference/Get-RubrikVMSnapshot.md","ref":"reference/Get-RubrikVMSnapshot.md","articles":[]},{"title":"Get-RubrikVolumeGroup","level":"2.2.37","depth":2,"path":"reference/Get-RubrikVolumeGroup.md","ref":"reference/Get-RubrikVolumeGroup.md","articles":[]},{"title":"Get-RubrikVolumeGroupMount","level":"2.2.38","depth":2,"path":"reference/Get-RubrikVolumeGroupMount.md","ref":"reference/Get-RubrikVolumeGroupMount.md","articles":[]},{"title":"Invoke-RubrikRESTCall","level":"2.2.39","depth":2,"path":"reference/Invoke-RubrikRESTCall.md","ref":"reference/Invoke-RubrikRESTCall.md","articles":[]},{"title":"Move-RubrikMountVMDK","level":"2.2.40","depth":2,"path":"reference/Move-RubrikMountVMDK.md","ref":"reference/Move-RubrikMountVMDK.md","articles":[]},{"title":"New-RubrikDatabaseMount","level":"2.2.41","depth":2,"path":"reference/New-RubrikDatabaseMount.md","ref":"reference/New-RubrikDatabaseMount.md","articles":[]},{"title":"New-RubrikFileset","level":"2.2.42","depth":2,"path":"reference/New-RubrikFileset.md","ref":"reference/New-RubrikFileset.md","articles":[]},{"title":"New-RubrikFilesetTemplate","level":"2.2.43","depth":2,"path":"reference/New-RubrikFilesetTemplate.md","ref":"reference/New-RubrikFilesetTemplate.md","articles":[]},{"title":"New-RubrikHost","level":"2.2.44","depth":2,"path":"reference/New-RubrikHost.md","ref":"reference/New-RubrikHost.md","articles":[]},{"title":"New-RubrikLDAP","level":"2.2.45","depth":2,"path":"reference/New-RubrikLDAP.md","ref":"reference/New-RubrikLDAP.md","articles":[]},{"title":"New-RubrikLogBackup","level":"2.2.46","depth":2,"path":"reference/New-RubrikLogBackup.md","ref":"reference/New-RubrikLogBackup.md","articles":[]},{"title":"New-RubrikLogShipping","level":"2.2.47","depth":2,"path":"reference/New-RubrikLogShipping.md","ref":"reference/New-RubrikLogShipping.md","articles":[]},{"title":"New-RubrikManagedVolume","level":"2.2.48","depth":2,"path":"reference/New-RubrikManagedVolume.md","ref":"reference/New-RubrikManagedVolume.md","articles":[]},{"title":"New-RubrikManagedVolumeExport","level":"2.2.49","depth":2,"path":"reference/New-RubrikManagedVolumeExport.md","ref":"reference/New-RubrikManagedVolumeExport.md","articles":[]},{"title":"New-RubrikMount","level":"2.2.50","depth":2,"path":"reference/New-RubrikMount.md","ref":"reference/New-RubrikMount.md","articles":[]},{"title":"New-RubrikNASShare","level":"2.2.51","depth":2,"path":"reference/New-RubrikNASShare.md","ref":"reference/New-RubrikNASShare.md","articles":[]},{"title":"New-RubrikReport","level":"2.2.52","depth":2,"path":"reference/New-RubrikReport.md","ref":"reference/New-RubrikReport.md","articles":[]},{"title":"New-RubrikSLA","level":"2.2.53","depth":2,"path":"reference/New-RubrikSLA.md","ref":"reference/New-RubrikSLA.md","articles":[]},{"title":"New-RubrikSnapshot","level":"2.2.54","depth":2,"path":"reference/New-RubrikSnapshot.md","ref":"reference/New-RubrikSnapshot.md","articles":[]},{"title":"New-RubrikVCenter","level":"2.2.55","depth":2,"path":"reference/New-RubrikVCenter.md","ref":"reference/New-RubrikVCenter.md","articles":[]},{"title":"New-RubrikVMDKMount","level":"2.2.56","depth":2,"path":"reference/New-RubrikVMDKMount.md","ref":"reference/New-RubrikVMDKMount.md","articles":[]},{"title":"New-RubrikVolumeGroupMount","level":"2.2.57","depth":2,"path":"reference/New-RubrikVolumeGroupMount.md","ref":"reference/New-RubrikVolumeGroupMount.md","articles":[]},{"title":"Protect-RubrikDatabase","level":"2.2.58","depth":2,"path":"reference/Protect-RubrikDatabase.md","ref":"reference/Protect-RubrikDatabase.md","articles":[]},{"title":"Protect-RubrikFileset","level":"2.2.59","depth":2,"path":"reference/Protect-RubrikFileset.md","ref":"reference/Protect-RubrikFileset.md","articles":[]},{"title":"Protect-RubrikHyperVVM","level":"2.2.60","depth":2,"path":"reference/Protect-RubrikHyperVVM.md","ref":"reference/Protect-RubrikHyperVVM.md","articles":[]},{"title":"Protect-RubrikNutanixVM","level":"2.2.61","depth":2,"path":"reference/Protect-RubrikNutanixVM.md","ref":"reference/Protect-RubrikNutanixVM.md","articles":[]},{"title":"Protect-RubrikTag","level":"2.2.62","depth":2,"path":"reference/Protect-RubrikTag.md","ref":"reference/Protect-RubrikTag.md","articles":[]},{"title":"Protect-RubrikVM","level":"2.2.63","depth":2,"path":"reference/Protect-RubrikVM.md","ref":"reference/Protect-RubrikVM.md","articles":[]},{"title":"Remove-RubrikDatabaseMount","level":"2.2.64","depth":2,"path":"reference/Remove-RubrikDatabaseMount.md","ref":"reference/Remove-RubrikDatabaseMount.md","articles":[]},{"title":"Remove-RubrikFileset","level":"2.2.65","depth":2,"path":"reference/Remove-RubrikFileset.md","ref":"reference/Remove-RubrikFileset.md","articles":[]},{"title":"Remove-RubrikHost","level":"2.2.66","depth":2,"path":"reference/Remove-RubrikHost.md","ref":"reference/Remove-RubrikHost.md","articles":[]},{"title":"Remove-RubrikLogShipping","level":"2.2.67","depth":2,"path":"reference/Remove-RubrikLogShipping.md","ref":"reference/Remove-RubrikLogShipping.md","articles":[]},{"title":"Remove-RubrikManagedVolume","level":"2.2.68","depth":2,"path":"reference/Remove-RubrikManagedVolume.md","ref":"reference/Remove-RubrikManagedVolume.md","articles":[]},{"title":"Remove-RubrikManagedVolumeExport","level":"2.2.69","depth":2,"path":"reference/Remove-RubrikManagedVolumeExport.md","ref":"reference/Remove-RubrikManagedVolumeExport.md","articles":[]},{"title":"Remove-RubrikMount","level":"2.2.70","depth":2,"path":"reference/Remove-RubrikMount.md","ref":"reference/Remove-RubrikMount.md","articles":[]},{"title":"Remove-RubrikNASShare","level":"2.2.71","depth":2,"path":"reference/Remove-RubrikNASShare.md","ref":"reference/Remove-RubrikNASShare.md","articles":[]},{"title":"Remove-RubrikReport","level":"2.2.72","depth":2,"path":"reference/Remove-RubrikReport.md","ref":"reference/Remove-RubrikReport.md","articles":[]},{"title":"Remove-RubrikSLA","level":"2.2.73","depth":2,"path":"reference/Remove-RubrikSLA.md","ref":"reference/Remove-RubrikSLA.md","articles":[]},{"title":"Remove-RubrikUnmanagedObject","level":"2.2.74","depth":2,"path":"reference/Remove-RubrikUnmanagedObject.md","ref":"reference/Remove-RubrikUnmanagedObject.md","articles":[]},{"title":"Remove-RubrikVCenter","level":"2.2.75","depth":2,"path":"reference/Remove-RubrikVCenter.md","ref":"reference/Remove-RubrikVCenter.md","articles":[]},{"title":"Remove-RubrikVolumeGroupMount","level":"2.2.76","depth":2,"path":"reference/Remove-RubrikVolumeGroupMount.md","ref":"reference/Remove-RubrikVolumeGroupMount.md","articles":[]},{"title":"Reset-RubrikLogShipping","level":"2.2.77","depth":2,"path":"reference/Reset-RubrikLogShipping.md","ref":"reference/Reset-RubrikLogShipping.md","articles":[]},{"title":"Restore-RubrikDatabase","level":"2.2.78","depth":2,"path":"reference/Restore-RubrikDatabase.md","ref":"reference/Restore-RubrikDatabase.md","articles":[]},{"title":"Set-RubrikAvailabilityGroup","level":"2.2.79","depth":2,"path":"reference/Set-RubrikAvailabilityGroup.md","ref":"reference/Set-RubrikAvailabilityGroup.md","articles":[]},{"title":"Set-RubrikBlackout","level":"2.2.80","depth":2,"path":"reference/Set-RubrikBlackout.md","ref":"reference/Set-RubrikBlackout.md","articles":[]},{"title":"Set-RubrikDatabase","level":"2.2.81","depth":2,"path":"reference/Set-RubrikDatabase.md","ref":"reference/Set-RubrikDatabase.md","articles":[]},{"title":"Set-RubrikHyperVVM","level":"2.2.82","depth":2,"path":"reference/Set-RubrikHyperVVM.md","ref":"reference/Set-RubrikHyperVVM.md","articles":[]},{"title":"Set-RubrikLogShipping","level":"2.2.83","depth":2,"path":"reference/Set-RubrikLogShipping.md","ref":"reference/Set-RubrikLogShipping.md","articles":[]},{"title":"Set-RubrikManagedVolume","level":"2.2.84","depth":2,"path":"reference/Set-RubrikManagedVolume.md","ref":"reference/Set-RubrikManagedVolume.md","articles":[]},{"title":"Set-RubrikMount","level":"2.2.85","depth":2,"path":"reference/Set-RubrikMount.md","ref":"reference/Set-RubrikMount.md","articles":[]},{"title":"Set-RubrikNASShare","level":"2.2.86","depth":2,"path":"reference/Set-RubrikNASShare.md","ref":"reference/Set-RubrikNASShare.md","articles":[]},{"title":"Set-RubrikNutanixVM","level":"2.2.87","depth":2,"path":"reference/Set-RubrikNutanixVM.md","ref":"reference/Set-RubrikNutanixVM.md","articles":[]},{"title":"Set-RubrikSetting","level":"2.2.88","depth":2,"path":"reference/Set-RubrikSetting.md","ref":"reference/Set-RubrikSetting.md","articles":[]},{"title":"Set-RubrikSQLInstance","level":"2.2.89","depth":2,"path":"reference/Set-RubrikSQLInstance.md","ref":"reference/Set-RubrikSQLInstance.md","articles":[]},{"title":"Set-RubrikSupportTunnel","level":"2.2.90","depth":2,"path":"reference/Set-RubrikSupportTunnel.md","ref":"reference/Set-RubrikSupportTunnel.md","articles":[]},{"title":"Set-RubrikVCenter","level":"2.2.91","depth":2,"path":"reference/Set-RubrikVCenter.md","ref":"reference/Set-RubrikVCenter.md","articles":[]},{"title":"Set-RubrikVM","level":"2.2.92","depth":2,"path":"reference/Set-RubrikVM.md","ref":"reference/Set-RubrikVM.md","articles":[]},{"title":"Start-RubrikManagedVolumeSnapshot","level":"2.2.93","depth":2,"path":"reference/Start-RubrikManagedVolumeSnapshot.md","ref":"reference/Start-RubrikManagedVolumeSnapshot.md","articles":[]},{"title":"Stop-RubrikManagedVolumeSnapshot","level":"2.2.94","depth":2,"path":"reference/Stop-RubrikManagedVolumeSnapshot.md","ref":"reference/Stop-RubrikManagedVolumeSnapshot.md","articles":[]},{"title":"Sync-RubrikAnnotation","level":"2.2.95","depth":2,"path":"reference/Sync-RubrikAnnotation.md","ref":"reference/Sync-RubrikAnnotation.md","articles":[]},{"title":"Sync-RubrikTag","level":"2.2.96","depth":2,"path":"reference/Sync-RubrikTag.md","ref":"reference/Sync-RubrikTag.md","articles":[]},{"title":"Update-RubrikHost","level":"2.2.97","depth":2,"path":"reference/Update-RubrikHost.md","ref":"reference/Update-RubrikHost.md","articles":[]},{"title":"Update-RubrikVCenter","level":"2.2.98","depth":2,"path":"reference/Update-RubrikVCenter.md","ref":"reference/Update-RubrikVCenter.md","articles":[]}]},"previous":{"title":"Workflow","level":"2.1","depth":1,"path":"workflow/readme.md","ref":"workflow/readme.md","articles":[{"title":"Flow Audit","level":"2.1.1","depth":2,"path":"workflow/flow_audit.md","ref":"workflow/flow_audit.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"workflow/flow_audit.md","mtime":"2019-07-16T01:32:25.441Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-16T01:36:14.696Z"},"basePath":"..","book":{"language":""}}); }); diff --git a/docs/workflow/readme.html b/docs/workflow/readme.html index 24242a919..d445dcd44 100644 --- a/docs/workflow/readme.html +++ b/docs/workflow/readme.html @@ -1634,7 +1634,7 @@

No results matching " var gitbook = gitbook || []; gitbook.push(function() { - gitbook.page.hasChanged({"page":{"title":"Workflow","level":"2.1","depth":1,"next":{"title":"Flow Audit","level":"2.1.1","depth":2,"path":"workflow/flow_audit.md","ref":"workflow/flow_audit.md","articles":[]},"previous":{"title":"FAQ","level":"1.9","depth":1,"path":"documentation/faq.md","ref":"documentation/faq.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"workflow/readme.md","mtime":"2019-07-13T12:27:53.652Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-13T12:32:09.051Z"},"basePath":"..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Workflow","level":"2.1","depth":1,"next":{"title":"Flow Audit","level":"2.1.1","depth":2,"path":"workflow/flow_audit.md","ref":"workflow/flow_audit.md","articles":[]},"previous":{"title":"FAQ","level":"1.9","depth":1,"path":"documentation/faq.md","ref":"documentation/faq.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters-small"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters-small":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Chris Wahl","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Community PowerShell Module for Rubrik","language":"en","gitbook":"*","description":"PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs"},"file":{"path":"workflow/readme.md","mtime":"2019-07-16T01:32:25.441Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-07-16T01:36:14.696Z"},"basePath":"..","book":{"language":""}}); }); diff --git a/templates/Bootstrap-Rubrik.ps1 b/templates/Bootstrap-Rubrik.ps1 new file mode 100644 index 000000000..1cdba60a6 --- /dev/null +++ b/templates/Bootstrap-Rubrik.ps1 @@ -0,0 +1,106 @@ +# New-RubrikBootStrap/Get-RubrikBootStrap example for bootstrapping Rubrik Physical or Cloud Cluster + +# This example uses the IPv4 Locally Assigned Link Address (169.254.x.x) on Cluster to bootstrap +# You will need an address in this range configured on the NIC of the system you initiate bootstrap from +# Can also use MDNS name - IE VRVW564D3A0BC.local +# Cloud Cluster IPs are assigned by the cloud provider, so those should be used in place of link local addresses + +$server = '169.254.10.10' +$name = 'BootstrapExample' + +# Must Be an array even if you only have 1 server +$management_dns = @( + '8.8.8.8' +) + +# Must be an array with a hash table inside +$ntp = @( + @{ + server = 'pool.ntp.org' + } +) + +#Follow the below format to define additonal nodes +$node = @{ + node1 = @{ + managementIpConfig = @{ + address = '192.168.1.10'; + gateway = '192.168.1.1'; + netmask = '255.255.255.0' + } + } + node2 = @{ + managementIpConfig = @{ + address = '192.168.1.11'; + gateway = '192.168.1.1'; + netmask = '255.255.255.0' + } + } + node3 = @{ + managementIpConfig = @{ + address = '192.168.1.12'; + gateway = '192.168.1.1'; + netmask = '255.255.255.0' + } + } + node4 = @{ + managementIpConfig = @{ + address = '192.168.1.13'; + gateway = '192.168.1.1'; + netmask = '255.255.255.0' + } + } +} +$enableSoftwareEncryption = $false + +$adminuserinfo = @{ + emailAddress = 'user@email.com'; + id = 'admin'; + password = 'Rubrik123!' +} + +Write-Output "Beginning Bootstrap Process" + + +New-RubrikBootStrap -Server $server -name $name -dnsNameservers $management_dns ` + -ntpserverconfigs $ntp -adminUserInfo $adminuserinfo -nodeconfigs $node ` + -enableSoftwareEncryptionAtRest $enableSoftwareEncryption + +$clusterIp = $node.node1.managementIpConfig.address + +$attempts = 1 + +while ($true) { + Try { + Write-Output "Polling Bootstrap Status on $($clusterIp)" + $Status = Get-RubrikBootStrap -Server $clusterIp -RequestId 1 + } + Catch + { + If($_.Exception -eq "No route to host") { + $attempts += 1 + sleep 30 + } + Else { + Write-Output $Status + Write-Output $_.Exception + $attempts += 1 + sleep 30 + } + } + + If($attempts -eq 12) { + Throw "Timed out attempting to connect" + } + + If($Status.status -eq "IN_PROGRESS") { + Write-Output "Bootstrap Status: $($Status.status)" + sleep 30 + } + Elseif(($Status.status -eq "FAILURE") -or ($Status.status -eq "FAILED")) { + Throw "Bootstrap Status: $($Status.status)" + } + Elseif($Status.status -eq "SUCCESS") { + Return $Status.status + } +} diff --git a/templates/Bootstrap-RubrikEdge.ps1 b/templates/Bootstrap-RubrikEdge.ps1 new file mode 100644 index 000000000..07a3fffa9 --- /dev/null +++ b/templates/Bootstrap-RubrikEdge.ps1 @@ -0,0 +1,83 @@ +# New-RubrikBootStrap/Get-RubrikBootStrap example for bootstrapping Rubrik Edge/Air + +# This example uses the IPv4 Locally Assigned Link Address (169.254.x.x) on the Rubrik VM for bootstrap +# You will need an address in this range configured on the NIC of the system you initiate bootstrap from +# Can also use MDNS name - IE VRVW564D3A0BC.local + +$server = '169.254.10.10' +$name = 'BootstrapExample' + +# Must Be an array even if you only have 1 server +$management_dns = @( + '8.8.8.8' +) + +# Must be an array with a hash table inside +$ntp = @( + @{ + server = 'pool.ntp.org' + } +) + +# Follow the below format to define additonal nodes +$node = @{ + node1 = @{ + managementIpConfig = @{ + address = '192.168.1.10'; + gateway = '192.168.1.1'; + netmask = '255.255.255.0' + } + } +} +$enableSoftwareEncryption = $false + +$adminuserinfo = @{ + emailAddress = 'user@email.com'; + id = 'admin'; + password = 'Rubrik123!' +} + +Write-Output "Beginning Bootstrap Process" + +New-RubrikBootStrap -Server $server -name $name -dnsNameservers $management_dns ` + -ntpserverconfigs $ntp -adminUserInfo $adminuserinfo -nodeconfigs $node ` + -enableSoftwareEncryptionAtRest $enableSoftwareEncryption + +$clusterIp = $node.node1.managementIpConfig.address + +$attempts = 1 + +while ($true) { + Try { + Write-Output "Polling Bootstrap Status on $($clusterIp)" + $Status = Get-RubrikBootStrap -Server $clusterIp -RequestId 1 + } + Catch + { + If($_.Exception -eq "No route to host") { + $attempts += 1 + sleep 30 + } + Else { + Write-Output $Status + Write-Output $_.Exception + $attempts += 1 + sleep 30 + } + } + + If($attempts -eq 12) { + Throw "Timed out attempting to connect" + } + + If($Status.status -eq "IN_PROGRESS") { + Write-Output "Bootstrap Status: $($Status.status)" + sleep 30 + } + Elseif(($Status.status -eq "FAILURE") -or ($Status.status -eq "FAILED")) { + Throw "Bootstrap Status: $($Status.status)" + } + Elseif($Status.status -eq "SUCCESS") { + Return $Status.status + } +}