tencentcloud.MongodbInstanceBackupDownloadTask
Explore with Pulumi AI
Create MongodbInstanceBackupDownloadTask Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MongodbInstanceBackupDownloadTask(name: string, args: MongodbInstanceBackupDownloadTaskArgs, opts?: CustomResourceOptions);
@overload
def MongodbInstanceBackupDownloadTask(resource_name: str,
args: MongodbInstanceBackupDownloadTaskArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MongodbInstanceBackupDownloadTask(resource_name: str,
opts: Optional[ResourceOptions] = None,
backup_name: Optional[str] = None,
backup_sets: Optional[Sequence[MongodbInstanceBackupDownloadTaskBackupSetArgs]] = None,
instance_id: Optional[str] = None,
mongodb_instance_backup_download_task_id: Optional[str] = None)
func NewMongodbInstanceBackupDownloadTask(ctx *Context, name string, args MongodbInstanceBackupDownloadTaskArgs, opts ...ResourceOption) (*MongodbInstanceBackupDownloadTask, error)
public MongodbInstanceBackupDownloadTask(string name, MongodbInstanceBackupDownloadTaskArgs args, CustomResourceOptions? opts = null)
public MongodbInstanceBackupDownloadTask(String name, MongodbInstanceBackupDownloadTaskArgs args)
public MongodbInstanceBackupDownloadTask(String name, MongodbInstanceBackupDownloadTaskArgs args, CustomResourceOptions options)
type: tencentcloud:MongodbInstanceBackupDownloadTask
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 MongodbInstanceBackupDownloadTaskArgs
- 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 MongodbInstanceBackupDownloadTaskArgs
- 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 MongodbInstanceBackupDownloadTaskArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MongodbInstanceBackupDownloadTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MongodbInstanceBackupDownloadTaskArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
MongodbInstanceBackupDownloadTask 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 MongodbInstanceBackupDownloadTask resource accepts the following input properties:
- Backup
Name string - The name of the backup file to be downloaded can be obtained through the DescribeDBBackups interface.
- Backup
Sets List<MongodbInstance Backup Download Task Backup Set> - Specifies the node names of replica sets to download or a list of shard names for sharded clusters.For example, the replica set cmgo-p8vnipr5, example (fixed value): BackupSets.0=cmgo-p8vnipr5_0, the full amount of data can be downloaded.For example, the sharded cluster cmgo-p8vnipr5, for example: BackupSets.0=cmgo-p8vnipr5_0&BackupSets.1=cmgo-p8vnipr5_1, that is, to download the data of shard 0 and 1. If the sharded cluster needs to be downloaded in full, please pass in the example. Full slice name.
- Instance
Id string - Instance ID, the format is: cmgo-9d0p6umb.Same as the instance ID displayed in the cloud database console page.
- Mongodb
Instance stringBackup Download Task Id
- Backup
Name string - The name of the backup file to be downloaded can be obtained through the DescribeDBBackups interface.
- Backup
Sets []MongodbInstance Backup Download Task Backup Set Args - Specifies the node names of replica sets to download or a list of shard names for sharded clusters.For example, the replica set cmgo-p8vnipr5, example (fixed value): BackupSets.0=cmgo-p8vnipr5_0, the full amount of data can be downloaded.For example, the sharded cluster cmgo-p8vnipr5, for example: BackupSets.0=cmgo-p8vnipr5_0&BackupSets.1=cmgo-p8vnipr5_1, that is, to download the data of shard 0 and 1. If the sharded cluster needs to be downloaded in full, please pass in the example. Full slice name.
- Instance
Id string - Instance ID, the format is: cmgo-9d0p6umb.Same as the instance ID displayed in the cloud database console page.
- Mongodb
Instance stringBackup Download Task Id
- backup
Name String - The name of the backup file to be downloaded can be obtained through the DescribeDBBackups interface.
- backup
Sets List<MongodbInstance Backup Download Task Backup Set> - Specifies the node names of replica sets to download or a list of shard names for sharded clusters.For example, the replica set cmgo-p8vnipr5, example (fixed value): BackupSets.0=cmgo-p8vnipr5_0, the full amount of data can be downloaded.For example, the sharded cluster cmgo-p8vnipr5, for example: BackupSets.0=cmgo-p8vnipr5_0&BackupSets.1=cmgo-p8vnipr5_1, that is, to download the data of shard 0 and 1. If the sharded cluster needs to be downloaded in full, please pass in the example. Full slice name.
- instance
Id String - Instance ID, the format is: cmgo-9d0p6umb.Same as the instance ID displayed in the cloud database console page.
- mongodb
Instance StringBackup Download Task Id
- backup
Name string - The name of the backup file to be downloaded can be obtained through the DescribeDBBackups interface.
- backup
Sets MongodbInstance Backup Download Task Backup Set[] - Specifies the node names of replica sets to download or a list of shard names for sharded clusters.For example, the replica set cmgo-p8vnipr5, example (fixed value): BackupSets.0=cmgo-p8vnipr5_0, the full amount of data can be downloaded.For example, the sharded cluster cmgo-p8vnipr5, for example: BackupSets.0=cmgo-p8vnipr5_0&BackupSets.1=cmgo-p8vnipr5_1, that is, to download the data of shard 0 and 1. If the sharded cluster needs to be downloaded in full, please pass in the example. Full slice name.
- instance
Id string - Instance ID, the format is: cmgo-9d0p6umb.Same as the instance ID displayed in the cloud database console page.
- mongodb
Instance stringBackup Download Task Id
- backup_
name str - The name of the backup file to be downloaded can be obtained through the DescribeDBBackups interface.
- backup_
sets Sequence[MongodbInstance Backup Download Task Backup Set Args] - Specifies the node names of replica sets to download or a list of shard names for sharded clusters.For example, the replica set cmgo-p8vnipr5, example (fixed value): BackupSets.0=cmgo-p8vnipr5_0, the full amount of data can be downloaded.For example, the sharded cluster cmgo-p8vnipr5, for example: BackupSets.0=cmgo-p8vnipr5_0&BackupSets.1=cmgo-p8vnipr5_1, that is, to download the data of shard 0 and 1. If the sharded cluster needs to be downloaded in full, please pass in the example. Full slice name.
- instance_
id str - Instance ID, the format is: cmgo-9d0p6umb.Same as the instance ID displayed in the cloud database console page.
- mongodb_
instance_ strbackup_ download_ task_ id
- backup
Name String - The name of the backup file to be downloaded can be obtained through the DescribeDBBackups interface.
- backup
Sets List<Property Map> - Specifies the node names of replica sets to download or a list of shard names for sharded clusters.For example, the replica set cmgo-p8vnipr5, example (fixed value): BackupSets.0=cmgo-p8vnipr5_0, the full amount of data can be downloaded.For example, the sharded cluster cmgo-p8vnipr5, for example: BackupSets.0=cmgo-p8vnipr5_0&BackupSets.1=cmgo-p8vnipr5_1, that is, to download the data of shard 0 and 1. If the sharded cluster needs to be downloaded in full, please pass in the example. Full slice name.
- instance
Id String - Instance ID, the format is: cmgo-9d0p6umb.Same as the instance ID displayed in the cloud database console page.
- mongodb
Instance StringBackup Download Task Id
Outputs
All input properties are implicitly available as output properties. Additionally, the MongodbInstanceBackupDownloadTask 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 MongodbInstanceBackupDownloadTask Resource
Get an existing MongodbInstanceBackupDownloadTask 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?: MongodbInstanceBackupDownloadTaskState, opts?: CustomResourceOptions): MongodbInstanceBackupDownloadTask
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
backup_name: Optional[str] = None,
backup_sets: Optional[Sequence[MongodbInstanceBackupDownloadTaskBackupSetArgs]] = None,
instance_id: Optional[str] = None,
mongodb_instance_backup_download_task_id: Optional[str] = None) -> MongodbInstanceBackupDownloadTask
func GetMongodbInstanceBackupDownloadTask(ctx *Context, name string, id IDInput, state *MongodbInstanceBackupDownloadTaskState, opts ...ResourceOption) (*MongodbInstanceBackupDownloadTask, error)
public static MongodbInstanceBackupDownloadTask Get(string name, Input<string> id, MongodbInstanceBackupDownloadTaskState? state, CustomResourceOptions? opts = null)
public static MongodbInstanceBackupDownloadTask get(String name, Output<String> id, MongodbInstanceBackupDownloadTaskState state, CustomResourceOptions options)
resources: _: type: tencentcloud:MongodbInstanceBackupDownloadTask 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
Name string - The name of the backup file to be downloaded can be obtained through the DescribeDBBackups interface.
- Backup
Sets List<MongodbInstance Backup Download Task Backup Set> - Specifies the node names of replica sets to download or a list of shard names for sharded clusters.For example, the replica set cmgo-p8vnipr5, example (fixed value): BackupSets.0=cmgo-p8vnipr5_0, the full amount of data can be downloaded.For example, the sharded cluster cmgo-p8vnipr5, for example: BackupSets.0=cmgo-p8vnipr5_0&BackupSets.1=cmgo-p8vnipr5_1, that is, to download the data of shard 0 and 1. If the sharded cluster needs to be downloaded in full, please pass in the example. Full slice name.
- Instance
Id string - Instance ID, the format is: cmgo-9d0p6umb.Same as the instance ID displayed in the cloud database console page.
- Mongodb
Instance stringBackup Download Task Id
- Backup
Name string - The name of the backup file to be downloaded can be obtained through the DescribeDBBackups interface.
- Backup
Sets []MongodbInstance Backup Download Task Backup Set Args - Specifies the node names of replica sets to download or a list of shard names for sharded clusters.For example, the replica set cmgo-p8vnipr5, example (fixed value): BackupSets.0=cmgo-p8vnipr5_0, the full amount of data can be downloaded.For example, the sharded cluster cmgo-p8vnipr5, for example: BackupSets.0=cmgo-p8vnipr5_0&BackupSets.1=cmgo-p8vnipr5_1, that is, to download the data of shard 0 and 1. If the sharded cluster needs to be downloaded in full, please pass in the example. Full slice name.
- Instance
Id string - Instance ID, the format is: cmgo-9d0p6umb.Same as the instance ID displayed in the cloud database console page.
- Mongodb
Instance stringBackup Download Task Id
- backup
Name String - The name of the backup file to be downloaded can be obtained through the DescribeDBBackups interface.
- backup
Sets List<MongodbInstance Backup Download Task Backup Set> - Specifies the node names of replica sets to download or a list of shard names for sharded clusters.For example, the replica set cmgo-p8vnipr5, example (fixed value): BackupSets.0=cmgo-p8vnipr5_0, the full amount of data can be downloaded.For example, the sharded cluster cmgo-p8vnipr5, for example: BackupSets.0=cmgo-p8vnipr5_0&BackupSets.1=cmgo-p8vnipr5_1, that is, to download the data of shard 0 and 1. If the sharded cluster needs to be downloaded in full, please pass in the example. Full slice name.
- instance
Id String - Instance ID, the format is: cmgo-9d0p6umb.Same as the instance ID displayed in the cloud database console page.
- mongodb
Instance StringBackup Download Task Id
- backup
Name string - The name of the backup file to be downloaded can be obtained through the DescribeDBBackups interface.
- backup
Sets MongodbInstance Backup Download Task Backup Set[] - Specifies the node names of replica sets to download or a list of shard names for sharded clusters.For example, the replica set cmgo-p8vnipr5, example (fixed value): BackupSets.0=cmgo-p8vnipr5_0, the full amount of data can be downloaded.For example, the sharded cluster cmgo-p8vnipr5, for example: BackupSets.0=cmgo-p8vnipr5_0&BackupSets.1=cmgo-p8vnipr5_1, that is, to download the data of shard 0 and 1. If the sharded cluster needs to be downloaded in full, please pass in the example. Full slice name.
- instance
Id string - Instance ID, the format is: cmgo-9d0p6umb.Same as the instance ID displayed in the cloud database console page.
- mongodb
Instance stringBackup Download Task Id
- backup_
name str - The name of the backup file to be downloaded can be obtained through the DescribeDBBackups interface.
- backup_
sets Sequence[MongodbInstance Backup Download Task Backup Set Args] - Specifies the node names of replica sets to download or a list of shard names for sharded clusters.For example, the replica set cmgo-p8vnipr5, example (fixed value): BackupSets.0=cmgo-p8vnipr5_0, the full amount of data can be downloaded.For example, the sharded cluster cmgo-p8vnipr5, for example: BackupSets.0=cmgo-p8vnipr5_0&BackupSets.1=cmgo-p8vnipr5_1, that is, to download the data of shard 0 and 1. If the sharded cluster needs to be downloaded in full, please pass in the example. Full slice name.
- instance_
id str - Instance ID, the format is: cmgo-9d0p6umb.Same as the instance ID displayed in the cloud database console page.
- mongodb_
instance_ strbackup_ download_ task_ id
- backup
Name String - The name of the backup file to be downloaded can be obtained through the DescribeDBBackups interface.
- backup
Sets List<Property Map> - Specifies the node names of replica sets to download or a list of shard names for sharded clusters.For example, the replica set cmgo-p8vnipr5, example (fixed value): BackupSets.0=cmgo-p8vnipr5_0, the full amount of data can be downloaded.For example, the sharded cluster cmgo-p8vnipr5, for example: BackupSets.0=cmgo-p8vnipr5_0&BackupSets.1=cmgo-p8vnipr5_1, that is, to download the data of shard 0 and 1. If the sharded cluster needs to be downloaded in full, please pass in the example. Full slice name.
- instance
Id String - Instance ID, the format is: cmgo-9d0p6umb.Same as the instance ID displayed in the cloud database console page.
- mongodb
Instance StringBackup Download Task Id
Supporting Types
MongodbInstanceBackupDownloadTaskBackupSet, MongodbInstanceBackupDownloadTaskBackupSetArgs
- Replica
Set stringId - Replication Id.
- Replica
Set stringId - Replication Id.
- replica
Set StringId - Replication Id.
- replica
Set stringId - Replication Id.
- replica_
set_ strid - Replication Id.
- replica
Set StringId - Replication Id.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.