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
log.Printf("Calling the IsIBMPINetwork Refresh Function....with the following id (%s) for network port and following id (%s) for network name and waiting for network to be READY", id, networkname)
log.Printf("Calling the IsIBMPINetwork Refresh Function....with the following id (%s) for network port and following id (%s) for network name and waiting for network to be READY", id, networkname)
Copy file name to clipboardExpand all lines: website/docs/d/pi_instance_ip.html.markdown
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,11 @@ description: |-
7
7
---
8
8
9
9
# ibm_pi_instance_ip
10
+
10
11
Retrieve information about a Power Systems Virtual Server instance IP address. For more information, about Power Systems Virtual Server instance IP address, see [configuring and adding a private network subnet](https://cloud.ibm.com/docs/power-iaas?topic=power-iaas-configuring-subnet).
11
12
12
13
## Example usage
14
+
13
15
```terraform
14
16
data "ibm_pi_instance_ip" "ds_instance_ip" {
15
17
pi_instance_name = "terraform-test-instance"
@@ -18,13 +20,15 @@ data "ibm_pi_instance_ip" "ds_instance_ip" {
18
20
}
19
21
```
20
22
21
-
**Notes**
23
+
### Notes
24
+
22
25
- Please find [supported Regions](https://cloud.ibm.com/apidocs/power-cloud#endpoint) for endpoints.
23
26
- If a Power cloud instance is provisioned at `lon04`, The provider level attributes should be as follows:
24
27
-`region` - `lon`
25
28
-`zone` - `lon04`
26
29
27
30
Example usage:
31
+
28
32
```terraform
29
33
provider "ibm" {
30
34
region = "lon"
@@ -33,20 +37,22 @@ Example usage:
33
37
```
34
38
35
39
## Argument reference
36
-
Review the argument references that you can specify for your data source.
40
+
41
+
Review the argument references that you can specify for your data source.
37
42
38
43
-`pi_cloud_instance_id` - (Required, String) The GUID of the service instance associated with an account.
39
44
-`pi_instance_name` - (Required, String) The unique identifier or name of the instance.
40
-
-`pi_network_name` - (Required, String) The subnet that the instance belongs to.
41
-
45
+
-`pi_network_name` - (Required, String) The subnet that the instance belongs to.
42
46
43
47
## Attribute reference
44
-
In addition to all argument reference list, you can access the following attribute references after your data source is created.
48
+
49
+
In addition to all argument reference list, you can access the following attribute references after your data source is created.
45
50
46
51
-`external_ip` - (String) The external IP of the network that is attached to this instance.
47
52
-`id` - (String) The unique identifier of the network.
48
53
-`ip` - (String) The IP address that is attached to this instance from the subnet.
49
54
-`ipoctet` - (String) The IP octet of the network that is attached to this instance.
50
-
-`macaddress` - (String) The MAC address of the network that is attached to this instance.
55
+
-`mac_address` - (String) The MAC address of the network that is attached to this instance.
56
+
-`macaddress` - (String) The MAC address of the network that is attached to this instance. Deprecated please use `mac_address` instead.
51
57
-`network_id` - (String) ID of the network.
52
58
-`type` - (String) The type of the network that is attached to this instance.
0 commit comments