Creates and manages a backup plan 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 = new selectel.CloudbackupPlanV2("plan_1", {
projectId: project1.id,
region: "ru-3",
name: "my-backup-plan",
backupMode: "full",
fullBackupsAmount: 7,
scheduleType: "crontab",
schedulePattern: "0 0 * * *",
resources: [{
resources: [{
id: "d63dcb8b-77bb-4741-b7dc-1c03c853de12",
name: "my-volume-1",
type: "OS::Cinder::Volume",
}],
}],
});
import pulumi
import pulumi_selectel as selectel
plan1 = selectel.CloudbackupPlanV2("plan_1",
project_id=project1["id"],
region="ru-3",
name="my-backup-plan",
backup_mode="full",
full_backups_amount=7,
schedule_type="crontab",
schedule_pattern="0 0 * * *",
resources=[{
"resources": [{
"id": "d63dcb8b-77bb-4741-b7dc-1c03c853de12",
"name": "my-volume-1",
"type": "OS::Cinder::Volume",
}],
}])
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.NewCloudbackupPlanV2(ctx, "plan_1", &selectel.CloudbackupPlanV2Args{
ProjectId: pulumi.Any(project1.Id),
Region: pulumi.String("ru-3"),
Name: pulumi.String("my-backup-plan"),
BackupMode: pulumi.String("full"),
FullBackupsAmount: pulumi.Float64(7),
ScheduleType: pulumi.String("crontab"),
SchedulePattern: pulumi.String("0 0 * * *"),
Resources: selectel.CloudbackupPlanV2ResourceArray{
&selectel.CloudbackupPlanV2ResourceArgs{
Resources: selectel.CloudbackupPlanV2ResourceResourceArray{
&selectel.CloudbackupPlanV2ResourceResourceArgs{
Id: pulumi.String("d63dcb8b-77bb-4741-b7dc-1c03c853de12"),
Name: pulumi.String("my-volume-1"),
Type: pulumi.String("OS::Cinder::Volume"),
},
},
},
},
})
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 = new Selectel.CloudbackupPlanV2("plan_1", new()
{
ProjectId = project1.Id,
Region = "ru-3",
Name = "my-backup-plan",
BackupMode = "full",
FullBackupsAmount = 7,
ScheduleType = "crontab",
SchedulePattern = "0 0 * * *",
Resources = new[]
{
new Selectel.Inputs.CloudbackupPlanV2ResourceArgs
{
Resources = new[]
{
new Selectel.Inputs.CloudbackupPlanV2ResourceResourceArgs
{
Id = "d63dcb8b-77bb-4741-b7dc-1c03c853de12",
Name = "my-volume-1",
Type = "OS::Cinder::Volume",
},
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.selectel.CloudbackupPlanV2;
import com.pulumi.selectel.CloudbackupPlanV2Args;
import com.pulumi.selectel.inputs.CloudbackupPlanV2ResourceArgs;
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) {
var plan1 = new CloudbackupPlanV2("plan1", CloudbackupPlanV2Args.builder()
.projectId(project1.id())
.region("ru-3")
.name("my-backup-plan")
.backupMode("full")
.fullBackupsAmount(7.0)
.scheduleType("crontab")
.schedulePattern("0 0 * * *")
.resources(CloudbackupPlanV2ResourceArgs.builder()
.resources(CloudbackupPlanV2ResourceResourceArgs.builder()
.id("d63dcb8b-77bb-4741-b7dc-1c03c853de12")
.name("my-volume-1")
.type("OS::Cinder::Volume")
.build())
.build())
.build());
}
}
resources:
plan1:
type: selectel:CloudbackupPlanV2
name: plan_1
properties:
projectId: ${project1.id}
region: ru-3
name: my-backup-plan
backupMode: full
fullBackupsAmount: 7
scheduleType: crontab
schedulePattern: 0 0 * * *
resources:
- resources:
- id: d63dcb8b-77bb-4741-b7dc-1c03c853de12
name: my-volume-1
type: OS::Cinder::Volume
Create CloudbackupPlanV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudbackupPlanV2(name: string, args: CloudbackupPlanV2Args, opts?: CustomResourceOptions);@overload
def CloudbackupPlanV2(resource_name: str,
args: CloudbackupPlanV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def CloudbackupPlanV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
full_backups_amount: Optional[float] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
resources: Optional[Sequence[CloudbackupPlanV2ResourceArgs]] = None,
schedule_pattern: Optional[str] = None,
schedule_type: Optional[str] = None,
backup_mode: Optional[str] = None,
cloudbackup_plan_v2_id: Optional[str] = None,
name: Optional[str] = None,
timeouts: Optional[CloudbackupPlanV2TimeoutsArgs] = None)func NewCloudbackupPlanV2(ctx *Context, name string, args CloudbackupPlanV2Args, opts ...ResourceOption) (*CloudbackupPlanV2, error)public CloudbackupPlanV2(string name, CloudbackupPlanV2Args args, CustomResourceOptions? opts = null)
public CloudbackupPlanV2(String name, CloudbackupPlanV2Args args)
public CloudbackupPlanV2(String name, CloudbackupPlanV2Args args, CustomResourceOptions options)
type: selectel:CloudbackupPlanV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CloudbackupPlanV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CloudbackupPlanV2Args
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CloudbackupPlanV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudbackupPlanV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudbackupPlanV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cloudbackupPlanV2Resource = new Selectel.CloudbackupPlanV2("cloudbackupPlanV2Resource", new()
{
FullBackupsAmount = 0,
ProjectId = "string",
Region = "string",
Resources = new[]
{
new Selectel.Inputs.CloudbackupPlanV2ResourceArgs
{
Resources = new[]
{
new Selectel.Inputs.CloudbackupPlanV2ResourceResourceArgs
{
Id = "string",
Name = "string",
Type = "string",
},
},
},
},
SchedulePattern = "string",
ScheduleType = "string",
BackupMode = "string",
CloudbackupPlanV2Id = "string",
Name = "string",
Timeouts = new Selectel.Inputs.CloudbackupPlanV2TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := selectel.NewCloudbackupPlanV2(ctx, "cloudbackupPlanV2Resource", &selectel.CloudbackupPlanV2Args{
FullBackupsAmount: pulumi.Float64(0),
ProjectId: pulumi.String("string"),
Region: pulumi.String("string"),
Resources: selectel.CloudbackupPlanV2ResourceArray{
&selectel.CloudbackupPlanV2ResourceArgs{
Resources: selectel.CloudbackupPlanV2ResourceResourceArray{
&selectel.CloudbackupPlanV2ResourceResourceArgs{
Id: pulumi.String("string"),
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
},
},
SchedulePattern: pulumi.String("string"),
ScheduleType: pulumi.String("string"),
BackupMode: pulumi.String("string"),
CloudbackupPlanV2Id: pulumi.String("string"),
Name: pulumi.String("string"),
Timeouts: &selectel.CloudbackupPlanV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var cloudbackupPlanV2Resource = new CloudbackupPlanV2("cloudbackupPlanV2Resource", CloudbackupPlanV2Args.builder()
.fullBackupsAmount(0.0)
.projectId("string")
.region("string")
.resources(CloudbackupPlanV2ResourceArgs.builder()
.resources(CloudbackupPlanV2ResourceResourceArgs.builder()
.id("string")
.name("string")
.type("string")
.build())
.build())
.schedulePattern("string")
.scheduleType("string")
.backupMode("string")
.cloudbackupPlanV2Id("string")
.name("string")
.timeouts(CloudbackupPlanV2TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
cloudbackup_plan_v2_resource = selectel.CloudbackupPlanV2("cloudbackupPlanV2Resource",
full_backups_amount=0,
project_id="string",
region="string",
resources=[{
"resources": [{
"id": "string",
"name": "string",
"type": "string",
}],
}],
schedule_pattern="string",
schedule_type="string",
backup_mode="string",
cloudbackup_plan_v2_id="string",
name="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const cloudbackupPlanV2Resource = new selectel.CloudbackupPlanV2("cloudbackupPlanV2Resource", {
fullBackupsAmount: 0,
projectId: "string",
region: "string",
resources: [{
resources: [{
id: "string",
name: "string",
type: "string",
}],
}],
schedulePattern: "string",
scheduleType: "string",
backupMode: "string",
cloudbackupPlanV2Id: "string",
name: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: selectel:CloudbackupPlanV2
properties:
backupMode: string
cloudbackupPlanV2Id: string
fullBackupsAmount: 0
name: string
projectId: string
region: string
resources:
- resources:
- id: string
name: string
type: string
schedulePattern: string
scheduleType: string
timeouts:
create: string
delete: string
update: string
CloudbackupPlanV2 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CloudbackupPlanV2 resource accepts the following input properties:
- Full
Backups doubleAmount - Maximum number of backups to save in a full plan or full backups in a frequency 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. - Resources
List<Cloudbackup
Plan V2Resource> - List of resources to back up according to the backup plan. The only available type of resources is a volume. You can add multiple volumes – each volume in a separate block.
- Schedule
Pattern string - Backup scheduling pattern.
- Schedule
Type string - Backup scheduling type. Available values are
calendarandcrontab. Learn more about schedule types. - Backup
Mode string - Backup mode used for the plan. Available values are
fullandfrequency. The default value isfull. Learn more about backup modes. - Cloudbackup
Plan stringV2Id - Name string
- Name of the backup plan.
- Timeouts
Cloudbackup
Plan V2Timeouts
- Full
Backups float64Amount - Maximum number of backups to save in a full plan or full backups in a frequency 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. - Resources
[]Cloudbackup
Plan V2Resource Args - List of resources to back up according to the backup plan. The only available type of resources is a volume. You can add multiple volumes – each volume in a separate block.
- Schedule
Pattern string - Backup scheduling pattern.
- Schedule
Type string - Backup scheduling type. Available values are
calendarandcrontab. Learn more about schedule types. - Backup
Mode string - Backup mode used for the plan. Available values are
fullandfrequency. The default value isfull. Learn more about backup modes. - Cloudbackup
Plan stringV2Id - Name string
- Name of the backup plan.
- Timeouts
Cloudbackup
Plan V2Timeouts Args
- full
Backups DoubleAmount - Maximum number of backups to save in a full plan or full backups in a frequency 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. - resources
List<Cloudbackup
Plan V2Resource> - List of resources to back up according to the backup plan. The only available type of resources is a volume. You can add multiple volumes – each volume in a separate block.
- schedule
Pattern String - Backup scheduling pattern.
- schedule
Type String - Backup scheduling type. Available values are
calendarandcrontab. Learn more about schedule types. - backup
Mode String - Backup mode used for the plan. Available values are
fullandfrequency. The default value isfull. Learn more about backup modes. - cloudbackup
Plan StringV2Id - name String
- Name of the backup plan.
- timeouts
Cloudbackup
Plan V2Timeouts
- full
Backups numberAmount - Maximum number of backups to save in a full plan or full backups in a frequency 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. - resources
Cloudbackup
Plan V2Resource[] - List of resources to back up according to the backup plan. The only available type of resources is a volume. You can add multiple volumes – each volume in a separate block.
- schedule
Pattern string - Backup scheduling pattern.
- schedule
Type string - Backup scheduling type. Available values are
calendarandcrontab. Learn more about schedule types. - backup
Mode string - Backup mode used for the plan. Available values are
fullandfrequency. The default value isfull. Learn more about backup modes. - cloudbackup
Plan stringV2Id - name string
- Name of the backup plan.
- timeouts
Cloudbackup
Plan V2Timeouts
- full_
backups_ floatamount - Maximum number of backups to save in a full plan or full backups in a frequency 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. - resources
Sequence[Cloudbackup
Plan V2Resource Args] - List of resources to back up according to the backup plan. The only available type of resources is a volume. You can add multiple volumes – each volume in a separate block.
- schedule_
pattern str - Backup scheduling pattern.
- schedule_
type str - Backup scheduling type. Available values are
calendarandcrontab. Learn more about schedule types. - backup_
mode str - Backup mode used for the plan. Available values are
fullandfrequency. The default value isfull. Learn more about backup modes. - cloudbackup_
plan_ strv2_ id - name str
- Name of the backup plan.
- timeouts
Cloudbackup
Plan V2Timeouts Args
- full
Backups NumberAmount - Maximum number of backups to save in a full plan or full backups in a frequency 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. - resources List<Property Map>
- List of resources to back up according to the backup plan. The only available type of resources is a volume. You can add multiple volumes – each volume in a separate block.
- schedule
Pattern String - Backup scheduling pattern.
- schedule
Type String - Backup scheduling type. Available values are
calendarandcrontab. Learn more about schedule types. - backup
Mode String - Backup mode used for the plan. Available values are
fullandfrequency. The default value isfull. Learn more about backup modes. - cloudbackup
Plan StringV2Id - name String
- Name of the backup plan.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudbackupPlanV2 resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CloudbackupPlanV2 Resource
Get an existing CloudbackupPlanV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CloudbackupPlanV2State, opts?: CustomResourceOptions): CloudbackupPlanV2@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
backup_mode: Optional[str] = None,
cloudbackup_plan_v2_id: Optional[str] = None,
full_backups_amount: Optional[float] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
resources: Optional[Sequence[CloudbackupPlanV2ResourceArgs]] = None,
schedule_pattern: Optional[str] = None,
schedule_type: Optional[str] = None,
timeouts: Optional[CloudbackupPlanV2TimeoutsArgs] = None) -> CloudbackupPlanV2func GetCloudbackupPlanV2(ctx *Context, name string, id IDInput, state *CloudbackupPlanV2State, opts ...ResourceOption) (*CloudbackupPlanV2, error)public static CloudbackupPlanV2 Get(string name, Input<string> id, CloudbackupPlanV2State? state, CustomResourceOptions? opts = null)public static CloudbackupPlanV2 get(String name, Output<String> id, CloudbackupPlanV2State state, CustomResourceOptions options)resources: _: type: selectel:CloudbackupPlanV2 get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Backup
Mode string - Backup mode used for the plan. Available values are
fullandfrequency. The default value isfull. Learn more about backup modes. - Cloudbackup
Plan stringV2Id - Full
Backups doubleAmount - Maximum number of backups to save in a full plan or full backups in a frequency plan.
- Name string
- Name of 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. - Resources
List<Cloudbackup
Plan V2Resource> - List of resources to back up according to the backup plan. The only available type of resources is a volume. You can add multiple volumes – each volume in a separate block.
- Schedule
Pattern string - Backup scheduling pattern.
- Schedule
Type string - Backup scheduling type. Available values are
calendarandcrontab. Learn more about schedule types. - Timeouts
Cloudbackup
Plan V2Timeouts
- Backup
Mode string - Backup mode used for the plan. Available values are
fullandfrequency. The default value isfull. Learn more about backup modes. - Cloudbackup
Plan stringV2Id - Full
Backups float64Amount - Maximum number of backups to save in a full plan or full backups in a frequency plan.
- Name string
- Name of 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. - Resources
[]Cloudbackup
Plan V2Resource Args - List of resources to back up according to the backup plan. The only available type of resources is a volume. You can add multiple volumes – each volume in a separate block.
- Schedule
Pattern string - Backup scheduling pattern.
- Schedule
Type string - Backup scheduling type. Available values are
calendarandcrontab. Learn more about schedule types. - Timeouts
Cloudbackup
Plan V2Timeouts Args
- backup
Mode String - Backup mode used for the plan. Available values are
fullandfrequency. The default value isfull. Learn more about backup modes. - cloudbackup
Plan StringV2Id - full
Backups DoubleAmount - Maximum number of backups to save in a full plan or full backups in a frequency plan.
- name String
- Name of 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. - resources
List<Cloudbackup
Plan V2Resource> - List of resources to back up according to the backup plan. The only available type of resources is a volume. You can add multiple volumes – each volume in a separate block.
- schedule
Pattern String - Backup scheduling pattern.
- schedule
Type String - Backup scheduling type. Available values are
calendarandcrontab. Learn more about schedule types. - timeouts
Cloudbackup
Plan V2Timeouts
- backup
Mode string - Backup mode used for the plan. Available values are
fullandfrequency. The default value isfull. Learn more about backup modes. - cloudbackup
Plan stringV2Id - full
Backups numberAmount - Maximum number of backups to save in a full plan or full backups in a frequency plan.
- name string
- Name of 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. - resources
Cloudbackup
Plan V2Resource[] - List of resources to back up according to the backup plan. The only available type of resources is a volume. You can add multiple volumes – each volume in a separate block.
- schedule
Pattern string - Backup scheduling pattern.
- schedule
Type string - Backup scheduling type. Available values are
calendarandcrontab. Learn more about schedule types. - timeouts
Cloudbackup
Plan V2Timeouts
- backup_
mode str - Backup mode used for the plan. Available values are
fullandfrequency. The default value isfull. Learn more about backup modes. - cloudbackup_
plan_ strv2_ id - full_
backups_ floatamount - Maximum number of backups to save in a full plan or full backups in a frequency plan.
- name str
- Name of 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. - resources
Sequence[Cloudbackup
Plan V2Resource Args] - List of resources to back up according to the backup plan. The only available type of resources is a volume. You can add multiple volumes – each volume in a separate block.
- schedule_
pattern str - Backup scheduling pattern.
- schedule_
type str - Backup scheduling type. Available values are
calendarandcrontab. Learn more about schedule types. - timeouts
Cloudbackup
Plan V2Timeouts Args
- backup
Mode String - Backup mode used for the plan. Available values are
fullandfrequency. The default value isfull. Learn more about backup modes. - cloudbackup
Plan StringV2Id - full
Backups NumberAmount - Maximum number of backups to save in a full plan or full backups in a frequency plan.
- name String
- Name of 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. - resources List<Property Map>
- List of resources to back up according to the backup plan. The only available type of resources is a volume. You can add multiple volumes – each volume in a separate block.
- schedule
Pattern String - Backup scheduling pattern.
- schedule
Type String - Backup scheduling type. Available values are
calendarandcrontab. Learn more about schedule types. - timeouts Property Map
Supporting Types
CloudbackupPlanV2Resource, CloudbackupPlanV2ResourceArgs
- Resources
List<Cloudbackup
Plan V2Resource Resource> - List of resource details to back up according to the backup plan:
- Resources
[]Cloudbackup
Plan V2Resource Resource - List of resource details to back up according to the backup plan:
- resources
List<Cloudbackup
Plan V2Resource Resource> - List of resource details to back up according to the backup plan:
- resources
Cloudbackup
Plan V2Resource Resource[] - List of resource details to back up according to the backup plan:
- resources
Sequence[Cloudbackup
Plan V2Resource Resource] - List of resource details to back up according to the backup plan:
- resources List<Property Map>
- List of resource details to back up according to the backup plan:
CloudbackupPlanV2ResourceResource, CloudbackupPlanV2ResourceResourceArgs
CloudbackupPlanV2Timeouts, CloudbackupPlanV2TimeoutsArgs
Package Details
- Repository
- selectel selectel/terraform-provider-selectel
- License
- Notes
- This Pulumi package is based on the
selectelTerraform Provider.
