@@ -38,7 +38,28 @@ resource "google_chronicle_watchlist" "example" {
3838 provider = "google-beta"
3939 location = "us"
4040 instance = "00000000-0000-0000-0000-000000000000"
41- watchlist_id = "watchlist-name"
41+ watchlist_id = "watchlist-id"
42+ description = "watchlist-description"
43+ display_name = "watchlist_name"
44+ multiplying_factor = 1
45+ entity_population_mechanism {
46+ manual {
47+
48+ }
49+ }
50+ watchlist_user_preferences {
51+ pinned = true
52+ }
53+ }
54+ ```
55+ ## Example Usage - Chronicle Watchlist Without Id
56+
57+
58+ ``` hcl
59+ resource "google_chronicle_watchlist" "example" {
60+ provider = "google-beta"
61+ location = "us"
62+ instance = "00000000-0000-0000-0000-000000000000"
4263 description = "watchlist-description"
4364 display_name = "watchlist-name"
4465 multiplying_factor = 1
@@ -77,13 +98,6 @@ The following arguments are supported:
7798 (Required)
7899 The unique identifier for the Chronicle instance, which is the same as the customer ID.
79100
80- * ` watchlist_id ` -
81- (Required)
82- Optional. The ID to use for the watchlist,
83- which will become the final component of the watchlist's resource name.
84- This value should be 4-63 characters, and valid characters
85- are /a-z-/.
86-
87101
88102<a name =" nested_entity_population_mechanism " ></a >The ` entity_population_mechanism ` block supports:
89103
@@ -109,6 +123,13 @@ The following arguments are supported:
109123 A collection of user preferences for watchlist UI configuration.
110124 Structure is [ documented below] ( #nested_watchlist_user_preferences ) .
111125
126+ * ` watchlist_id ` -
127+ (Optional)
128+ Optional. The ID to use for the watchlist,
129+ which will become the final component of the watchlist's resource name.
130+ This value should be 4-63 characters, and valid characters
131+ are /a-z-/.
132+
112133* ` project ` - (Optional) The ID of the project in which the resource belongs.
113134 If it is not provided, the provider project is used.
114135
0 commit comments