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: "The availability class for the virtual server instance.- `spot`: The virtual server instance may be preempted.- `standard`: The virtual server instance will not be preempted.See [virtual server instance availability class](https://cloud.ibm.com/docs/vpc?topic=__TBD__) for details.The enumerated values for this property may[expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.",
63
+
},
64
+
},
65
+
},
66
+
},
67
+
"availability_policy": &schema.Schema{
68
+
Type: schema.TypeList,
69
+
Computed: true,
70
+
Description: "The availability policy for this virtual server instance.",
71
+
Elem: &schema.Resource{
72
+
Schema: map[string]*schema.Schema{
73
+
"host_failure": &schema.Schema{
74
+
Type: schema.TypeString,
75
+
Computed: true,
76
+
Description: "The action to perform if the compute host experiences a failure:- `restart`: Restart the virtual server instance- `stop`: Leave the virtual server instance stoppedSee [handling host failures](https://cloud.ibm.com/docs/vpc?topic=vpc-host-failure-recovery-policies) for details.The enumerated values for this property may[expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.",
77
+
},
78
+
"preemption": &schema.Schema{
79
+
Type: schema.TypeString,
80
+
Computed: true,
81
+
Description: "The action to perform if the virtual server instance is preempted:- `delete`: Delete the virtual server instance- `stop`: Leave the virtual server instance stoppedSee [virtual server instance preemption](https://cloud.ibm.com/docs/vpc?topic=__TBD__) for details.The enumerated values for this property may[expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.",
82
+
},
83
+
},
84
+
},
85
+
},
55
86
isInstanceAvailablePolicyHostFailure: {
56
87
Type: schema.TypeString,
57
88
Computed: true,
@@ -1349,6 +1380,27 @@ func instanceGetByName(context context.Context, d *schema.ResourceData, meta int
0 commit comments