Skip to content

Commit

Permalink
automatic schema update
Browse files Browse the repository at this point in the history
  • Loading branch information
guirava committed Sep 28, 2024
1 parent 2813d44 commit dd51651
Show file tree
Hide file tree
Showing 373 changed files with 69,775 additions and 30,253 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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: v20240909-24 .'
Description = 'PowerShell Module for Rubrik Security Cloud. GraphQL schema version: v20240923-11 .'

# 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 @@ -1132,6 +1132,8 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// )
/// # OPTIONAL
/// awsIamPairId = $someString
/// # OPTIONAL
/// orgId = $someString
/// }
///
/// # Execute the query
Expand Down Expand Up @@ -3585,6 +3587,8 @@ internal void InitMutationFinalizeAwsCloudAccountProtection()
)
# OPTIONAL
awsIamPairId = $someString
# OPTIONAL
orgId = $someString
}"
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
namespace RubrikSecurityCloud.PowerShell.Cmdlets
{
/// <summary>
/// Create a new RscQuery object for any of the 13
/// Create a new RscQuery object for any of the 14
/// operations in the 'Cloud Native' API domain:
/// AddSqlServerBackupCredentials, CheckRbaConnectivity, ClearSqlServerBackupCredentials, CreateLabelRule, CreateTagRule, DeleteLabelRule, DeleteTagRule, DownloadFiles, SetupSqlServerBackup, StartSnapshotsIndexJob, UpdateIndexingStatus, UpdateLabelRule, or UpdateTagRule.
/// AddSqlServerBackupCredentials, CheckRbaConnectivity, ClearSqlServerBackupCredentials, CreateLabelRule, CreateTagRule, DeleteLabelRule, DeleteTagRule, DownloadFiles, SetupSqlServerBackup, StartSnapshotsIndexJob, UpdateIndexingStatus, UpdateLabelRule, UpdateRootThreatMonitoringEnablement, or UpdateTagRule.
/// </summary>
/// <description>
/// New-RscMutationCloudNative creates a new
Expand All @@ -35,11 +35,11 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// connection to run. To execute the operation, either call Invoke()
/// on the object returned by this cmdlet, or pass the object to
/// Invoke-Rsc.
/// There are 13 operations
/// There are 14 operations
/// in the 'Cloud Native' API domain. Select the operation this
/// query is for by specifying the appropriate value for the
/// -Operation parameter;
/// one of: AddSqlServerBackupCredentials, CheckRbaConnectivity, ClearSqlServerBackupCredentials, CreateLabelRule, CreateTagRule, DeleteLabelRule, DeleteTagRule, DownloadFiles, SetupSqlServerBackup, StartSnapshotsIndexJob, UpdateIndexingStatus, UpdateLabelRule, or UpdateTagRule.
/// one of: AddSqlServerBackupCredentials, CheckRbaConnectivity, ClearSqlServerBackupCredentials, CreateLabelRule, CreateTagRule, DeleteLabelRule, DeleteTagRule, DownloadFiles, SetupSqlServerBackup, StartSnapshotsIndexJob, UpdateIndexingStatus, UpdateLabelRule, UpdateRootThreatMonitoringEnablement, or UpdateTagRule.
/// Each operation has its own set of variables that can be set with
/// the -Var parameter. For more info about the variables,
/// call Info() on the object returned by this cmdlet, for example:
Expand Down Expand Up @@ -616,6 +616,41 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// </example>
///
/// <example>
/// Runs the UpdateRootThreatMonitoringEnablement operation
/// of the 'Cloud Native' API domain.
/// <code>
/// PS &gt;
///
///
/// # Create an RscQuery object for:
/// # API Domain: CloudNative
/// # API Operation: UpdateRootThreatMonitoringEnablement
///
/// $query = New-RscMutationCloudNative -UpdateRootThreatMonitoringEnablement
///
/// # REQUIRED
/// $query.Var.input = @{
/// # REQUIRED
/// isEnabled = $someBoolean
/// # REQUIRED
/// rootIds = @(
/// $someString
/// )
/// }
///
/// # Execute the query
///
/// $result = $query | Invoke-Rsc
///
/// Write-Host $result.GetType().Name # prints: System.String
///
///
///
/// </code>
///
/// </example>
///
/// <example>
/// Runs the UpdateTagRule operation
/// of the 'Cloud Native' API domain.
/// <code>
Expand Down Expand Up @@ -697,6 +732,7 @@ public class New_RscMutationCloudNative : RscGqlPSCmdlet
"StartSnapshotsIndexJob",
"UpdateIndexingStatus",
"UpdateLabelRule",
"UpdateRootThreatMonitoringEnablement",
"UpdateTagRule",
IgnoreCase = true)]
public string Operation { get; set; } = "";
Expand Down Expand Up @@ -749,6 +785,9 @@ protected override void ProcessRecord()
case "UpdateLabelRule":
this.ProcessRecord_UpdateLabelRule();
break;
case "UpdateRootThreatMonitoringEnablement":
this.ProcessRecord_UpdateRootThreatMonitoringEnablement();
break;
case "UpdateTagRule":
this.ProcessRecord_UpdateTagRule();
break;
Expand Down Expand Up @@ -870,6 +909,15 @@ internal void ProcessRecord_UpdateLabelRule()
InitMutationUpdateCloudNativeLabelRule();
}

// This parameter set invokes a single graphql operation:
// updateCloudNativeRootThreatMonitoringEnablement.
internal void ProcessRecord_UpdateRootThreatMonitoringEnablement()
{
this._logger.name += " -UpdateRootThreatMonitoringEnablement";
// Create new graphql operation updateCloudNativeRootThreatMonitoringEnablement
InitMutationUpdateCloudNativeRootThreatMonitoringEnablement();
}

// This parameter set invokes a single graphql operation:
// updateCloudNativeTagRule.
internal void ProcessRecord_UpdateTagRule()
Expand Down Expand Up @@ -1323,6 +1371,33 @@ internal void InitMutationUpdateCloudNativeLabelRule()
);
}

// Create new GraphQL Mutation:
// updateCloudNativeRootThreatMonitoringEnablement(input: UpdateCloudNativeRootThreatMonitoringEnablementInput!): Void
internal void InitMutationUpdateCloudNativeRootThreatMonitoringEnablement()
{
Tuple<string, string>[] argDefs = {
Tuple.Create("input", "UpdateCloudNativeRootThreatMonitoringEnablementInput!"),
};
Initialize(
argDefs,
"mutation",
"MutationUpdateCloudNativeRootThreatMonitoringEnablement",
"($input: UpdateCloudNativeRootThreatMonitoringEnablementInput!)",
"System.String",
Mutation.UpdateCloudNativeRootThreatMonitoringEnablement,
Mutation.UpdateCloudNativeRootThreatMonitoringEnablementFieldSpec,
@"# REQUIRED
$query.Var.input = @{
# REQUIRED
isEnabled = $someBoolean
# REQUIRED
rootIds = @(
$someString
)
}"
);
}

// Create new GraphQL Mutation:
// updateCloudNativeTagRule(input: UpdateCloudNativeTagRuleInput!): Void
internal void InitMutationUpdateCloudNativeTagRule()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
namespace RubrikSecurityCloud.PowerShell.Cmdlets
{
/// <summary>
/// Create a new RscQuery object for any of the 19
/// Create a new RscQuery object for any of the 20
/// operations in the 'Cluster' API domain:
/// AddClusterNodes, AddClusterRoute, AddNodesToCloud, DeleteClusterRoute, GenerateClusterRegistrationToken, MigrateCloudClusterDisks, RecoverCloud, RegisterCloud, ReleasePersistentExo, RemoveCdm, RemoveClusterNodes, RequestPersistentExo, SetMissingClusterStatus, UpdateClusterDefaultAddress, UpdateClusterLocation, UpdateClusterNtpServers, UpdateClusterPauseStatus, UpdateClusterSettings, or UpdatePreviewerClusterConfig.
/// AddClusterNodes, AddClusterRoute, AddNodesToCloud, DeleteClusterRoute, ExocomputeClusterConnect, GenerateClusterRegistrationToken, MigrateCloudClusterDisks, RecoverCloud, RegisterCloud, ReleasePersistentExo, RemoveCdm, RemoveClusterNodes, RequestPersistentExo, SetMissingClusterStatus, UpdateClusterDefaultAddress, UpdateClusterLocation, UpdateClusterNtpServers, UpdateClusterPauseStatus, UpdateClusterSettings, or UpdatePreviewerClusterConfig.
/// </summary>
/// <description>
/// New-RscMutationCluster creates a new
Expand All @@ -35,11 +35,11 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// connection to run. To execute the operation, either call Invoke()
/// on the object returned by this cmdlet, or pass the object to
/// Invoke-Rsc.
/// There are 19 operations
/// There are 20 operations
/// in the 'Cluster' API domain. Select the operation this
/// query is for by specifying the appropriate value for the
/// -Operation parameter;
/// one of: AddClusterNodes, AddClusterRoute, AddNodesToCloud, DeleteClusterRoute, GenerateClusterRegistrationToken, MigrateCloudClusterDisks, RecoverCloud, RegisterCloud, ReleasePersistentExo, RemoveCdm, RemoveClusterNodes, RequestPersistentExo, SetMissingClusterStatus, UpdateClusterDefaultAddress, UpdateClusterLocation, UpdateClusterNtpServers, UpdateClusterPauseStatus, UpdateClusterSettings, or UpdatePreviewerClusterConfig.
/// one of: AddClusterNodes, AddClusterRoute, AddNodesToCloud, DeleteClusterRoute, ExocomputeClusterConnect, GenerateClusterRegistrationToken, MigrateCloudClusterDisks, RecoverCloud, RegisterCloud, ReleasePersistentExo, RemoveCdm, RemoveClusterNodes, RequestPersistentExo, SetMissingClusterStatus, UpdateClusterDefaultAddress, UpdateClusterLocation, UpdateClusterNtpServers, UpdateClusterPauseStatus, UpdateClusterSettings, or UpdatePreviewerClusterConfig.
/// Each operation has its own set of variables that can be set with
/// the -Var parameter. For more info about the variables,
/// call Info() on the object returned by this cmdlet, for example:
Expand Down Expand Up @@ -294,6 +294,41 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// </example>
///
/// <example>
/// Runs the ExocomputeClusterConnect operation
/// of the 'Cluster' API domain.
/// <code>
/// PS &gt;
///
///
/// # Create an RscQuery object for:
/// # API Domain: Cluster
/// # API Operation: ExocomputeClusterConnect
///
/// $query = New-RscMutationCluster -ExocomputeClusterConnect
///
/// # REQUIRED
/// $query.Var.input = @{
/// # OPTIONAL
/// clusterName = $someString
/// # REQUIRED
/// exocomputeConfigId = $someString
/// # REQUIRED
/// cloudType = $someCloudType # Call [Enum]::GetValues([RubrikSecurityCloud.Types.CloudType]) for enum values.
/// }
///
/// # Execute the query
///
/// $result = $query | Invoke-Rsc
///
/// Write-Host $result.GetType().Name # prints: ExocomputeClusterConnectReply
///
///
///
/// </code>
///
/// </example>
///
/// <example>
/// Runs the GenerateClusterRegistrationToken operation
/// of the 'Cluster' API domain.
/// <code>
Expand Down Expand Up @@ -987,6 +1022,7 @@ public class New_RscMutationCluster : RscGqlPSCmdlet
"AddClusterRoute",
"AddNodesToCloud",
"DeleteClusterRoute",
"ExocomputeClusterConnect",
"GenerateClusterRegistrationToken",
"MigrateCloudClusterDisks",
"RecoverCloud",
Expand Down Expand Up @@ -1029,6 +1065,9 @@ protected override void ProcessRecord()
case "DeleteClusterRoute":
this.ProcessRecord_DeleteClusterRoute();
break;
case "ExocomputeClusterConnect":
this.ProcessRecord_ExocomputeClusterConnect();
break;
case "GenerateClusterRegistrationToken":
this.ProcessRecord_GenerateClusterRegistrationToken();
break;
Expand Down Expand Up @@ -1120,6 +1159,15 @@ internal void ProcessRecord_DeleteClusterRoute()
InitMutationDeleteClusterRoute();
}

// This parameter set invokes a single graphql operation:
// exocomputeClusterConnect.
internal void ProcessRecord_ExocomputeClusterConnect()
{
this._logger.name += " -ExocomputeClusterConnect";
// Create new graphql operation exocomputeClusterConnect
InitMutationExocomputeClusterConnect();
}

// This parameter set invokes a single graphql operation:
// generateClusterRegistrationToken.
internal void ProcessRecord_GenerateClusterRegistrationToken()
Expand Down Expand Up @@ -1441,6 +1489,33 @@ internal void InitMutationDeleteClusterRoute()
);
}

// Create new GraphQL Mutation:
// exocomputeClusterConnect(input: ExocomputeClusterConnectInput!): ExocomputeClusterConnectReply!
internal void InitMutationExocomputeClusterConnect()
{
Tuple<string, string>[] argDefs = {
Tuple.Create("input", "ExocomputeClusterConnectInput!"),
};
Initialize(
argDefs,
"mutation",
"MutationExocomputeClusterConnect",
"($input: ExocomputeClusterConnectInput!)",
"ExocomputeClusterConnectReply",
Mutation.ExocomputeClusterConnect,
Mutation.ExocomputeClusterConnectFieldSpec,
@"# REQUIRED
$query.Var.input = @{
# OPTIONAL
clusterName = $someString
# REQUIRED
exocomputeConfigId = $someString
# REQUIRED
cloudType = $someCloudType # Call [Enum]::GetValues([RubrikSecurityCloud.Types.CloudType]) for enum values.
}"
);
}

// Create new GraphQL Mutation:
// generateClusterRegistrationToken(input: GenerateClusterRegistrationTokenInput): ClusterRegistrationToken!
internal void InitMutationGenerateClusterRegistrationToken()
Expand Down
Loading

0 comments on commit dd51651

Please sign in to comment.