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
Get information about Network Interface collection
7
7
8
8
---
9
9
10
10
# ibm_is_instance_network_interfaces
11
11
12
-
Provides a read-only data source for NetworkInterfaceCollection. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax.
12
+
Retrieve information about a network interface collection. For more information, about network interace collection, see [Network interface configurations](https://cloud.ibm.com/docs/vpc?topic=vpc-managing-nic-for-bare-metal-servers#nic-configs).
13
13
14
-
## Example Usage
14
+
## Example usage
15
15
16
-
```hcl
16
+
```terraform
17
17
resource "ibm_is_vpc" "example" {
18
18
name = "example-vpc"
19
19
}
@@ -54,44 +54,54 @@ data "ibm_is_instance_network_interfaces" "example" {
54
54
}
55
55
```
56
56
57
-
## Argument Reference
57
+
## Argument reference
58
58
59
-
The following arguments are supported:
59
+
Review the argument reference that you can specify for your data source.
60
60
61
-
-`instance_name` - (Required, string) The name of instance.
61
+
-`instance_name` - (Required, string) The name of an instance.
62
62
63
63
## Attribute Reference
64
64
65
-
In addition to all arguments above, the following attributes are exported:
65
+
In addition to all argument references listed, you can access the following attribute references after your data source is created.
66
66
67
67
-`network_interfaces` - (List) Collection of network interfaces. Nested `network_interfaces` blocks have the following structure:
68
68
- `allow_ip_spoofing` - (Boolean) Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
69
69
- `created_at` - (String) The date and time that the network interface was created.
70
-
- `floating_ips` - (List) The floating IPs associated with this network interface. Nested `floating_ips` blocks have the following structure:
71
-
- `address` - (String) The globally unique IP address.
72
-
- `crn` - (String) The CRN for this floating IP.
73
-
- `deleted` - (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested `deleted` blocks have the following structure:
74
-
- `more_info` - (String) Link to documentation about deleted resources.
75
-
- `href` - (String) The URL for this floating IP.
76
-
- `id` - (String) The unique identifier for this floating IP.
77
-
- `name` - (String) The unique user-defined name for this floating IP.
70
+
- `floating_ips` - (List) The floating IPs associated with this network interface.
71
+
72
+
Nested scheme for `floating_ips`:
73
+
- `address` - (String) The globally unique IP address.
74
+
- `crn` - (String) The CRN for this floating IP.
75
+
- `deleted` - (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
76
+
77
+
Nested scheme for `deleted`:
78
+
- `more_info` - (String) Link to documentation about deleted resources.
79
+
- `href` - (String) The URL for this floating IP.
80
+
- `id` - (String) The unique identifier for this floating IP.
81
+
- `name` - (String) The unique user-defined name for this floating IP.
78
82
- `href` - (String) The URL for this network interface.
79
83
- `id` - (String) The unique identifier for this network interface.
80
84
- `name` - (String) The user-defined name for this network interface.
81
85
- `port_speed` - (Integer) The network interface port speed in Mbps.
82
86
- `primary_ipv4_address` - (String) The primary IPv4 address.
83
87
- `resource_type` - (String) The resource type.
84
-
- `security_groups` - (List) Collection of security groups. Nested `security_groups` blocks have the following structure:
85
-
- `crn` - (String) The security group's CRN.
86
-
- `deleted` - (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested `deleted` blocks have the following structure:
87
-
- `more_info` - (String) Link to documentation about deleted resources.
88
-
- `href` - (String) The security group's canonical URL.
89
-
- `id` - (String) The unique identifier for this security group.
90
-
- `name` - (String) The user-defined name for this security group. Names must be unique within the VPC the security group resides in.
88
+
- `security_groups` - (List) Collection of security groups.
89
+
90
+
Nested scheme for `security_groups`:
91
+
- `crn` - (String) The security group's CRN.
92
+
- `deleted` - (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
93
+
94
+
Nested scheme for `deleted`:
95
+
- `more_info` - (String) Link to documentation about deleted resources.
96
+
- `href` - (String) The security group's canonical URL.
97
+
- `id` - (String) The unique identifier for this security group.
98
+
- `name` - (String) The user-defined name for this security group. Names must be unique within the VPC the security group resides in.
91
99
- `status` - (String) The status of the network interface.
92
100
- `subnet` - (List) The associated subnet. Nested `subnet` blocks have the following structure:
93
101
- `crn` - (String) The CRN for this subnet.
94
-
- `deleted` - (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested `deleted` blocks have the following structure:
102
+
- `deleted` - (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
103
+
104
+
Nested `deleted` blocks have the following structure:
95
105
- `more_info` - (String) Link to documentation about deleted resources.
96
106
- `href` - (String) The URL for this subnet.
97
107
- `id` - (String) The unique identifier for this subnet.
0 commit comments