Skip to content

Commit 99ab03d

Browse files
Add documentation for Storage Intelligence data sources. (#13463) (#9655)
[upstream:7b2a22ae6ba35aab26d6db15c00187476a19438e] Signed-off-by: Modular Magician <[email protected]>
1 parent 071fb95 commit 99ab03d

4 files changed

+105
-0
lines changed

.changelog/13463.txt

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
```release-note:new-datasource
2+
`google_storage_control_project_intelligence_config`
3+
```
4+
```release-note:new-datasource
5+
`google_storage_control_folder_intelligence_config`
6+
```
7+
```release-note:new-datasource
8+
`google_storage_control_organization_intelligence_config`
9+
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
subcategory: "Cloud Storage Control"
3+
description: |-
4+
Gets a Folder Storage Intelligence config.
5+
---
6+
7+
# google_storage_control_folder_intelligence_config
8+
9+
Use this data source to get information about a Folder Storage Intelligence config resource.
10+
See [the official documentation](https://cloud.google.com/storage/docs/storage-intelligence/overview#resource)
11+
and
12+
[API](https://cloud.google.com/storage/docs/json_api/v1/intelligenceConfig).
13+
14+
15+
## Example Usage
16+
17+
```hcl
18+
data "google_storage_control_folder_intelligence_config" "sample-config" {
19+
name = "123456789"
20+
}
21+
```
22+
23+
## Argument Reference
24+
25+
The following arguments are supported:
26+
27+
* `name` - (Required) The number of GCP folder.
28+
29+
30+
## Attributes Reference
31+
32+
See [google_storage_control_folder_intelligence_config](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/storage_control_folder_intelligence_config#argument-reference) resource for details of the available attributes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
subcategory: "Cloud Storage Control"
3+
description: |-
4+
Gets a Organization Storage Intelligence config.
5+
---
6+
7+
# google_storage_control_organization_intelligence_config
8+
9+
Use this data source to get information about a Organization Storage Intelligence config resource.
10+
See [the official documentation](https://cloud.google.com/storage/docs/storage-intelligence/overview#resource)
11+
and
12+
[API](https://cloud.google.com/storage/docs/json_api/v1/intelligenceConfig).
13+
14+
15+
## Example Usage
16+
17+
```hcl
18+
data "google_storage_control_organization_intelligence_config" "sample-config" {
19+
name = "123456789"
20+
}
21+
```
22+
23+
## Argument Reference
24+
25+
The following arguments are supported:
26+
27+
* `name` - (Required) The id of GCP organization.
28+
29+
30+
## Attributes Reference
31+
32+
See [google_storage_control_organization_intelligence_config](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/storage_control_organization_intelligence_config#argument-reference) resource for details of the available attributes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
subcategory: "Cloud Storage Control"
3+
description: |-
4+
Gets a Project Storage Intelligence config.
5+
---
6+
7+
# google_storage_control_project_intelligence_config
8+
9+
Use this data source to get information about a Project Storage Intelligence config resource.
10+
See [the official documentation](https://cloud.google.com/storage/docs/storage-intelligence/overview#resource)
11+
and
12+
[API](https://cloud.google.com/storage/docs/json_api/v1/intelligenceConfig).
13+
14+
15+
## Example Usage
16+
17+
```hcl
18+
data "google_storage_control_project_intelligence_config" "sample-config" {
19+
name = "my-project"
20+
}
21+
```
22+
23+
## Argument Reference
24+
25+
The following arguments are supported:
26+
27+
* `name` - (Required) The name or number of the GCP project.
28+
29+
30+
## Attributes Reference
31+
32+
See [google_storage_control_project_intelligence_config](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/storage_control_project_intelligence_config#argument-reference) resource for details of the available attributes.

0 commit comments

Comments
 (0)