| layout | ibm |
|---|---|
| page_title | IBM : ibm_pi_network_interfaces |
| description | Get information about pi_network_interfaces |
| subcategory | Power Systems |
Retrieve information about network interfaces.
data "ibm_pi_network_interfaces" "network_interfaces" {
pi_cloud_instance_id = "<value of the cloud_instance_id>"
pi_network_id = "network_id"
}- Please find supported Regions for endpoints.
- If a Power cloud instance is provisioned at
lon04, The provider level attributes should be as follows:region-lonzone-lon04
Example usage:
provider "ibm" {
region = "lon"
zone = "lon04"
}Review the argument references that you can specify for your data source.
-
pi_cloud_instance_id- (Required, String) The GUID of the service instance associated with an account. -
pi_network_id- (Required, String) network id.
In addition to all argument reference listed, you can access the following attribute references after your data source is created.
-
id- (String) The unique identifier of the pi_network_interfaces. -
interfaces- (List) Network interfaces.Nested scheme for
interfaces:-
crn- (String) The network interface's crn. -
external_ip- (String) The external ip address for pub-vlan networks. -
id- (String) The unique network interface id. -
instance- (List) The attached instance to this network interface.Nested scheme for
instance: -href- (String) Link to instance resource. -instance_id- (String) The attached instance id. -
ip_address- (String) The ip address of this network interface. -
mac_address- (String) The mac address of the network interface. -
name- (String) Name of the network interface (not unique or indexable). -
network_security_group_ids- (List) List of network security groups that the network interface is a member of. -
status- (String) The status of the network interface. -
user_tags- (List) List of user tags attached to the resource.
-