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
Copy file name to clipboardExpand all lines: google/services/networkconnectivity/resource_network_connectivity_spoke.go
+59
Original file line number
Diff line number
Diff line change
@@ -309,6 +309,30 @@ The only allowed value for now is "ALL_IPV4_RANGES".`,
309
309
Description: `All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other clients and services.`,
310
310
Elem: &schema.Schema{Type: schema.TypeString},
311
311
},
312
+
"reasons": {
313
+
Type: schema.TypeList,
314
+
Computed: true,
315
+
Description: `The reasons for the current state in the lifecycle`,
316
+
Elem: &schema.Resource{
317
+
Schema: map[string]*schema.Schema{
318
+
"code": {
319
+
Type: schema.TypeString,
320
+
Optional: true,
321
+
Description: `The code associated with this reason.`,
322
+
},
323
+
"message": {
324
+
Type: schema.TypeString,
325
+
Optional: true,
326
+
Description: `Human-readable details about this reason.`,
327
+
},
328
+
"user_details": {
329
+
Type: schema.TypeString,
330
+
Optional: true,
331
+
Description: `Additional information provided by the user in the RejectSpoke call.`,
332
+
},
333
+
},
334
+
},
335
+
},
312
336
"state": {
313
337
Type: schema.TypeString,
314
338
Computed: true,
@@ -552,6 +576,9 @@ func resourceNetworkConnectivitySpokeRead(d *schema.ResourceData, meta interface
0 commit comments