Skip to content

Commit 8cf769c

Browse files
Update documentation for resources that don't support gcloud's syntax (#11279) (#18910)
[upstream:dfc611111c6a50458acd1e71fa2a723e48b681ce] Signed-off-by: Modular Magician <magic-modules@google.com>
1 parent 3b90124 commit 8cf769c

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.changelog/11279.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:note
2+
3+
```

website/docs/d/compute_instance_template.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The following arguments are supported:
4141
- `name` - (Optional) The name of the instance template. One of `name`, `filter` or `self_link_unique` must be provided.
4242

4343
- `filter` - (Optional) A filter to retrieve the instance templates.
44-
See [gcloud topic filters](https://cloud.google.com/sdk/gcloud/reference/topic/filters) for reference.
44+
See [API filter parameter documentation](https://cloud.google.com/compute/docs/reference/rest/v1/instanceTemplates/list#body.QUERY_PARAMETERS.filter) for reference.
4545
If multiple instance templates match, either adjust the filter or specify `most_recent`.
4646
One of `name`, `filter` or `self_link_unique` must be provided.
4747

website/docs/d/compute_region_instance_template.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The following arguments are supported:
3333
- `name` - (Optional) The name of the instance template. One of `name` or `filter` must be provided.
3434

3535
- `filter` - (Optional) A filter to retrieve the instance templates.
36-
See [gcloud topic filters](https://cloud.google.com/sdk/gcloud/reference/topic/filters) for reference.
36+
See [API filter parameter documentation](https://cloud.google.com/compute/docs/reference/rest/v1/regionInstanceTemplates/list#body.QUERY_PARAMETERS.filter) for reference.
3737
If multiple instance templates match, either adjust the filter or specify `most_recent`. One of `name` or `filter` must be provided.
3838

3939
- `most_recent` - (Optional) If `filter` is provided, ensures the most recent template is returned when multiple instance templates match. One of `name` or `filter` must be provided.

website/docs/d/compute_snapshot.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The following arguments are supported:
3434
* `name` - (Optional) The name of the compute snapshot. One of `name` or `filter` must be provided.
3535

3636
* `filter` - (Optional) A filter to retrieve the compute snapshot.
37-
See [gcloud topic filters](https://cloud.google.com/sdk/gcloud/reference/topic/filters) for reference.
37+
See [API filter parameter documentation](https://cloud.google.com/compute/docs/reference/rest/v1/snapshots/list#body.QUERY_PARAMETERS.filter) for reference.
3838
If multiple compute snapshot match, either adjust the filter or specify `most_recent`. One of `name` or `filter` must be provided.
3939
If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Example `sourceDisk eq '.*(.*/data-disk$).*'`. More details for golang Snapshots list call filters [here](https://pkg.go.dev/google.golang.org/api/compute/v1#SnapshotsListCall.Filter).
4040

0 commit comments

Comments
 (0)