Skip to content

Commit 2039143

Browse files
committed
Version 1.10
- Updated schema, - Documentation fixes.
2 parents 7393297 + dd51651 commit 2039143

File tree

502 files changed

+89034
-32171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

502 files changed

+89034
-32171
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## ~ Upcoming Version ~
4+
5+
New Features:
6+
7+
Fixes:
8+
9+
Breaking Changes:
10+
311
## Version 1.9
412

513
Fixes:
@@ -573,3 +581,4 @@ Breaking changes:
573581

574582

575583

584+

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ We rely on
66
[your feedback](https://github.com/rubrikinc/rubrik-powershell-sdk/discussions)
77
to improve the SDK !
88

9-
This is a fully supported SDK to work with Rubrik Security Cloud (RSC).
9+
Rubrik fully supports this SDK. If you have problems with the SDK, please open a GitHub issue or contact your account team. Please note that Rubrik supports the SDK, but can't debug your scripts.
1010

1111
If you need to work with the CDM SDK, please see:
1212
[github.com/rubrikinc/rubrik-sdk-for-powershell](https://github.com/rubrikinc/rubrik-sdk-for-powershell)

RubrikSecurityCloud/RubrikSecurityCloud.PowerShell/RubrikSecurityCloud.psd1

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Copyright = '(c) Rubrik. All rights reserved.'
2727

2828
# Description of the functionality provided by this module
2929
# NOTE: This entry is generated.
30-
Description = 'PowerShell Module for Rubrik Security Cloud. GraphQL schema version: v20240819-24 .'
30+
Description = 'PowerShell Module for Rubrik Security Cloud. GraphQL schema version: v20240923-11 .'
3131

3232
# Minimum version of the PowerShell engine required by this module
3333
PowerShellVersion = '5.0.0'

RubrikSecurityCloud/RubrikSecurityCloud.PowerShell/generated/New-RscMutationAws.cs

+79-4
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
namespace RubrikSecurityCloud.PowerShell.Cmdlets
2424
{
2525
/// <summary>
26-
/// Create a new RscQuery object for any of the 35
26+
/// Create a new RscQuery object for any of the 36
2727
/// operations in the 'AWS' API domain:
28-
/// AddAuthenticationServerBasedCloudAccount, AddIamUserBasedCloudAccount, BulkDeleteCloudAccountWithoutCft, CreateAccount, CreateAutomaticTargetMapping, CreateCloudNativeStorageSetting, CreateCluster, CreateComputeSetting, CreateExocomputeConfigs, CreateReaderTarget, CreateTarget, DeleteComputeSetting, DeleteExocomputeConfigs, DisconnectExocomputeCluster, ExocomputeClusterConnect, FinalizeCloudAccountDeletion, FinalizeCloudAccountProtection, PatchAuthenticationServerBasedCloudAccount, PatchIamUserBasedCloudAccount, PrepareCloudAccountDeletion, PrepareFeatureUpdateForCloudAccount, RegisterFeatureArtifacts, StartExocomputeDisableJob, UpdateAccount, UpdateAutomaticTargetMapping, UpdateCloudAccount, UpdateCloudAccountFeature, UpdateCloudNativeStorageSetting, UpdateComputeSetting, UpdateExocomputeConfigs, UpdateTarget, UpgradeCloudAccountFeaturesWithoutCft, UpgradeIamUserBasedCloudAccountPermissions, ValidateAndCreateCloudAccount, or ValidateAndInitiateOutpostAccount.
28+
/// AddAuthenticationServerBasedCloudAccount, AddIamUserBasedCloudAccount, BulkDeleteCloudAccountWithoutCft, CreateAccount, CreateAutomaticTargetMapping, CreateCloudNativeStorageSetting, CreateCluster, CreateComputeSetting, CreateExocomputeConfigs, CreateReaderTarget, CreateTarget, DeleteComputeSetting, DeleteExocomputeConfigs, DisconnectExocomputeCluster, ExocomputeClusterConnect, FinalizeCloudAccountDeletion, FinalizeCloudAccountProtection, PatchAuthenticationServerBasedCloudAccount, PatchIamUserBasedCloudAccount, PrepareCloudAccountDeletion, PrepareFeatureUpdateForCloudAccount, RegisterFeatureArtifacts, StartExocomputeDisableJob, UpdateAccount, UpdateAutomaticTargetMapping, UpdateCloudAccount, UpdateCloudAccountFeature, UpdateCloudNativeStorageSetting, UpdateComputeSetting, UpdateExocomputeConfigs, UpdateIamPair, UpdateTarget, UpgradeCloudAccountFeaturesWithoutCft, UpgradeIamUserBasedCloudAccountPermissions, ValidateAndCreateCloudAccount, or ValidateAndInitiateOutpostAccount.
2929
/// </summary>
3030
/// <description>
3131
/// New-RscMutationAws creates a new
@@ -35,11 +35,11 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
3535
/// connection to run. To execute the operation, either call Invoke()
3636
/// on the object returned by this cmdlet, or pass the object to
3737
/// Invoke-Rsc.
38-
/// There are 35 operations
38+
/// There are 36 operations
3939
/// in the 'AWS' API domain. Select the operation this
4040
/// query is for by specifying the appropriate value for the
4141
/// -Operation parameter;
42-
/// one of: AddAuthenticationServerBasedCloudAccount, AddIamUserBasedCloudAccount, BulkDeleteCloudAccountWithoutCft, CreateAccount, CreateAutomaticTargetMapping, CreateCloudNativeStorageSetting, CreateCluster, CreateComputeSetting, CreateExocomputeConfigs, CreateReaderTarget, CreateTarget, DeleteComputeSetting, DeleteExocomputeConfigs, DisconnectExocomputeCluster, ExocomputeClusterConnect, FinalizeCloudAccountDeletion, FinalizeCloudAccountProtection, PatchAuthenticationServerBasedCloudAccount, PatchIamUserBasedCloudAccount, PrepareCloudAccountDeletion, PrepareFeatureUpdateForCloudAccount, RegisterFeatureArtifacts, StartExocomputeDisableJob, UpdateAccount, UpdateAutomaticTargetMapping, UpdateCloudAccount, UpdateCloudAccountFeature, UpdateCloudNativeStorageSetting, UpdateComputeSetting, UpdateExocomputeConfigs, UpdateTarget, UpgradeCloudAccountFeaturesWithoutCft, UpgradeIamUserBasedCloudAccountPermissions, ValidateAndCreateCloudAccount, or ValidateAndInitiateOutpostAccount.
42+
/// one of: AddAuthenticationServerBasedCloudAccount, AddIamUserBasedCloudAccount, BulkDeleteCloudAccountWithoutCft, CreateAccount, CreateAutomaticTargetMapping, CreateCloudNativeStorageSetting, CreateCluster, CreateComputeSetting, CreateExocomputeConfigs, CreateReaderTarget, CreateTarget, DeleteComputeSetting, DeleteExocomputeConfigs, DisconnectExocomputeCluster, ExocomputeClusterConnect, FinalizeCloudAccountDeletion, FinalizeCloudAccountProtection, PatchAuthenticationServerBasedCloudAccount, PatchIamUserBasedCloudAccount, PrepareCloudAccountDeletion, PrepareFeatureUpdateForCloudAccount, RegisterFeatureArtifacts, StartExocomputeDisableJob, UpdateAccount, UpdateAutomaticTargetMapping, UpdateCloudAccount, UpdateCloudAccountFeature, UpdateCloudNativeStorageSetting, UpdateComputeSetting, UpdateExocomputeConfigs, UpdateIamPair, UpdateTarget, UpgradeCloudAccountFeaturesWithoutCft, UpgradeIamUserBasedCloudAccountPermissions, ValidateAndCreateCloudAccount, or ValidateAndInitiateOutpostAccount.
4343
/// Each operation has its own set of variables that can be set with
4444
/// the -Var parameter. For more info about the variables,
4545
/// call Info() on the object returned by this cmdlet, for example:
@@ -1132,6 +1132,8 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
11321132
/// )
11331133
/// # OPTIONAL
11341134
/// awsIamPairId = $someString
1135+
/// # OPTIONAL
1136+
/// orgId = $someString
11351137
/// }
11361138
///
11371139
/// # Execute the query
@@ -1794,6 +1796,39 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
17941796
/// </example>
17951797
///
17961798
/// <example>
1799+
/// Runs the UpdateIamPair operation
1800+
/// of the 'AWS' API domain.
1801+
/// <code>
1802+
/// PS &gt;
1803+
///
1804+
///
1805+
/// # Create an RscQuery object for:
1806+
/// # API Domain: Aws
1807+
/// # API Operation: UpdateIamPair
1808+
///
1809+
/// $query = New-RscMutationAws -UpdateIamPair
1810+
///
1811+
/// # REQUIRED
1812+
/// $query.Var.input = @{
1813+
/// # OPTIONAL
1814+
/// awsIamPairId = $someString
1815+
/// # OPTIONAL
1816+
/// awsIamRoleName = $someString
1817+
/// }
1818+
///
1819+
/// # Execute the query
1820+
///
1821+
/// $result = $query | Invoke-Rsc
1822+
///
1823+
/// Write-Host $result.GetType().Name # prints: System.String
1824+
///
1825+
///
1826+
///
1827+
/// </code>
1828+
///
1829+
/// </example>
1830+
///
1831+
/// <example>
17971832
/// Runs the UpdateTarget operation
17981833
/// of the 'AWS' API domain.
17991834
/// <code>
@@ -2158,6 +2193,7 @@ public class New_RscMutationAws : RscGqlPSCmdlet
21582193
"UpdateCloudNativeStorageSetting",
21592194
"UpdateComputeSetting",
21602195
"UpdateExocomputeConfigs",
2196+
"UpdateIamPair",
21612197
"UpdateTarget",
21622198
"UpgradeCloudAccountFeaturesWithoutCft",
21632199
"UpgradeIamUserBasedCloudAccountPermissions",
@@ -2268,6 +2304,9 @@ protected override void ProcessRecord()
22682304
case "UpdateExocomputeConfigs":
22692305
this.ProcessRecord_UpdateExocomputeConfigs();
22702306
break;
2307+
case "UpdateIamPair":
2308+
this.ProcessRecord_UpdateIamPair();
2309+
break;
22712310
case "UpdateTarget":
22722311
this.ProcessRecord_UpdateTarget();
22732312
break;
@@ -2563,6 +2602,15 @@ internal void ProcessRecord_UpdateExocomputeConfigs()
25632602
InitMutationUpdateAwsExocomputeConfigs();
25642603
}
25652604

2605+
// This parameter set invokes a single graphql operation:
2606+
// updateAwsIamPair.
2607+
internal void ProcessRecord_UpdateIamPair()
2608+
{
2609+
this._logger.name += " -UpdateIamPair";
2610+
// Create new graphql operation updateAwsIamPair
2611+
InitMutationUpdateAwsIamPair();
2612+
}
2613+
25662614
// This parameter set invokes a single graphql operation:
25672615
// updateAwsTarget.
25682616
internal void ProcessRecord_UpdateTarget()
@@ -3539,6 +3587,8 @@ internal void InitMutationFinalizeAwsCloudAccountProtection()
35393587
)
35403588
# OPTIONAL
35413589
awsIamPairId = $someString
3590+
# OPTIONAL
3591+
orgId = $someString
35423592
}"
35433593
);
35443594
}
@@ -4086,6 +4136,31 @@ internal void InitMutationUpdateAwsExocomputeConfigs()
40864136
);
40874137
}
40884138

4139+
// Create new GraphQL Mutation:
4140+
// updateAwsIamPair(input: UpdateAwsIamPairInput!): Void
4141+
internal void InitMutationUpdateAwsIamPair()
4142+
{
4143+
Tuple<string, string>[] argDefs = {
4144+
Tuple.Create("input", "UpdateAwsIamPairInput!"),
4145+
};
4146+
Initialize(
4147+
argDefs,
4148+
"mutation",
4149+
"MutationUpdateAwsIamPair",
4150+
"($input: UpdateAwsIamPairInput!)",
4151+
"System.String",
4152+
Mutation.UpdateAwsIamPair,
4153+
Mutation.UpdateAwsIamPairFieldSpec,
4154+
@"# REQUIRED
4155+
$query.Var.input = @{
4156+
# OPTIONAL
4157+
awsIamPairId = $someString
4158+
# OPTIONAL
4159+
awsIamRoleName = $someString
4160+
}"
4161+
);
4162+
}
4163+
40894164
// Create new GraphQL Mutation:
40904165
// updateAwsTarget(input: UpdateAwsTargetInput!): Target!
40914166
internal void InitMutationUpdateAwsTarget()

RubrikSecurityCloud/RubrikSecurityCloud.PowerShell/generated/New-RscMutationCloudNative.cs

+79-4
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
namespace RubrikSecurityCloud.PowerShell.Cmdlets
2424
{
2525
/// <summary>
26-
/// Create a new RscQuery object for any of the 13
26+
/// Create a new RscQuery object for any of the 14
2727
/// operations in the 'Cloud Native' API domain:
28-
/// AddSqlServerBackupCredentials, CheckRbaConnectivity, ClearSqlServerBackupCredentials, CreateLabelRule, CreateTagRule, DeleteLabelRule, DeleteTagRule, DownloadFiles, SetupSqlServerBackup, StartSnapshotsIndexJob, UpdateIndexingStatus, UpdateLabelRule, or UpdateTagRule.
28+
/// AddSqlServerBackupCredentials, CheckRbaConnectivity, ClearSqlServerBackupCredentials, CreateLabelRule, CreateTagRule, DeleteLabelRule, DeleteTagRule, DownloadFiles, SetupSqlServerBackup, StartSnapshotsIndexJob, UpdateIndexingStatus, UpdateLabelRule, UpdateRootThreatMonitoringEnablement, or UpdateTagRule.
2929
/// </summary>
3030
/// <description>
3131
/// New-RscMutationCloudNative creates a new
@@ -35,11 +35,11 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
3535
/// connection to run. To execute the operation, either call Invoke()
3636
/// on the object returned by this cmdlet, or pass the object to
3737
/// Invoke-Rsc.
38-
/// There are 13 operations
38+
/// There are 14 operations
3939
/// in the 'Cloud Native' API domain. Select the operation this
4040
/// query is for by specifying the appropriate value for the
4141
/// -Operation parameter;
42-
/// one of: AddSqlServerBackupCredentials, CheckRbaConnectivity, ClearSqlServerBackupCredentials, CreateLabelRule, CreateTagRule, DeleteLabelRule, DeleteTagRule, DownloadFiles, SetupSqlServerBackup, StartSnapshotsIndexJob, UpdateIndexingStatus, UpdateLabelRule, or UpdateTagRule.
42+
/// one of: AddSqlServerBackupCredentials, CheckRbaConnectivity, ClearSqlServerBackupCredentials, CreateLabelRule, CreateTagRule, DeleteLabelRule, DeleteTagRule, DownloadFiles, SetupSqlServerBackup, StartSnapshotsIndexJob, UpdateIndexingStatus, UpdateLabelRule, UpdateRootThreatMonitoringEnablement, or UpdateTagRule.
4343
/// Each operation has its own set of variables that can be set with
4444
/// the -Var parameter. For more info about the variables,
4545
/// call Info() on the object returned by this cmdlet, for example:
@@ -616,6 +616,41 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
616616
/// </example>
617617
///
618618
/// <example>
619+
/// Runs the UpdateRootThreatMonitoringEnablement operation
620+
/// of the 'Cloud Native' API domain.
621+
/// <code>
622+
/// PS &gt;
623+
///
624+
///
625+
/// # Create an RscQuery object for:
626+
/// # API Domain: CloudNative
627+
/// # API Operation: UpdateRootThreatMonitoringEnablement
628+
///
629+
/// $query = New-RscMutationCloudNative -UpdateRootThreatMonitoringEnablement
630+
///
631+
/// # REQUIRED
632+
/// $query.Var.input = @{
633+
/// # REQUIRED
634+
/// isEnabled = $someBoolean
635+
/// # REQUIRED
636+
/// rootIds = @(
637+
/// $someString
638+
/// )
639+
/// }
640+
///
641+
/// # Execute the query
642+
///
643+
/// $result = $query | Invoke-Rsc
644+
///
645+
/// Write-Host $result.GetType().Name # prints: System.String
646+
///
647+
///
648+
///
649+
/// </code>
650+
///
651+
/// </example>
652+
///
653+
/// <example>
619654
/// Runs the UpdateTagRule operation
620655
/// of the 'Cloud Native' API domain.
621656
/// <code>
@@ -697,6 +732,7 @@ public class New_RscMutationCloudNative : RscGqlPSCmdlet
697732
"StartSnapshotsIndexJob",
698733
"UpdateIndexingStatus",
699734
"UpdateLabelRule",
735+
"UpdateRootThreatMonitoringEnablement",
700736
"UpdateTagRule",
701737
IgnoreCase = true)]
702738
public string Operation { get; set; } = "";
@@ -749,6 +785,9 @@ protected override void ProcessRecord()
749785
case "UpdateLabelRule":
750786
this.ProcessRecord_UpdateLabelRule();
751787
break;
788+
case "UpdateRootThreatMonitoringEnablement":
789+
this.ProcessRecord_UpdateRootThreatMonitoringEnablement();
790+
break;
752791
case "UpdateTagRule":
753792
this.ProcessRecord_UpdateTagRule();
754793
break;
@@ -870,6 +909,15 @@ internal void ProcessRecord_UpdateLabelRule()
870909
InitMutationUpdateCloudNativeLabelRule();
871910
}
872911

912+
// This parameter set invokes a single graphql operation:
913+
// updateCloudNativeRootThreatMonitoringEnablement.
914+
internal void ProcessRecord_UpdateRootThreatMonitoringEnablement()
915+
{
916+
this._logger.name += " -UpdateRootThreatMonitoringEnablement";
917+
// Create new graphql operation updateCloudNativeRootThreatMonitoringEnablement
918+
InitMutationUpdateCloudNativeRootThreatMonitoringEnablement();
919+
}
920+
873921
// This parameter set invokes a single graphql operation:
874922
// updateCloudNativeTagRule.
875923
internal void ProcessRecord_UpdateTagRule()
@@ -1323,6 +1371,33 @@ internal void InitMutationUpdateCloudNativeLabelRule()
13231371
);
13241372
}
13251373

1374+
// Create new GraphQL Mutation:
1375+
// updateCloudNativeRootThreatMonitoringEnablement(input: UpdateCloudNativeRootThreatMonitoringEnablementInput!): Void
1376+
internal void InitMutationUpdateCloudNativeRootThreatMonitoringEnablement()
1377+
{
1378+
Tuple<string, string>[] argDefs = {
1379+
Tuple.Create("input", "UpdateCloudNativeRootThreatMonitoringEnablementInput!"),
1380+
};
1381+
Initialize(
1382+
argDefs,
1383+
"mutation",
1384+
"MutationUpdateCloudNativeRootThreatMonitoringEnablement",
1385+
"($input: UpdateCloudNativeRootThreatMonitoringEnablementInput!)",
1386+
"System.String",
1387+
Mutation.UpdateCloudNativeRootThreatMonitoringEnablement,
1388+
Mutation.UpdateCloudNativeRootThreatMonitoringEnablementFieldSpec,
1389+
@"# REQUIRED
1390+
$query.Var.input = @{
1391+
# REQUIRED
1392+
isEnabled = $someBoolean
1393+
# REQUIRED
1394+
rootIds = @(
1395+
$someString
1396+
)
1397+
}"
1398+
);
1399+
}
1400+
13261401
// Create new GraphQL Mutation:
13271402
// updateCloudNativeTagRule(input: UpdateCloudNativeTagRuleInput!): Void
13281403
internal void InitMutationUpdateCloudNativeTagRule()

0 commit comments

Comments
 (0)