Skip to content

Commit

Permalink
feat: update tos field
Browse files Browse the repository at this point in the history
  • Loading branch information
xuyaming0800 authored and msq177 committed Dec 15, 2022
1 parent 2ceb6d1 commit 92d6c45
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 4 deletions.
24 changes: 24 additions & 0 deletions volcengine/tos/bucket/data_source_volcengine_tos_buckets.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,45 @@ func DataSourceVolcengineTosBuckets() *schema.Resource {
Type: schema.TypeBool,
Computed: true,
Description: "The truncated the TOS bucket.",
Deprecated: "The Field is Deprecated.",
},
"marker": {
Type: schema.TypeString,
Computed: true,
Description: "The marker the TOS bucket.",
Deprecated: "The Field is Deprecated.",
},
"max_keys": {
Type: schema.TypeInt,
Computed: true,
Description: "The max keys the TOS bucket.",
Deprecated: "The Field is Deprecated.",
},
"prefix": {
Type: schema.TypeString,
Computed: true,
Description: "The prefix the TOS bucket.",
Deprecated: "The Field is Deprecated.",
},
"creation_date": {
Type: schema.TypeString,
Computed: true,
Description: "The create date of the TOS bucket.",
},
"location": {
Type: schema.TypeString,
Computed: true,
Description: "The location of the TOS bucket.",
},
"extranet_endpoint": {
Type: schema.TypeString,
Computed: true,
Description: "The extranet endpoint of the TOS bucket.",
},
"intranet_endpoint": {
Type: schema.TypeString,
Computed: true,
Description: "The intranet endpoint the TOS bucket.",
},
},
},
Expand Down
12 changes: 8 additions & 4 deletions website/docs/d/tos_buckets.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,15 @@ The following arguments are supported:
## Attributes Reference
In addition to all arguments above, the following attributes are exported:
* `buckets` - The collection of TOS bucket query.
* `is_truncated` - The truncated the TOS bucket.
* `marker` - The marker the TOS bucket.
* `max_keys` - The max keys the TOS bucket.
* `creation_date` - The create date of the TOS bucket.
* `extranet_endpoint` - The extranet endpoint of the TOS bucket.
* `intranet_endpoint` - The intranet endpoint the TOS bucket.
* `is_truncated` - (**Deprecated**) The Field is Deprecated. The truncated the TOS bucket.
* `location` - The location of the TOS bucket.
* `marker` - (**Deprecated**) The Field is Deprecated. The marker the TOS bucket.
* `max_keys` - (**Deprecated**) The Field is Deprecated. The max keys the TOS bucket.
* `name` - The name the TOS bucket.
* `prefix` - The prefix the TOS bucket.
* `prefix` - (**Deprecated**) The Field is Deprecated. The prefix the TOS bucket.
* `total_count` - The total count of TOS bucket query.


0 comments on commit 92d6c45

Please sign in to comment.