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: ibm/acctest/acctest.go
+2-2
Original file line number
Diff line number
Diff line change
@@ -841,8 +841,8 @@ func init() {
841
841
IsImage=os.Getenv("IS_IMAGE")
842
842
ifIsImage=="" {
843
843
// IsImage = "fc538f61-7dd6-4408-978c-c6b85b69fe76" // for classic infrastructure
844
-
IsImage="r006-907911a7-0ffe-467e-8821-3cc9a0d82a39"// for next gen infrastructure ibm-centos-7-9-minimal-amd64-10 image
845
-
fmt.Println("[INFO] Set the environment variable IS_IMAGE for testing ibm_is_instance, ibm_is_floating_ip else it is set to default value 'r006-907911a7-0ffe-467e-8821-3cc9a0d82a39'")
844
+
IsImage="r006-587a041d-9246-44f0-980b-56a327cf5bd7"// for next gen infrastructure ibm-ubuntu-24-04-6-minimal-amd64-1 us-south
845
+
fmt.Println("[INFO] Set the environment variable IS_IMAGE for testing ibm_is_instance, ibm_is_floating_ip else it is set to default value 'r006-587a041d-9246-44f0-980b-56a327cf5bd7'")
Description: "The primary IP address of the virtual network interface for the network attachment.",
842
+
Elem: &schema.Resource{
843
+
Schema: map[string]*schema.Schema{
844
+
"address": &schema.Schema{
845
+
Type: schema.TypeString,
846
+
Computed: true,
847
+
Description: "The IP address.If the address has not yet been selected, the value will be `0.0.0.0`.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.",
848
+
},
849
+
"deleted": &schema.Schema{
850
+
Type: schema.TypeList,
851
+
Computed: true,
852
+
Description: "If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.",
853
+
Elem: &schema.Resource{
854
+
Schema: map[string]*schema.Schema{
855
+
"more_info": &schema.Schema{
856
+
Type: schema.TypeString,
857
+
Computed: true,
858
+
Description: "Link to documentation about deleted resources.",
859
+
},
860
+
},
861
+
},
862
+
},
863
+
"href": &schema.Schema{
864
+
Type: schema.TypeString,
865
+
Computed: true,
866
+
Description: "The URL for this reserved IP.",
867
+
},
868
+
"id": &schema.Schema{
869
+
Type: schema.TypeString,
870
+
Computed: true,
871
+
Description: "The unique identifier for this reserved IP.",
872
+
},
873
+
"name": &schema.Schema{
874
+
Type: schema.TypeString,
875
+
Computed: true,
876
+
Description: "The name for this reserved IP. The name is unique across all reserved IPs in a subnet.",
Description: "The primary IP address of the virtual network interface for the network attachment.",
1255
+
Elem: &schema.Resource{
1256
+
Schema: map[string]*schema.Schema{
1257
+
"address": &schema.Schema{
1258
+
Type: schema.TypeString,
1259
+
Computed: true,
1260
+
Description: "The IP address.If the address has not yet been selected, the value will be `0.0.0.0`.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.",
1261
+
},
1262
+
"deleted": &schema.Schema{
1263
+
Type: schema.TypeList,
1264
+
Computed: true,
1265
+
Description: "If present, this property indicates the referenced resource has been deleted, and providessome supplementary information.",
1266
+
Elem: &schema.Resource{
1267
+
Schema: map[string]*schema.Schema{
1268
+
"more_info": &schema.Schema{
1269
+
Type: schema.TypeString,
1270
+
Computed: true,
1271
+
Description: "Link to documentation about deleted resources.",
1272
+
},
1273
+
},
1274
+
},
1275
+
},
1276
+
"href": &schema.Schema{
1277
+
Type: schema.TypeString,
1278
+
Computed: true,
1279
+
Description: "The URL for this reserved IP.",
1280
+
},
1281
+
"id": &schema.Schema{
1282
+
Type: schema.TypeString,
1283
+
Computed: true,
1284
+
Description: "The unique identifier for this reserved IP.",
1285
+
},
1286
+
"name": &schema.Schema{
1287
+
Type: schema.TypeString,
1288
+
Computed: true,
1289
+
Description: "The name for this reserved IP. The name is unique across all reserved IPs in a subnet.",
Copy file name to clipboardexpand all lines: website/docs/r/is_instance.html.markdown
+20
Original file line number
Diff line number
Diff line change
@@ -945,6 +945,16 @@ In addition to all argument reference list, you can access the following attribu
945
945
-`id` - (String) The ID of the instance.
946
946
-`memory`- (Integer) The amount of memory that is allocated to the instance in gigabytes.
947
947
-`numa_count` - (Integer) The number of NUMA nodes this instance is provisioned on. This property may be absent if the instance's status is not running.
948
+
-`network_attachments` - (List) The network attachments list for this virtual server instance.
949
+
Nested schema for **network_attachments**:
950
+
951
+
-`primary_ip` - (List) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
952
+
953
+
Nested scheme for `primary_ip`:
954
+
- `auto_delete` - (Bool) Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
955
+
- `address` - (String) The IP address of the reserved IP.
956
+
- `name`- (String) The user-defined or system-provided name for this reserved IP
957
+
- `id`- (String) The unique identifier for this reserved IP.
948
958
-`network_interfaces`- (List of Strings) A list of more network interfaces that are attached to the instance.
949
959
950
960
Nested scheme for `network_interfaces`:
@@ -961,6 +971,16 @@ In addition to all argument reference list, you can access the following attribu
961
971
-`name`- (String) The user-defined or system-provided name for this reserved IP
962
972
-`reserved_ip`- (String) The unique identifier for this reserved IP
963
973
-`primary_ipv4_address` - (String, Deprecated) The primary IPv4 address. Same as `primary_ip.[0].address`
974
+
-`primary_network_attachment` - (List) The primary network attachment for this virtual server instance.
975
+
Nested schema for **primary_network_attachment**:
976
+
977
+
-`primary_ip` - (List) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
978
+
979
+
Nested scheme for `primary_ip`:
980
+
- `auto_delete` - (Bool) Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
981
+
- `address` - (String) The IP address of the reserved IP.
982
+
- `name`- (String) The user-defined or system-provided name for this reserved IP
983
+
- `id`- (String) The unique identifier for this reserved IP.
964
984
-`primary_network_interface`- (List of Strings) A list of primary network interfaces that are attached to the instance.
0 commit comments