Skip to content

Commit cce375c

Browse files
kautikdkDawid212
authored andcommitted
Add documentation for Storage Intelligence data sources. (GoogleCloudPlatform#13463)
1 parent f691c15 commit cce375c

3 files changed

+96
-0
lines changed
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)