Fork me on GitHub

Module networking

@pulumi/openstack > networking

Index

networking/floatingIp.ts networking/floatingIpAssociate.ts networking/getFloatingIp.ts networking/getNetwork.ts networking/getRouter.ts networking/getSecGroup.ts networking/getSubnet.ts networking/getSubnetPool.ts networking/network.ts networking/port.ts networking/router.ts networking/routerInterface.ts networking/routerRoute.ts networking/secGroup.ts networking/secGroupRule.ts networking/subnet.ts networking/subnetPool.ts networking/subnetRoute.ts

class FloatingIp

Manages a V2 floating IP resource within OpenStack Neutron (networking) that can be used for load balancers. These are similar to Nova (compute) floating IP resources, but only compute floating IPs can be used with compute instances.

constructor

new FloatingIp(name: string, args: FloatingIpArgs, opts?: pulumi.CustomResourceOptions)

Create a FloatingIp resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FloatingIpState): FloatingIp

Get an existing FloatingIp resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property address

public address: pulumi.Output<string>;

The actual/specific floating IP to obtain. By default, non-admin users are not able to specify a floating IP, so you must either be an admin user or have had a custom policy or role applied to your OpenStack user or project.

property fixedIp

public fixedIp: pulumi.Output<string>;

Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property pool

public pool: pulumi.Output<string>;

The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.

property portId

public portId: pulumi.Output<string>;

ID of an existing port with at least one IP address to associate with this floating IP.

property region

public region: pulumi.Output<string>;

The region in which to obtain the V2 Networking client. A Networking client is needed to create a floating IP that can be used with another networking resource, such as a load balancer. If omitted, the region argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).

property subnetId

public subnetId: pulumi.Output<string | undefined>;

The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.

property tenantId

public tenantId: pulumi.Output<string>;

The target tenant ID in which to allocate the floating IP, if you specify this together with a port_id, make sure the target port belongs to the same tenant. Changing this creates a new floating IP (which may or may not have a different address)

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property valueSpecs

public valueSpecs: pulumi.Output<{ ... } | undefined>;

Map of additional options.

class FloatingIpAssociate

Associates a floating IP to a port. This is useful for situations where you have a pre-allocated floating IP or are unable to use the openstack_networking_floatingip_v2 resource to create a floating IP.

constructor

new FloatingIpAssociate(name: string, args: FloatingIpAssociateArgs, opts?: pulumi.CustomResourceOptions)

Create a FloatingIpAssociate resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FloatingIpAssociateState): FloatingIpAssociate

Get an existing FloatingIpAssociate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property floatingIp

public floatingIp: pulumi.Output<string>;

IP Address of an existing floating IP.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property portId

public portId: pulumi.Output<string>;

ID of an existing port with at least one IP address to associate with this floating IP.

property region

public region: pulumi.Output<string>;

The region in which to obtain the V2 Networking client. A Networking client is needed to create a floating IP that can be used with another networking resource, such as a load balancer. If omitted, the region argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class Network

Manages a V2 Neutron network resource within OpenStack.

constructor

new Network(name: string, args?: NetworkArgs, opts?: pulumi.CustomResourceOptions)

Create a Network resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NetworkState): Network

Get an existing Network resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property adminStateUp

public adminStateUp: pulumi.Output<string>;

The administrative state of the network. Acceptable values are “true” and “false”. Changing this value updates the state of the existing network.

property availabilityZoneHints

public availabilityZoneHints: pulumi.Output<string[]>;

An availability zone is used to make network resources highly available. Used for resources with high availability so that they are scheduled on different availability zones. Changing this creates a new network.

property external

public external: pulumi.Output<boolean>;

Specifies whether the network resource has the external routing facility. Valid values are true and false. Defaults to false. Changing this updates the external attribute of the existing network.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the network. Changing this updates the name of the existing network.

property region

public region: pulumi.Output<string>;

The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron network. If omitted, the region argument of the provider is used. Changing this creates a new network.

property segments

public segments: pulumi.Output<{ ... }[] | undefined>;

An array of one or more provider segment objects.

property shared

public shared: pulumi.Output<string>;

Specifies whether the network resource can be accessed by any tenant or not. Changing this updates the sharing capabalities of the existing network.

property tenantId

public tenantId: pulumi.Output<string>;

The owner of the network. Required if admin wants to create a network for another tenant. Changing this creates a new network.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property valueSpecs

public valueSpecs: pulumi.Output<{ ... } | undefined>;

Map of additional options.

class Port

Manages a V2 port resource within OpenStack.

constructor

new Port(name: string, args: PortArgs, opts?: pulumi.CustomResourceOptions)

Create a Port resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PortState): Port

Get an existing Port resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property adminStateUp

public adminStateUp: pulumi.Output<boolean>;

Administrative up/down status for the port (must be “true” or “false” if provided). Changing this updates the admin_state_up of an existing port.

property allFixedIps

public allFixedIps: pulumi.Output<string[]>;

The collection of Fixed IP addresses on the port in the order returned by the Network v2 API.

property allSecurityGroupIds

public allSecurityGroupIds: pulumi.Output<string[]>;

The collection of Security Group IDs on the port which have been explicitly and implicitly added.

property allowedAddressPairs

public allowedAddressPairs: pulumi.Output<{ ... }[] | undefined>;

An IP/MAC Address pair of additional IP addresses that can be active on this port. The structure is described below.

property deviceId

public deviceId: pulumi.Output<string>;

The ID of the device attached to the port. Changing this creates a new port.

property deviceOwner

public deviceOwner: pulumi.Output<string>;

The device owner of the Port. Changing this creates a new port.

property fixedIps

public fixedIps: pulumi.Output<{ ... }[] | undefined>;

An array of desired IPs for this port. The structure is described below.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property macAddress

public macAddress: pulumi.Output<string>;

Specify a specific MAC address for the port. Changing this creates a new port.

property name

public name: pulumi.Output<string>;

A unique name for the port. Changing this updates the name of an existing port.

property networkId

public networkId: pulumi.Output<string>;

The ID of the network to attach the port to. Changing this creates a new port.

property noFixedIp

public noFixedIp: pulumi.Output<boolean | undefined>;

Create a port with no fixed IP address. This will also remove any fixed IPs previously set on a port. true is the only valid value for this argument.

property noSecurityGroups

public noSecurityGroups: pulumi.Output<boolean | undefined>;

If set to true, then no security groups are applied to the port. If set to false and no security_group_ids are specified, then the Port will yield to the default behavior of the Networking service, which is to usually apply the “default” security group.

property region

public region: pulumi.Output<string>;

The region in which to obtain the V2 networking client. A networking client is needed to create a port. If omitted, the region argument of the provider is used. Changing this creates a new port.

property securityGroupIds

public securityGroupIds: pulumi.Output<string[] | undefined>;

A list of security group IDs to apply to the port. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).

property tenantId

public tenantId: pulumi.Output<string>;

The owner of the Port. Required if admin wants to create a port for another tenant. Changing this creates a new port.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property valueSpecs

public valueSpecs: pulumi.Output<{ ... } | undefined>;

Map of additional options.

class Router

Manages a V2 router resource within OpenStack.

constructor

new Router(name: string, args?: RouterArgs, opts?: pulumi.CustomResourceOptions)

Create a Router resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RouterState): Router

Get an existing Router resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property adminStateUp

public adminStateUp: pulumi.Output<boolean>;

Administrative up/down status for the router (must be “true” or “false” if provided). Changing this updates the admin_state_up of an existing router.

property availabilityZoneHints

public availabilityZoneHints: pulumi.Output<string[]>;

An availability zone is used to make network resources highly available. Used for resources with high availability so that they are scheduled on different availability zones. Changing this creates a new router.

property distributed

public distributed: pulumi.Output<boolean>;

Indicates whether or not to create a distributed router. The default policy setting in Neutron restricts usage of this property to administrative users only.

property enableSnat

public enableSnat: pulumi.Output<boolean>;

Enable Source NAT for the router. Valid values are “true” or “false”. An external_network_id has to be set in order to set this property. Changing this updates the enable_snat of the router.

property externalFixedIps

public externalFixedIps: pulumi.Output<{ ... }[]>;

An external fixed IP for the router. This can be repeated. The structure is described below. An external_network_id has to be set in order to set this property. Changing this updates the external fixed IPs of the router.

property externalGateway

public externalGateway: pulumi.Output<string>;

The network UUID of an external gateway for the router. A router with an external gateway is required if any compute instances or load balancers will be using floating IPs. Changing this updates the external gateway of an existing router.

property externalNetworkId

public externalNetworkId: pulumi.Output<string>;

The network UUID of an external gateway for the router. A router with an external gateway is required if any compute instances or load balancers will be using floating IPs. Changing this updates the external gateway of the router.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

A unique name for the router. Changing this updates the name of an existing router.

property region

public region: pulumi.Output<string>;

The region in which to obtain the V2 networking client. A networking client is needed to create a router. If omitted, the region argument of the provider is used. Changing this creates a new router.

property tenantId

public tenantId: pulumi.Output<string>;

The owner of the floating IP. Required if admin wants to create a router for another tenant. Changing this creates a new router.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property valueSpecs

public valueSpecs: pulumi.Output<{ ... } | undefined>;

Map of additional driver-specific options.

property vendorOptions

public vendorOptions: pulumi.Output<{ ... } | undefined>;

Map of additional vendor-specific options. Supported options are described below.

class RouterInterface

Manages a V2 router interface resource within OpenStack.

constructor

new RouterInterface(name: string, args: RouterInterfaceArgs, opts?: pulumi.CustomResourceOptions)

Create a RouterInterface resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RouterInterfaceState): RouterInterface

Get an existing RouterInterface resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property portId

public portId: pulumi.Output<string>;

ID of the port this interface connects to. Changing this creates a new router interface.

property region

public region: pulumi.Output<string>;

The region in which to obtain the V2 networking client. A networking client is needed to create a router. If omitted, the region argument of the provider is used. Changing this creates a new router interface.

property routerId

public routerId: pulumi.Output<string>;

ID of the router this interface belongs to. Changing this creates a new router interface.

property subnetId

public subnetId: pulumi.Output<string>;

ID of the subnet this interface connects to. Changing this creates a new router interface.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class RouterRoute

Creates a routing entry on a OpenStack V2 router.

constructor

new RouterRoute(name: string, args: RouterRouteArgs, opts?: pulumi.CustomResourceOptions)

Create a RouterRoute resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RouterRouteState): RouterRoute

Get an existing RouterRoute resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property destinationCidr

public destinationCidr: pulumi.Output<string>;

CIDR block to match on the packet’s destination IP. Changing this creates a new routing entry.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property nextHop

public nextHop: pulumi.Output<string>;

IP address of the next hop gateway. Changing this creates a new routing entry.

property region

public region: pulumi.Output<string>;

The region in which to obtain the V2 networking client. A networking client is needed to configure a routing entry on a router. If omitted, the region argument of the provider is used. Changing this creates a new routing entry.

property routerId

public routerId: pulumi.Output<string>;

ID of the router this routing entry belongs to. Changing this creates a new routing entry.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class SecGroup

Manages a V2 neutron security group resource within OpenStack. Unlike Nova security groups, neutron separates the group from the rules and also allows an admin to target a specific tenant_id.

constructor

new SecGroup(name: string, args?: SecGroupArgs, opts?: pulumi.CustomResourceOptions)

Create a SecGroup resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecGroupState): SecGroup

Get an existing SecGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property deleteDefaultRules

public deleteDefaultRules: pulumi.Output<boolean | undefined>;

Whether or not to delete the default egress security rules. This is false by default. See the below note for more information.

property description

public description: pulumi.Output<string>;

A unique name for the security group.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

A unique name for the security group.

property region

public region: pulumi.Output<string>;

The region in which to obtain the V2 networking client. A networking client is needed to create a port. If omitted, the region argument of the provider is used. Changing this creates a new security group.

property tenantId

public tenantId: pulumi.Output<string>;

The owner of the security group. Required if admin wants to create a port for another tenant. Changing this creates a new security group.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class SecGroupRule

Manages a V2 neutron security group rule resource within OpenStack. Unlike Nova security groups, neutron separates the group from the rules and also allows an admin to target a specific tenant_id.

constructor

new SecGroupRule(name: string, args: SecGroupRuleArgs, opts?: pulumi.CustomResourceOptions)

Create a SecGroupRule resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecGroupRuleState): SecGroupRule

Get an existing SecGroupRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property description

public description: pulumi.Output<string | undefined>;

A description of the rule. Changing this creates a new security group rule.

property direction

public direction: pulumi.Output<string>;

The direction of the rule, valid values are ingress or egress. Changing this creates a new security group rule.

property ethertype

public ethertype: pulumi.Output<string>;

The layer 3 protocol type, valid values are IPv4 or IPv6. Changing this creates a new security group rule.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property portRangeMax

public portRangeMax: pulumi.Output<number>;

The higher part of the allowed port range, valid integer value needs to be between 1 and 65535. Changing this creates a new security group rule.

property portRangeMin

public portRangeMin: pulumi.Output<number>;

The lower part of the allowed port range, valid integer value needs to be between 1 and 65535. Changing this creates a new security group rule.

property protocol

public protocol: pulumi.Output<string>;

The layer 4 protocol type, valid values are following. Changing this creates a new security group rule. This is required if you want to specify a port range.

  • tcp
  • udp
  • icmp
  • ah
  • dccp
  • egp
  • esp
  • gre
  • igmp
  • ipv6-encap
  • ipv6-frag
  • ipv6-icmp
  • ipv6-nonxt
  • ipv6-opts
  • ipv6-route
  • ospf
  • pgm
  • rsvp
  • sctp
  • udplite
  • vrrp

property region

public region: pulumi.Output<string>;

The region in which to obtain the V2 networking client. A networking client is needed to create a port. If omitted, the region argument of the provider is used. Changing this creates a new security group rule.

property remoteGroupId

public remoteGroupId: pulumi.Output<string>;

The remote group id, the value needs to be an Openstack ID of a security group in the same tenant. Changing this creates a new security group rule.

property remoteIpPrefix

public remoteIpPrefix: pulumi.Output<string>;

The remote CIDR, the value needs to be a valid CIDR (i.e. 192.168.0.0/16). Changing this creates a new security group rule.

property securityGroupId

public securityGroupId: pulumi.Output<string>;

The security group id the rule should belong to, the value needs to be an Openstack ID of a security group in the same tenant. Changing this creates a new security group rule.

property tenantId

public tenantId: pulumi.Output<string>;

The owner of the security group. Required if admin wants to create a port for another tenant. Changing this creates a new security group rule.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class Subnet

Manages a V2 Neutron subnet resource within OpenStack.

constructor

new Subnet(name: string, args: SubnetArgs, opts?: pulumi.CustomResourceOptions)

Create a Subnet resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SubnetState): Subnet

Get an existing Subnet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property allocationPools

public allocationPools: pulumi.Output<{ ... }[]>;

An array of sub-ranges of CIDR available for dynamic allocation to ports. The allocation_pool object structure is documented below. Changing this creates a new subnet.

property cidr

public cidr: pulumi.Output<string>;

CIDR representing IP range for this subnet, based on IP version. You can omit this option if you are creating a subnet from a subnet pool.

property dnsNameservers

public dnsNameservers: pulumi.Output<string[] | undefined>;

An array of DNS name server names used by hosts in this subnet. Changing this updates the DNS name servers for the existing subnet.

property enableDhcp

public enableDhcp: pulumi.Output<boolean | undefined>;

The administrative state of the network. Acceptable values are “true” and “false”. Changing this value enables or disables the DHCP capabilities of the existing subnet. Defaults to true.

property gatewayIp

public gatewayIp: pulumi.Output<string>;

Default gateway used by devices in this subnet. Leaving this blank and not setting no_gateway will cause a default gateway of .1 to be used. Changing this updates the gateway IP of the existing subnet.

property hostRoutes

public hostRoutes: pulumi.Output<{ ... }[] | undefined>;

An array of routes that should be used by devices with IPs from this subnet (not including local subnet route). The host_route object structure is documented below. Changing this updates the host routes for the existing subnet.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property ipVersion

public ipVersion: pulumi.Output<number | undefined>;

IP version, either 4 (default) or 6. Changing this creates a new subnet.

property ipv6AddressMode

public ipv6AddressMode: pulumi.Output<string>;

The IPv6 address mode. Valid values are dhcpv6-stateful, dhcpv6-stateless, or slaac.

property ipv6RaMode

public ipv6RaMode: pulumi.Output<string>;

The IPv6 Router Advertisement mode. Valid values are dhcpv6-stateful, dhcpv6-stateless, or slaac.

property name

public name: pulumi.Output<string>;

The name of the subnet. Changing this updates the name of the existing subnet.

property networkId

public networkId: pulumi.Output<string>;

The UUID of the parent network. Changing this creates a new subnet.

property noGateway

public noGateway: pulumi.Output<boolean | undefined>;

Do not set a gateway IP on this subnet. Changing this removes or adds a default gateway IP of the existing subnet.

property region

public region: pulumi.Output<string>;

The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron subnet. If omitted, the region argument of the provider is used. Changing this creates a new subnet.

property subnetpoolId

public subnetpoolId: pulumi.Output<string | undefined>;

The ID of the subnetpool associated with the subnet.

property tenantId

public tenantId: pulumi.Output<string>;

The owner of the subnet. Required if admin wants to create a subnet for another tenant. Changing this creates a new subnet.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property valueSpecs

public valueSpecs: pulumi.Output<{ ... } | undefined>;

Map of additional options.

class SubnetPool

Manages a V2 Neutron subnetpool resource within OpenStack.

constructor

new SubnetPool(name: string, args: SubnetPoolArgs, opts?: pulumi.CustomResourceOptions)

Create a SubnetPool resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SubnetPoolState): SubnetPool

Get an existing SubnetPool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property addressScopeId

public addressScopeId: pulumi.Output<string | undefined>;

The Neutron address scope to assign to the subnetpool. Changing this updates the address scope id of the existing subnetpool.

property createdAt

public createdAt: pulumi.Output<string>;

The time at which subnetpool was created.

property defaultPrefixlen

public defaultPrefixlen: pulumi.Output<number>;

The size of the prefix to allocate when the cidr or prefixlen attributes are omitted when you create the subnet. Defaults to the MinPrefixLen. Changing this updates the default prefixlen of the existing subnetpool.

property defaultQuota

public defaultQuota: pulumi.Output<number | undefined>;

The per-project quota on the prefix space that can be allocated from the subnetpool for project subnets. Changing this updates the default quota of the existing subnetpool.

property description

public description: pulumi.Output<string | undefined>;

The human-readable description for the subnetpool. Changing this updates the description of the existing subnetpool.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property ipVersion

public ipVersion: pulumi.Output<number>;

The IP protocol version.

property isDefault

public isDefault: pulumi.Output<boolean | undefined>;

Indicates whether the subnetpool is default subnetpool or not. Changing this updates the default status of the existing subnetpool.

property maxPrefixlen

public maxPrefixlen: pulumi.Output<number>;

The maximum prefix size that can be allocated from the subnetpool. For IPv4 subnetpools, default is 32. For IPv6 subnetpools, default is 128. Changing this updates the max prefixlen of the existing subnetpool.

property minPrefixlen

public minPrefixlen: pulumi.Output<number>;

The smallest prefix that can be allocated from a subnetpool. For IPv4 subnetpools, default is 8. For IPv6 subnetpools, default is 64. Changing this updates the min prefixlen of the existing subnetpool.

property name

public name: pulumi.Output<string>;

The name of the subnetpool. Changing this updates the name of the existing subnetpool.

property prefixes

public prefixes: pulumi.Output<string[]>;

A list of subnet prefixes to assign to the subnetpool. Neutron API merges adjacent prefixes and treats them as a single prefix. Each subnet prefix must be unique among all subnet prefixes in all subnetpools that are associated with the address scope. Changing this updates the prefixes list of the existing subnetpool.

property projectId

public projectId: pulumi.Output<string>;

The owner of the subnetpool. Required if admin wants to create a subnetpool for another project. Changing this creates a new subnetpool.

property region

public region: pulumi.Output<string>;

The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron subnetpool. If omitted, the region argument of the provider is used. Changing this creates a new subnetpool.

property revisionNumber

public revisionNumber: pulumi.Output<number>;

The revision number of the subnetpool.

property shared

public shared: pulumi.Output<boolean | undefined>;

Indicates whether this subnetpool is shared across all projects. Changing this updates the shared status of the existing subnetpool.

property updatedAt

public updatedAt: pulumi.Output<string>;

The time at which subnetpool was created.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property valueSpecs

public valueSpecs: pulumi.Output<{ ... } | undefined>;

Map of additional options.

class SubnetRoute

Creates a routing entry on a OpenStack V2 subnet.

constructor

new SubnetRoute(name: string, args: SubnetRouteArgs, opts?: pulumi.CustomResourceOptions)

Create a SubnetRoute resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SubnetRouteState): SubnetRoute

Get an existing SubnetRoute resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property destinationCidr

public destinationCidr: pulumi.Output<string>;

CIDR block to match on the packet’s destination IP. Changing this creates a new routing entry.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property nextHop

public nextHop: pulumi.Output<string>;

IP address of the next hop gateway. Changing this creates a new routing entry.

property region

public region: pulumi.Output<string>;

The region in which to obtain the V2 networking client. A networking client is needed to configure a routing entry on a subnet. If omitted, the region argument of the provider is used. Changing this creates a new routing entry.

property subnetId

public subnetId: pulumi.Output<string>;

ID of the subnet this routing entry belongs to. Changing this creates a new routing entry.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

function getFloatingIp

getFloatingIp(args?: GetFloatingIpArgs, opts?: pulumi.InvokeOptions): Promise<GetFloatingIpResult>

Use this data source to get the ID of an available OpenStack floating IP.

function getNetwork

getNetwork(args?: GetNetworkArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkResult>

Use this data source to get the ID of an available OpenStack network.

function getRouter

getRouter(args?: GetRouterArgs, opts?: pulumi.InvokeOptions): Promise<GetRouterResult>

Use this data source to get the ID of an available OpenStack router.

function getSecGroup

getSecGroup(args?: GetSecGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetSecGroupResult>

Use this data source to get the ID of an available OpenStack security group.

function getSubnet

getSubnet(args?: GetSubnetArgs, opts?: pulumi.InvokeOptions): Promise<GetSubnetResult>

Use this data source to get the ID of an available OpenStack subnet.

function getSubnetPool

getSubnetPool(args?: GetSubnetPoolArgs, opts?: pulumi.InvokeOptions): Promise<GetSubnetPoolResult>

Use this data source to get the ID of an available OpenStack subnetpool.

interface FloatingIpArgs

The set of arguments for constructing a FloatingIp resource.

property address

address?: pulumi.Input<string>;

The actual/specific floating IP to obtain. By default, non-admin users are not able to specify a floating IP, so you must either be an admin user or have had a custom policy or role applied to your OpenStack user or project.

property fixedIp

fixedIp?: pulumi.Input<string>;

Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.

property pool

pool: pulumi.Input<string>;

The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.

property portId

portId?: pulumi.Input<string>;

ID of an existing port with at least one IP address to associate with this floating IP.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 Networking client. A Networking client is needed to create a floating IP that can be used with another networking resource, such as a load balancer. If omitted, the region argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).

property subnetId

subnetId?: pulumi.Input<string>;

The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.

property tenantId

tenantId?: pulumi.Input<string>;

The target tenant ID in which to allocate the floating IP, if you specify this together with a port_id, make sure the target port belongs to the same tenant. Changing this creates a new floating IP (which may or may not have a different address)

property valueSpecs

valueSpecs?: pulumi.Input<{ ... }>;

Map of additional options.

interface FloatingIpAssociateArgs

The set of arguments for constructing a FloatingIpAssociate resource.

property floatingIp

floatingIp: pulumi.Input<string>;

IP Address of an existing floating IP.

property portId

portId: pulumi.Input<string>;

ID of an existing port with at least one IP address to associate with this floating IP.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 Networking client. A Networking client is needed to create a floating IP that can be used with another networking resource, such as a load balancer. If omitted, the region argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).

interface FloatingIpAssociateState

Input properties used for looking up and filtering FloatingIpAssociate resources.

property floatingIp

floatingIp?: pulumi.Input<string>;

IP Address of an existing floating IP.

property portId

portId?: pulumi.Input<string>;

ID of an existing port with at least one IP address to associate with this floating IP.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 Networking client. A Networking client is needed to create a floating IP that can be used with another networking resource, such as a load balancer. If omitted, the region argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).

interface FloatingIpState

Input properties used for looking up and filtering FloatingIp resources.

property address

address?: pulumi.Input<string>;

The actual/specific floating IP to obtain. By default, non-admin users are not able to specify a floating IP, so you must either be an admin user or have had a custom policy or role applied to your OpenStack user or project.

property fixedIp

fixedIp?: pulumi.Input<string>;

Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.

property pool

pool?: pulumi.Input<string>;

The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.

property portId

portId?: pulumi.Input<string>;

ID of an existing port with at least one IP address to associate with this floating IP.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 Networking client. A Networking client is needed to create a floating IP that can be used with another networking resource, such as a load balancer. If omitted, the region argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).

property subnetId

subnetId?: pulumi.Input<string>;

The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.

property tenantId

tenantId?: pulumi.Input<string>;

The target tenant ID in which to allocate the floating IP, if you specify this together with a port_id, make sure the target port belongs to the same tenant. Changing this creates a new floating IP (which may or may not have a different address)

property valueSpecs

valueSpecs?: pulumi.Input<{ ... }>;

Map of additional options.

interface GetFloatingIpArgs

A collection of arguments for invoking getFloatingIp.

property address

address?: string;

The IP address of the floating IP.

property fixedIp

fixedIp?: string;

The specific IP address of the internal port which should be associated with the floating IP.

property pool

pool?: string;

The name of the pool from which the floating IP belongs to.

property portId

portId?: string;

The ID of the port the floating IP is attached.

property region

region?: string;

The region in which to obtain the V2 Neutron client. A Neutron client is needed to retrieve floating IP ids. If omitted, the region argument of the provider is used.

property status

status?: string;

property tenantId

tenantId?: string;

The owner of the floating IP.

interface GetFloatingIpResult

A collection of values returned by getFloatingIp.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

interface GetNetworkArgs

A collection of arguments for invoking getNetwork.

property external

external?: boolean;

The external routing facility of the network.

property matchingSubnetCidr

matchingSubnetCidr?: string;

The CIDR of a subnet within the network.

property name

name?: string;

The name of the network.

property networkId

networkId?: string;

The ID of the network.

property region

region?: string;

The region in which to obtain the V2 Neutron client. A Neutron client is needed to retrieve networks ids. If omitted, the region argument of the provider is used.

property status

status?: string;

The status of the network.

property tenantId

tenantId?: string;

The owner of the network.

interface GetNetworkResult

A collection of values returned by getNetwork.

property adminStateUp

adminStateUp: string;

(Optional) The administrative state of the network.

property availabilityZoneHints

availabilityZoneHints: string[];

(Optional) The availability zone candidates for the network.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property region

region: string;

See Argument Reference above.

property shared

shared: string;

(Optional) Specifies whether the network resource can be accessed by any tenant or not.

interface GetRouterArgs

A collection of arguments for invoking getRouter.

property adminStateUp

adminStateUp?: boolean;

Administrative up/down status for the router (must be “true” or “false” if provided).

property distributed

distributed?: boolean;

Indicates whether or not to get a distributed router.

property enableSnat

enableSnat?: boolean;

property name

name?: string;

The name of the router.

property region

region?: string;

The region in which to obtain the V2 Neutron client. A Neutron client is needed to retrieve router ids. If omitted, the region argument of the provider is used.

property routerId

routerId?: string;

The UUID of the router resource.

property status

status?: string;

The status of the router (ACTIVE/DOWN).

property tenantId

tenantId?: string;

The owner of the router.

interface GetRouterResult

A collection of values returned by getRouter.

property availabilityZoneHints

availabilityZoneHints: string[];

The availability zone that is used to make router resources highly available.

property enableSnat

enableSnat: boolean;

The value that points out if the Source NAT is enabled on the router.

property externalFixedIps

externalFixedIps: { ... }[];

The external fixed IPs of the router.

property externalNetworkId

externalNetworkId: string;

The network UUID of an external gateway for the router.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

interface GetSecGroupArgs

A collection of arguments for invoking getSecGroup.

property name

name?: string;

The name of the security group.

property region

region?: string;

The region in which to obtain the V2 Neutron client. A Neutron client is needed to retrieve security groups ids. If omitted, the region argument of the provider is used.

property secgroupId

secgroupId?: string;

The ID of the security group.

property tenantId

tenantId?: string;

The owner of the security group.

interface GetSecGroupResult

A collection of values returned by getSecGroup.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property region

region: string;

See Argument Reference above.

property tenantId

tenantId: string;

interface GetSubnetArgs

A collection of arguments for invoking getSubnet.

property cidr

cidr?: string;

The CIDR of the subnet.

property dhcpDisabled

dhcpDisabled?: boolean;

If the subnet has DHCP disabled.

property dhcpEnabled

dhcpEnabled?: boolean;

If the subnet has DHCP enabled.

property gatewayIp

gatewayIp?: string;

The IP of the subnet’s gateway.

property ipVersion

ipVersion?: number;

The IP version of the subnet (either 4 or 6).

property ipv6AddressMode

ipv6AddressMode?: string;

The IPv6 address mode. Valid values are dhcpv6-stateful, dhcpv6-stateless, or slaac.

property ipv6RaMode

ipv6RaMode?: string;

The IPv6 Router Advertisement mode. Valid values are dhcpv6-stateful, dhcpv6-stateless, or slaac.

property name

name?: string;

The name of the subnet.

property networkId

networkId?: string;

The ID of the network the subnet belongs to.

property region

region?: string;

The region in which to obtain the V2 Neutron client. A Neutron client is needed to retrieve subnet ids. If omitted, the region argument of the provider is used.

property subnetId

subnetId?: string;

The ID of the subnet.

property subnetpoolId

subnetpoolId?: string;

The ID of the subnetpool associated with the subnet.

property tenantId

tenantId?: string;

The owner of the subnet.

interface GetSubnetPoolArgs

A collection of arguments for invoking getSubnetPool.

property addressScopeId

addressScopeId?: string;

The Neutron address scope that subnetpools is assigned to.

property defaultPrefixlen

defaultPrefixlen?: number;

The size of the subnetpool default prefix length.

property defaultQuota

defaultQuota?: number;

The per-project quota on the prefix space that can be allocated from the subnetpool for project subnets.

property description

description?: string;

The human-readable description for the subnetpool.

property ipVersion

ipVersion?: number;

The IP protocol version.

property isDefault

isDefault?: boolean;

Whether the subnetpool is default subnetpool or not.

property maxPrefixlen

maxPrefixlen?: number;

The size of the subnetpool max prefix length.

property minPrefixlen

minPrefixlen?: number;

The size of the subnetpool min prefix length.

property name

name?: string;

The name of the subnetpool.

property projectId

projectId?: string;

The owner of the subnetpool.

property region

region?: string;

The region in which to obtain the V2 Networking client. A Networking client is needed to retrieve a subnetpool id. If omitted, the region argument of the provider is used.

property shared

shared?: boolean;

Whether this subnetpool is shared across all projects.

interface GetSubnetPoolResult

A collection of values returned by getSubnetPool.

property addressScopeId

addressScopeId: string;

See Argument Reference above.

  • ip_version -The IP protocol version.

property createdAt

createdAt: string;

The time at which subnetpool was created.

property defaultPrefixlen

defaultPrefixlen: number;

See Argument Reference above.

property defaultQuota

defaultQuota: number;

See Argument Reference above.

property description

description: string;

See Argument Reference above.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property ipVersion

ipVersion: number;

property isDefault

isDefault: boolean;

See Argument Reference above.

property maxPrefixlen

maxPrefixlen: number;

See Argument Reference above.

property minPrefixlen

minPrefixlen: number;

See Argument Reference above.

property name

name: string;

See Argument Reference above.

property prefixes

prefixes: string[];

See Argument Reference above.

property projectId

projectId: string;

See Argument Reference above.

property region

region: string;

See Argument Reference above.

property revisionNumber

revisionNumber: number;

The revision number of the subnetpool.

property shared

shared: boolean;

See Argument Reference above.

property updatedAt

updatedAt: string;

The time at which subnetpool was created.

interface GetSubnetResult

A collection of values returned by getSubnet.

property allocationPools

allocationPools: { ... }[];

Allocation pools of the subnet.

property cidr

cidr: string;

property dnsNameservers

dnsNameservers: string[];

DNS Nameservers of the subnet.

property enableDhcp

enableDhcp: boolean;

Whether the subnet has DHCP enabled or not.

property gatewayIp

gatewayIp: string;

property hostRoutes

hostRoutes: { ... }[];

Host Routes of the subnet.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property ipVersion

ipVersion: number;

property ipv6AddressMode

ipv6AddressMode: string;

property ipv6RaMode

ipv6RaMode: string;

property name

name: string;

property networkId

networkId: string;

property region

region: string;

See Argument Reference above.

property subnetId

subnetId: string;

property subnetpoolId

subnetpoolId: string;

property tenantId

tenantId: string;

interface NetworkArgs

The set of arguments for constructing a Network resource.

property adminStateUp

adminStateUp?: pulumi.Input<string>;

The administrative state of the network. Acceptable values are “true” and “false”. Changing this value updates the state of the existing network.

property availabilityZoneHints

availabilityZoneHints?: pulumi.Input<pulumi.Input<string>[]>;

An availability zone is used to make network resources highly available. Used for resources with high availability so that they are scheduled on different availability zones. Changing this creates a new network.

property external

external?: pulumi.Input<boolean>;

Specifies whether the network resource has the external routing facility. Valid values are true and false. Defaults to false. Changing this updates the external attribute of the existing network.

property name

name?: pulumi.Input<string>;

The name of the network. Changing this updates the name of the existing network.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron network. If omitted, the region argument of the provider is used. Changing this creates a new network.

property segments

segments?: pulumi.Input<pulumi.Input<{ ... }>[]>;

An array of one or more provider segment objects.

property shared

shared?: pulumi.Input<string>;

Specifies whether the network resource can be accessed by any tenant or not. Changing this updates the sharing capabalities of the existing network.

property tenantId

tenantId?: pulumi.Input<string>;

The owner of the network. Required if admin wants to create a network for another tenant. Changing this creates a new network.

property valueSpecs

valueSpecs?: pulumi.Input<{ ... }>;

Map of additional options.

interface NetworkState

Input properties used for looking up and filtering Network resources.

property adminStateUp

adminStateUp?: pulumi.Input<string>;

The administrative state of the network. Acceptable values are “true” and “false”. Changing this value updates the state of the existing network.

property availabilityZoneHints

availabilityZoneHints?: pulumi.Input<pulumi.Input<string>[]>;

An availability zone is used to make network resources highly available. Used for resources with high availability so that they are scheduled on different availability zones. Changing this creates a new network.

property external

external?: pulumi.Input<boolean>;

Specifies whether the network resource has the external routing facility. Valid values are true and false. Defaults to false. Changing this updates the external attribute of the existing network.

property name

name?: pulumi.Input<string>;

The name of the network. Changing this updates the name of the existing network.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron network. If omitted, the region argument of the provider is used. Changing this creates a new network.

property segments

segments?: pulumi.Input<pulumi.Input<{ ... }>[]>;

An array of one or more provider segment objects.

property shared

shared?: pulumi.Input<string>;

Specifies whether the network resource can be accessed by any tenant or not. Changing this updates the sharing capabalities of the existing network.

property tenantId

tenantId?: pulumi.Input<string>;

The owner of the network. Required if admin wants to create a network for another tenant. Changing this creates a new network.

property valueSpecs

valueSpecs?: pulumi.Input<{ ... }>;

Map of additional options.

interface PortArgs

The set of arguments for constructing a Port resource.

property adminStateUp

adminStateUp?: pulumi.Input<boolean>;

Administrative up/down status for the port (must be “true” or “false” if provided). Changing this updates the admin_state_up of an existing port.

property allowedAddressPairs

allowedAddressPairs?: pulumi.Input<pulumi.Input<{ ... }>[]>;

An IP/MAC Address pair of additional IP addresses that can be active on this port. The structure is described below.

property deviceId

deviceId?: pulumi.Input<string>;

The ID of the device attached to the port. Changing this creates a new port.

property deviceOwner

deviceOwner?: pulumi.Input<string>;

The device owner of the Port. Changing this creates a new port.

property fixedIps

fixedIps?: pulumi.Input<pulumi.Input<{ ... }>[]>;

An array of desired IPs for this port. The structure is described below.

property macAddress

macAddress?: pulumi.Input<string>;

Specify a specific MAC address for the port. Changing this creates a new port.

property name

name?: pulumi.Input<string>;

A unique name for the port. Changing this updates the name of an existing port.

property networkId

networkId: pulumi.Input<string>;

The ID of the network to attach the port to. Changing this creates a new port.

property noFixedIp

noFixedIp?: pulumi.Input<boolean>;

Create a port with no fixed IP address. This will also remove any fixed IPs previously set on a port. true is the only valid value for this argument.

property noSecurityGroups

noSecurityGroups?: pulumi.Input<boolean>;

If set to true, then no security groups are applied to the port. If set to false and no security_group_ids are specified, then the Port will yield to the default behavior of the Networking service, which is to usually apply the “default” security group.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 networking client. A networking client is needed to create a port. If omitted, the region argument of the provider is used. Changing this creates a new port.

property securityGroupIds

securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;

A list of security group IDs to apply to the port. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).

property tenantId

tenantId?: pulumi.Input<string>;

The owner of the Port. Required if admin wants to create a port for another tenant. Changing this creates a new port.

property valueSpecs

valueSpecs?: pulumi.Input<{ ... }>;

Map of additional options.

interface PortState

Input properties used for looking up and filtering Port resources.

property adminStateUp

adminStateUp?: pulumi.Input<boolean>;

Administrative up/down status for the port (must be “true” or “false” if provided). Changing this updates the admin_state_up of an existing port.

property allFixedIps

allFixedIps?: pulumi.Input<pulumi.Input<string>[]>;

The collection of Fixed IP addresses on the port in the order returned by the Network v2 API.

property allSecurityGroupIds

allSecurityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;

The collection of Security Group IDs on the port which have been explicitly and implicitly added.

property allowedAddressPairs

allowedAddressPairs?: pulumi.Input<pulumi.Input<{ ... }>[]>;

An IP/MAC Address pair of additional IP addresses that can be active on this port. The structure is described below.

property deviceId

deviceId?: pulumi.Input<string>;

The ID of the device attached to the port. Changing this creates a new port.

property deviceOwner

deviceOwner?: pulumi.Input<string>;

The device owner of the Port. Changing this creates a new port.

property fixedIps

fixedIps?: pulumi.Input<pulumi.Input<{ ... }>[]>;

An array of desired IPs for this port. The structure is described below.

property macAddress

macAddress?: pulumi.Input<string>;

Specify a specific MAC address for the port. Changing this creates a new port.

property name

name?: pulumi.Input<string>;

A unique name for the port. Changing this updates the name of an existing port.

property networkId

networkId?: pulumi.Input<string>;

The ID of the network to attach the port to. Changing this creates a new port.

property noFixedIp

noFixedIp?: pulumi.Input<boolean>;

Create a port with no fixed IP address. This will also remove any fixed IPs previously set on a port. true is the only valid value for this argument.

property noSecurityGroups

noSecurityGroups?: pulumi.Input<boolean>;

If set to true, then no security groups are applied to the port. If set to false and no security_group_ids are specified, then the Port will yield to the default behavior of the Networking service, which is to usually apply the “default” security group.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 networking client. A networking client is needed to create a port. If omitted, the region argument of the provider is used. Changing this creates a new port.

property securityGroupIds

securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;

A list of security group IDs to apply to the port. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).

property tenantId

tenantId?: pulumi.Input<string>;

The owner of the Port. Required if admin wants to create a port for another tenant. Changing this creates a new port.

property valueSpecs

valueSpecs?: pulumi.Input<{ ... }>;

Map of additional options.

interface RouterArgs

The set of arguments for constructing a Router resource.

property adminStateUp

adminStateUp?: pulumi.Input<boolean>;

Administrative up/down status for the router (must be “true” or “false” if provided). Changing this updates the admin_state_up of an existing router.

property availabilityZoneHints

availabilityZoneHints?: pulumi.Input<pulumi.Input<string>[]>;

An availability zone is used to make network resources highly available. Used for resources with high availability so that they are scheduled on different availability zones. Changing this creates a new router.

property distributed

distributed?: pulumi.Input<boolean>;

Indicates whether or not to create a distributed router. The default policy setting in Neutron restricts usage of this property to administrative users only.

property enableSnat

enableSnat?: pulumi.Input<boolean>;

Enable Source NAT for the router. Valid values are “true” or “false”. An external_network_id has to be set in order to set this property. Changing this updates the enable_snat of the router.

property externalFixedIps

externalFixedIps?: pulumi.Input<pulumi.Input<{ ... }>[]>;

An external fixed IP for the router. This can be repeated. The structure is described below. An external_network_id has to be set in order to set this property. Changing this updates the external fixed IPs of the router.

property externalGateway

externalGateway?: pulumi.Input<string>;

The network UUID of an external gateway for the router. A router with an external gateway is required if any compute instances or load balancers will be using floating IPs. Changing this updates the external gateway of an existing router.

property externalNetworkId

externalNetworkId?: pulumi.Input<string>;

The network UUID of an external gateway for the router. A router with an external gateway is required if any compute instances or load balancers will be using floating IPs. Changing this updates the external gateway of the router.

property name

name?: pulumi.Input<string>;

A unique name for the router. Changing this updates the name of an existing router.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 networking client. A networking client is needed to create a router. If omitted, the region argument of the provider is used. Changing this creates a new router.

property tenantId

tenantId?: pulumi.Input<string>;

The owner of the floating IP. Required if admin wants to create a router for another tenant. Changing this creates a new router.

property valueSpecs

valueSpecs?: pulumi.Input<{ ... }>;

Map of additional driver-specific options.

property vendorOptions

vendorOptions?: pulumi.Input<{ ... }>;

Map of additional vendor-specific options. Supported options are described below.

interface RouterInterfaceArgs

The set of arguments for constructing a RouterInterface resource.

property portId

portId?: pulumi.Input<string>;

ID of the port this interface connects to. Changing this creates a new router interface.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 networking client. A networking client is needed to create a router. If omitted, the region argument of the provider is used. Changing this creates a new router interface.

property routerId

routerId: pulumi.Input<string>;

ID of the router this interface belongs to. Changing this creates a new router interface.

property subnetId

subnetId?: pulumi.Input<string>;

ID of the subnet this interface connects to. Changing this creates a new router interface.

interface RouterInterfaceState

Input properties used for looking up and filtering RouterInterface resources.

property portId

portId?: pulumi.Input<string>;

ID of the port this interface connects to. Changing this creates a new router interface.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 networking client. A networking client is needed to create a router. If omitted, the region argument of the provider is used. Changing this creates a new router interface.

property routerId

routerId?: pulumi.Input<string>;

ID of the router this interface belongs to. Changing this creates a new router interface.

property subnetId

subnetId?: pulumi.Input<string>;

ID of the subnet this interface connects to. Changing this creates a new router interface.

interface RouterRouteArgs

The set of arguments for constructing a RouterRoute resource.

property destinationCidr

destinationCidr: pulumi.Input<string>;

CIDR block to match on the packet’s destination IP. Changing this creates a new routing entry.

property nextHop

nextHop: pulumi.Input<string>;

IP address of the next hop gateway. Changing this creates a new routing entry.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 networking client. A networking client is needed to configure a routing entry on a router. If omitted, the region argument of the provider is used. Changing this creates a new routing entry.

property routerId

routerId: pulumi.Input<string>;

ID of the router this routing entry belongs to. Changing this creates a new routing entry.

interface RouterRouteState

Input properties used for looking up and filtering RouterRoute resources.

property destinationCidr

destinationCidr?: pulumi.Input<string>;

CIDR block to match on the packet’s destination IP. Changing this creates a new routing entry.

property nextHop

nextHop?: pulumi.Input<string>;

IP address of the next hop gateway. Changing this creates a new routing entry.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 networking client. A networking client is needed to configure a routing entry on a router. If omitted, the region argument of the provider is used. Changing this creates a new routing entry.

property routerId

routerId?: pulumi.Input<string>;

ID of the router this routing entry belongs to. Changing this creates a new routing entry.

interface RouterState

Input properties used for looking up and filtering Router resources.

property adminStateUp

adminStateUp?: pulumi.Input<boolean>;

Administrative up/down status for the router (must be “true” or “false” if provided). Changing this updates the admin_state_up of an existing router.

property availabilityZoneHints

availabilityZoneHints?: pulumi.Input<pulumi.Input<string>[]>;

An availability zone is used to make network resources highly available. Used for resources with high availability so that they are scheduled on different availability zones. Changing this creates a new router.

property distributed

distributed?: pulumi.Input<boolean>;

Indicates whether or not to create a distributed router. The default policy setting in Neutron restricts usage of this property to administrative users only.

property enableSnat

enableSnat?: pulumi.Input<boolean>;

Enable Source NAT for the router. Valid values are “true” or “false”. An external_network_id has to be set in order to set this property. Changing this updates the enable_snat of the router.

property externalFixedIps

externalFixedIps?: pulumi.Input<pulumi.Input<{ ... }>[]>;

An external fixed IP for the router. This can be repeated. The structure is described below. An external_network_id has to be set in order to set this property. Changing this updates the external fixed IPs of the router.

property externalGateway

externalGateway?: pulumi.Input<string>;

The network UUID of an external gateway for the router. A router with an external gateway is required if any compute instances or load balancers will be using floating IPs. Changing this updates the external gateway of an existing router.

property externalNetworkId

externalNetworkId?: pulumi.Input<string>;

The network UUID of an external gateway for the router. A router with an external gateway is required if any compute instances or load balancers will be using floating IPs. Changing this updates the external gateway of the router.

property name

name?: pulumi.Input<string>;

A unique name for the router. Changing this updates the name of an existing router.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 networking client. A networking client is needed to create a router. If omitted, the region argument of the provider is used. Changing this creates a new router.

property tenantId

tenantId?: pulumi.Input<string>;

The owner of the floating IP. Required if admin wants to create a router for another tenant. Changing this creates a new router.

property valueSpecs

valueSpecs?: pulumi.Input<{ ... }>;

Map of additional driver-specific options.

property vendorOptions

vendorOptions?: pulumi.Input<{ ... }>;

Map of additional vendor-specific options. Supported options are described below.

interface SecGroupArgs

The set of arguments for constructing a SecGroup resource.

property deleteDefaultRules

deleteDefaultRules?: pulumi.Input<boolean>;

Whether or not to delete the default egress security rules. This is false by default. See the below note for more information.

property description

description?: pulumi.Input<string>;

A unique name for the security group.

property name

name?: pulumi.Input<string>;

A unique name for the security group.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 networking client. A networking client is needed to create a port. If omitted, the region argument of the provider is used. Changing this creates a new security group.

property tenantId

tenantId?: pulumi.Input<string>;

The owner of the security group. Required if admin wants to create a port for another tenant. Changing this creates a new security group.

interface SecGroupRuleArgs

The set of arguments for constructing a SecGroupRule resource.

property description

description?: pulumi.Input<string>;

A description of the rule. Changing this creates a new security group rule.

property direction

direction: pulumi.Input<string>;

The direction of the rule, valid values are ingress or egress. Changing this creates a new security group rule.

property ethertype

ethertype: pulumi.Input<string>;

The layer 3 protocol type, valid values are IPv4 or IPv6. Changing this creates a new security group rule.

property portRangeMax

portRangeMax?: pulumi.Input<number>;

The higher part of the allowed port range, valid integer value needs to be between 1 and 65535. Changing this creates a new security group rule.

property portRangeMin

portRangeMin?: pulumi.Input<number>;

The lower part of the allowed port range, valid integer value needs to be between 1 and 65535. Changing this creates a new security group rule.

property protocol

protocol?: pulumi.Input<string>;

The layer 4 protocol type, valid values are following. Changing this creates a new security group rule. This is required if you want to specify a port range.

  • tcp
  • udp
  • icmp
  • ah
  • dccp
  • egp
  • esp
  • gre
  • igmp
  • ipv6-encap
  • ipv6-frag
  • ipv6-icmp
  • ipv6-nonxt
  • ipv6-opts
  • ipv6-route
  • ospf
  • pgm
  • rsvp
  • sctp
  • udplite
  • vrrp

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 networking client. A networking client is needed to create a port. If omitted, the region argument of the provider is used. Changing this creates a new security group rule.

property remoteGroupId

remoteGroupId?: pulumi.Input<string>;

The remote group id, the value needs to be an Openstack ID of a security group in the same tenant. Changing this creates a new security group rule.

property remoteIpPrefix

remoteIpPrefix?: pulumi.Input<string>;

The remote CIDR, the value needs to be a valid CIDR (i.e. 192.168.0.0/16). Changing this creates a new security group rule.

property securityGroupId

securityGroupId: pulumi.Input<string>;

The security group id the rule should belong to, the value needs to be an Openstack ID of a security group in the same tenant. Changing this creates a new security group rule.

property tenantId

tenantId?: pulumi.Input<string>;

The owner of the security group. Required if admin wants to create a port for another tenant. Changing this creates a new security group rule.

interface SecGroupRuleState

Input properties used for looking up and filtering SecGroupRule resources.

property description

description?: pulumi.Input<string>;

A description of the rule. Changing this creates a new security group rule.

property direction

direction?: pulumi.Input<string>;

The direction of the rule, valid values are ingress or egress. Changing this creates a new security group rule.

property ethertype

ethertype?: pulumi.Input<string>;

The layer 3 protocol type, valid values are IPv4 or IPv6. Changing this creates a new security group rule.

property portRangeMax

portRangeMax?: pulumi.Input<number>;

The higher part of the allowed port range, valid integer value needs to be between 1 and 65535. Changing this creates a new security group rule.

property portRangeMin

portRangeMin?: pulumi.Input<number>;

The lower part of the allowed port range, valid integer value needs to be between 1 and 65535. Changing this creates a new security group rule.

property protocol

protocol?: pulumi.Input<string>;

The layer 4 protocol type, valid values are following. Changing this creates a new security group rule. This is required if you want to specify a port range.

  • tcp
  • udp
  • icmp
  • ah
  • dccp
  • egp
  • esp
  • gre
  • igmp
  • ipv6-encap
  • ipv6-frag
  • ipv6-icmp
  • ipv6-nonxt
  • ipv6-opts
  • ipv6-route
  • ospf
  • pgm
  • rsvp
  • sctp
  • udplite
  • vrrp

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 networking client. A networking client is needed to create a port. If omitted, the region argument of the provider is used. Changing this creates a new security group rule.

property remoteGroupId

remoteGroupId?: pulumi.Input<string>;

The remote group id, the value needs to be an Openstack ID of a security group in the same tenant. Changing this creates a new security group rule.

property remoteIpPrefix

remoteIpPrefix?: pulumi.Input<string>;

The remote CIDR, the value needs to be a valid CIDR (i.e. 192.168.0.0/16). Changing this creates a new security group rule.

property securityGroupId

securityGroupId?: pulumi.Input<string>;

The security group id the rule should belong to, the value needs to be an Openstack ID of a security group in the same tenant. Changing this creates a new security group rule.

property tenantId

tenantId?: pulumi.Input<string>;

The owner of the security group. Required if admin wants to create a port for another tenant. Changing this creates a new security group rule.

interface SecGroupState

Input properties used for looking up and filtering SecGroup resources.

property deleteDefaultRules

deleteDefaultRules?: pulumi.Input<boolean>;

Whether or not to delete the default egress security rules. This is false by default. See the below note for more information.

property description

description?: pulumi.Input<string>;

A unique name for the security group.

property name

name?: pulumi.Input<string>;

A unique name for the security group.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 networking client. A networking client is needed to create a port. If omitted, the region argument of the provider is used. Changing this creates a new security group.

property tenantId

tenantId?: pulumi.Input<string>;

The owner of the security group. Required if admin wants to create a port for another tenant. Changing this creates a new security group.

interface SubnetArgs

The set of arguments for constructing a Subnet resource.

property allocationPools

allocationPools?: pulumi.Input<pulumi.Input<{ ... }>[]>;

An array of sub-ranges of CIDR available for dynamic allocation to ports. The allocation_pool object structure is documented below. Changing this creates a new subnet.

property cidr

cidr?: pulumi.Input<string>;

CIDR representing IP range for this subnet, based on IP version. You can omit this option if you are creating a subnet from a subnet pool.

property dnsNameservers

dnsNameservers?: pulumi.Input<pulumi.Input<string>[]>;

An array of DNS name server names used by hosts in this subnet. Changing this updates the DNS name servers for the existing subnet.

property enableDhcp

enableDhcp?: pulumi.Input<boolean>;

The administrative state of the network. Acceptable values are “true” and “false”. Changing this value enables or disables the DHCP capabilities of the existing subnet. Defaults to true.

property gatewayIp

gatewayIp?: pulumi.Input<string>;

Default gateway used by devices in this subnet. Leaving this blank and not setting no_gateway will cause a default gateway of .1 to be used. Changing this updates the gateway IP of the existing subnet.

property hostRoutes

hostRoutes?: pulumi.Input<pulumi.Input<{ ... }>[]>;

An array of routes that should be used by devices with IPs from this subnet (not including local subnet route). The host_route object structure is documented below. Changing this updates the host routes for the existing subnet.

property ipVersion

ipVersion?: pulumi.Input<number>;

IP version, either 4 (default) or 6. Changing this creates a new subnet.

property ipv6AddressMode

ipv6AddressMode?: pulumi.Input<string>;

The IPv6 address mode. Valid values are dhcpv6-stateful, dhcpv6-stateless, or slaac.

property ipv6RaMode

ipv6RaMode?: pulumi.Input<string>;

The IPv6 Router Advertisement mode. Valid values are dhcpv6-stateful, dhcpv6-stateless, or slaac.

property name

name?: pulumi.Input<string>;

The name of the subnet. Changing this updates the name of the existing subnet.

property networkId

networkId: pulumi.Input<string>;

The UUID of the parent network. Changing this creates a new subnet.

property noGateway

noGateway?: pulumi.Input<boolean>;

Do not set a gateway IP on this subnet. Changing this removes or adds a default gateway IP of the existing subnet.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron subnet. If omitted, the region argument of the provider is used. Changing this creates a new subnet.

property subnetpoolId

subnetpoolId?: pulumi.Input<string>;

The ID of the subnetpool associated with the subnet.

property tenantId

tenantId?: pulumi.Input<string>;

The owner of the subnet. Required if admin wants to create a subnet for another tenant. Changing this creates a new subnet.

property valueSpecs

valueSpecs?: pulumi.Input<{ ... }>;

Map of additional options.

interface SubnetPoolArgs

The set of arguments for constructing a SubnetPool resource.

property addressScopeId

addressScopeId?: pulumi.Input<string>;

The Neutron address scope to assign to the subnetpool. Changing this updates the address scope id of the existing subnetpool.

property defaultPrefixlen

defaultPrefixlen?: pulumi.Input<number>;

The size of the prefix to allocate when the cidr or prefixlen attributes are omitted when you create the subnet. Defaults to the MinPrefixLen. Changing this updates the default prefixlen of the existing subnetpool.

property defaultQuota

defaultQuota?: pulumi.Input<number>;

The per-project quota on the prefix space that can be allocated from the subnetpool for project subnets. Changing this updates the default quota of the existing subnetpool.

property description

description?: pulumi.Input<string>;

The human-readable description for the subnetpool. Changing this updates the description of the existing subnetpool.

property ipVersion

ipVersion?: pulumi.Input<number>;

The IP protocol version.

property isDefault

isDefault?: pulumi.Input<boolean>;

Indicates whether the subnetpool is default subnetpool or not. Changing this updates the default status of the existing subnetpool.

property maxPrefixlen

maxPrefixlen?: pulumi.Input<number>;

The maximum prefix size that can be allocated from the subnetpool. For IPv4 subnetpools, default is 32. For IPv6 subnetpools, default is 128. Changing this updates the max prefixlen of the existing subnetpool.

property minPrefixlen

minPrefixlen?: pulumi.Input<number>;

The smallest prefix that can be allocated from a subnetpool. For IPv4 subnetpools, default is 8. For IPv6 subnetpools, default is 64. Changing this updates the min prefixlen of the existing subnetpool.

property name

name?: pulumi.Input<string>;

The name of the subnetpool. Changing this updates the name of the existing subnetpool.

property prefixes

prefixes: pulumi.Input<pulumi.Input<string>[]>;

A list of subnet prefixes to assign to the subnetpool. Neutron API merges adjacent prefixes and treats them as a single prefix. Each subnet prefix must be unique among all subnet prefixes in all subnetpools that are associated with the address scope. Changing this updates the prefixes list of the existing subnetpool.

property projectId

projectId?: pulumi.Input<string>;

The owner of the subnetpool. Required if admin wants to create a subnetpool for another project. Changing this creates a new subnetpool.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron subnetpool. If omitted, the region argument of the provider is used. Changing this creates a new subnetpool.

property shared

shared?: pulumi.Input<boolean>;

Indicates whether this subnetpool is shared across all projects. Changing this updates the shared status of the existing subnetpool.

property valueSpecs

valueSpecs?: pulumi.Input<{ ... }>;

Map of additional options.

interface SubnetPoolState

Input properties used for looking up and filtering SubnetPool resources.

property addressScopeId

addressScopeId?: pulumi.Input<string>;

The Neutron address scope to assign to the subnetpool. Changing this updates the address scope id of the existing subnetpool.

property createdAt

createdAt?: pulumi.Input<string>;

The time at which subnetpool was created.

property defaultPrefixlen

defaultPrefixlen?: pulumi.Input<number>;

The size of the prefix to allocate when the cidr or prefixlen attributes are omitted when you create the subnet. Defaults to the MinPrefixLen. Changing this updates the default prefixlen of the existing subnetpool.

property defaultQuota

defaultQuota?: pulumi.Input<number>;

The per-project quota on the prefix space that can be allocated from the subnetpool for project subnets. Changing this updates the default quota of the existing subnetpool.

property description

description?: pulumi.Input<string>;

The human-readable description for the subnetpool. Changing this updates the description of the existing subnetpool.

property ipVersion

ipVersion?: pulumi.Input<number>;

The IP protocol version.

property isDefault

isDefault?: pulumi.Input<boolean>;

Indicates whether the subnetpool is default subnetpool or not. Changing this updates the default status of the existing subnetpool.

property maxPrefixlen

maxPrefixlen?: pulumi.Input<number>;

The maximum prefix size that can be allocated from the subnetpool. For IPv4 subnetpools, default is 32. For IPv6 subnetpools, default is 128. Changing this updates the max prefixlen of the existing subnetpool.

property minPrefixlen

minPrefixlen?: pulumi.Input<number>;

The smallest prefix that can be allocated from a subnetpool. For IPv4 subnetpools, default is 8. For IPv6 subnetpools, default is 64. Changing this updates the min prefixlen of the existing subnetpool.

property name

name?: pulumi.Input<string>;

The name of the subnetpool. Changing this updates the name of the existing subnetpool.

property prefixes

prefixes?: pulumi.Input<pulumi.Input<string>[]>;

A list of subnet prefixes to assign to the subnetpool. Neutron API merges adjacent prefixes and treats them as a single prefix. Each subnet prefix must be unique among all subnet prefixes in all subnetpools that are associated with the address scope. Changing this updates the prefixes list of the existing subnetpool.

property projectId

projectId?: pulumi.Input<string>;

The owner of the subnetpool. Required if admin wants to create a subnetpool for another project. Changing this creates a new subnetpool.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron subnetpool. If omitted, the region argument of the provider is used. Changing this creates a new subnetpool.

property revisionNumber

revisionNumber?: pulumi.Input<number>;

The revision number of the subnetpool.

property shared

shared?: pulumi.Input<boolean>;

Indicates whether this subnetpool is shared across all projects. Changing this updates the shared status of the existing subnetpool.

property updatedAt

updatedAt?: pulumi.Input<string>;

The time at which subnetpool was created.

property valueSpecs

valueSpecs?: pulumi.Input<{ ... }>;

Map of additional options.

interface SubnetRouteArgs

The set of arguments for constructing a SubnetRoute resource.

property destinationCidr

destinationCidr: pulumi.Input<string>;

CIDR block to match on the packet’s destination IP. Changing this creates a new routing entry.

property nextHop

nextHop: pulumi.Input<string>;

IP address of the next hop gateway. Changing this creates a new routing entry.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 networking client. A networking client is needed to configure a routing entry on a subnet. If omitted, the region argument of the provider is used. Changing this creates a new routing entry.

property subnetId

subnetId: pulumi.Input<string>;

ID of the subnet this routing entry belongs to. Changing this creates a new routing entry.

interface SubnetRouteState

Input properties used for looking up and filtering SubnetRoute resources.

property destinationCidr

destinationCidr?: pulumi.Input<string>;

CIDR block to match on the packet’s destination IP. Changing this creates a new routing entry.

property nextHop

nextHop?: pulumi.Input<string>;

IP address of the next hop gateway. Changing this creates a new routing entry.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 networking client. A networking client is needed to configure a routing entry on a subnet. If omitted, the region argument of the provider is used. Changing this creates a new routing entry.

property subnetId

subnetId?: pulumi.Input<string>;

ID of the subnet this routing entry belongs to. Changing this creates a new routing entry.

interface SubnetState

Input properties used for looking up and filtering Subnet resources.

property allocationPools

allocationPools?: pulumi.Input<pulumi.Input<{ ... }>[]>;

An array of sub-ranges of CIDR available for dynamic allocation to ports. The allocation_pool object structure is documented below. Changing this creates a new subnet.

property cidr

cidr?: pulumi.Input<string>;

CIDR representing IP range for this subnet, based on IP version. You can omit this option if you are creating a subnet from a subnet pool.

property dnsNameservers

dnsNameservers?: pulumi.Input<pulumi.Input<string>[]>;

An array of DNS name server names used by hosts in this subnet. Changing this updates the DNS name servers for the existing subnet.

property enableDhcp

enableDhcp?: pulumi.Input<boolean>;

The administrative state of the network. Acceptable values are “true” and “false”. Changing this value enables or disables the DHCP capabilities of the existing subnet. Defaults to true.

property gatewayIp

gatewayIp?: pulumi.Input<string>;

Default gateway used by devices in this subnet. Leaving this blank and not setting no_gateway will cause a default gateway of .1 to be used. Changing this updates the gateway IP of the existing subnet.

property hostRoutes

hostRoutes?: pulumi.Input<pulumi.Input<{ ... }>[]>;

An array of routes that should be used by devices with IPs from this subnet (not including local subnet route). The host_route object structure is documented below. Changing this updates the host routes for the existing subnet.

property ipVersion

ipVersion?: pulumi.Input<number>;

IP version, either 4 (default) or 6. Changing this creates a new subnet.

property ipv6AddressMode

ipv6AddressMode?: pulumi.Input<string>;

The IPv6 address mode. Valid values are dhcpv6-stateful, dhcpv6-stateless, or slaac.

property ipv6RaMode

ipv6RaMode?: pulumi.Input<string>;

The IPv6 Router Advertisement mode. Valid values are dhcpv6-stateful, dhcpv6-stateless, or slaac.

property name

name?: pulumi.Input<string>;

The name of the subnet. Changing this updates the name of the existing subnet.

property networkId

networkId?: pulumi.Input<string>;

The UUID of the parent network. Changing this creates a new subnet.

property noGateway

noGateway?: pulumi.Input<boolean>;

Do not set a gateway IP on this subnet. Changing this removes or adds a default gateway IP of the existing subnet.

property region

region?: pulumi.Input<string>;

The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron subnet. If omitted, the region argument of the provider is used. Changing this creates a new subnet.

property subnetpoolId

subnetpoolId?: pulumi.Input<string>;

The ID of the subnetpool associated with the subnet.

property tenantId

tenantId?: pulumi.Input<string>;

The owner of the subnet. Required if admin wants to create a subnet for another tenant. Changing this creates a new subnet.

property valueSpecs

valueSpecs?: pulumi.Input<{ ... }>;

Map of additional options.