You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "Type of the flow logs to be collected. Valid values: `ACCEPT`, `REJECT` and `ALL`.",
49
49
},
50
50
"vpc_id": {
51
51
Optional: true,
52
52
Type: schema.TypeString,
53
-
Description: "Specify vpc Id, ignore while `resource_type` is `CCN` (unsupported) but required while other types.",
53
+
Description: "The VPC ID or unique ID of the resource. We recommend using the unique ID. This parameter is required unless the `ResourceType` is set to `CCN`.",
54
54
},
55
55
"flow_log_description": {
56
56
Optional: true,
57
57
Type: schema.TypeString,
58
-
Description: "Specify flow Log description.",
58
+
Description: "The description of the flow log.",
59
59
},
60
60
"cloud_log_id": {
61
61
Optional: true,
62
62
Type: schema.TypeString,
63
-
Description: "Specify flow log storage id, just set cls topic id.",
*`flow_log_name` - (Required, String) The name of the flow log instance.
121
+
*`resource_id` - (Required, String) The unique ID of the resource.
122
+
*`resource_type` - (Required, String) The type of resource associated with the flow log. Valid values: `VPC`, `SUBNET`, `NETWORKINTERFACE`, `CCN`, `NAT`, and`DCG`.
123
+
*`traffic_type` - (Required, String) Type of the flow logs to be collected. Valid values: `ACCEPT`, `REJECT` and`ALL`.
124
+
*`cloud_log_id` - (Optional, String) The storage ID of the flow log.
125
+
*`cloud_log_region` - (Optional, String) The region corresponding to the flow log storage ID. If not passed in, this field defaults to the current region.
126
+
*`flow_log_description` - (Optional, String) The description of the flow log.
127
+
*`flow_log_storage` - (Optional, List) Information of the flow log consumer, required while `storage_type` is `ckafka`.
*`vpc_id` - (Optional, String) Specify vpc Id, ignore while `resource_type` is `CCN` (unsupported) but required while other types.
130
+
*`vpc_id` - (Optional, String) The VPC ID or unique ID of the resource. We recommend using the unique ID. This parameter is required unless the `ResourceType` is set to `CCN`.
131
131
132
132
The `flow_log_storage` object supports the following:
133
133
134
-
*`storage_id` - (Optional, String) Specify storage instance id, required while `storage_type` is `ckafka`.
135
-
*`storage_topic` - (Optional, String) Specify storage topic id, required while `storage_type` is `ckafka`.
134
+
*`storage_id` - (Optional, String) Storage instance ID, required while `storage_type` is `ckafka`.
135
+
*`storage_topic` - (Optional, String) Topic ID, required while `storage_type` is `ckafka`.
0 commit comments