1. Packages
  2. Scaleway
  3. API Docs
  4. VpcPrivateNetwork
Scaleway v1.12.0 published on Monday, Mar 11, 2024 by pulumiverse

scaleway.VpcPrivateNetwork

Explore with Pulumi AI

scaleway logo
Scaleway v1.12.0 published on Monday, Mar 11, 2024 by pulumiverse

    Creates and manages Scaleway VPC Private Networks. For more information, see the documentation.

    Example Usage

    Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const pnPriv = new scaleway.VpcPrivateNetwork("pnPriv", {tags: [
        "demo",
        "terraform",
    ]});
    
    import pulumi
    import pulumiverse_scaleway as scaleway
    
    pn_priv = scaleway.VpcPrivateNetwork("pnPriv", tags=[
        "demo",
        "terraform",
    ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := scaleway.NewVpcPrivateNetwork(ctx, "pnPriv", &scaleway.VpcPrivateNetworkArgs{
    			Tags: pulumi.StringArray{
    				pulumi.String("demo"),
    				pulumi.String("terraform"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumiverse.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var pnPriv = new Scaleway.VpcPrivateNetwork("pnPriv", new()
        {
            Tags = new[]
            {
                "demo",
                "terraform",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.VpcPrivateNetwork;
    import com.pulumi.scaleway.VpcPrivateNetworkArgs;
    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 pnPriv = new VpcPrivateNetwork("pnPriv", VpcPrivateNetworkArgs.builder()        
                .tags(            
                    "demo",
                    "terraform")
                .build());
    
        }
    }
    
    resources:
      pnPriv:
        type: scaleway:VpcPrivateNetwork
        properties:
          tags:
            - demo
            - terraform
    

    With subnets

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const pnPriv = new scaleway.VpcPrivateNetwork("pnPriv", {
        ipv4Subnet: {
            subnet: "192.168.0.0/24",
        },
        ipv6Subnets: [
            {
                subnet: "fd46:78ab:30b8:177c::/64",
            },
            {
                subnet: "fd46:78ab:30b8:c7df::/64",
            },
        ],
        tags: [
            "demo",
            "terraform",
        ],
    });
    
    import pulumi
    import pulumiverse_scaleway as scaleway
    
    pn_priv = scaleway.VpcPrivateNetwork("pnPriv",
        ipv4_subnet=scaleway.VpcPrivateNetworkIpv4SubnetArgs(
            subnet="192.168.0.0/24",
        ),
        ipv6_subnets=[
            scaleway.VpcPrivateNetworkIpv6SubnetArgs(
                subnet="fd46:78ab:30b8:177c::/64",
            ),
            scaleway.VpcPrivateNetworkIpv6SubnetArgs(
                subnet="fd46:78ab:30b8:c7df::/64",
            ),
        ],
        tags=[
            "demo",
            "terraform",
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := scaleway.NewVpcPrivateNetwork(ctx, "pnPriv", &scaleway.VpcPrivateNetworkArgs{
    			Ipv4Subnet: &scaleway.VpcPrivateNetworkIpv4SubnetArgs{
    				Subnet: pulumi.String("192.168.0.0/24"),
    			},
    			Ipv6Subnets: scaleway.VpcPrivateNetworkIpv6SubnetArray{
    				&scaleway.VpcPrivateNetworkIpv6SubnetArgs{
    					Subnet: pulumi.String("fd46:78ab:30b8:177c::/64"),
    				},
    				&scaleway.VpcPrivateNetworkIpv6SubnetArgs{
    					Subnet: pulumi.String("fd46:78ab:30b8:c7df::/64"),
    				},
    			},
    			Tags: pulumi.StringArray{
    				pulumi.String("demo"),
    				pulumi.String("terraform"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumiverse.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var pnPriv = new Scaleway.VpcPrivateNetwork("pnPriv", new()
        {
            Ipv4Subnet = new Scaleway.Inputs.VpcPrivateNetworkIpv4SubnetArgs
            {
                Subnet = "192.168.0.0/24",
            },
            Ipv6Subnets = new[]
            {
                new Scaleway.Inputs.VpcPrivateNetworkIpv6SubnetArgs
                {
                    Subnet = "fd46:78ab:30b8:177c::/64",
                },
                new Scaleway.Inputs.VpcPrivateNetworkIpv6SubnetArgs
                {
                    Subnet = "fd46:78ab:30b8:c7df::/64",
                },
            },
            Tags = new[]
            {
                "demo",
                "terraform",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.VpcPrivateNetwork;
    import com.pulumi.scaleway.VpcPrivateNetworkArgs;
    import com.pulumi.scaleway.inputs.VpcPrivateNetworkIpv4SubnetArgs;
    import com.pulumi.scaleway.inputs.VpcPrivateNetworkIpv6SubnetArgs;
    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 pnPriv = new VpcPrivateNetwork("pnPriv", VpcPrivateNetworkArgs.builder()        
                .ipv4Subnet(VpcPrivateNetworkIpv4SubnetArgs.builder()
                    .subnet("192.168.0.0/24")
                    .build())
                .ipv6Subnets(            
                    VpcPrivateNetworkIpv6SubnetArgs.builder()
                        .subnet("fd46:78ab:30b8:177c::/64")
                        .build(),
                    VpcPrivateNetworkIpv6SubnetArgs.builder()
                        .subnet("fd46:78ab:30b8:c7df::/64")
                        .build())
                .tags(            
                    "demo",
                    "terraform")
                .build());
    
        }
    }
    
    resources:
      pnPriv:
        type: scaleway:VpcPrivateNetwork
        properties:
          ipv4Subnet:
            subnet: 192.168.0.0/24
          ipv6Subnets:
            - subnet: fd46:78ab:30b8:177c::/64
            - subnet: fd46:78ab:30b8:c7df::/64
          tags:
            - demo
            - terraform
    

    Create VpcPrivateNetwork Resource

    new VpcPrivateNetwork(name: string, args?: VpcPrivateNetworkArgs, opts?: CustomResourceOptions);
    @overload
    def VpcPrivateNetwork(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          ipv4_subnet: Optional[VpcPrivateNetworkIpv4SubnetArgs] = None,
                          ipv6_subnets: Optional[Sequence[VpcPrivateNetworkIpv6SubnetArgs]] = None,
                          is_regional: Optional[bool] = None,
                          name: Optional[str] = None,
                          project_id: Optional[str] = None,
                          region: Optional[str] = None,
                          tags: Optional[Sequence[str]] = None,
                          vpc_id: Optional[str] = None,
                          zone: Optional[str] = None)
    @overload
    def VpcPrivateNetwork(resource_name: str,
                          args: Optional[VpcPrivateNetworkArgs] = None,
                          opts: Optional[ResourceOptions] = None)
    func NewVpcPrivateNetwork(ctx *Context, name string, args *VpcPrivateNetworkArgs, opts ...ResourceOption) (*VpcPrivateNetwork, error)
    public VpcPrivateNetwork(string name, VpcPrivateNetworkArgs? args = null, CustomResourceOptions? opts = null)
    public VpcPrivateNetwork(String name, VpcPrivateNetworkArgs args)
    public VpcPrivateNetwork(String name, VpcPrivateNetworkArgs args, CustomResourceOptions options)
    
    type: scaleway:VpcPrivateNetwork
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args VpcPrivateNetworkArgs
    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 VpcPrivateNetworkArgs
    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 VpcPrivateNetworkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpcPrivateNetworkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpcPrivateNetworkArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    VpcPrivateNetwork 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 VpcPrivateNetwork resource accepts the following input properties:

    Ipv4Subnet Pulumiverse.Scaleway.Inputs.VpcPrivateNetworkIpv4Subnet
    The IPv4 subnet to associate with the private network.
    Ipv6Subnets List<Pulumiverse.Scaleway.Inputs.VpcPrivateNetworkIpv6Subnet>
    The IPv6 subnets to associate with the private network.
    IsRegional bool
    The private networks are necessarily regional now.

    Deprecated:This field is deprecated and will be removed in the next major version

    Name string
    The name of the private network. If not provided it will be randomly generated.
    ProjectId string
    project_id) The ID of the project the private network is associated with.
    Region string
    region) The region of the private network.
    Tags List<string>
    The tags associated with the private network.
    VpcId string
    The VPC in which to create the private network.
    Zone string
    please use region instead - (Defaults to provider zone) The zone in which the private network should be created.

    Deprecated:This field is deprecated and will be removed in the next major version, please use region instead

    Ipv4Subnet VpcPrivateNetworkIpv4SubnetArgs
    The IPv4 subnet to associate with the private network.
    Ipv6Subnets []VpcPrivateNetworkIpv6SubnetArgs
    The IPv6 subnets to associate with the private network.
    IsRegional bool
    The private networks are necessarily regional now.

    Deprecated:This field is deprecated and will be removed in the next major version

    Name string
    The name of the private network. If not provided it will be randomly generated.
    ProjectId string
    project_id) The ID of the project the private network is associated with.
    Region string
    region) The region of the private network.
    Tags []string
    The tags associated with the private network.
    VpcId string
    The VPC in which to create the private network.
    Zone string
    please use region instead - (Defaults to provider zone) The zone in which the private network should be created.

    Deprecated:This field is deprecated and will be removed in the next major version, please use region instead

    ipv4Subnet VpcPrivateNetworkIpv4Subnet
    The IPv4 subnet to associate with the private network.
    ipv6Subnets List<VpcPrivateNetworkIpv6Subnet>
    The IPv6 subnets to associate with the private network.
    isRegional Boolean
    The private networks are necessarily regional now.

    Deprecated:This field is deprecated and will be removed in the next major version

    name String
    The name of the private network. If not provided it will be randomly generated.
    projectId String
    project_id) The ID of the project the private network is associated with.
    region String
    region) The region of the private network.
    tags List<String>
    The tags associated with the private network.
    vpcId String
    The VPC in which to create the private network.
    zone String
    please use region instead - (Defaults to provider zone) The zone in which the private network should be created.

    Deprecated:This field is deprecated and will be removed in the next major version, please use region instead

    ipv4Subnet VpcPrivateNetworkIpv4Subnet
    The IPv4 subnet to associate with the private network.
    ipv6Subnets VpcPrivateNetworkIpv6Subnet[]
    The IPv6 subnets to associate with the private network.
    isRegional boolean
    The private networks are necessarily regional now.

    Deprecated:This field is deprecated and will be removed in the next major version

    name string
    The name of the private network. If not provided it will be randomly generated.
    projectId string
    project_id) The ID of the project the private network is associated with.
    region string
    region) The region of the private network.
    tags string[]
    The tags associated with the private network.
    vpcId string
    The VPC in which to create the private network.
    zone string
    please use region instead - (Defaults to provider zone) The zone in which the private network should be created.

    Deprecated:This field is deprecated and will be removed in the next major version, please use region instead

    ipv4_subnet VpcPrivateNetworkIpv4SubnetArgs
    The IPv4 subnet to associate with the private network.
    ipv6_subnets Sequence[VpcPrivateNetworkIpv6SubnetArgs]
    The IPv6 subnets to associate with the private network.
    is_regional bool
    The private networks are necessarily regional now.

    Deprecated:This field is deprecated and will be removed in the next major version

    name str
    The name of the private network. If not provided it will be randomly generated.
    project_id str
    project_id) The ID of the project the private network is associated with.
    region str
    region) The region of the private network.
    tags Sequence[str]
    The tags associated with the private network.
    vpc_id str
    The VPC in which to create the private network.
    zone str
    please use region instead - (Defaults to provider zone) The zone in which the private network should be created.

    Deprecated:This field is deprecated and will be removed in the next major version, please use region instead

    ipv4Subnet Property Map
    The IPv4 subnet to associate with the private network.
    ipv6Subnets List<Property Map>
    The IPv6 subnets to associate with the private network.
    isRegional Boolean
    The private networks are necessarily regional now.

    Deprecated:This field is deprecated and will be removed in the next major version

    name String
    The name of the private network. If not provided it will be randomly generated.
    projectId String
    project_id) The ID of the project the private network is associated with.
    region String
    region) The region of the private network.
    tags List<String>
    The tags associated with the private network.
    vpcId String
    The VPC in which to create the private network.
    zone String
    please use region instead - (Defaults to provider zone) The zone in which the private network should be created.

    Deprecated:This field is deprecated and will be removed in the next major version, please use region instead

    Outputs

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

    CreatedAt string
    The date and time of the creation of the subnet.
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    The organization ID the private network is associated with.
    UpdatedAt string
    The date and time of the last update of the subnet.
    CreatedAt string
    The date and time of the creation of the subnet.
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    The organization ID the private network is associated with.
    UpdatedAt string
    The date and time of the last update of the subnet.
    createdAt String
    The date and time of the creation of the subnet.
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    The organization ID the private network is associated with.
    updatedAt String
    The date and time of the last update of the subnet.
    createdAt string
    The date and time of the creation of the subnet.
    id string
    The provider-assigned unique ID for this managed resource.
    organizationId string
    The organization ID the private network is associated with.
    updatedAt string
    The date and time of the last update of the subnet.
    created_at str
    The date and time of the creation of the subnet.
    id str
    The provider-assigned unique ID for this managed resource.
    organization_id str
    The organization ID the private network is associated with.
    updated_at str
    The date and time of the last update of the subnet.
    createdAt String
    The date and time of the creation of the subnet.
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    The organization ID the private network is associated with.
    updatedAt String
    The date and time of the last update of the subnet.

    Look up Existing VpcPrivateNetwork Resource

    Get an existing VpcPrivateNetwork 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?: VpcPrivateNetworkState, opts?: CustomResourceOptions): VpcPrivateNetwork
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            ipv4_subnet: Optional[VpcPrivateNetworkIpv4SubnetArgs] = None,
            ipv6_subnets: Optional[Sequence[VpcPrivateNetworkIpv6SubnetArgs]] = None,
            is_regional: Optional[bool] = None,
            name: Optional[str] = None,
            organization_id: Optional[str] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            updated_at: Optional[str] = None,
            vpc_id: Optional[str] = None,
            zone: Optional[str] = None) -> VpcPrivateNetwork
    func GetVpcPrivateNetwork(ctx *Context, name string, id IDInput, state *VpcPrivateNetworkState, opts ...ResourceOption) (*VpcPrivateNetwork, error)
    public static VpcPrivateNetwork Get(string name, Input<string> id, VpcPrivateNetworkState? state, CustomResourceOptions? opts = null)
    public static VpcPrivateNetwork get(String name, Output<String> id, VpcPrivateNetworkState 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:
    CreatedAt string
    The date and time of the creation of the subnet.
    Ipv4Subnet Pulumiverse.Scaleway.Inputs.VpcPrivateNetworkIpv4Subnet
    The IPv4 subnet to associate with the private network.
    Ipv6Subnets List<Pulumiverse.Scaleway.Inputs.VpcPrivateNetworkIpv6Subnet>
    The IPv6 subnets to associate with the private network.
    IsRegional bool
    The private networks are necessarily regional now.

    Deprecated:This field is deprecated and will be removed in the next major version

    Name string
    The name of the private network. If not provided it will be randomly generated.
    OrganizationId string
    The organization ID the private network is associated with.
    ProjectId string
    project_id) The ID of the project the private network is associated with.
    Region string
    region) The region of the private network.
    Tags List<string>
    The tags associated with the private network.
    UpdatedAt string
    The date and time of the last update of the subnet.
    VpcId string
    The VPC in which to create the private network.
    Zone string
    please use region instead - (Defaults to provider zone) The zone in which the private network should be created.

    Deprecated:This field is deprecated and will be removed in the next major version, please use region instead

    CreatedAt string
    The date and time of the creation of the subnet.
    Ipv4Subnet VpcPrivateNetworkIpv4SubnetArgs
    The IPv4 subnet to associate with the private network.
    Ipv6Subnets []VpcPrivateNetworkIpv6SubnetArgs
    The IPv6 subnets to associate with the private network.
    IsRegional bool
    The private networks are necessarily regional now.

    Deprecated:This field is deprecated and will be removed in the next major version

    Name string
    The name of the private network. If not provided it will be randomly generated.
    OrganizationId string
    The organization ID the private network is associated with.
    ProjectId string
    project_id) The ID of the project the private network is associated with.
    Region string
    region) The region of the private network.
    Tags []string
    The tags associated with the private network.
    UpdatedAt string
    The date and time of the last update of the subnet.
    VpcId string
    The VPC in which to create the private network.
    Zone string
    please use region instead - (Defaults to provider zone) The zone in which the private network should be created.

    Deprecated:This field is deprecated and will be removed in the next major version, please use region instead

    createdAt String
    The date and time of the creation of the subnet.
    ipv4Subnet VpcPrivateNetworkIpv4Subnet
    The IPv4 subnet to associate with the private network.
    ipv6Subnets List<VpcPrivateNetworkIpv6Subnet>
    The IPv6 subnets to associate with the private network.
    isRegional Boolean
    The private networks are necessarily regional now.

    Deprecated:This field is deprecated and will be removed in the next major version

    name String
    The name of the private network. If not provided it will be randomly generated.
    organizationId String
    The organization ID the private network is associated with.
    projectId String
    project_id) The ID of the project the private network is associated with.
    region String
    region) The region of the private network.
    tags List<String>
    The tags associated with the private network.
    updatedAt String
    The date and time of the last update of the subnet.
    vpcId String
    The VPC in which to create the private network.
    zone String
    please use region instead - (Defaults to provider zone) The zone in which the private network should be created.

    Deprecated:This field is deprecated and will be removed in the next major version, please use region instead

    createdAt string
    The date and time of the creation of the subnet.
    ipv4Subnet VpcPrivateNetworkIpv4Subnet
    The IPv4 subnet to associate with the private network.
    ipv6Subnets VpcPrivateNetworkIpv6Subnet[]
    The IPv6 subnets to associate with the private network.
    isRegional boolean
    The private networks are necessarily regional now.

    Deprecated:This field is deprecated and will be removed in the next major version

    name string
    The name of the private network. If not provided it will be randomly generated.
    organizationId string
    The organization ID the private network is associated with.
    projectId string
    project_id) The ID of the project the private network is associated with.
    region string
    region) The region of the private network.
    tags string[]
    The tags associated with the private network.
    updatedAt string
    The date and time of the last update of the subnet.
    vpcId string
    The VPC in which to create the private network.
    zone string
    please use region instead - (Defaults to provider zone) The zone in which the private network should be created.

    Deprecated:This field is deprecated and will be removed in the next major version, please use region instead

    created_at str
    The date and time of the creation of the subnet.
    ipv4_subnet VpcPrivateNetworkIpv4SubnetArgs
    The IPv4 subnet to associate with the private network.
    ipv6_subnets Sequence[VpcPrivateNetworkIpv6SubnetArgs]
    The IPv6 subnets to associate with the private network.
    is_regional bool
    The private networks are necessarily regional now.

    Deprecated:This field is deprecated and will be removed in the next major version

    name str
    The name of the private network. If not provided it will be randomly generated.
    organization_id str
    The organization ID the private network is associated with.
    project_id str
    project_id) The ID of the project the private network is associated with.
    region str
    region) The region of the private network.
    tags Sequence[str]
    The tags associated with the private network.
    updated_at str
    The date and time of the last update of the subnet.
    vpc_id str
    The VPC in which to create the private network.
    zone str
    please use region instead - (Defaults to provider zone) The zone in which the private network should be created.

    Deprecated:This field is deprecated and will be removed in the next major version, please use region instead

    createdAt String
    The date and time of the creation of the subnet.
    ipv4Subnet Property Map
    The IPv4 subnet to associate with the private network.
    ipv6Subnets List<Property Map>
    The IPv6 subnets to associate with the private network.
    isRegional Boolean
    The private networks are necessarily regional now.

    Deprecated:This field is deprecated and will be removed in the next major version

    name String
    The name of the private network. If not provided it will be randomly generated.
    organizationId String
    The organization ID the private network is associated with.
    projectId String
    project_id) The ID of the project the private network is associated with.
    region String
    region) The region of the private network.
    tags List<String>
    The tags associated with the private network.
    updatedAt String
    The date and time of the last update of the subnet.
    vpcId String
    The VPC in which to create the private network.
    zone String
    please use region instead - (Defaults to provider zone) The zone in which the private network should be created.

    Deprecated:This field is deprecated and will be removed in the next major version, please use region instead

    Supporting Types

    VpcPrivateNetworkIpv4Subnet, VpcPrivateNetworkIpv4SubnetArgs

    Address string
    The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet.
    CreatedAt string
    The date and time of the creation of the subnet.
    Id string
    The subnet ID.
    PrefixLength int
    The length of the network prefix, e.g., 24 for a 255.255.255.0 mask.
    Subnet string
    The subnet CIDR.
    SubnetMask string
    The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
    UpdatedAt string
    The date and time of the last update of the subnet.
    Address string
    The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet.
    CreatedAt string
    The date and time of the creation of the subnet.
    Id string
    The subnet ID.
    PrefixLength int
    The length of the network prefix, e.g., 24 for a 255.255.255.0 mask.
    Subnet string
    The subnet CIDR.
    SubnetMask string
    The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
    UpdatedAt string
    The date and time of the last update of the subnet.
    address String
    The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet.
    createdAt String
    The date and time of the creation of the subnet.
    id String
    The subnet ID.
    prefixLength Integer
    The length of the network prefix, e.g., 24 for a 255.255.255.0 mask.
    subnet String
    The subnet CIDR.
    subnetMask String
    The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
    updatedAt String
    The date and time of the last update of the subnet.
    address string
    The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet.
    createdAt string
    The date and time of the creation of the subnet.
    id string
    The subnet ID.
    prefixLength number
    The length of the network prefix, e.g., 24 for a 255.255.255.0 mask.
    subnet string
    The subnet CIDR.
    subnetMask string
    The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
    updatedAt string
    The date and time of the last update of the subnet.
    address str
    The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet.
    created_at str
    The date and time of the creation of the subnet.
    id str
    The subnet ID.
    prefix_length int
    The length of the network prefix, e.g., 24 for a 255.255.255.0 mask.
    subnet str
    The subnet CIDR.
    subnet_mask str
    The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
    updated_at str
    The date and time of the last update of the subnet.
    address String
    The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet.
    createdAt String
    The date and time of the creation of the subnet.
    id String
    The subnet ID.
    prefixLength Number
    The length of the network prefix, e.g., 24 for a 255.255.255.0 mask.
    subnet String
    The subnet CIDR.
    subnetMask String
    The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
    updatedAt String
    The date and time of the last update of the subnet.

    VpcPrivateNetworkIpv6Subnet, VpcPrivateNetworkIpv6SubnetArgs

    Address string
    The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet.
    CreatedAt string
    The date and time of the creation of the subnet.
    Id string
    The subnet ID.
    PrefixLength int
    The length of the network prefix, e.g., 24 for a 255.255.255.0 mask.
    Subnet string
    The subnet CIDR.
    SubnetMask string
    The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
    UpdatedAt string
    The date and time of the last update of the subnet.
    Address string
    The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet.
    CreatedAt string
    The date and time of the creation of the subnet.
    Id string
    The subnet ID.
    PrefixLength int
    The length of the network prefix, e.g., 24 for a 255.255.255.0 mask.
    Subnet string
    The subnet CIDR.
    SubnetMask string
    The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
    UpdatedAt string
    The date and time of the last update of the subnet.
    address String
    The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet.
    createdAt String
    The date and time of the creation of the subnet.
    id String
    The subnet ID.
    prefixLength Integer
    The length of the network prefix, e.g., 24 for a 255.255.255.0 mask.
    subnet String
    The subnet CIDR.
    subnetMask String
    The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
    updatedAt String
    The date and time of the last update of the subnet.
    address string
    The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet.
    createdAt string
    The date and time of the creation of the subnet.
    id string
    The subnet ID.
    prefixLength number
    The length of the network prefix, e.g., 24 for a 255.255.255.0 mask.
    subnet string
    The subnet CIDR.
    subnetMask string
    The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
    updatedAt string
    The date and time of the last update of the subnet.
    address str
    The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet.
    created_at str
    The date and time of the creation of the subnet.
    id str
    The subnet ID.
    prefix_length int
    The length of the network prefix, e.g., 24 for a 255.255.255.0 mask.
    subnet str
    The subnet CIDR.
    subnet_mask str
    The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
    updated_at str
    The date and time of the last update of the subnet.
    address String
    The network address of the subnet in dotted decimal notation, e.g., '192.168.0.0' for a '192.168.0.0/24' subnet.
    createdAt String
    The date and time of the creation of the subnet.
    id String
    The subnet ID.
    prefixLength Number
    The length of the network prefix, e.g., 24 for a 255.255.255.0 mask.
    subnet String
    The subnet CIDR.
    subnetMask String
    The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
    updatedAt String
    The date and time of the last update of the subnet.

    Import

    Private networks can be imported using the {region}/{id}, e.g.

    bash

    $ pulumi import scaleway:index/vpcPrivateNetwork:VpcPrivateNetwork vpc_demo fr-par/11111111-1111-1111-1111-111111111111
    

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Scaleway v1.12.0 published on Monday, Mar 11, 2024 by pulumiverse