Skip to content

Commit

Permalink
Version 1.11.2
Browse files Browse the repository at this point in the history
Schema update.
  • Loading branch information
guirava committed Oct 24, 2024
1 parent 7574d2a commit aa1ff72
Show file tree
Hide file tree
Showing 251 changed files with 34,527 additions and 28,375 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Version 1.11.2

Schema update.

## Version 1.11

Schema update.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private JObject processVariables(IRscLogger? logger = null)
return variables;
}

private JToken processVariable(object obj)
private JToken processVariable(object? obj)
{
if (obj is null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ public string SaveQueryToFile(string? filename = null)
{
filename = DefaultFileName();
}
Files.WriteFile(filename, this.Query, true);
string q = this.Query==null ? "" : this.Query;
Files.WriteFile(filename, q, true);
return filename;
}
}
Expand Down
2 changes: 1 addition & 1 deletion RubrikSecurityCloud/RubrikSecurityCloud.Common/VarDict.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public override string ToString()
{
var sb = new StringBuilder();
sb.Append("[vardict]{");
foreach(KeyValuePair<string, object> entry in this)
foreach(KeyValuePair<string, object?> entry in this)
{
sb.Append(entry.Key).Append('=').Append(
StringUtils.FormatObjectForLogging(entry.Value))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
RootModule = 'LoadModule.psm1'

# Version number of this module.
ModuleVersion = '1.11'
ModuleVersion = '1.11.2'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand All @@ -27,7 +27,7 @@ Copyright = '(c) Rubrik. All rights reserved.'

# Description of the functionality provided by this module
# NOTE: This entry is generated.
Description = 'PowerShell Module for Rubrik Security Cloud. GraphQL schema version: v20241007-35 .'
Description = 'PowerShell Module for Rubrik Security Cloud. GraphQL schema version: v20241014-23 .'

# Minimum version of the PowerShell engine required by this module
PowerShellVersion = '5.0.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Account
/// # API Operation: CreateOrg
///
/// $query = New-RscMutationAccount -CreateOrg
/// $query = New-RscMutationAccount -Operation CreateOrg
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -211,7 +211,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Account
/// # API Operation: CreateOrgSwitchSession
///
/// $query = New-RscMutationAccount -CreateOrgSwitchSession
/// $query = New-RscMutationAccount -Operation CreateOrgSwitchSession
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -242,7 +242,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Account
/// # API Operation: CreateRole
///
/// $query = New-RscMutationAccount -CreateRole
/// $query = New-RscMutationAccount -Operation CreateRole
///
/// # REQUIRED
/// $query.Var.name = $someString
Expand Down Expand Up @@ -290,7 +290,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Account
/// # API Operation: CreateUser
///
/// $query = New-RscMutationAccount -CreateUser
/// $query = New-RscMutationAccount -Operation CreateUser
///
/// # REQUIRED
/// $query.Var.email = $someString
Expand Down Expand Up @@ -322,7 +322,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Account
/// # API Operation: CreateUserWithPassword
///
/// $query = New-RscMutationAccount -CreateUserWithPassword
/// $query = New-RscMutationAccount -Operation CreateUserWithPassword
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -359,7 +359,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Account
/// # API Operation: DeleteOrg
///
/// $query = New-RscMutationAccount -DeleteOrg
/// $query = New-RscMutationAccount -Operation DeleteOrg
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -390,7 +390,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Account
/// # API Operation: DeleteRole
///
/// $query = New-RscMutationAccount -DeleteRole
/// $query = New-RscMutationAccount -Operation DeleteRole
///
/// # REQUIRED
/// $query.Var.roleId = $someString
Expand Down Expand Up @@ -418,7 +418,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Account
/// # API Operation: DeleteTotpConfig
///
/// $query = New-RscMutationAccount -DeleteTotpConfig
/// $query = New-RscMutationAccount -Operation DeleteTotpConfig
///
/// # REQUIRED
/// $query.Var.userId = $someString
Expand Down Expand Up @@ -446,7 +446,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Account
/// # API Operation: DeleteTotpConfigs
///
/// $query = New-RscMutationAccount -DeleteTotpConfigs
/// $query = New-RscMutationAccount -Operation DeleteTotpConfigs
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -479,7 +479,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Account
/// # API Operation: DeleteUsers
///
/// $query = New-RscMutationAccount -DeleteUsers
/// $query = New-RscMutationAccount -Operation DeleteUsers
///
/// # REQUIRED
/// $query.Var.ids = @(
Expand Down Expand Up @@ -509,7 +509,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Account
/// # API Operation: GenerateTotpSecret
///
/// $query = New-RscMutationAccount -GenerateTotpSecret
/// $query = New-RscMutationAccount -Operation GenerateTotpSecret
///
/// # REQUIRED
/// $query.Var.userId = $someString
Expand Down Expand Up @@ -537,7 +537,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Account
/// # API Operation: MutateRole
///
/// $query = New-RscMutationAccount -MutateRole
/// $query = New-RscMutationAccount -Operation MutateRole
///
/// # OPTIONAL
/// $query.Var.roleId = $someString
Expand Down Expand Up @@ -591,7 +591,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Account
/// # API Operation: UpdateOrg
///
/// $query = New-RscMutationAccount -UpdateOrg
/// $query = New-RscMutationAccount -Operation UpdateOrg
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -717,7 +717,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Account
/// # API Operation: UpdateRole
///
/// $query = New-RscMutationAccount -UpdateRole
/// $query = New-RscMutationAccount -Operation UpdateRole
///
/// # REQUIRED
/// $query.Var.roleId = $someString
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: ActiveDirectory
/// # API Operation: CreateLiveMount
///
/// $query = New-RscMutationActiveDirectory -CreateLiveMount
/// $query = New-RscMutationActiveDirectory -Operation CreateLiveMount
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -143,7 +143,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: ActiveDirectory
/// # API Operation: CreateUnmount
///
/// $query = New-RscMutationActiveDirectory -CreateUnmount
/// $query = New-RscMutationActiveDirectory -Operation CreateUnmount
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -174,7 +174,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: ActiveDirectory
/// # API Operation: ModifyLiveMount
///
/// $query = New-RscMutationActiveDirectory -ModifyLiveMount
/// $query = New-RscMutationActiveDirectory -Operation ModifyLiveMount
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -216,7 +216,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: ActiveDirectory
/// # API Operation: RestoreObjects
///
/// $query = New-RscMutationActiveDirectory -RestoreObjects
/// $query = New-RscMutationActiveDirectory -Operation RestoreObjects
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: ActivitySeries
/// # API Operation: Cancel
///
/// $query = New-RscMutationActivitySeries -Cancel
/// $query = New-RscMutationActivitySeries -Operation Cancel
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -120,7 +120,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: ActivitySeries
/// # API Operation: DownloadUserCsv
///
/// $query = New-RscMutationActivitySeries -DownloadUserCsv
/// $query = New-RscMutationActivitySeries -Operation DownloadUserCsv
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -206,7 +206,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: ActivitySeries
/// # API Operation: DownloadUserFileCsv
///
/// $query = New-RscMutationActivitySeries -DownloadUserFileCsv
/// $query = New-RscMutationActivitySeries -Operation DownloadUserFileCsv
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Archival
/// # API Operation: CreateGlacierReaderTarget
///
/// $query = New-RscMutationArchival -CreateGlacierReaderTarget
/// $query = New-RscMutationArchival -Operation CreateGlacierReaderTarget
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -132,7 +132,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Archival
/// # API Operation: CreateManualTargetMapping
///
/// $query = New-RscMutationArchival -CreateManualTargetMapping
/// $query = New-RscMutationArchival -Operation CreateManualTargetMapping
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -174,7 +174,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Archival
/// # API Operation: CreateS3CompatibleReaderTarget
///
/// $query = New-RscMutationArchival -CreateS3CompatibleReaderTarget
/// $query = New-RscMutationArchival -Operation CreateS3CompatibleReaderTarget
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -241,7 +241,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Archival
/// # API Operation: CreateS3CompatibleTarget
///
/// $query = New-RscMutationArchival -CreateS3CompatibleTarget
/// $query = New-RscMutationArchival -Operation CreateS3CompatibleTarget
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -306,7 +306,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Archival
/// # API Operation: DeleteTarget
///
/// $query = New-RscMutationArchival -DeleteTarget
/// $query = New-RscMutationArchival -Operation DeleteTarget
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -337,7 +337,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Archival
/// # API Operation: DeleteTargetMapping
///
/// $query = New-RscMutationArchival -DeleteTargetMapping
/// $query = New-RscMutationArchival -Operation DeleteTargetMapping
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -368,7 +368,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Archival
/// # API Operation: DisableTarget
///
/// $query = New-RscMutationArchival -DisableTarget
/// $query = New-RscMutationArchival -Operation DisableTarget
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -399,7 +399,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Archival
/// # API Operation: EnableTarget
///
/// $query = New-RscMutationArchival -EnableTarget
/// $query = New-RscMutationArchival -Operation EnableTarget
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -430,7 +430,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Archival
/// # API Operation: PauseTarget
///
/// $query = New-RscMutationArchival -PauseTarget
/// $query = New-RscMutationArchival -Operation PauseTarget
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -461,7 +461,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Archival
/// # API Operation: PromoteReaderTarget
///
/// $query = New-RscMutationArchival -PromoteReaderTarget
/// $query = New-RscMutationArchival -Operation PromoteReaderTarget
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -492,7 +492,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Archival
/// # API Operation: RefreshReaderTarget
///
/// $query = New-RscMutationArchival -RefreshReaderTarget
/// $query = New-RscMutationArchival -Operation RefreshReaderTarget
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -535,7 +535,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Archival
/// # API Operation: ResumeTarget
///
/// $query = New-RscMutationArchival -ResumeTarget
/// $query = New-RscMutationArchival -Operation ResumeTarget
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -566,7 +566,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Archival
/// # API Operation: UpdateGlacierTarget
///
/// $query = New-RscMutationArchival -UpdateGlacierTarget
/// $query = New-RscMutationArchival -Operation UpdateGlacierTarget
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -603,7 +603,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Archival
/// # API Operation: UpdateManualTargetMapping
///
/// $query = New-RscMutationArchival -UpdateManualTargetMapping
/// $query = New-RscMutationArchival -Operation UpdateManualTargetMapping
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -645,7 +645,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Archival
/// # API Operation: UpdateS3CompatibleTarget
///
/// $query = New-RscMutationArchival -UpdateS3CompatibleTarget
/// $query = New-RscMutationArchival -Operation UpdateS3CompatibleTarget
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down Expand Up @@ -695,7 +695,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # API Domain: Archival
/// # API Operation: UpgradeCdmManagedTarget
///
/// $query = New-RscMutationArchival -UpgradeCdmManagedTarget
/// $query = New-RscMutationArchival -Operation UpgradeCdmManagedTarget
///
/// # REQUIRED
/// $query.Var.input = @{
Expand Down
Loading

0 comments on commit aa1ff72

Please sign in to comment.