ibm.PiNetworkInterface
Explore with Pulumi AI
Create, update, and delete a network interface.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const networkInterface = new ibm.PiNetworkInterface("networkInterface", {
piCloudInstanceId: "<value of the cloud_instance_id>",
piName: "network-interface-name",
piNetworkId: "network_id",
});
import pulumi
import pulumi_ibm as ibm
network_interface = ibm.PiNetworkInterface("networkInterface",
pi_cloud_instance_id="<value of the cloud_instance_id>",
pi_name="network-interface-name",
pi_network_id="network_id")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewPiNetworkInterface(ctx, "networkInterface", &ibm.PiNetworkInterfaceArgs{
PiCloudInstanceId: pulumi.String("<value of the cloud_instance_id>"),
PiName: pulumi.String("network-interface-name"),
PiNetworkId: pulumi.String("network_id"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var networkInterface = new Ibm.PiNetworkInterface("networkInterface", new()
{
PiCloudInstanceId = "<value of the cloud_instance_id>",
PiName = "network-interface-name",
PiNetworkId = "network_id",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.PiNetworkInterface;
import com.pulumi.ibm.PiNetworkInterfaceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var networkInterface = new PiNetworkInterface("networkInterface", PiNetworkInterfaceArgs.builder()
.piCloudInstanceId("<value of the cloud_instance_id>")
.piName("network-interface-name")
.piNetworkId("network_id")
.build());
}
}
resources:
networkInterface:
type: ibm:PiNetworkInterface
properties:
piCloudInstanceId: <value of the cloud_instance_id>
piName: network-interface-name
piNetworkId: network_id
Notes
- Please find supported Regions for endpoints.
- If a Power cloud instance is provisioned at
lon04
, The provider level attributes should be as follows:region
-lon
zone
-lon04
Example usage:
import * as pulumi from "@pulumi/pulumi";
import pulumi
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
}
}
{}
Example
terraform import ibm_pi_network_interface.example d7bec597-4726-451f-8a63-e62e6f19c32c/cea6651a-bc0a-4438-9f8a-a0770bbf3ebb/041b186b-9598-4cb9-bf70-966d7b9d1dc8
Create PiNetworkInterface Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PiNetworkInterface(name: string, args: PiNetworkInterfaceArgs, opts?: CustomResourceOptions);
@overload
def PiNetworkInterface(resource_name: str,
args: PiNetworkInterfaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PiNetworkInterface(resource_name: str,
opts: Optional[ResourceOptions] = None,
pi_cloud_instance_id: Optional[str] = None,
pi_network_id: Optional[str] = None,
instances: Optional[Sequence[PiNetworkInterfaceInstanceArgs]] = None,
pi_instance_id: Optional[str] = None,
pi_ip_address: Optional[str] = None,
pi_name: Optional[str] = None,
pi_network_interface_id: Optional[str] = None,
pi_user_tags: Optional[Sequence[str]] = None,
timeouts: Optional[PiNetworkInterfaceTimeoutsArgs] = None)
func NewPiNetworkInterface(ctx *Context, name string, args PiNetworkInterfaceArgs, opts ...ResourceOption) (*PiNetworkInterface, error)
public PiNetworkInterface(string name, PiNetworkInterfaceArgs args, CustomResourceOptions? opts = null)
public PiNetworkInterface(String name, PiNetworkInterfaceArgs args)
public PiNetworkInterface(String name, PiNetworkInterfaceArgs args, CustomResourceOptions options)
type: ibm:PiNetworkInterface
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PiNetworkInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PiNetworkInterfaceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PiNetworkInterfaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PiNetworkInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PiNetworkInterfaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var piNetworkInterfaceResource = new Ibm.PiNetworkInterface("piNetworkInterfaceResource", new()
{
PiCloudInstanceId = "string",
PiNetworkId = "string",
Instances = new[]
{
new Ibm.Inputs.PiNetworkInterfaceInstanceArgs
{
Href = "string",
InstanceId = "string",
},
},
PiInstanceId = "string",
PiIpAddress = "string",
PiName = "string",
PiNetworkInterfaceId = "string",
PiUserTags = new[]
{
"string",
},
Timeouts = new Ibm.Inputs.PiNetworkInterfaceTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := ibm.NewPiNetworkInterface(ctx, "piNetworkInterfaceResource", &ibm.PiNetworkInterfaceArgs{
PiCloudInstanceId: pulumi.String("string"),
PiNetworkId: pulumi.String("string"),
Instances: ibm.PiNetworkInterfaceInstanceArray{
&ibm.PiNetworkInterfaceInstanceArgs{
Href: pulumi.String("string"),
InstanceId: pulumi.String("string"),
},
},
PiInstanceId: pulumi.String("string"),
PiIpAddress: pulumi.String("string"),
PiName: pulumi.String("string"),
PiNetworkInterfaceId: pulumi.String("string"),
PiUserTags: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &ibm.PiNetworkInterfaceTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var piNetworkInterfaceResource = new PiNetworkInterface("piNetworkInterfaceResource", PiNetworkInterfaceArgs.builder()
.piCloudInstanceId("string")
.piNetworkId("string")
.instances(PiNetworkInterfaceInstanceArgs.builder()
.href("string")
.instanceId("string")
.build())
.piInstanceId("string")
.piIpAddress("string")
.piName("string")
.piNetworkInterfaceId("string")
.piUserTags("string")
.timeouts(PiNetworkInterfaceTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
pi_network_interface_resource = ibm.PiNetworkInterface("piNetworkInterfaceResource",
pi_cloud_instance_id="string",
pi_network_id="string",
instances=[{
"href": "string",
"instance_id": "string",
}],
pi_instance_id="string",
pi_ip_address="string",
pi_name="string",
pi_network_interface_id="string",
pi_user_tags=["string"],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const piNetworkInterfaceResource = new ibm.PiNetworkInterface("piNetworkInterfaceResource", {
piCloudInstanceId: "string",
piNetworkId: "string",
instances: [{
href: "string",
instanceId: "string",
}],
piInstanceId: "string",
piIpAddress: "string",
piName: "string",
piNetworkInterfaceId: "string",
piUserTags: ["string"],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: ibm:PiNetworkInterface
properties:
instances:
- href: string
instanceId: string
piCloudInstanceId: string
piInstanceId: string
piIpAddress: string
piName: string
piNetworkId: string
piNetworkInterfaceId: string
piUserTags:
- string
timeouts:
create: string
delete: string
update: string
PiNetworkInterface Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PiNetworkInterface resource accepts the following input properties:
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Network stringId - network id.
- Instances
List<Pi
Network Interface Instance> - (List) The attached instance to this network interface.
- Pi
Instance stringId - If supplied populated it attaches to the instance ID, if empty detaches from the instance ID.
- Pi
Ip stringAddress - The requested IP address of this network interface.
- Pi
Name string - Name of the network interface.
- Pi
Network stringInterface Id - (String) The unique identifier of the network interface resource. The ID is composed of
<cloud_instance_id>/<network_id>/<network_interface_id>
. - List<string>
- The user tags attached to this resource.
- Timeouts
Pi
Network Interface Timeouts
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Network stringId - network id.
- Instances
[]Pi
Network Interface Instance Args - (List) The attached instance to this network interface.
- Pi
Instance stringId - If supplied populated it attaches to the instance ID, if empty detaches from the instance ID.
- Pi
Ip stringAddress - The requested IP address of this network interface.
- Pi
Name string - Name of the network interface.
- Pi
Network stringInterface Id - (String) The unique identifier of the network interface resource. The ID is composed of
<cloud_instance_id>/<network_id>/<network_interface_id>
. - []string
- The user tags attached to this resource.
- Timeouts
Pi
Network Interface Timeouts Args
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Network StringId - network id.
- instances
List<Pi
Network Interface Instance> - (List) The attached instance to this network interface.
- pi
Instance StringId - If supplied populated it attaches to the instance ID, if empty detaches from the instance ID.
- pi
Ip StringAddress - The requested IP address of this network interface.
- pi
Name String - Name of the network interface.
- pi
Network StringInterface Id - (String) The unique identifier of the network interface resource. The ID is composed of
<cloud_instance_id>/<network_id>/<network_interface_id>
. - List<String>
- The user tags attached to this resource.
- timeouts
Pi
Network Interface Timeouts
- pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- pi
Network stringId - network id.
- instances
Pi
Network Interface Instance[] - (List) The attached instance to this network interface.
- pi
Instance stringId - If supplied populated it attaches to the instance ID, if empty detaches from the instance ID.
- pi
Ip stringAddress - The requested IP address of this network interface.
- pi
Name string - Name of the network interface.
- pi
Network stringInterface Id - (String) The unique identifier of the network interface resource. The ID is composed of
<cloud_instance_id>/<network_id>/<network_interface_id>
. - string[]
- The user tags attached to this resource.
- timeouts
Pi
Network Interface Timeouts
- pi_
cloud_ strinstance_ id - The GUID of the service instance associated with an account.
- pi_
network_ strid - network id.
- instances
Sequence[Pi
Network Interface Instance Args] - (List) The attached instance to this network interface.
- pi_
instance_ strid - If supplied populated it attaches to the instance ID, if empty detaches from the instance ID.
- pi_
ip_ straddress - The requested IP address of this network interface.
- pi_
name str - Name of the network interface.
- pi_
network_ strinterface_ id - (String) The unique identifier of the network interface resource. The ID is composed of
<cloud_instance_id>/<network_id>/<network_interface_id>
. - Sequence[str]
- The user tags attached to this resource.
- timeouts
Pi
Network Interface Timeouts Args
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Network StringId - network id.
- instances List<Property Map>
- (List) The attached instance to this network interface.
- pi
Instance StringId - If supplied populated it attaches to the instance ID, if empty detaches from the instance ID.
- pi
Ip StringAddress - The requested IP address of this network interface.
- pi
Name String - Name of the network interface.
- pi
Network StringInterface Id - (String) The unique identifier of the network interface resource. The ID is composed of
<cloud_instance_id>/<network_id>/<network_interface_id>
. - List<String>
- The user tags attached to this resource.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the PiNetworkInterface resource produces the following output properties:
- Crn string
- (String) The network interface's crn.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Address string - (String) The ip address of this network interface.
- Mac
Address string - (String) The mac address of the network interface.
- Name string
- (String) Name of the network interface (not unique or indexable).
- Network
Interface stringId - (String) The unique identifier of the network interface.
- Network
Security stringGroup Id - (Deprecated, String) ID of the network security group the network interface will be added to. Please use network_security_group_ids instead.
- Network
Security List<string>Group Ids - (List) List of network security groups that the network interface is a member of.
- Status string
- (String) The status of the network interface.
- Crn string
- (String) The network interface's crn.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Address string - (String) The ip address of this network interface.
- Mac
Address string - (String) The mac address of the network interface.
- Name string
- (String) Name of the network interface (not unique or indexable).
- Network
Interface stringId - (String) The unique identifier of the network interface.
- Network
Security stringGroup Id - (Deprecated, String) ID of the network security group the network interface will be added to. Please use network_security_group_ids instead.
- Network
Security []stringGroup Ids - (List) List of network security groups that the network interface is a member of.
- Status string
- (String) The status of the network interface.
- crn String
- (String) The network interface's crn.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Address String - (String) The ip address of this network interface.
- mac
Address String - (String) The mac address of the network interface.
- name String
- (String) Name of the network interface (not unique or indexable).
- network
Interface StringId - (String) The unique identifier of the network interface.
- network
Security StringGroup Id - (Deprecated, String) ID of the network security group the network interface will be added to. Please use network_security_group_ids instead.
- network
Security List<String>Group Ids - (List) List of network security groups that the network interface is a member of.
- status String
- (String) The status of the network interface.
- crn string
- (String) The network interface's crn.
- id string
- The provider-assigned unique ID for this managed resource.
- ip
Address string - (String) The ip address of this network interface.
- mac
Address string - (String) The mac address of the network interface.
- name string
- (String) Name of the network interface (not unique or indexable).
- network
Interface stringId - (String) The unique identifier of the network interface.
- network
Security stringGroup Id - (Deprecated, String) ID of the network security group the network interface will be added to. Please use network_security_group_ids instead.
- network
Security string[]Group Ids - (List) List of network security groups that the network interface is a member of.
- status string
- (String) The status of the network interface.
- crn str
- (String) The network interface's crn.
- id str
- The provider-assigned unique ID for this managed resource.
- ip_
address str - (String) The ip address of this network interface.
- mac_
address str - (String) The mac address of the network interface.
- name str
- (String) Name of the network interface (not unique or indexable).
- network_
interface_ strid - (String) The unique identifier of the network interface.
- network_
security_ strgroup_ id - (Deprecated, String) ID of the network security group the network interface will be added to. Please use network_security_group_ids instead.
- network_
security_ Sequence[str]group_ ids - (List) List of network security groups that the network interface is a member of.
- status str
- (String) The status of the network interface.
- crn String
- (String) The network interface's crn.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Address String - (String) The ip address of this network interface.
- mac
Address String - (String) The mac address of the network interface.
- name String
- (String) Name of the network interface (not unique or indexable).
- network
Interface StringId - (String) The unique identifier of the network interface.
- network
Security StringGroup Id - (Deprecated, String) ID of the network security group the network interface will be added to. Please use network_security_group_ids instead.
- network
Security List<String>Group Ids - (List) List of network security groups that the network interface is a member of.
- status String
- (String) The status of the network interface.
Look up Existing PiNetworkInterface Resource
Get an existing PiNetworkInterface resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PiNetworkInterfaceState, opts?: CustomResourceOptions): PiNetworkInterface
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
crn: Optional[str] = None,
instances: Optional[Sequence[PiNetworkInterfaceInstanceArgs]] = None,
ip_address: Optional[str] = None,
mac_address: Optional[str] = None,
name: Optional[str] = None,
network_interface_id: Optional[str] = None,
network_security_group_id: Optional[str] = None,
network_security_group_ids: Optional[Sequence[str]] = None,
pi_cloud_instance_id: Optional[str] = None,
pi_instance_id: Optional[str] = None,
pi_ip_address: Optional[str] = None,
pi_name: Optional[str] = None,
pi_network_id: Optional[str] = None,
pi_network_interface_id: Optional[str] = None,
pi_user_tags: Optional[Sequence[str]] = None,
status: Optional[str] = None,
timeouts: Optional[PiNetworkInterfaceTimeoutsArgs] = None) -> PiNetworkInterface
func GetPiNetworkInterface(ctx *Context, name string, id IDInput, state *PiNetworkInterfaceState, opts ...ResourceOption) (*PiNetworkInterface, error)
public static PiNetworkInterface Get(string name, Input<string> id, PiNetworkInterfaceState? state, CustomResourceOptions? opts = null)
public static PiNetworkInterface get(String name, Output<String> id, PiNetworkInterfaceState state, CustomResourceOptions options)
resources: _: type: ibm:PiNetworkInterface get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Crn string
- (String) The network interface's crn.
- Instances
List<Pi
Network Interface Instance> - (List) The attached instance to this network interface.
- Ip
Address string - (String) The ip address of this network interface.
- Mac
Address string - (String) The mac address of the network interface.
- Name string
- (String) Name of the network interface (not unique or indexable).
- Network
Interface stringId - (String) The unique identifier of the network interface.
- Network
Security stringGroup Id - (Deprecated, String) ID of the network security group the network interface will be added to. Please use network_security_group_ids instead.
- Network
Security List<string>Group Ids - (List) List of network security groups that the network interface is a member of.
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Instance stringId - If supplied populated it attaches to the instance ID, if empty detaches from the instance ID.
- Pi
Ip stringAddress - The requested IP address of this network interface.
- Pi
Name string - Name of the network interface.
- Pi
Network stringId - network id.
- Pi
Network stringInterface Id - (String) The unique identifier of the network interface resource. The ID is composed of
<cloud_instance_id>/<network_id>/<network_interface_id>
. - List<string>
- The user tags attached to this resource.
- Status string
- (String) The status of the network interface.
- Timeouts
Pi
Network Interface Timeouts
- Crn string
- (String) The network interface's crn.
- Instances
[]Pi
Network Interface Instance Args - (List) The attached instance to this network interface.
- Ip
Address string - (String) The ip address of this network interface.
- Mac
Address string - (String) The mac address of the network interface.
- Name string
- (String) Name of the network interface (not unique or indexable).
- Network
Interface stringId - (String) The unique identifier of the network interface.
- Network
Security stringGroup Id - (Deprecated, String) ID of the network security group the network interface will be added to. Please use network_security_group_ids instead.
- Network
Security []stringGroup Ids - (List) List of network security groups that the network interface is a member of.
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Instance stringId - If supplied populated it attaches to the instance ID, if empty detaches from the instance ID.
- Pi
Ip stringAddress - The requested IP address of this network interface.
- Pi
Name string - Name of the network interface.
- Pi
Network stringId - network id.
- Pi
Network stringInterface Id - (String) The unique identifier of the network interface resource. The ID is composed of
<cloud_instance_id>/<network_id>/<network_interface_id>
. - []string
- The user tags attached to this resource.
- Status string
- (String) The status of the network interface.
- Timeouts
Pi
Network Interface Timeouts Args
- crn String
- (String) The network interface's crn.
- instances
List<Pi
Network Interface Instance> - (List) The attached instance to this network interface.
- ip
Address String - (String) The ip address of this network interface.
- mac
Address String - (String) The mac address of the network interface.
- name String
- (String) Name of the network interface (not unique or indexable).
- network
Interface StringId - (String) The unique identifier of the network interface.
- network
Security StringGroup Id - (Deprecated, String) ID of the network security group the network interface will be added to. Please use network_security_group_ids instead.
- network
Security List<String>Group Ids - (List) List of network security groups that the network interface is a member of.
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Instance StringId - If supplied populated it attaches to the instance ID, if empty detaches from the instance ID.
- pi
Ip StringAddress - The requested IP address of this network interface.
- pi
Name String - Name of the network interface.
- pi
Network StringId - network id.
- pi
Network StringInterface Id - (String) The unique identifier of the network interface resource. The ID is composed of
<cloud_instance_id>/<network_id>/<network_interface_id>
. - List<String>
- The user tags attached to this resource.
- status String
- (String) The status of the network interface.
- timeouts
Pi
Network Interface Timeouts
- crn string
- (String) The network interface's crn.
- instances
Pi
Network Interface Instance[] - (List) The attached instance to this network interface.
- ip
Address string - (String) The ip address of this network interface.
- mac
Address string - (String) The mac address of the network interface.
- name string
- (String) Name of the network interface (not unique or indexable).
- network
Interface stringId - (String) The unique identifier of the network interface.
- network
Security stringGroup Id - (Deprecated, String) ID of the network security group the network interface will be added to. Please use network_security_group_ids instead.
- network
Security string[]Group Ids - (List) List of network security groups that the network interface is a member of.
- pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- pi
Instance stringId - If supplied populated it attaches to the instance ID, if empty detaches from the instance ID.
- pi
Ip stringAddress - The requested IP address of this network interface.
- pi
Name string - Name of the network interface.
- pi
Network stringId - network id.
- pi
Network stringInterface Id - (String) The unique identifier of the network interface resource. The ID is composed of
<cloud_instance_id>/<network_id>/<network_interface_id>
. - string[]
- The user tags attached to this resource.
- status string
- (String) The status of the network interface.
- timeouts
Pi
Network Interface Timeouts
- crn str
- (String) The network interface's crn.
- instances
Sequence[Pi
Network Interface Instance Args] - (List) The attached instance to this network interface.
- ip_
address str - (String) The ip address of this network interface.
- mac_
address str - (String) The mac address of the network interface.
- name str
- (String) Name of the network interface (not unique or indexable).
- network_
interface_ strid - (String) The unique identifier of the network interface.
- network_
security_ strgroup_ id - (Deprecated, String) ID of the network security group the network interface will be added to. Please use network_security_group_ids instead.
- network_
security_ Sequence[str]group_ ids - (List) List of network security groups that the network interface is a member of.
- pi_
cloud_ strinstance_ id - The GUID of the service instance associated with an account.
- pi_
instance_ strid - If supplied populated it attaches to the instance ID, if empty detaches from the instance ID.
- pi_
ip_ straddress - The requested IP address of this network interface.
- pi_
name str - Name of the network interface.
- pi_
network_ strid - network id.
- pi_
network_ strinterface_ id - (String) The unique identifier of the network interface resource. The ID is composed of
<cloud_instance_id>/<network_id>/<network_interface_id>
. - Sequence[str]
- The user tags attached to this resource.
- status str
- (String) The status of the network interface.
- timeouts
Pi
Network Interface Timeouts Args
- crn String
- (String) The network interface's crn.
- instances List<Property Map>
- (List) The attached instance to this network interface.
- ip
Address String - (String) The ip address of this network interface.
- mac
Address String - (String) The mac address of the network interface.
- name String
- (String) Name of the network interface (not unique or indexable).
- network
Interface StringId - (String) The unique identifier of the network interface.
- network
Security StringGroup Id - (Deprecated, String) ID of the network security group the network interface will be added to. Please use network_security_group_ids instead.
- network
Security List<String>Group Ids - (List) List of network security groups that the network interface is a member of.
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Instance StringId - If supplied populated it attaches to the instance ID, if empty detaches from the instance ID.
- pi
Ip StringAddress - The requested IP address of this network interface.
- pi
Name String - Name of the network interface.
- pi
Network StringId - network id.
- pi
Network StringInterface Id - (String) The unique identifier of the network interface resource. The ID is composed of
<cloud_instance_id>/<network_id>/<network_interface_id>
. - List<String>
- The user tags attached to this resource.
- status String
- (String) The status of the network interface.
- timeouts Property Map
Supporting Types
PiNetworkInterfaceInstance, PiNetworkInterfaceInstanceArgs
- Href string
- (String) Link to instance resource.
- Instance
Id string - (String) The attached instance id.
- Href string
- (String) Link to instance resource.
- Instance
Id string - (String) The attached instance id.
- href String
- (String) Link to instance resource.
- instance
Id String - (String) The attached instance id.
- href string
- (String) Link to instance resource.
- instance
Id string - (String) The attached instance id.
- href str
- (String) Link to instance resource.
- instance_
id str - (String) The attached instance id.
- href String
- (String) Link to instance resource.
- instance
Id String - (String) The attached instance id.
PiNetworkInterfaceTimeouts, PiNetworkInterfaceTimeoutsArgs
Import
The ibm_pi_network_interface
resource can be imported by using cloud_instance_id
, network_id
and network_interface_id
.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.