Skip to content

Commit

Permalink
automatic schema update
Browse files Browse the repository at this point in the history
  • Loading branch information
guirava committed Jan 29, 2025
1 parent f2ac01d commit b1358af
Show file tree
Hide file tree
Showing 284 changed files with 47,480 additions and 30,415 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: v20250106-18 .'
Description = 'PowerShell Module for Rubrik Security Cloud. GraphQL schema version: v20250120-43 .'

# 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 @@ -23,9 +23,9 @@
namespace RubrikSecurityCloud.PowerShell.Cmdlets
{
/// <summary>
/// Create a new RscQuery object for any of the 36
/// Create a new RscQuery object for any of the 37
/// operations in the 'AWS' API domain:
/// 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.
/// AddAuthenticationServerBasedCloudAccount, AddIamUserBasedCloudAccount, BulkDeleteCloudAccountWithoutCft, CloudAccountsMigrateInitiate, 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.
/// </summary>
/// <description>
/// New-RscMutationAws 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 36 operations
/// There are 37 operations
/// in the 'AWS' API domain. Select the operation this
/// query is for by specifying the appropriate value for the
/// -Operation parameter;
/// 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.
/// one of: AddAuthenticationServerBasedCloudAccount, AddIamUserBasedCloudAccount, BulkDeleteCloudAccountWithoutCft, CloudAccountsMigrateInitiate, 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.
/// 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 @@ -234,6 +234,58 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// </example>
///
/// <example>
/// Runs the CloudAccountsMigrateInitiate operation
/// of the 'AWS' API domain.
/// <code>
/// PS &gt;
///
///
/// # Create an RscQuery object for:
/// # API Domain: Aws
/// # API Operation: CloudAccountsMigrateInitiate
///
/// $query = New-RscMutationAws -Operation CloudAccountsMigrateInitiate
///
/// # REQUIRED
/// $query.Var.input = @{
/// # REQUIRED
/// orgId = $someString
/// # OPTIONAL
/// awsRoleCustomization = @{
/// # OPTIONAL
/// crossAccountRoleName = $someString
/// # OPTIONAL
/// crossAccountRolePath = $someString
/// # OPTIONAL
/// masterRoleName = $someString
/// # OPTIONAL
/// masterRolePath = $someString
/// # OPTIONAL
/// workerRoleName = $someString
/// # OPTIONAL
/// workerRolePath = $someString
/// # OPTIONAL
/// instanceProfileName = $someString
/// # OPTIONAL
/// instanceProfilePath = $someString
/// # OPTIONAL
/// ec2RecoveryRolePath = $someString
/// }
/// }
///
/// # Execute the query
///
/// $result = $query | Invoke-Rsc
///
/// Write-Host $result.GetType().Name # prints: AwsCloudAccountsMigrateInitiateReply
///
///
///
/// </code>
///
/// </example>
///
/// <example>
/// Runs the CreateAccount operation
/// of the 'AWS' API domain.
/// <code>
Expand Down Expand Up @@ -2210,6 +2262,7 @@ public class New_RscMutationAws : RscGqlPSCmdlet
"AddAuthenticationServerBasedCloudAccount",
"AddIamUserBasedCloudAccount",
"BulkDeleteCloudAccountWithoutCft",
"CloudAccountsMigrateInitiate",
"CreateAccount",
"CreateAutomaticTargetMapping",
"CreateCloudNativeStorageSetting",
Expand Down Expand Up @@ -2267,6 +2320,9 @@ protected override void ProcessRecord()
case "BulkDeleteCloudAccountWithoutCft":
this.ProcessRecord_BulkDeleteCloudAccountWithoutCft();
break;
case "CloudAccountsMigrateInitiate":
this.ProcessRecord_CloudAccountsMigrateInitiate();
break;
case "CreateAccount":
this.ProcessRecord_CreateAccount();
break;
Expand Down Expand Up @@ -2403,6 +2459,15 @@ internal void ProcessRecord_BulkDeleteCloudAccountWithoutCft()
InitMutationBulkDeleteAwsCloudAccountWithoutCft();
}

// This parameter set invokes a single graphql operation:
// awsCloudAccountsMigrateInitiate.
internal void ProcessRecord_CloudAccountsMigrateInitiate()
{
this._logger.name += " -CloudAccountsMigrateInitiate";
// Create new graphql operation awsCloudAccountsMigrateInitiate
InitMutationAwsCloudAccountsMigrateInitiate();
}

// This parameter set invokes a single graphql operation:
// createAwsAccount.
internal void ProcessRecord_CreateAccount()
Expand Down Expand Up @@ -2834,6 +2899,50 @@ internal void InitMutationBulkDeleteAwsCloudAccountWithoutCft()
);
}

// Create new GraphQL Mutation:
// awsCloudAccountsMigrateInitiate(input: AwsCloudAccountsMigrateInitiateInput!): AwsCloudAccountsMigrateInitiateReply!
internal void InitMutationAwsCloudAccountsMigrateInitiate()
{
Tuple<string, string>[] argDefs = {
Tuple.Create("input", "AwsCloudAccountsMigrateInitiateInput!"),
};
Initialize(
argDefs,
"mutation",
"MutationAwsCloudAccountsMigrateInitiate",
"($input: AwsCloudAccountsMigrateInitiateInput!)",
"AwsCloudAccountsMigrateInitiateReply",
Mutation.AwsCloudAccountsMigrateInitiate,
Mutation.AwsCloudAccountsMigrateInitiateFieldSpec,
@"# REQUIRED
$query.Var.input = @{
# REQUIRED
orgId = $someString
# OPTIONAL
awsRoleCustomization = @{
# OPTIONAL
crossAccountRoleName = $someString
# OPTIONAL
crossAccountRolePath = $someString
# OPTIONAL
masterRoleName = $someString
# OPTIONAL
masterRolePath = $someString
# OPTIONAL
workerRoleName = $someString
# OPTIONAL
workerRolePath = $someString
# OPTIONAL
instanceProfileName = $someString
# OPTIONAL
instanceProfilePath = $someString
# OPTIONAL
ec2RecoveryRolePath = $someString
}
}"
);
}

// Create new GraphQL Mutation:
// createAwsAccount(input: CreateAwsAccountInput!): CloudAccount!
internal void InitMutationCreateAwsAccount()
Expand Down
Loading

0 comments on commit b1358af

Please sign in to comment.