-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dcs): add dcs data-source support. (#33)
- Loading branch information
Showing
7 changed files
with
37 additions
and
2,173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
subcategory: "Distributed Cache Service (DCS)" | ||
--- | ||
|
||
# hcso_dcs_maintainwindow | ||
|
||
Use this data source to get the ID of an available DCS maintenance windows. | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "hcso_dcs_maintainwindow" "maintainwindow1" { | ||
seq = 1 | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
* `region` - (Optional, String) The region in which to obtain the dcs maintenance windows. If omitted, the provider-level | ||
region will be used. | ||
|
||
* `seq` - (Optional, Int) Specifies the sequential number of a maintenance time window. | ||
|
||
* `begin` - (Optional, String) Specifies the time at which a maintenance time window starts. | ||
|
||
* `end` - (Optional, String) Specifies the time at which a maintenance time window ends. | ||
|
||
* `default` - (Optional, Bool) Specifies whether a maintenance time window is set to the default time segment. | ||
|
||
## Attribute Reference | ||
|
||
In addition to all arguments above, the following attributes are exported: | ||
|
||
* `id` - The data source ID in UUID format. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
39 changes: 0 additions & 39 deletions
39
internal/services/acceptance/dcs/data_source_huaweicloud_dcs_flavors_test.go
This file was deleted.
Oops, something went wrong.
45 changes: 0 additions & 45 deletions
45
internal/services/acceptance/dcs/data_source_huaweicloud_dcs_instances_test.go
This file was deleted.
Oops, something went wrong.
146 changes: 0 additions & 146 deletions
146
internal/services/acceptance/dcs/resource_huaweicloud_dcs_backup_test.go
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.