Skip to content

Commit

Permalink
schema update
Browse files Browse the repository at this point in the history
  • Loading branch information
guirava committed Mar 29, 2024
1 parent 45885fe commit 3604b09
Show file tree
Hide file tree
Showing 416 changed files with 34,996 additions and 2,815 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: v20240304-17 .'
Description = 'PowerShell Module for Rubrik Security Cloud. GraphQL schema version: v20240318-20 .'

# 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 @@ -104,7 +104,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// # OPTIONAL
/// accessTokenUrl = $someString
/// }
/// # REQUIRED
/// # OPTIONAL
/// isRefresh = $someBoolean
/// }
///
Expand Down Expand Up @@ -141,7 +141,7 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// state = $someString
/// # REQUIRED
/// fqdn = $someString
/// # REQUIRED
/// # OPTIONAL
/// isRefresh = $someBoolean
/// }
///
Expand Down Expand Up @@ -174,6 +174,8 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// $query.Var.input = @{
/// # REQUIRED
/// fqdn = $someString
/// # OPTIONAL
/// isRefresh = $someBoolean
/// }
///
/// # Execute the query
Expand Down Expand Up @@ -343,7 +345,7 @@ internal void InitMutationAddCrossAccountServiceConsumer()
# OPTIONAL
accessTokenUrl = $someString
}
# REQUIRED
# OPTIONAL
isRefresh = $someBoolean
}"
);
Expand Down Expand Up @@ -372,7 +374,7 @@ internal void InitMutationCreateCrossAccountPair()
state = $someString
# REQUIRED
fqdn = $someString
# REQUIRED
# OPTIONAL
isRefresh = $someBoolean
}"
);
Expand All @@ -397,6 +399,8 @@ internal void InitMutationCreateCrossAccountRegOauthPayload()
$query.Var.input = @{
# REQUIRED
fqdn = $someString
# OPTIONAL
isRefresh = $someBoolean
}"
);
}
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 24
/// Create a new RscQuery object for any of the 26
/// operations in the 'Microsoft Hyper-V' API domain:
/// BatchExportVm, BatchInstantRecoverVm, BatchMountVm, BatchOnDemandBackupVm, CreateVirtualMachineSnapshotMount, DeleteAllSnapshots, DeleteVirtualMachineSnapshot, DeleteVirtualMachineSnapshotMount, DownloadSnapshotFromLocation, DownloadVirtualMachineSnapshot, DownloadVirtualMachineSnapshotFiles, ExportVirtualMachine, InplaceExportVirtualMachine, InstantRecoverVirtualMachineSnapshot, OnDemandSnapshot, RefreshScvmm, RefreshServer, RegisterAgentVirtualMachine, RegisterScvmm, RestoreVirtualMachineSnapshotFiles, ScvmmDelete, ScvmmUpdate, UpdateVirtualMachine, or UpdateVirtualMachineSnapshotMount.
/// BatchExportVm, BatchInstantRecoverVm, BatchMountVm, BatchOnDemandBackupVm, CreateVirtualMachineSnapshotDiskMount, CreateVirtualMachineSnapshotMount, DeleteAllSnapshots, DeleteVirtualMachineSnapshot, DeleteVirtualMachineSnapshotMount, DownloadSnapshotFromLocation, DownloadVirtualMachineLevelFiles, DownloadVirtualMachineSnapshot, DownloadVirtualMachineSnapshotFiles, ExportVirtualMachine, InplaceExportVirtualMachine, InstantRecoverVirtualMachineSnapshot, OnDemandSnapshot, RefreshScvmm, RefreshServer, RegisterAgentVirtualMachine, RegisterScvmm, RestoreVirtualMachineSnapshotFiles, ScvmmDelete, ScvmmUpdate, UpdateVirtualMachine, or UpdateVirtualMachineSnapshotMount.
/// </summary>
/// <description>
/// New-RscMutationHyperv 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 24 operations
/// There are 26 operations
/// in the 'Microsoft Hyper-V' API domain. Select the operation this
/// query is for by specifying the appropriate value for the
/// -Operation parameter;
/// one of: BatchExportVm, BatchInstantRecoverVm, BatchMountVm, BatchOnDemandBackupVm, CreateVirtualMachineSnapshotMount, DeleteAllSnapshots, DeleteVirtualMachineSnapshot, DeleteVirtualMachineSnapshotMount, DownloadSnapshotFromLocation, DownloadVirtualMachineSnapshot, DownloadVirtualMachineSnapshotFiles, ExportVirtualMachine, InplaceExportVirtualMachine, InstantRecoverVirtualMachineSnapshot, OnDemandSnapshot, RefreshScvmm, RefreshServer, RegisterAgentVirtualMachine, RegisterScvmm, RestoreVirtualMachineSnapshotFiles, ScvmmDelete, ScvmmUpdate, UpdateVirtualMachine, or UpdateVirtualMachineSnapshotMount.
/// one of: BatchExportVm, BatchInstantRecoverVm, BatchMountVm, BatchOnDemandBackupVm, CreateVirtualMachineSnapshotDiskMount, CreateVirtualMachineSnapshotMount, DeleteAllSnapshots, DeleteVirtualMachineSnapshot, DeleteVirtualMachineSnapshotMount, DownloadSnapshotFromLocation, DownloadVirtualMachineLevelFiles, DownloadVirtualMachineSnapshot, DownloadVirtualMachineSnapshotFiles, ExportVirtualMachine, InplaceExportVirtualMachine, InstantRecoverVirtualMachineSnapshot, OnDemandSnapshot, RefreshScvmm, RefreshServer, RegisterAgentVirtualMachine, RegisterScvmm, RestoreVirtualMachineSnapshotFiles, ScvmmDelete, ScvmmUpdate, UpdateVirtualMachine, or UpdateVirtualMachineSnapshotMount.
/// 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 @@ -303,6 +303,46 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// </example>
///
/// <example>
/// Runs the CreateVirtualMachineSnapshotDiskMount operation
/// of the 'Microsoft Hyper-V' API domain.
/// <code>
/// PS &gt;
///
///
/// # Create an RscQuery object for:
/// # API Domain: Hyperv
/// # API Operation: CreateVirtualMachineSnapshotDiskMount
///
/// $query = New-RscMutationHyperv -CreateVirtualMachineSnapshotDiskMount
///
/// # REQUIRED
/// $query.Var.input = @{
/// # REQUIRED
/// config = @{
/// # REQUIRED
/// targetVirtualMachineId = $someString
/// # REQUIRED
/// virtualDiskIds = @(
/// $someString
/// )
/// }
/// # REQUIRED
/// id = $someString
/// }
///
/// # Execute the query
///
/// $result = $query | Invoke-Rsc
///
/// Write-Host $result.GetType().Name # prints: AsyncRequestStatus
///
///
///
/// </code>
///
/// </example>
///
/// <example>
/// Runs the CreateVirtualMachineSnapshotMount operation
/// of the 'Microsoft Hyper-V' API domain.
/// <code>
Expand Down Expand Up @@ -482,6 +522,48 @@ namespace RubrikSecurityCloud.PowerShell.Cmdlets
/// </example>
///
/// <example>
/// Runs the DownloadVirtualMachineLevelFiles operation
/// of the 'Microsoft Hyper-V' API domain.
/// <code>
/// PS &gt;
///
///
/// # Create an RscQuery object for:
/// # API Domain: Hyperv
/// # API Operation: DownloadVirtualMachineLevelFiles
///
/// $query = New-RscMutationHyperv -DownloadVirtualMachineLevelFiles
///
/// # REQUIRED
/// $query.Var.input = @{
/// # REQUIRED
/// config = @{
/// # REQUIRED
/// configFileExtensions = @(
/// $someString
/// )
/// # REQUIRED
/// virtualDiskIds = @(
/// $someString
/// )
/// }
/// # REQUIRED
/// id = $someString
/// }
///
/// # Execute the query
///
/// $result = $query | Invoke-Rsc
///
/// Write-Host $result.GetType().Name # prints: AsyncRequestStatus
///
///
///
/// </code>
///
/// </example>
///
/// <example>
/// Runs the DownloadVirtualMachineSnapshot operation
/// of the 'Microsoft Hyper-V' API domain.
/// <code>
Expand Down Expand Up @@ -1073,11 +1155,13 @@ public class New_RscMutationHyperv : RscGqlPSCmdlet
"BatchInstantRecoverVm",
"BatchMountVm",
"BatchOnDemandBackupVm",
"CreateVirtualMachineSnapshotDiskMount",
"CreateVirtualMachineSnapshotMount",
"DeleteAllSnapshots",
"DeleteVirtualMachineSnapshot",
"DeleteVirtualMachineSnapshotMount",
"DownloadSnapshotFromLocation",
"DownloadVirtualMachineLevelFiles",
"DownloadVirtualMachineSnapshot",
"DownloadVirtualMachineSnapshotFiles",
"ExportVirtualMachine",
Expand Down Expand Up @@ -1120,6 +1204,9 @@ protected override void ProcessRecord()
case "BatchOnDemandBackupVm":
this.ProcessRecord_BatchOnDemandBackupVm();
break;
case "CreateVirtualMachineSnapshotDiskMount":
this.ProcessRecord_CreateVirtualMachineSnapshotDiskMount();
break;
case "CreateVirtualMachineSnapshotMount":
this.ProcessRecord_CreateVirtualMachineSnapshotMount();
break;
Expand All @@ -1135,6 +1222,9 @@ protected override void ProcessRecord()
case "DownloadSnapshotFromLocation":
this.ProcessRecord_DownloadSnapshotFromLocation();
break;
case "DownloadVirtualMachineLevelFiles":
this.ProcessRecord_DownloadVirtualMachineLevelFiles();
break;
case "DownloadVirtualMachineSnapshot":
this.ProcessRecord_DownloadVirtualMachineSnapshot();
break;
Expand Down Expand Up @@ -1226,6 +1316,15 @@ internal void ProcessRecord_BatchOnDemandBackupVm()
InitMutationBatchOnDemandBackupHypervVm();
}

// This parameter set invokes a single graphql operation:
// createHypervVirtualMachineSnapshotDiskMount.
internal void ProcessRecord_CreateVirtualMachineSnapshotDiskMount()
{
this._logger.name += " -CreateVirtualMachineSnapshotDiskMount";
// Create new graphql operation createHypervVirtualMachineSnapshotDiskMount
InitMutationCreateHypervVirtualMachineSnapshotDiskMount();
}

// This parameter set invokes a single graphql operation:
// createHypervVirtualMachineSnapshotMount.
internal void ProcessRecord_CreateVirtualMachineSnapshotMount()
Expand Down Expand Up @@ -1271,6 +1370,15 @@ internal void ProcessRecord_DownloadSnapshotFromLocation()
InitMutationDownloadHypervSnapshotFromLocation();
}

// This parameter set invokes a single graphql operation:
// downloadHypervVirtualMachineLevelFiles.
internal void ProcessRecord_DownloadVirtualMachineLevelFiles()
{
this._logger.name += " -DownloadVirtualMachineLevelFiles";
// Create new graphql operation downloadHypervVirtualMachineLevelFiles
InitMutationDownloadHypervVirtualMachineLevelFiles();
}

// This parameter set invokes a single graphql operation:
// downloadHypervVirtualMachineSnapshot.
internal void ProcessRecord_DownloadVirtualMachineSnapshot()
Expand Down Expand Up @@ -1601,6 +1709,38 @@ internal void InitMutationBatchOnDemandBackupHypervVm()
);
}

// Create new GraphQL Mutation:
// createHypervVirtualMachineSnapshotDiskMount(input: CreateMountHypervVirtualDisksInput!): AsyncRequestStatus!
internal void InitMutationCreateHypervVirtualMachineSnapshotDiskMount()
{
Tuple<string, string>[] argDefs = {
Tuple.Create("input", "CreateMountHypervVirtualDisksInput!"),
};
Initialize(
argDefs,
"mutation",
"MutationCreateHypervVirtualMachineSnapshotDiskMount",
"($input: CreateMountHypervVirtualDisksInput!)",
"AsyncRequestStatus",
Mutation.CreateHypervVirtualMachineSnapshotDiskMount_ObjectFieldSpec,
Mutation.CreateHypervVirtualMachineSnapshotDiskMountFieldSpec,
@"# REQUIRED
$query.Var.input = @{
# REQUIRED
config = @{
# REQUIRED
targetVirtualMachineId = $someString
# REQUIRED
virtualDiskIds = @(
$someString
)
}
# REQUIRED
id = $someString
}"
);
}

// Create new GraphQL Mutation:
// createHypervVirtualMachineSnapshotMount(input: CreateHypervVirtualMachineSnapshotMountInput!): AsyncRequestStatus!
internal void InitMutationCreateHypervVirtualMachineSnapshotMount()
Expand Down Expand Up @@ -1740,6 +1880,40 @@ internal void InitMutationDownloadHypervSnapshotFromLocation()
);
}

// Create new GraphQL Mutation:
// downloadHypervVirtualMachineLevelFiles(input: DownloadHypervVirtualMachineVmLevelFilesInput!): AsyncRequestStatus!
internal void InitMutationDownloadHypervVirtualMachineLevelFiles()
{
Tuple<string, string>[] argDefs = {
Tuple.Create("input", "DownloadHypervVirtualMachineVmLevelFilesInput!"),
};
Initialize(
argDefs,
"mutation",
"MutationDownloadHypervVirtualMachineLevelFiles",
"($input: DownloadHypervVirtualMachineVmLevelFilesInput!)",
"AsyncRequestStatus",
Mutation.DownloadHypervVirtualMachineLevelFiles_ObjectFieldSpec,
Mutation.DownloadHypervVirtualMachineLevelFilesFieldSpec,
@"# REQUIRED
$query.Var.input = @{
# REQUIRED
config = @{
# REQUIRED
configFileExtensions = @(
$someString
)
# REQUIRED
virtualDiskIds = @(
$someString
)
}
# REQUIRED
id = $someString
}"
);
}

// Create new GraphQL Mutation:
// downloadHypervVirtualMachineSnapshot(input: DownloadHypervVirtualMachineSnapshotInput!): AsyncRequestStatus!
internal void InitMutationDownloadHypervVirtualMachineSnapshot()
Expand Down
Loading

0 comments on commit 3604b09

Please sign in to comment.