Viewing docs for selectel 7.6.0
published on Thursday, Mar 12, 2026 by selectel
published on Thursday, Mar 12, 2026 by selectel
Viewing docs for selectel 7.6.0
published on Thursday, Mar 12, 2026 by selectel
published on Thursday, Mar 12, 2026 by selectel
Provides a list of backup plans for Selectel Backups in the Cloud. For more information about backup plans, see the official Selectel documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as selectel from "@pulumi/selectel";
const plan1 = selectel.getCloudbackupPlanV2({
projectId: project1.id,
region: "ru-3",
filter: {
name: "my-backup-plan",
volumeName: "my-volume",
status: "started",
},
});
import pulumi
import pulumi_selectel as selectel
plan1 = selectel.get_cloudbackup_plan_v2(project_id=project1["id"],
region="ru-3",
filter={
"name": "my-backup-plan",
"volume_name": "my-volume",
"status": "started",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v7/selectel"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := selectel.LookupCloudbackupPlanV2(ctx, &selectel.LookupCloudbackupPlanV2Args{
ProjectId: project1.Id,
Region: "ru-3",
Filter: selectel.GetCloudbackupPlanV2Filter{
Name: pulumi.StringRef("my-backup-plan"),
VolumeName: pulumi.StringRef("my-volume"),
Status: pulumi.StringRef("started"),
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Selectel = Pulumi.Selectel;
return await Deployment.RunAsync(() =>
{
var plan1 = Selectel.GetCloudbackupPlanV2.Invoke(new()
{
ProjectId = project1.Id,
Region = "ru-3",
Filter = new Selectel.Inputs.GetCloudbackupPlanV2FilterInputArgs
{
Name = "my-backup-plan",
VolumeName = "my-volume",
Status = "started",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.selectel.SelectelFunctions;
import com.pulumi.selectel.inputs.GetCloudbackupPlanV2Args;
import com.pulumi.selectel.inputs.GetCloudbackupPlanV2FilterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var plan1 = SelectelFunctions.getCloudbackupPlanV2(GetCloudbackupPlanV2Args.builder()
.projectId(project1.id())
.region("ru-3")
.filter(GetCloudbackupPlanV2FilterArgs.builder()
.name("my-backup-plan")
.volumeName("my-volume")
.status("started")
.build())
.build());
}
}
variables:
plan1:
fn::invoke:
function: selectel:getCloudbackupPlanV2
arguments:
projectId: ${project1.id}
region: ru-3
filter:
name: my-backup-plan
volumeName: my-volume
status: started
Using getCloudbackupPlanV2
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCloudbackupPlanV2(args: GetCloudbackupPlanV2Args, opts?: InvokeOptions): Promise<GetCloudbackupPlanV2Result>
function getCloudbackupPlanV2Output(args: GetCloudbackupPlanV2OutputArgs, opts?: InvokeOptions): Output<GetCloudbackupPlanV2Result>def get_cloudbackup_plan_v2(filter: Optional[GetCloudbackupPlanV2Filter] = None,
id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudbackupPlanV2Result
def get_cloudbackup_plan_v2_output(filter: Optional[pulumi.Input[GetCloudbackupPlanV2FilterArgs]] = None,
id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudbackupPlanV2Result]func LookupCloudbackupPlanV2(ctx *Context, args *LookupCloudbackupPlanV2Args, opts ...InvokeOption) (*LookupCloudbackupPlanV2Result, error)
func LookupCloudbackupPlanV2Output(ctx *Context, args *LookupCloudbackupPlanV2OutputArgs, opts ...InvokeOption) LookupCloudbackupPlanV2ResultOutput> Note: This function is named LookupCloudbackupPlanV2 in the Go SDK.
public static class GetCloudbackupPlanV2
{
public static Task<GetCloudbackupPlanV2Result> InvokeAsync(GetCloudbackupPlanV2Args args, InvokeOptions? opts = null)
public static Output<GetCloudbackupPlanV2Result> Invoke(GetCloudbackupPlanV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudbackupPlanV2Result> getCloudbackupPlanV2(GetCloudbackupPlanV2Args args, InvokeOptions options)
public static Output<GetCloudbackupPlanV2Result> getCloudbackupPlanV2(GetCloudbackupPlanV2Args args, InvokeOptions options)
fn::invoke:
function: selectel:index/getCloudbackupPlanV2:getCloudbackupPlanV2
arguments:
# arguments dictionaryThe following arguments are supported:
- Project
Id string - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- Region string
- Pool where the backup plan is located, for example,
ru-3. Learn more about available pools in the Availability matrix. - Filter
Get
Cloudbackup Plan V2Filter - Values to filter backup plans.
- Id string
- Unique identifier of the resource that is backed up according to the backup plan.
- Project
Id string - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- Region string
- Pool where the backup plan is located, for example,
ru-3. Learn more about available pools in the Availability matrix. - Filter
Get
Cloudbackup Plan V2Filter - Values to filter backup plans.
- Id string
- Unique identifier of the resource that is backed up according to the backup plan.
- project
Id String - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region String
- Pool where the backup plan is located, for example,
ru-3. Learn more about available pools in the Availability matrix. - filter
Get
Cloudbackup Plan V2Filter - Values to filter backup plans.
- id String
- Unique identifier of the resource that is backed up according to the backup plan.
- project
Id string - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region string
- Pool where the backup plan is located, for example,
ru-3. Learn more about available pools in the Availability matrix. - filter
Get
Cloudbackup Plan V2Filter - Values to filter backup plans.
- id string
- Unique identifier of the resource that is backed up according to the backup plan.
- project_
id str - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region str
- Pool where the backup plan is located, for example,
ru-3. Learn more about available pools in the Availability matrix. - filter
Get
Cloudbackup Plan V2Filter - Values to filter backup plans.
- id str
- Unique identifier of the resource that is backed up according to the backup plan.
- project
Id String - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region String
- Pool where the backup plan is located, for example,
ru-3. Learn more about available pools in the Availability matrix. - filter Property Map
- Values to filter backup plans.
- id String
- Unique identifier of the resource that is backed up according to the backup plan.
getCloudbackupPlanV2 Result
The following output properties are available:
- Id string
- Unique identifier of the resource that is backed up according to the backup plan.
- Plans
List<Get
Cloudbackup Plan V2Plan> - List of backup plans:
- Project
Id string - Region string
- Filter
Get
Cloudbackup Plan V2Filter
- Id string
- Unique identifier of the resource that is backed up according to the backup plan.
- Plans
[]Get
Cloudbackup Plan V2Plan - List of backup plans:
- Project
Id string - Region string
- Filter
Get
Cloudbackup Plan V2Filter
- id String
- Unique identifier of the resource that is backed up according to the backup plan.
- plans
List<Get
Cloudbackup Plan V2Plan> - List of backup plans:
- project
Id String - region String
- filter
Get
Cloudbackup Plan V2Filter
- id string
- Unique identifier of the resource that is backed up according to the backup plan.
- plans
Get
Cloudbackup Plan V2Plan[] - List of backup plans:
- project
Id string - region string
- filter
Get
Cloudbackup Plan V2Filter
- id str
- Unique identifier of the resource that is backed up according to the backup plan.
- plans
Sequence[Get
Cloudbackup Plan V2Plan] - List of backup plans:
- project_
id str - region str
- filter
Get
Cloudbackup Plan V2Filter
- id String
- Unique identifier of the resource that is backed up according to the backup plan.
- plans List<Property Map>
- List of backup plans:
- project
Id String - region String
- filter Property Map
Supporting Types
GetCloudbackupPlanV2Filter
- Name string
- Name of the backup plan.
- Status string
- Status of the backup plan.
- Volume
Name string - Name of the volume.
- Name string
- Name of the backup plan.
- Status string
- Status of the backup plan.
- Volume
Name string - Name of the volume.
- name String
- Name of the backup plan.
- status String
- Status of the backup plan.
- volume
Name String - Name of the volume.
- name string
- Name of the backup plan.
- status string
- Status of the backup plan.
- volume
Name string - Name of the volume.
- name str
- Name of the backup plan.
- status str
- Status of the backup plan.
- volume_
name str - Name of the volume.
- name String
- Name of the backup plan.
- status String
- Status of the backup plan.
- volume
Name String - Name of the volume.
GetCloudbackupPlanV2Plan
- Lists
List<Get
Cloudbackup Plan V2Plan List> - Plans list:
- Total double
- Total number of backup plans.
- Lists
[]Get
Cloudbackup Plan V2Plan List - Plans list:
- Total float64
- Total number of backup plans.
- lists
List<Get
Cloudbackup Plan V2Plan List> - Plans list:
- total Double
- Total number of backup plans.
- lists
Get
Cloudbackup Plan V2Plan List[] - Plans list:
- total number
- Total number of backup plans.
- lists
Sequence[Get
Cloudbackup Plan V2Plan List] - Plans list:
- total float
- Total number of backup plans.
- lists List<Property Map>
- Plans list:
- total Number
- Total number of backup plans.
GetCloudbackupPlanV2PlanList
- Backup
Mode string - Backup mode.
- Created
At string - Time when the backup plan was created.
- Full
Backups doubleAmount - Number of full backups.
- Id string
- Unique identifier of the resource that is backed up according to the backup plan.
- Name string
- Resource name.
- Resources
List<Get
Cloudbackup Plan V2Plan List Resource> - List of resources that are backed up according to the backup plan:
- Schedule
Pattern string - Schedule pattern for the backup plan.
- Schedule
Type string - Schedule type for the backup plan.
- Status string
- Status of the backup plan.
- Backup
Mode string - Backup mode.
- Created
At string - Time when the backup plan was created.
- Full
Backups float64Amount - Number of full backups.
- Id string
- Unique identifier of the resource that is backed up according to the backup plan.
- Name string
- Resource name.
- Resources
[]Get
Cloudbackup Plan V2Plan List Resource - List of resources that are backed up according to the backup plan:
- Schedule
Pattern string - Schedule pattern for the backup plan.
- Schedule
Type string - Schedule type for the backup plan.
- Status string
- Status of the backup plan.
- backup
Mode String - Backup mode.
- created
At String - Time when the backup plan was created.
- full
Backups DoubleAmount - Number of full backups.
- id String
- Unique identifier of the resource that is backed up according to the backup plan.
- name String
- Resource name.
- resources
List<Get
Cloudbackup Plan V2Plan List Resource> - List of resources that are backed up according to the backup plan:
- schedule
Pattern String - Schedule pattern for the backup plan.
- schedule
Type String - Schedule type for the backup plan.
- status String
- Status of the backup plan.
- backup
Mode string - Backup mode.
- created
At string - Time when the backup plan was created.
- full
Backups numberAmount - Number of full backups.
- id string
- Unique identifier of the resource that is backed up according to the backup plan.
- name string
- Resource name.
- resources
Get
Cloudbackup Plan V2Plan List Resource[] - List of resources that are backed up according to the backup plan:
- schedule
Pattern string - Schedule pattern for the backup plan.
- schedule
Type string - Schedule type for the backup plan.
- status string
- Status of the backup plan.
- backup_
mode str - Backup mode.
- created_
at str - Time when the backup plan was created.
- full_
backups_ floatamount - Number of full backups.
- id str
- Unique identifier of the resource that is backed up according to the backup plan.
- name str
- Resource name.
- resources
Sequence[Get
Cloudbackup Plan V2Plan List Resource] - List of resources that are backed up according to the backup plan:
- schedule_
pattern str - Schedule pattern for the backup plan.
- schedule_
type str - Schedule type for the backup plan.
- status str
- Status of the backup plan.
- backup
Mode String - Backup mode.
- created
At String - Time when the backup plan was created.
- full
Backups NumberAmount - Number of full backups.
- id String
- Unique identifier of the resource that is backed up according to the backup plan.
- name String
- Resource name.
- resources List<Property Map>
- List of resources that are backed up according to the backup plan:
- schedule
Pattern String - Schedule pattern for the backup plan.
- schedule
Type String - Schedule type for the backup plan.
- status String
- Status of the backup plan.
GetCloudbackupPlanV2PlanListResource
Package Details
- Repository
- selectel selectel/terraform-provider-selectel
- License
- Notes
- This Pulumi package is based on the
selectelTerraform Provider.
Viewing docs for selectel 7.6.0
published on Thursday, Mar 12, 2026 by selectel
published on Thursday, Mar 12, 2026 by selectel
