ibm.PiNetwork
Explore with Pulumi AI
Create, update, or delete a network connection for your Power Systems Virtual Server instance. For more information, about power virtual server instance network, see setting up an IBM network install server.
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) {
}
}
{}
Create PiNetwork Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PiNetwork(name: string, args: PiNetworkArgs, opts?: CustomResourceOptions);
@overload
def PiNetwork(resource_name: str,
args: PiNetworkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PiNetwork(resource_name: str,
opts: Optional[ResourceOptions] = None,
pi_network_name: Optional[str] = None,
pi_cloud_instance_id: Optional[str] = None,
pi_network_type: Optional[str] = None,
pi_gateway: Optional[str] = None,
pi_ipaddress_ranges: Optional[Sequence[PiNetworkPiIpaddressRangeArgs]] = None,
pi_network_access_config: Optional[str] = None,
pi_network_id: Optional[str] = None,
pi_network_jumbo: Optional[bool] = None,
pi_network_mtu: Optional[float] = None,
pi_cidr: Optional[str] = None,
pi_network_peer: Optional[PiNetworkPiNetworkPeerArgs] = None,
pi_dns: Optional[Sequence[str]] = None,
pi_user_tags: Optional[Sequence[str]] = None,
timeouts: Optional[PiNetworkTimeoutsArgs] = None)
func NewPiNetwork(ctx *Context, name string, args PiNetworkArgs, opts ...ResourceOption) (*PiNetwork, error)
public PiNetwork(string name, PiNetworkArgs args, CustomResourceOptions? opts = null)
public PiNetwork(String name, PiNetworkArgs args)
public PiNetwork(String name, PiNetworkArgs args, CustomResourceOptions options)
type: ibm:PiNetwork
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 PiNetworkArgs
- 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 PiNetworkArgs
- 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 PiNetworkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PiNetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PiNetworkArgs
- 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 piNetworkResource = new Ibm.PiNetwork("piNetworkResource", new()
{
PiNetworkName = "string",
PiCloudInstanceId = "string",
PiNetworkType = "string",
PiGateway = "string",
PiIpaddressRanges = new[]
{
new Ibm.Inputs.PiNetworkPiIpaddressRangeArgs
{
PiEndingIpAddress = "string",
PiStartingIpAddress = "string",
},
},
PiNetworkId = "string",
PiNetworkMtu = 0,
PiCidr = "string",
PiNetworkPeer = new Ibm.Inputs.PiNetworkPiNetworkPeerArgs
{
Id = "string",
NetworkAddressTranslation = new Ibm.Inputs.PiNetworkPiNetworkPeerNetworkAddressTranslationArgs
{
SourceIp = "string",
},
Type = "string",
},
PiDns = new[]
{
"string",
},
PiUserTags = new[]
{
"string",
},
Timeouts = new Ibm.Inputs.PiNetworkTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := ibm.NewPiNetwork(ctx, "piNetworkResource", &ibm.PiNetworkArgs{
PiNetworkName: pulumi.String("string"),
PiCloudInstanceId: pulumi.String("string"),
PiNetworkType: pulumi.String("string"),
PiGateway: pulumi.String("string"),
PiIpaddressRanges: ibm.PiNetworkPiIpaddressRangeArray{
&ibm.PiNetworkPiIpaddressRangeArgs{
PiEndingIpAddress: pulumi.String("string"),
PiStartingIpAddress: pulumi.String("string"),
},
},
PiNetworkId: pulumi.String("string"),
PiNetworkMtu: pulumi.Float64(0),
PiCidr: pulumi.String("string"),
PiNetworkPeer: &ibm.PiNetworkPiNetworkPeerArgs{
Id: pulumi.String("string"),
NetworkAddressTranslation: &ibm.PiNetworkPiNetworkPeerNetworkAddressTranslationArgs{
SourceIp: pulumi.String("string"),
},
Type: pulumi.String("string"),
},
PiDns: pulumi.StringArray{
pulumi.String("string"),
},
PiUserTags: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &ibm.PiNetworkTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var piNetworkResource = new PiNetwork("piNetworkResource", PiNetworkArgs.builder()
.piNetworkName("string")
.piCloudInstanceId("string")
.piNetworkType("string")
.piGateway("string")
.piIpaddressRanges(PiNetworkPiIpaddressRangeArgs.builder()
.piEndingIpAddress("string")
.piStartingIpAddress("string")
.build())
.piNetworkId("string")
.piNetworkMtu(0)
.piCidr("string")
.piNetworkPeer(PiNetworkPiNetworkPeerArgs.builder()
.id("string")
.networkAddressTranslation(PiNetworkPiNetworkPeerNetworkAddressTranslationArgs.builder()
.sourceIp("string")
.build())
.type("string")
.build())
.piDns("string")
.piUserTags("string")
.timeouts(PiNetworkTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
pi_network_resource = ibm.PiNetwork("piNetworkResource",
pi_network_name="string",
pi_cloud_instance_id="string",
pi_network_type="string",
pi_gateway="string",
pi_ipaddress_ranges=[{
"pi_ending_ip_address": "string",
"pi_starting_ip_address": "string",
}],
pi_network_id="string",
pi_network_mtu=0,
pi_cidr="string",
pi_network_peer={
"id": "string",
"network_address_translation": {
"source_ip": "string",
},
"type": "string",
},
pi_dns=["string"],
pi_user_tags=["string"],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const piNetworkResource = new ibm.PiNetwork("piNetworkResource", {
piNetworkName: "string",
piCloudInstanceId: "string",
piNetworkType: "string",
piGateway: "string",
piIpaddressRanges: [{
piEndingIpAddress: "string",
piStartingIpAddress: "string",
}],
piNetworkId: "string",
piNetworkMtu: 0,
piCidr: "string",
piNetworkPeer: {
id: "string",
networkAddressTranslation: {
sourceIp: "string",
},
type: "string",
},
piDns: ["string"],
piUserTags: ["string"],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: ibm:PiNetwork
properties:
piCidr: string
piCloudInstanceId: string
piDns:
- string
piGateway: string
piIpaddressRanges:
- piEndingIpAddress: string
piStartingIpAddress: string
piNetworkId: string
piNetworkMtu: 0
piNetworkName: string
piNetworkPeer:
id: string
networkAddressTranslation:
sourceIp: string
type: string
piNetworkType: string
piUserTags:
- string
timeouts:
create: string
delete: string
update: string
PiNetwork 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 PiNetwork resource accepts the following input properties:
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Network stringName - The name of the network.
- Pi
Network stringType - The type of network that you want to create. Valid values are
pub-vlan
,vlan
anddhcp-vlan
. - Pi
Cidr string - The network CIDR. Required for
vlan
network type. - Pi
Dns List<string> - The DNS Servers for the network. If not specified, default is 127.0.0.1 for 'vlan' (private network) and 9.9.9.9 for 'pub-vlan' (public network). A maximum of one DNS server can be specified for private networks in Power Edge Router workspaces.
- Pi
Gateway string - The gateway ip address.
- Pi
Ipaddress List<PiRanges Network Pi Ipaddress Range> - List of one or more ip address range(s). The
pi_ipaddress_range
object structure is documented below. Thepi_ipaddress_range
block supports: - Pi
Network stringAccess Config - The network communication configuration option of the network (for on-prem locations only). Please use
pi_network_peer
. - Pi
Network stringId - (String) The unique identifier of the network. The ID is composed of
<pi_cloud_instance_id>/<network_id>
. - Pi
Network boolJumbo - MTU Jumbo option of the network (for multi-zone locations only).
- Pi
Network doubleMtu - Maximum Transmission Unit option of the network. Minimum is 1450 and maximum is 9000.
- Pi
Network PiPeer Network Pi Network Peer Network peer information (for on-prem locations only). Max items: 1.
Nested schema for
pi_network_peer
:- List<string>
- The user tags attached to this resource.
- Timeouts
Pi
Network Timeouts
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Network stringName - The name of the network.
- Pi
Network stringType - The type of network that you want to create. Valid values are
pub-vlan
,vlan
anddhcp-vlan
. - Pi
Cidr string - The network CIDR. Required for
vlan
network type. - Pi
Dns []string - The DNS Servers for the network. If not specified, default is 127.0.0.1 for 'vlan' (private network) and 9.9.9.9 for 'pub-vlan' (public network). A maximum of one DNS server can be specified for private networks in Power Edge Router workspaces.
- Pi
Gateway string - The gateway ip address.
- Pi
Ipaddress []PiRanges Network Pi Ipaddress Range Args - List of one or more ip address range(s). The
pi_ipaddress_range
object structure is documented below. Thepi_ipaddress_range
block supports: - Pi
Network stringAccess Config - The network communication configuration option of the network (for on-prem locations only). Please use
pi_network_peer
. - Pi
Network stringId - (String) The unique identifier of the network. The ID is composed of
<pi_cloud_instance_id>/<network_id>
. - Pi
Network boolJumbo - MTU Jumbo option of the network (for multi-zone locations only).
- Pi
Network float64Mtu - Maximum Transmission Unit option of the network. Minimum is 1450 and maximum is 9000.
- Pi
Network PiPeer Network Pi Network Peer Args Network peer information (for on-prem locations only). Max items: 1.
Nested schema for
pi_network_peer
:- []string
- The user tags attached to this resource.
- Timeouts
Pi
Network Timeouts Args
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Network StringName - The name of the network.
- pi
Network StringType - The type of network that you want to create. Valid values are
pub-vlan
,vlan
anddhcp-vlan
. - pi
Cidr String - The network CIDR. Required for
vlan
network type. - pi
Dns List<String> - The DNS Servers for the network. If not specified, default is 127.0.0.1 for 'vlan' (private network) and 9.9.9.9 for 'pub-vlan' (public network). A maximum of one DNS server can be specified for private networks in Power Edge Router workspaces.
- pi
Gateway String - The gateway ip address.
- pi
Ipaddress List<PiRanges Network Pi Ipaddress Range> - List of one or more ip address range(s). The
pi_ipaddress_range
object structure is documented below. Thepi_ipaddress_range
block supports: - pi
Network StringAccess Config - The network communication configuration option of the network (for on-prem locations only). Please use
pi_network_peer
. - pi
Network StringId - (String) The unique identifier of the network. The ID is composed of
<pi_cloud_instance_id>/<network_id>
. - pi
Network BooleanJumbo - MTU Jumbo option of the network (for multi-zone locations only).
- pi
Network DoubleMtu - Maximum Transmission Unit option of the network. Minimum is 1450 and maximum is 9000.
- pi
Network PiPeer Network Pi Network Peer Network peer information (for on-prem locations only). Max items: 1.
Nested schema for
pi_network_peer
:- List<String>
- The user tags attached to this resource.
- timeouts
Pi
Network Timeouts
- pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- pi
Network stringName - The name of the network.
- pi
Network stringType - The type of network that you want to create. Valid values are
pub-vlan
,vlan
anddhcp-vlan
. - pi
Cidr string - The network CIDR. Required for
vlan
network type. - pi
Dns string[] - The DNS Servers for the network. If not specified, default is 127.0.0.1 for 'vlan' (private network) and 9.9.9.9 for 'pub-vlan' (public network). A maximum of one DNS server can be specified for private networks in Power Edge Router workspaces.
- pi
Gateway string - The gateway ip address.
- pi
Ipaddress PiRanges Network Pi Ipaddress Range[] - List of one or more ip address range(s). The
pi_ipaddress_range
object structure is documented below. Thepi_ipaddress_range
block supports: - pi
Network stringAccess Config - The network communication configuration option of the network (for on-prem locations only). Please use
pi_network_peer
. - pi
Network stringId - (String) The unique identifier of the network. The ID is composed of
<pi_cloud_instance_id>/<network_id>
. - pi
Network booleanJumbo - MTU Jumbo option of the network (for multi-zone locations only).
- pi
Network numberMtu - Maximum Transmission Unit option of the network. Minimum is 1450 and maximum is 9000.
- pi
Network PiPeer Network Pi Network Peer Network peer information (for on-prem locations only). Max items: 1.
Nested schema for
pi_network_peer
:- string[]
- The user tags attached to this resource.
- timeouts
Pi
Network Timeouts
- pi_
cloud_ strinstance_ id - The GUID of the service instance associated with an account.
- pi_
network_ strname - The name of the network.
- pi_
network_ strtype - The type of network that you want to create. Valid values are
pub-vlan
,vlan
anddhcp-vlan
. - pi_
cidr str - The network CIDR. Required for
vlan
network type. - pi_
dns Sequence[str] - The DNS Servers for the network. If not specified, default is 127.0.0.1 for 'vlan' (private network) and 9.9.9.9 for 'pub-vlan' (public network). A maximum of one DNS server can be specified for private networks in Power Edge Router workspaces.
- pi_
gateway str - The gateway ip address.
- pi_
ipaddress_ Sequence[Piranges Network Pi Ipaddress Range Args] - List of one or more ip address range(s). The
pi_ipaddress_range
object structure is documented below. Thepi_ipaddress_range
block supports: - pi_
network_ straccess_ config - The network communication configuration option of the network (for on-prem locations only). Please use
pi_network_peer
. - pi_
network_ strid - (String) The unique identifier of the network. The ID is composed of
<pi_cloud_instance_id>/<network_id>
. - pi_
network_ booljumbo - MTU Jumbo option of the network (for multi-zone locations only).
- pi_
network_ floatmtu - Maximum Transmission Unit option of the network. Minimum is 1450 and maximum is 9000.
- pi_
network_ Pipeer Network Pi Network Peer Args Network peer information (for on-prem locations only). Max items: 1.
Nested schema for
pi_network_peer
:- Sequence[str]
- The user tags attached to this resource.
- timeouts
Pi
Network Timeouts Args
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Network StringName - The name of the network.
- pi
Network StringType - The type of network that you want to create. Valid values are
pub-vlan
,vlan
anddhcp-vlan
. - pi
Cidr String - The network CIDR. Required for
vlan
network type. - pi
Dns List<String> - The DNS Servers for the network. If not specified, default is 127.0.0.1 for 'vlan' (private network) and 9.9.9.9 for 'pub-vlan' (public network). A maximum of one DNS server can be specified for private networks in Power Edge Router workspaces.
- pi
Gateway String - The gateway ip address.
- pi
Ipaddress List<Property Map>Ranges - List of one or more ip address range(s). The
pi_ipaddress_range
object structure is documented below. Thepi_ipaddress_range
block supports: - pi
Network StringAccess Config - The network communication configuration option of the network (for on-prem locations only). Please use
pi_network_peer
. - pi
Network StringId - (String) The unique identifier of the network. The ID is composed of
<pi_cloud_instance_id>/<network_id>
. - pi
Network BooleanJumbo - MTU Jumbo option of the network (for multi-zone locations only).
- pi
Network NumberMtu - Maximum Transmission Unit option of the network. Minimum is 1450 and maximum is 9000.
- pi
Network Property MapPeer Network peer information (for on-prem locations only). Max items: 1.
Nested schema for
pi_network_peer
:- List<String>
- The user tags attached to this resource.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the PiNetwork resource produces the following output properties:
- Crn string
- (String) The CRN of this resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Address List<PiTranslations Network Network Address Translation> - (List) Contains the network address translation details (for on-prem locations only).
- Network
Id string - (String) The unique identifier of the network.
- Peer
Id string - (String) Network peer ID (for on-prem locations only).
- Vlan
Id double - (Integer) The ID of the VLAN that your network is attached to.
- Crn string
- (String) The CRN of this resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Address []PiTranslations Network Network Address Translation - (List) Contains the network address translation details (for on-prem locations only).
- Network
Id string - (String) The unique identifier of the network.
- Peer
Id string - (String) Network peer ID (for on-prem locations only).
- Vlan
Id float64 - (Integer) The ID of the VLAN that your network is attached to.
- crn String
- (String) The CRN of this resource.
- id String
- The provider-assigned unique ID for this managed resource.
- network
Address List<PiTranslations Network Network Address Translation> - (List) Contains the network address translation details (for on-prem locations only).
- network
Id String - (String) The unique identifier of the network.
- peer
Id String - (String) Network peer ID (for on-prem locations only).
- vlan
Id Double - (Integer) The ID of the VLAN that your network is attached to.
- crn string
- (String) The CRN of this resource.
- id string
- The provider-assigned unique ID for this managed resource.
- network
Address PiTranslations Network Network Address Translation[] - (List) Contains the network address translation details (for on-prem locations only).
- network
Id string - (String) The unique identifier of the network.
- peer
Id string - (String) Network peer ID (for on-prem locations only).
- vlan
Id number - (Integer) The ID of the VLAN that your network is attached to.
- crn str
- (String) The CRN of this resource.
- id str
- The provider-assigned unique ID for this managed resource.
- network_
address_ Sequence[Pitranslations Network Network Address Translation] - (List) Contains the network address translation details (for on-prem locations only).
- network_
id str - (String) The unique identifier of the network.
- peer_
id str - (String) Network peer ID (for on-prem locations only).
- vlan_
id float - (Integer) The ID of the VLAN that your network is attached to.
- crn String
- (String) The CRN of this resource.
- id String
- The provider-assigned unique ID for this managed resource.
- network
Address List<Property Map>Translations - (List) Contains the network address translation details (for on-prem locations only).
- network
Id String - (String) The unique identifier of the network.
- peer
Id String - (String) Network peer ID (for on-prem locations only).
- vlan
Id Number - (Integer) The ID of the VLAN that your network is attached to.
Look up Existing PiNetwork Resource
Get an existing PiNetwork 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?: PiNetworkState, opts?: CustomResourceOptions): PiNetwork
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
crn: Optional[str] = None,
network_address_translations: Optional[Sequence[PiNetworkNetworkAddressTranslationArgs]] = None,
network_id: Optional[str] = None,
peer_id: Optional[str] = None,
pi_cidr: Optional[str] = None,
pi_cloud_instance_id: Optional[str] = None,
pi_dns: Optional[Sequence[str]] = None,
pi_gateway: Optional[str] = None,
pi_ipaddress_ranges: Optional[Sequence[PiNetworkPiIpaddressRangeArgs]] = None,
pi_network_access_config: Optional[str] = None,
pi_network_id: Optional[str] = None,
pi_network_jumbo: Optional[bool] = None,
pi_network_mtu: Optional[float] = None,
pi_network_name: Optional[str] = None,
pi_network_peer: Optional[PiNetworkPiNetworkPeerArgs] = None,
pi_network_type: Optional[str] = None,
pi_user_tags: Optional[Sequence[str]] = None,
timeouts: Optional[PiNetworkTimeoutsArgs] = None,
vlan_id: Optional[float] = None) -> PiNetwork
func GetPiNetwork(ctx *Context, name string, id IDInput, state *PiNetworkState, opts ...ResourceOption) (*PiNetwork, error)
public static PiNetwork Get(string name, Input<string> id, PiNetworkState? state, CustomResourceOptions? opts = null)
public static PiNetwork get(String name, Output<String> id, PiNetworkState state, CustomResourceOptions options)
resources: _: type: ibm:PiNetwork 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 CRN of this resource.
- Network
Address List<PiTranslations Network Network Address Translation> - (List) Contains the network address translation details (for on-prem locations only).
- Network
Id string - (String) The unique identifier of the network.
- Peer
Id string - (String) Network peer ID (for on-prem locations only).
- Pi
Cidr string - The network CIDR. Required for
vlan
network type. - Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Dns List<string> - The DNS Servers for the network. If not specified, default is 127.0.0.1 for 'vlan' (private network) and 9.9.9.9 for 'pub-vlan' (public network). A maximum of one DNS server can be specified for private networks in Power Edge Router workspaces.
- Pi
Gateway string - The gateway ip address.
- Pi
Ipaddress List<PiRanges Network Pi Ipaddress Range> - List of one or more ip address range(s). The
pi_ipaddress_range
object structure is documented below. Thepi_ipaddress_range
block supports: - Pi
Network stringAccess Config - The network communication configuration option of the network (for on-prem locations only). Please use
pi_network_peer
. - Pi
Network stringId - (String) The unique identifier of the network. The ID is composed of
<pi_cloud_instance_id>/<network_id>
. - Pi
Network boolJumbo - MTU Jumbo option of the network (for multi-zone locations only).
- Pi
Network doubleMtu - Maximum Transmission Unit option of the network. Minimum is 1450 and maximum is 9000.
- Pi
Network stringName - The name of the network.
- Pi
Network PiPeer Network Pi Network Peer Network peer information (for on-prem locations only). Max items: 1.
Nested schema for
pi_network_peer
:- Pi
Network stringType - The type of network that you want to create. Valid values are
pub-vlan
,vlan
anddhcp-vlan
. - List<string>
- The user tags attached to this resource.
- Timeouts
Pi
Network Timeouts - Vlan
Id double - (Integer) The ID of the VLAN that your network is attached to.
- Crn string
- (String) The CRN of this resource.
- Network
Address []PiTranslations Network Network Address Translation Args - (List) Contains the network address translation details (for on-prem locations only).
- Network
Id string - (String) The unique identifier of the network.
- Peer
Id string - (String) Network peer ID (for on-prem locations only).
- Pi
Cidr string - The network CIDR. Required for
vlan
network type. - Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Dns []string - The DNS Servers for the network. If not specified, default is 127.0.0.1 for 'vlan' (private network) and 9.9.9.9 for 'pub-vlan' (public network). A maximum of one DNS server can be specified for private networks in Power Edge Router workspaces.
- Pi
Gateway string - The gateway ip address.
- Pi
Ipaddress []PiRanges Network Pi Ipaddress Range Args - List of one or more ip address range(s). The
pi_ipaddress_range
object structure is documented below. Thepi_ipaddress_range
block supports: - Pi
Network stringAccess Config - The network communication configuration option of the network (for on-prem locations only). Please use
pi_network_peer
. - Pi
Network stringId - (String) The unique identifier of the network. The ID is composed of
<pi_cloud_instance_id>/<network_id>
. - Pi
Network boolJumbo - MTU Jumbo option of the network (for multi-zone locations only).
- Pi
Network float64Mtu - Maximum Transmission Unit option of the network. Minimum is 1450 and maximum is 9000.
- Pi
Network stringName - The name of the network.
- Pi
Network PiPeer Network Pi Network Peer Args Network peer information (for on-prem locations only). Max items: 1.
Nested schema for
pi_network_peer
:- Pi
Network stringType - The type of network that you want to create. Valid values are
pub-vlan
,vlan
anddhcp-vlan
. - []string
- The user tags attached to this resource.
- Timeouts
Pi
Network Timeouts Args - Vlan
Id float64 - (Integer) The ID of the VLAN that your network is attached to.
- crn String
- (String) The CRN of this resource.
- network
Address List<PiTranslations Network Network Address Translation> - (List) Contains the network address translation details (for on-prem locations only).
- network
Id String - (String) The unique identifier of the network.
- peer
Id String - (String) Network peer ID (for on-prem locations only).
- pi
Cidr String - The network CIDR. Required for
vlan
network type. - pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Dns List<String> - The DNS Servers for the network. If not specified, default is 127.0.0.1 for 'vlan' (private network) and 9.9.9.9 for 'pub-vlan' (public network). A maximum of one DNS server can be specified for private networks in Power Edge Router workspaces.
- pi
Gateway String - The gateway ip address.
- pi
Ipaddress List<PiRanges Network Pi Ipaddress Range> - List of one or more ip address range(s). The
pi_ipaddress_range
object structure is documented below. Thepi_ipaddress_range
block supports: - pi
Network StringAccess Config - The network communication configuration option of the network (for on-prem locations only). Please use
pi_network_peer
. - pi
Network StringId - (String) The unique identifier of the network. The ID is composed of
<pi_cloud_instance_id>/<network_id>
. - pi
Network BooleanJumbo - MTU Jumbo option of the network (for multi-zone locations only).
- pi
Network DoubleMtu - Maximum Transmission Unit option of the network. Minimum is 1450 and maximum is 9000.
- pi
Network StringName - The name of the network.
- pi
Network PiPeer Network Pi Network Peer Network peer information (for on-prem locations only). Max items: 1.
Nested schema for
pi_network_peer
:- pi
Network StringType - The type of network that you want to create. Valid values are
pub-vlan
,vlan
anddhcp-vlan
. - List<String>
- The user tags attached to this resource.
- timeouts
Pi
Network Timeouts - vlan
Id Double - (Integer) The ID of the VLAN that your network is attached to.
- crn string
- (String) The CRN of this resource.
- network
Address PiTranslations Network Network Address Translation[] - (List) Contains the network address translation details (for on-prem locations only).
- network
Id string - (String) The unique identifier of the network.
- peer
Id string - (String) Network peer ID (for on-prem locations only).
- pi
Cidr string - The network CIDR. Required for
vlan
network type. - pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- pi
Dns string[] - The DNS Servers for the network. If not specified, default is 127.0.0.1 for 'vlan' (private network) and 9.9.9.9 for 'pub-vlan' (public network). A maximum of one DNS server can be specified for private networks in Power Edge Router workspaces.
- pi
Gateway string - The gateway ip address.
- pi
Ipaddress PiRanges Network Pi Ipaddress Range[] - List of one or more ip address range(s). The
pi_ipaddress_range
object structure is documented below. Thepi_ipaddress_range
block supports: - pi
Network stringAccess Config - The network communication configuration option of the network (for on-prem locations only). Please use
pi_network_peer
. - pi
Network stringId - (String) The unique identifier of the network. The ID is composed of
<pi_cloud_instance_id>/<network_id>
. - pi
Network booleanJumbo - MTU Jumbo option of the network (for multi-zone locations only).
- pi
Network numberMtu - Maximum Transmission Unit option of the network. Minimum is 1450 and maximum is 9000.
- pi
Network stringName - The name of the network.
- pi
Network PiPeer Network Pi Network Peer Network peer information (for on-prem locations only). Max items: 1.
Nested schema for
pi_network_peer
:- pi
Network stringType - The type of network that you want to create. Valid values are
pub-vlan
,vlan
anddhcp-vlan
. - string[]
- The user tags attached to this resource.
- timeouts
Pi
Network Timeouts - vlan
Id number - (Integer) The ID of the VLAN that your network is attached to.
- crn str
- (String) The CRN of this resource.
- network_
address_ Sequence[Pitranslations Network Network Address Translation Args] - (List) Contains the network address translation details (for on-prem locations only).
- network_
id str - (String) The unique identifier of the network.
- peer_
id str - (String) Network peer ID (for on-prem locations only).
- pi_
cidr str - The network CIDR. Required for
vlan
network type. - pi_
cloud_ strinstance_ id - The GUID of the service instance associated with an account.
- pi_
dns Sequence[str] - The DNS Servers for the network. If not specified, default is 127.0.0.1 for 'vlan' (private network) and 9.9.9.9 for 'pub-vlan' (public network). A maximum of one DNS server can be specified for private networks in Power Edge Router workspaces.
- pi_
gateway str - The gateway ip address.
- pi_
ipaddress_ Sequence[Piranges Network Pi Ipaddress Range Args] - List of one or more ip address range(s). The
pi_ipaddress_range
object structure is documented below. Thepi_ipaddress_range
block supports: - pi_
network_ straccess_ config - The network communication configuration option of the network (for on-prem locations only). Please use
pi_network_peer
. - pi_
network_ strid - (String) The unique identifier of the network. The ID is composed of
<pi_cloud_instance_id>/<network_id>
. - pi_
network_ booljumbo - MTU Jumbo option of the network (for multi-zone locations only).
- pi_
network_ floatmtu - Maximum Transmission Unit option of the network. Minimum is 1450 and maximum is 9000.
- pi_
network_ strname - The name of the network.
- pi_
network_ Pipeer Network Pi Network Peer Args Network peer information (for on-prem locations only). Max items: 1.
Nested schema for
pi_network_peer
:- pi_
network_ strtype - The type of network that you want to create. Valid values are
pub-vlan
,vlan
anddhcp-vlan
. - Sequence[str]
- The user tags attached to this resource.
- timeouts
Pi
Network Timeouts Args - vlan_
id float - (Integer) The ID of the VLAN that your network is attached to.
- crn String
- (String) The CRN of this resource.
- network
Address List<Property Map>Translations - (List) Contains the network address translation details (for on-prem locations only).
- network
Id String - (String) The unique identifier of the network.
- peer
Id String - (String) Network peer ID (for on-prem locations only).
- pi
Cidr String - The network CIDR. Required for
vlan
network type. - pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Dns List<String> - The DNS Servers for the network. If not specified, default is 127.0.0.1 for 'vlan' (private network) and 9.9.9.9 for 'pub-vlan' (public network). A maximum of one DNS server can be specified for private networks in Power Edge Router workspaces.
- pi
Gateway String - The gateway ip address.
- pi
Ipaddress List<Property Map>Ranges - List of one or more ip address range(s). The
pi_ipaddress_range
object structure is documented below. Thepi_ipaddress_range
block supports: - pi
Network StringAccess Config - The network communication configuration option of the network (for on-prem locations only). Please use
pi_network_peer
. - pi
Network StringId - (String) The unique identifier of the network. The ID is composed of
<pi_cloud_instance_id>/<network_id>
. - pi
Network BooleanJumbo - MTU Jumbo option of the network (for multi-zone locations only).
- pi
Network NumberMtu - Maximum Transmission Unit option of the network. Minimum is 1450 and maximum is 9000.
- pi
Network StringName - The name of the network.
- pi
Network Property MapPeer Network peer information (for on-prem locations only). Max items: 1.
Nested schema for
pi_network_peer
:- pi
Network StringType - The type of network that you want to create. Valid values are
pub-vlan
,vlan
anddhcp-vlan
. - List<String>
- The user tags attached to this resource.
- timeouts Property Map
- vlan
Id Number - (Integer) The ID of the VLAN that your network is attached to.
Supporting Types
PiNetworkNetworkAddressTranslation, PiNetworkNetworkAddressTranslationArgs
- Source
Ip string - (String) source IP address.
- Source
Ip string - (String) source IP address.
- source
Ip String - (String) source IP address.
- source
Ip string - (String) source IP address.
- source_
ip str - (String) source IP address.
- source
Ip String - (String) source IP address.
PiNetworkPiIpaddressRange, PiNetworkPiIpaddressRangeArgs
- Pi
Ending stringIp Address - The ending ip address.
- Pi
Starting stringIp Address - The staring ip address. Note if the
pi_gateway
orpi_ipaddress_range
is not provided, it will calculate the value based on CIDR respectively.
- Pi
Ending stringIp Address - The ending ip address.
- Pi
Starting stringIp Address - The staring ip address. Note if the
pi_gateway
orpi_ipaddress_range
is not provided, it will calculate the value based on CIDR respectively.
- pi
Ending StringIp Address - The ending ip address.
- pi
Starting StringIp Address - The staring ip address. Note if the
pi_gateway
orpi_ipaddress_range
is not provided, it will calculate the value based on CIDR respectively.
- pi
Ending stringIp Address - The ending ip address.
- pi
Starting stringIp Address - The staring ip address. Note if the
pi_gateway
orpi_ipaddress_range
is not provided, it will calculate the value based on CIDR respectively.
- pi_
ending_ strip_ address - The ending ip address.
- pi_
starting_ strip_ address - The staring ip address. Note if the
pi_gateway
orpi_ipaddress_range
is not provided, it will calculate the value based on CIDR respectively.
- pi
Ending StringIp Address - The ending ip address.
- pi
Starting StringIp Address - The staring ip address. Note if the
pi_gateway
orpi_ipaddress_range
is not provided, it will calculate the value based on CIDR respectively.
PiNetworkPiNetworkPeer, PiNetworkPiNetworkPeerArgs
- Id string
- ID of the network peer.
- Network
Address PiTranslation Network Pi Network Peer Network Address Translation Contains the Network Address Translation Details. Max items: 1.
Nested schema for
network_address_translation
:- Type string
- Type of the network peer. Allowable values are:
L2
,L3BGP
,L3Static
.
- Id string
- ID of the network peer.
- Network
Address PiTranslation Network Pi Network Peer Network Address Translation Contains the Network Address Translation Details. Max items: 1.
Nested schema for
network_address_translation
:- Type string
- Type of the network peer. Allowable values are:
L2
,L3BGP
,L3Static
.
- id String
- ID of the network peer.
- network
Address PiTranslation Network Pi Network Peer Network Address Translation Contains the Network Address Translation Details. Max items: 1.
Nested schema for
network_address_translation
:- type String
- Type of the network peer. Allowable values are:
L2
,L3BGP
,L3Static
.
- id string
- ID of the network peer.
- network
Address PiTranslation Network Pi Network Peer Network Address Translation Contains the Network Address Translation Details. Max items: 1.
Nested schema for
network_address_translation
:- type string
- Type of the network peer. Allowable values are:
L2
,L3BGP
,L3Static
.
- id str
- ID of the network peer.
- network_
address_ Pitranslation Network Pi Network Peer Network Address Translation Contains the Network Address Translation Details. Max items: 1.
Nested schema for
network_address_translation
:- type str
- Type of the network peer. Allowable values are:
L2
,L3BGP
,L3Static
.
- id String
- ID of the network peer.
- network
Address Property MapTranslation Contains the Network Address Translation Details. Max items: 1.
Nested schema for
network_address_translation
:- type String
- Type of the network peer. Allowable values are:
L2
,L3BGP
,L3Static
.
PiNetworkPiNetworkPeerNetworkAddressTranslation, PiNetworkPiNetworkPeerNetworkAddressTranslationArgs
- Source
Ip string - source IP address, required if network peer type is
L3BGP
orL3STATIC
and if NAT is enabled.
- Source
Ip string - source IP address, required if network peer type is
L3BGP
orL3STATIC
and if NAT is enabled.
- source
Ip String - source IP address, required if network peer type is
L3BGP
orL3STATIC
and if NAT is enabled.
- source
Ip string - source IP address, required if network peer type is
L3BGP
orL3STATIC
and if NAT is enabled.
- source_
ip str - source IP address, required if network peer type is
L3BGP
orL3STATIC
and if NAT is enabled.
- source
Ip String - source IP address, required if network peer type is
L3BGP
orL3STATIC
and if NAT is enabled.
PiNetworkTimeouts, PiNetworkTimeoutsArgs
Import
Example
bash
$ pulumi import ibm:index/piNetwork:PiNetwork example d7bec597-4726-451f-8a63-e62e6f19c32c/cea6651a-bc0a-4438-9f8a-a0770bbf3ebb
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.