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: docs/core/instances.md
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,11 +11,20 @@ The following attributes are exported:
11
11
*`compartment_id` - The OCID of the compartment that contains the instance.
12
12
*`defined_tags` - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
13
13
*`display_name` - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My bare metal instance`
14
-
*`extended_metadata` - Additional metadata key/value pairs that you provide. They serve a similar purpose and functionality from fields in the 'metadata' object.
14
+
*`extended_metadata` - Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the 'metadata' object.
15
15
16
16
They are distinguished from 'metadata' fields in that these can be nested JSON objects (whereas 'metadata' fields are string/string maps only).
17
+
18
+
If you don't need nested metadata values, it is strongly advised to avoid using this object and use the Metadata object instead.
19
+
20
+
Input in terraform is the same as metadata but allows nested metadata if you pass a valid JSON string as a value. See the example below.
21
+
*`fault_domain` - The name of the fault domain the instance is running in.
17
22
18
-
If you don't need nested metadata values, it is strongly advised to avoid using this object and use the Metadata object instead.
23
+
A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains.
24
+
25
+
If you do not specify the fault domain, the system selects one for you. To change the fault domain for an instance, terminate it and launch a new instance in the preferred fault domain.
26
+
27
+
Example: `FAULT-DOMAIN-1`
19
28
*`freeform_tags` - Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
20
29
*`id` - The OCID of the instance.
21
30
*`image` - Deprecated. Use `sourceDetails` instead.
@@ -134,6 +143,7 @@ The following arguments are supported:
134
143
If you don't need nested metadata values, it is strongly advised to avoid using this object and use the Metadata object instead.
135
144
136
145
Input in terraform is the same as metadata but allows nested metadata if you pass a valid JSON string as a value. See the example below.
146
+
*`fault_domain` - (Optional) A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains. If you do not specify the fault domain, the system selects one for you. To change the fault domain for an instance, terminate it and launch a new instance in the preferred fault domain. To get a list of fault domains, use the [ListFaultDomains](https://docs.us-phoenix-1.oraclecloud.com/api/#/en/iaas/20160918/faultDomains/ListFaultDomains) operation in the Identity and Access Management Service API. Example: `FAULT-DOMAIN-1`
137
147
*`freeform_tags` - (Optional) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
138
148
*`hostname_label` - (Optional) Deprecated. Instead use `hostnameLabel` in [CreateVnicDetails](https://docs.us-phoenix-1.oraclecloud.com/api/#/en/iaas/20160918/CreateVnicDetails/). If you provide both, the values must match.
139
149
*`image` - (Optional) Deprecated. Use `sourceDetails` with [InstanceSourceViaImageDetails](https://docs.us-phoenix-1.oraclecloud.com/api/#/en/iaas/latest/requests/InstanceSourceViaImageDetails) source type instead. If you specify values for both, the values must match.
0 commit comments