Skip to content

fix(mongodb): [123456789]tencentcloud_mongodb_instance_backup doc #2702

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 3, 2024
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}
```

Loading