network

package
v0.14.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFloatingIP

func NewFloatingIP(ctx *pulumi.Context, args *FloatingIPArgs) (*ibmcloud.IsFloatingIp, error)

NewFloatingIP creates an IBM Cloud VPC floating IP. RG may be nil to use the account default resource group.

func NewSecurityGroupWithSSH

func NewSecurityGroupWithSSH(ctx *pulumi.Context, args *SecurityGroupArgs) (*ibmcloud.IsSecurityGroup, error)

NewSecurityGroupWithSSH creates a security group with inbound SSH (port 22) and unrestricted outbound rules. RG may be nil to use the account default.

Types

type FloatingIPArgs

type FloatingIPArgs struct {
	Prefix      string
	ComponentID string
	Name        string
	Zone        pulumi.StringInput
	RG          *ibmcloud.ResourceGroup
	Tags        pulumi.StringArray
}

FloatingIPArgs defines the inputs for NewFloatingIP.

type Network

type Network struct {
	VPC           *ibmcloud.IsVpc
	Subnet        *ibmcloud.IsSubnet
	SecurityGroup *ibmcloud.IsSecurityGroup
	Floatingip    *ibmcloud.IsFloatingIp
}

func New

func New(ctx *pulumi.Context, args *NetworkArgs) (*Network, error)

type NetworkArgs

type NetworkArgs struct {
	Prefix      string
	ComponentID string
	Name        string
	RG          *ibmcloud.ResourceGroup
	Zone        *string
	Tags        pulumi.StringArray
}

type SecurityGroupArgs

type SecurityGroupArgs struct {
	Prefix      string
	ComponentID string
	Name        string
	VPC         pulumi.StringInput
	RG          *ibmcloud.ResourceGroup
	Tags        pulumi.StringArray
}

SecurityGroupArgs defines the inputs for NewSecurityGroupWithSSH.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL