Ovh

v0.0.4 published on Saturday, Sep 17, 2022 by lbrlabs

CloudProjectNetworkPrivateSubnet

Creates a subnet in a private network of a public cloud project.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Ovh = Lbrlabs.PulumiPackage.Ovh;

return await Deployment.RunAsync(() => 
{
    var subnet = new Ovh.CloudProjectNetworkPrivateSubnet("subnet", new()
    {
        Dhcp = true,
        End = "192.168.168.200",
        Network = "192.168.168.0/24",
        NetworkId = "0234543",
        NoGateway = false,
        Region = "GRA1",
        ServiceName = "xxxxx",
        Start = "192.168.168.100",
    });

});
package main

import (
	"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ovh.NewCloudProjectNetworkPrivateSubnet(ctx, "subnet", &ovh.CloudProjectNetworkPrivateSubnetArgs{
			Dhcp:        pulumi.Bool(true),
			End:         pulumi.String("192.168.168.200"),
			Network:     pulumi.String("192.168.168.0/24"),
			NetworkId:   pulumi.String("0234543"),
			NoGateway:   pulumi.Bool(false),
			Region:      pulumi.String("GRA1"),
			ServiceName: pulumi.String("xxxxx"),
			Start:       pulumi.String("192.168.168.100"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.CloudProjectNetworkPrivateSubnet;
import com.pulumi.ovh.CloudProjectNetworkPrivateSubnetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var subnet = new CloudProjectNetworkPrivateSubnet("subnet", CloudProjectNetworkPrivateSubnetArgs.builder()        
            .dhcp(true)
            .end("192.168.168.200")
            .network("192.168.168.0/24")
            .networkId("0234543")
            .noGateway(false)
            .region("GRA1")
            .serviceName("xxxxx")
            .start("192.168.168.100")
            .build());

    }
}
import pulumi
import lbrlabs_pulumi_ovh as ovh

subnet = ovh.CloudProjectNetworkPrivateSubnet("subnet",
    dhcp=True,
    end="192.168.168.200",
    network="192.168.168.0/24",
    network_id="0234543",
    no_gateway=False,
    region="GRA1",
    service_name="xxxxx",
    start="192.168.168.100")
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@pulumi/ovh";

const subnet = new ovh.CloudProjectNetworkPrivateSubnet("subnet", {
    dhcp: true,
    end: "192.168.168.200",
    network: "192.168.168.0/24",
    networkId: "0234543",
    noGateway: false,
    region: "GRA1",
    serviceName: "xxxxx",
    start: "192.168.168.100",
});
resources:
  subnet:
    type: ovh:CloudProjectNetworkPrivateSubnet
    properties:
      dhcp: true
      end: 192.168.168.200
      network: 192.168.168.0/24
      networkId: 0234543
      noGateway: false
      region: GRA1
      serviceName: xxxxx
      start: 192.168.168.100

Create a CloudProjectNetworkPrivateSubnet Resource

new CloudProjectNetworkPrivateSubnet(name: string, args: CloudProjectNetworkPrivateSubnetArgs, opts?: CustomResourceOptions);
@overload
def CloudProjectNetworkPrivateSubnet(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     dhcp: Optional[bool] = None,
                                     end: Optional[str] = None,
                                     network: Optional[str] = None,
                                     network_id: Optional[str] = None,
                                     no_gateway: Optional[bool] = None,
                                     region: Optional[str] = None,
                                     service_name: Optional[str] = None,
                                     start: Optional[str] = None)
@overload
def CloudProjectNetworkPrivateSubnet(resource_name: str,
                                     args: CloudProjectNetworkPrivateSubnetArgs,
                                     opts: Optional[ResourceOptions] = None)
func NewCloudProjectNetworkPrivateSubnet(ctx *Context, name string, args CloudProjectNetworkPrivateSubnetArgs, opts ...ResourceOption) (*CloudProjectNetworkPrivateSubnet, error)
public CloudProjectNetworkPrivateSubnet(string name, CloudProjectNetworkPrivateSubnetArgs args, CustomResourceOptions? opts = null)
public CloudProjectNetworkPrivateSubnet(String name, CloudProjectNetworkPrivateSubnetArgs args)
public CloudProjectNetworkPrivateSubnet(String name, CloudProjectNetworkPrivateSubnetArgs args, CustomResourceOptions options)
type: ovh:CloudProjectNetworkPrivateSubnet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CloudProjectNetworkPrivateSubnetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args CloudProjectNetworkPrivateSubnetArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args CloudProjectNetworkPrivateSubnetArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CloudProjectNetworkPrivateSubnetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CloudProjectNetworkPrivateSubnetArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CloudProjectNetworkPrivateSubnet Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The CloudProjectNetworkPrivateSubnet resource accepts the following input properties:

End string

Last ip for this region. Changing this value recreates the subnet.

Network string

Global network in CIDR format. Changing this value recreates the subnet

NetworkId string

The id of the network. Changing this forces a new resource to be created.

Region string

The region in which the network subnet will be created. Ex.: "GRA1". Changing this value recreates the resource.

ServiceName string

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

Start string

First ip for this region. Changing this value recreates the subnet.

Dhcp bool

Enable DHCP. Changing this forces a new resource to be created. Defaults to false. _

NoGateway bool

Set to true if you don't want to set a default gateway IP. Changing this value recreates the resource. Defaults to false.

End string

Last ip for this region. Changing this value recreates the subnet.

Network string

Global network in CIDR format. Changing this value recreates the subnet

NetworkId string

The id of the network. Changing this forces a new resource to be created.

Region string

The region in which the network subnet will be created. Ex.: "GRA1". Changing this value recreates the resource.

ServiceName string

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

Start string

First ip for this region. Changing this value recreates the subnet.

Dhcp bool

Enable DHCP. Changing this forces a new resource to be created. Defaults to false. _

NoGateway bool

Set to true if you don't want to set a default gateway IP. Changing this value recreates the resource. Defaults to false.

end String

Last ip for this region. Changing this value recreates the subnet.

network String

Global network in CIDR format. Changing this value recreates the subnet

networkId String

The id of the network. Changing this forces a new resource to be created.

region String

The region in which the network subnet will be created. Ex.: "GRA1". Changing this value recreates the resource.

serviceName String

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

start String

First ip for this region. Changing this value recreates the subnet.

dhcp Boolean

Enable DHCP. Changing this forces a new resource to be created. Defaults to false. _

noGateway Boolean

Set to true if you don't want to set a default gateway IP. Changing this value recreates the resource. Defaults to false.

end string

Last ip for this region. Changing this value recreates the subnet.

network string

Global network in CIDR format. Changing this value recreates the subnet

networkId string

The id of the network. Changing this forces a new resource to be created.

region string

The region in which the network subnet will be created. Ex.: "GRA1". Changing this value recreates the resource.

serviceName string

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

start string

First ip for this region. Changing this value recreates the subnet.

dhcp boolean

Enable DHCP. Changing this forces a new resource to be created. Defaults to false. _

noGateway boolean

Set to true if you don't want to set a default gateway IP. Changing this value recreates the resource. Defaults to false.

end str

Last ip for this region. Changing this value recreates the subnet.

network str

Global network in CIDR format. Changing this value recreates the subnet

network_id str

The id of the network. Changing this forces a new resource to be created.

region str

The region in which the network subnet will be created. Ex.: "GRA1". Changing this value recreates the resource.

service_name str

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

start str

First ip for this region. Changing this value recreates the subnet.

dhcp bool

Enable DHCP. Changing this forces a new resource to be created. Defaults to false. _

no_gateway bool

Set to true if you don't want to set a default gateway IP. Changing this value recreates the resource. Defaults to false.

end String

Last ip for this region. Changing this value recreates the subnet.

network String

Global network in CIDR format. Changing this value recreates the subnet

networkId String

The id of the network. Changing this forces a new resource to be created.

region String

The region in which the network subnet will be created. Ex.: "GRA1". Changing this value recreates the resource.

serviceName String

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

start String

First ip for this region. Changing this value recreates the subnet.

dhcp Boolean

Enable DHCP. Changing this forces a new resource to be created. Defaults to false. _

noGateway Boolean

Set to true if you don't want to set a default gateway IP. Changing this value recreates the resource. Defaults to false.

Outputs

All input properties are implicitly available as output properties. Additionally, the CloudProjectNetworkPrivateSubnet resource produces the following output properties:

Cidr string

Ip Block representing the subnet cidr.

GatewayIp string

The IP of the gateway

Id string

The provider-assigned unique ID for this managed resource.

IpPools List<Lbrlabs.PulumiPackage.Ovh.Outputs.CloudProjectNetworkPrivateSubnetIpPool>

List of ip pools allocated in the subnet.

  • ip_pools/network - Global network with cidr.
  • ip_pools/region - Region where this subnet is created.
  • ip_pools/dhcp - DHCP enabled.
  • ip_pools/end - Last ip for this region.
  • ip_pools/start - First ip for this region.
Cidr string

Ip Block representing the subnet cidr.

GatewayIp string

The IP of the gateway

Id string

The provider-assigned unique ID for this managed resource.

IpPools []CloudProjectNetworkPrivateSubnetIpPool

List of ip pools allocated in the subnet.

  • ip_pools/network - Global network with cidr.
  • ip_pools/region - Region where this subnet is created.
  • ip_pools/dhcp - DHCP enabled.
  • ip_pools/end - Last ip for this region.
  • ip_pools/start - First ip for this region.
cidr String

Ip Block representing the subnet cidr.

gatewayIp String

The IP of the gateway

id String

The provider-assigned unique ID for this managed resource.

ipPools List<CloudProjectNetworkPrivateSubnetIpPool>

List of ip pools allocated in the subnet.

  • ip_pools/network - Global network with cidr.
  • ip_pools/region - Region where this subnet is created.
  • ip_pools/dhcp - DHCP enabled.
  • ip_pools/end - Last ip for this region.
  • ip_pools/start - First ip for this region.
cidr string

Ip Block representing the subnet cidr.

gatewayIp string

The IP of the gateway

id string

The provider-assigned unique ID for this managed resource.

ipPools CloudProjectNetworkPrivateSubnetIpPool[]

List of ip pools allocated in the subnet.

  • ip_pools/network - Global network with cidr.
  • ip_pools/region - Region where this subnet is created.
  • ip_pools/dhcp - DHCP enabled.
  • ip_pools/end - Last ip for this region.
  • ip_pools/start - First ip for this region.
cidr str

Ip Block representing the subnet cidr.

gateway_ip str

The IP of the gateway

id str

The provider-assigned unique ID for this managed resource.

ip_pools Sequence[CloudProjectNetworkPrivateSubnetIpPool]

List of ip pools allocated in the subnet.

  • ip_pools/network - Global network with cidr.
  • ip_pools/region - Region where this subnet is created.
  • ip_pools/dhcp - DHCP enabled.
  • ip_pools/end - Last ip for this region.
  • ip_pools/start - First ip for this region.
cidr String

Ip Block representing the subnet cidr.

gatewayIp String

The IP of the gateway

id String

The provider-assigned unique ID for this managed resource.

ipPools List<Property Map>

List of ip pools allocated in the subnet.

  • ip_pools/network - Global network with cidr.
  • ip_pools/region - Region where this subnet is created.
  • ip_pools/dhcp - DHCP enabled.
  • ip_pools/end - Last ip for this region.
  • ip_pools/start - First ip for this region.

Look up an Existing CloudProjectNetworkPrivateSubnet Resource

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

public static get(name: string, id: Input<ID>, state?: CloudProjectNetworkPrivateSubnetState, opts?: CustomResourceOptions): CloudProjectNetworkPrivateSubnet
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cidr: Optional[str] = None,
        dhcp: Optional[bool] = None,
        end: Optional[str] = None,
        gateway_ip: Optional[str] = None,
        ip_pools: Optional[Sequence[CloudProjectNetworkPrivateSubnetIpPoolArgs]] = None,
        network: Optional[str] = None,
        network_id: Optional[str] = None,
        no_gateway: Optional[bool] = None,
        region: Optional[str] = None,
        service_name: Optional[str] = None,
        start: Optional[str] = None) -> CloudProjectNetworkPrivateSubnet
func GetCloudProjectNetworkPrivateSubnet(ctx *Context, name string, id IDInput, state *CloudProjectNetworkPrivateSubnetState, opts ...ResourceOption) (*CloudProjectNetworkPrivateSubnet, error)
public static CloudProjectNetworkPrivateSubnet Get(string name, Input<string> id, CloudProjectNetworkPrivateSubnetState? state, CustomResourceOptions? opts = null)
public static CloudProjectNetworkPrivateSubnet get(String name, Output<String> id, CloudProjectNetworkPrivateSubnetState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Cidr string

Ip Block representing the subnet cidr.

Dhcp bool

Enable DHCP. Changing this forces a new resource to be created. Defaults to false. _

End string

Last ip for this region. Changing this value recreates the subnet.

GatewayIp string

The IP of the gateway

IpPools List<Lbrlabs.PulumiPackage.Ovh.Inputs.CloudProjectNetworkPrivateSubnetIpPoolArgs>

List of ip pools allocated in the subnet.

  • ip_pools/network - Global network with cidr.
  • ip_pools/region - Region where this subnet is created.
  • ip_pools/dhcp - DHCP enabled.
  • ip_pools/end - Last ip for this region.
  • ip_pools/start - First ip for this region.
Network string

Global network in CIDR format. Changing this value recreates the subnet

NetworkId string

The id of the network. Changing this forces a new resource to be created.

NoGateway bool

Set to true if you don't want to set a default gateway IP. Changing this value recreates the resource. Defaults to false.

Region string

The region in which the network subnet will be created. Ex.: "GRA1". Changing this value recreates the resource.

ServiceName string

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

Start string

First ip for this region. Changing this value recreates the subnet.

Cidr string

Ip Block representing the subnet cidr.

Dhcp bool

Enable DHCP. Changing this forces a new resource to be created. Defaults to false. _

End string

Last ip for this region. Changing this value recreates the subnet.

GatewayIp string

The IP of the gateway

IpPools []CloudProjectNetworkPrivateSubnetIpPoolArgs

List of ip pools allocated in the subnet.

  • ip_pools/network - Global network with cidr.
  • ip_pools/region - Region where this subnet is created.
  • ip_pools/dhcp - DHCP enabled.
  • ip_pools/end - Last ip for this region.
  • ip_pools/start - First ip for this region.
Network string

Global network in CIDR format. Changing this value recreates the subnet

NetworkId string

The id of the network. Changing this forces a new resource to be created.

NoGateway bool

Set to true if you don't want to set a default gateway IP. Changing this value recreates the resource. Defaults to false.

Region string

The region in which the network subnet will be created. Ex.: "GRA1". Changing this value recreates the resource.

ServiceName string

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

Start string

First ip for this region. Changing this value recreates the subnet.

cidr String

Ip Block representing the subnet cidr.

dhcp Boolean

Enable DHCP. Changing this forces a new resource to be created. Defaults to false. _

end String

Last ip for this region. Changing this value recreates the subnet.

gatewayIp String

The IP of the gateway

ipPools List<CloudProjectNetworkPrivateSubnetIpPoolArgs>

List of ip pools allocated in the subnet.

  • ip_pools/network - Global network with cidr.
  • ip_pools/region - Region where this subnet is created.
  • ip_pools/dhcp - DHCP enabled.
  • ip_pools/end - Last ip for this region.
  • ip_pools/start - First ip for this region.
network String

Global network in CIDR format. Changing this value recreates the subnet

networkId String

The id of the network. Changing this forces a new resource to be created.

noGateway Boolean

Set to true if you don't want to set a default gateway IP. Changing this value recreates the resource. Defaults to false.

region String

The region in which the network subnet will be created. Ex.: "GRA1". Changing this value recreates the resource.

serviceName String

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

start String

First ip for this region. Changing this value recreates the subnet.

cidr string

Ip Block representing the subnet cidr.

dhcp boolean

Enable DHCP. Changing this forces a new resource to be created. Defaults to false. _

end string

Last ip for this region. Changing this value recreates the subnet.

gatewayIp string

The IP of the gateway

ipPools CloudProjectNetworkPrivateSubnetIpPoolArgs[]

List of ip pools allocated in the subnet.

  • ip_pools/network - Global network with cidr.
  • ip_pools/region - Region where this subnet is created.
  • ip_pools/dhcp - DHCP enabled.
  • ip_pools/end - Last ip for this region.
  • ip_pools/start - First ip for this region.
network string

Global network in CIDR format. Changing this value recreates the subnet

networkId string

The id of the network. Changing this forces a new resource to be created.

noGateway boolean

Set to true if you don't want to set a default gateway IP. Changing this value recreates the resource. Defaults to false.

region string

The region in which the network subnet will be created. Ex.: "GRA1". Changing this value recreates the resource.

serviceName string

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

start string

First ip for this region. Changing this value recreates the subnet.

cidr str

Ip Block representing the subnet cidr.

dhcp bool

Enable DHCP. Changing this forces a new resource to be created. Defaults to false. _

end str

Last ip for this region. Changing this value recreates the subnet.

gateway_ip str

The IP of the gateway

ip_pools Sequence[CloudProjectNetworkPrivateSubnetIpPoolArgs]

List of ip pools allocated in the subnet.

  • ip_pools/network - Global network with cidr.
  • ip_pools/region - Region where this subnet is created.
  • ip_pools/dhcp - DHCP enabled.
  • ip_pools/end - Last ip for this region.
  • ip_pools/start - First ip for this region.
network str

Global network in CIDR format. Changing this value recreates the subnet

network_id str

The id of the network. Changing this forces a new resource to be created.

no_gateway bool

Set to true if you don't want to set a default gateway IP. Changing this value recreates the resource. Defaults to false.

region str

The region in which the network subnet will be created. Ex.: "GRA1". Changing this value recreates the resource.

service_name str

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

start str

First ip for this region. Changing this value recreates the subnet.

cidr String

Ip Block representing the subnet cidr.

dhcp Boolean

Enable DHCP. Changing this forces a new resource to be created. Defaults to false. _

end String

Last ip for this region. Changing this value recreates the subnet.

gatewayIp String

The IP of the gateway

ipPools List<Property Map>

List of ip pools allocated in the subnet.

  • ip_pools/network - Global network with cidr.
  • ip_pools/region - Region where this subnet is created.
  • ip_pools/dhcp - DHCP enabled.
  • ip_pools/end - Last ip for this region.
  • ip_pools/start - First ip for this region.
network String

Global network in CIDR format. Changing this value recreates the subnet

networkId String

The id of the network. Changing this forces a new resource to be created.

noGateway Boolean

Set to true if you don't want to set a default gateway IP. Changing this value recreates the resource. Defaults to false.

region String

The region in which the network subnet will be created. Ex.: "GRA1". Changing this value recreates the resource.

serviceName String

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

start String

First ip for this region. Changing this value recreates the subnet.

Supporting Types

CloudProjectNetworkPrivateSubnetIpPool

Dhcp bool

Enable DHCP. Changing this forces a new resource to be created. Defaults to false. _

End string

Last ip for this region. Changing this value recreates the subnet.

Network string

Global network in CIDR format. Changing this value recreates the subnet

Region string

The region in which the network subnet will be created. Ex.: "GRA1". Changing this value recreates the resource.

Start string

First ip for this region. Changing this value recreates the subnet.

Dhcp bool

Enable DHCP. Changing this forces a new resource to be created. Defaults to false. _

End string

Last ip for this region. Changing this value recreates the subnet.

Network string

Global network in CIDR format. Changing this value recreates the subnet

Region string

The region in which the network subnet will be created. Ex.: "GRA1". Changing this value recreates the resource.

Start string

First ip for this region. Changing this value recreates the subnet.

dhcp Boolean

Enable DHCP. Changing this forces a new resource to be created. Defaults to false. _

end String

Last ip for this region. Changing this value recreates the subnet.

network String

Global network in CIDR format. Changing this value recreates the subnet

region String

The region in which the network subnet will be created. Ex.: "GRA1". Changing this value recreates the resource.

start String

First ip for this region. Changing this value recreates the subnet.

dhcp boolean

Enable DHCP. Changing this forces a new resource to be created. Defaults to false. _

end string

Last ip for this region. Changing this value recreates the subnet.

network string

Global network in CIDR format. Changing this value recreates the subnet

region string

The region in which the network subnet will be created. Ex.: "GRA1". Changing this value recreates the resource.

start string

First ip for this region. Changing this value recreates the subnet.

dhcp bool

Enable DHCP. Changing this forces a new resource to be created. Defaults to false. _

end str

Last ip for this region. Changing this value recreates the subnet.

network str

Global network in CIDR format. Changing this value recreates the subnet

region str

The region in which the network subnet will be created. Ex.: "GRA1". Changing this value recreates the resource.

start str

First ip for this region. Changing this value recreates the subnet.

dhcp Boolean

Enable DHCP. Changing this forces a new resource to be created. Defaults to false. _

end String

Last ip for this region. Changing this value recreates the subnet.

network String

Global network in CIDR format. Changing this value recreates the subnet

region String

The region in which the network subnet will be created. Ex.: "GRA1". Changing this value recreates the resource.

start String

First ip for this region. Changing this value recreates the subnet.

Package Details

Repository
https://github.com/lbrlabs/pulumi-ovh
License
Apache-2.0
Notes

This Pulumi package is based on the ovh Terraform Provider.