Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Provides a resource to create mongodb backup rule
Provides a resource to create mongodb instance backup rule

Example Usage

```hcl
resource "tencentcloud_mongodb_backup_rule" "backup_rule" {
resource "tencentcloud_mongodb_instance_backup" "backup_rule" {
instance_id = "cmgo-xxxxxx"
backup_method = 0
backup_time = 10
Expand All @@ -12,8 +12,8 @@ resource "tencentcloud_mongodb_backup_rule" "backup_rule" {

Import

mongodb backup_rule can be imported using the id, e.g.
mongodb instance backup rule can be imported using the id, e.g.

```
terraform import tencentcloud_mongodb_backup_rule.backup_rule ${instanceId}
terraform import tencentcloud_mongodb_instance_backup.backup_rule ${instanceId}
```
10 changes: 5 additions & 5 deletions website/docs/r/mongodb_instance_backup_rule.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ layout: "tencentcloud"
page_title: "TencentCloud: tencentcloud_mongodb_instance_backup_rule"
sidebar_current: "docs-tencentcloud-resource-mongodb_instance_backup_rule"
description: |-
Provides a resource to create mongodb backup rule
Provides a resource to create mongodb instance backup rule
---

# tencentcloud_mongodb_instance_backup_rule

Provides a resource to create mongodb backup rule
Provides a resource to create mongodb instance backup rule

## Example Usage

```hcl
resource "tencentcloud_mongodb_backup_rule" "backup_rule" {
resource "tencentcloud_mongodb_instance_backup" "backup_rule" {
instance_id = "cmgo-xxxxxx"
backup_method = 0
backup_time = 10
Expand Down Expand Up @@ -43,9 +43,9 @@ In addition to all arguments above, the following attributes are exported:

## Import

mongodb backup_rule can be imported using the id, e.g.
mongodb instance backup rule can be imported using the id, e.g.

```
terraform import tencentcloud_mongodb_backup_rule.backup_rule ${instanceId}
terraform import tencentcloud_mongodb_instance_backup.backup_rule ${instanceId}
```