1. Packages
  2. Scaleway
  3. API Docs
  4. VpcPrivateNetwork
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

scaleway.VpcPrivateNetwork

Explore with Pulumi AI

scaleway logo
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

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

    Example Usage

    Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const pnPriv = new scaleway.VpcPrivateNetwork("pn_priv", {
        name: "subnet_demo",
        tags: [
            "demo",
            "terraform",
        ],
    });
    
    import pulumi
    import pulumiverse_scaleway as scaleway
    
    pn_priv = scaleway.VpcPrivateNetwork("pn_priv",
        name="subnet_demo",
        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, "pn_priv", &scaleway.VpcPrivateNetworkArgs{
    			Name: pulumi.String("subnet_demo"),
    			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("pn_priv", new()
        {
            Name = "subnet_demo",
            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()
                .name("subnet_demo")
                .tags(            
                    "demo",
                    "terraform")
                .build());
    
        }
    }
    
    resources:
      pnPriv:
        type: scaleway:VpcPrivateNetwork
        name: pn_priv
        properties:
          name: subnet_demo
          tags:
            - demo
            - terraform
    

    With subnets

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const pnPriv = new scaleway.VpcPrivateNetwork("pn_priv", {
        name: "subnet_demo",
        tags: [
            "demo",
            "terraform",
        ],
        ipv4Subnet: {
            subnet: "192.168.0.0/24",
        },
        ipv6Subnets: [
            {
                subnet: "fd46:78ab:30b8:177c::/64",
            },
            {
                subnet: "fd46:78ab:30b8:c7df::/64",
            },
        ],
    });
    
    import pulumi
    import pulumiverse_scaleway as scaleway
    
    pn_priv = scaleway.VpcPrivateNetwork("pn_priv",
        name="subnet_demo",
        tags=[
            "demo",
            "terraform",
        ],
        ipv4_subnet={
            "subnet": "192.168.0.0/24",
        },
        ipv6_subnets=[
            {
                "subnet": "fd46:78ab:30b8:177c::/64",
            },
            {
                "subnet": "fd46:78ab:30b8:c7df::/64",
            },
        ])
    
    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, "pn_priv", &scaleway.VpcPrivateNetworkArgs{
    			Name: pulumi.String("subnet_demo"),
    			Tags: pulumi.StringArray{
    				pulumi.String("demo"),
    				pulumi.String("terraform"),
    			},
    			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"),
    				},
    			},
    		})
    		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("pn_priv", new()
        {
            Name = "subnet_demo",
            Tags = new[]
            {
                "demo",
                "terraform",
            },
            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",
                },
            },
        });
    
    });
    
    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()
                .name("subnet_demo")
                .tags(            
                    "demo",
                    "terraform")
                .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())
                .build());
    
        }
    }
    
    resources:
      pnPriv:
        type: scaleway:VpcPrivateNetwork
        name: pn_priv
        properties:
          name: subnet_demo
          tags:
            - demo
            - terraform
          ipv4Subnet:
            subnet: 192.168.0.0/24
          ipv6Subnets:
            - subnet: fd46:78ab:30b8:177c::/64
            - subnet: fd46:78ab:30b8:c7df::/64
    

    Create VpcPrivateNetwork Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VpcPrivateNetwork(name: string, args?: VpcPrivateNetworkArgs, opts?: CustomResourceOptions);
    @overload
    def VpcPrivateNetwork(resource_name: str,
                          args: Optional[VpcPrivateNetworkArgs] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @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)
    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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var vpcPrivateNetworkResource = new Scaleway.VpcPrivateNetwork("vpcPrivateNetworkResource", new()
    {
        Ipv4Subnet = new Scaleway.Inputs.VpcPrivateNetworkIpv4SubnetArgs
        {
            Address = "string",
            CreatedAt = "string",
            Id = "string",
            PrefixLength = 0,
            Subnet = "string",
            SubnetMask = "string",
            UpdatedAt = "string",
        },
        Ipv6Subnets = new[]
        {
            new Scaleway.Inputs.VpcPrivateNetworkIpv6SubnetArgs
            {
                Address = "string",
                CreatedAt = "string",
                Id = "string",
                PrefixLength = 0,
                Subnet = "string",
                SubnetMask = "string",
                UpdatedAt = "string",
            },
        },
        Name = "string",
        ProjectId = "string",
        Region = "string",
        Tags = new[]
        {
            "string",
        },
        VpcId = "string",
    });
    
    example, err := scaleway.NewVpcPrivateNetwork(ctx, "vpcPrivateNetworkResource", &scaleway.VpcPrivateNetworkArgs{
    	Ipv4Subnet: &scaleway.VpcPrivateNetworkIpv4SubnetArgs{
    		Address:      pulumi.String("string"),
    		CreatedAt:    pulumi.String("string"),
    		Id:           pulumi.String("string"),
    		PrefixLength: pulumi.Int(0),
    		Subnet:       pulumi.String("string"),
    		SubnetMask:   pulumi.String("string"),
    		UpdatedAt:    pulumi.String("string"),
    	},
    	Ipv6Subnets: scaleway.VpcPrivateNetworkIpv6SubnetArray{
    		&scaleway.VpcPrivateNetworkIpv6SubnetArgs{
    			Address:      pulumi.String("string"),
    			CreatedAt:    pulumi.String("string"),
    			Id:           pulumi.String("string"),
    			PrefixLength: pulumi.Int(0),
    			Subnet:       pulumi.String("string"),
    			SubnetMask:   pulumi.String("string"),
    			UpdatedAt:    pulumi.String("string"),
    		},
    	},
    	Name:      pulumi.String("string"),
    	ProjectId: pulumi.String("string"),
    	Region:    pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	VpcId: pulumi.String("string"),
    })
    
    var vpcPrivateNetworkResource = new VpcPrivateNetwork("vpcPrivateNetworkResource", VpcPrivateNetworkArgs.builder()
        .ipv4Subnet(VpcPrivateNetworkIpv4SubnetArgs.builder()
            .address("string")
            .createdAt("string")
            .id("string")
            .prefixLength(0)
            .subnet("string")
            .subnetMask("string")
            .updatedAt("string")
            .build())
        .ipv6Subnets(VpcPrivateNetworkIpv6SubnetArgs.builder()
            .address("string")
            .createdAt("string")
            .id("string")
            .prefixLength(0)
            .subnet("string")
            .subnetMask("string")
            .updatedAt("string")
            .build())
        .name("string")
        .projectId("string")
        .region("string")
        .tags("string")
        .vpcId("string")
        .build());
    
    vpc_private_network_resource = scaleway.VpcPrivateNetwork("vpcPrivateNetworkResource",
        ipv4_subnet={
            "address": "string",
            "created_at": "string",
            "id": "string",
            "prefix_length": 0,
            "subnet": "string",
            "subnet_mask": "string",
            "updated_at": "string",
        },
        ipv6_subnets=[{
            "address": "string",
            "created_at": "string",
            "id": "string",
            "prefix_length": 0,
            "subnet": "string",
            "subnet_mask": "string",
            "updated_at": "string",
        }],
        name="string",
        project_id="string",
        region="string",
        tags=["string"],
        vpc_id="string")
    
    const vpcPrivateNetworkResource = new scaleway.VpcPrivateNetwork("vpcPrivateNetworkResource", {
        ipv4Subnet: {
            address: "string",
            createdAt: "string",
            id: "string",
            prefixLength: 0,
            subnet: "string",
            subnetMask: "string",
            updatedAt: "string",
        },
        ipv6Subnets: [{
            address: "string",
            createdAt: "string",
            id: "string",
            prefixLength: 0,
            subnet: "string",
            subnetMask: "string",
            updatedAt: "string",
        }],
        name: "string",
        projectId: "string",
        region: "string",
        tags: ["string"],
        vpcId: "string",
    });
    
    type: scaleway:VpcPrivateNetwork
    properties:
        ipv4Subnet:
            address: string
            createdAt: string
            id: string
            prefixLength: 0
            subnet: string
            subnetMask: string
            updatedAt: string
        ipv6Subnets:
            - address: string
              createdAt: string
              id: string
              prefixLength: 0
              subnet: string
              subnetMask: string
              updatedAt: string
        name: string
        projectId: string
        region: string
        tags:
            - string
        vpcId: string
    

    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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    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
    Private Networks are now all necessarily regional.

    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
    Use region instead.

    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
    Private Networks are now all necessarily regional.

    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
    Use region instead.

    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
    Private Networks are now all necessarily regional.

    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
    Use region instead.

    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
    Private Networks are now all necessarily regional.

    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
    Use region instead.

    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
    Private Networks are now all necessarily regional.

    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
    Use region instead.

    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
    Private Networks are now all necessarily regional.

    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
    Use region instead.

    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
    Private Networks are now all necessarily regional.

    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
    Use region instead.

    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
    Private Networks are now all necessarily regional.

    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
    Use region instead.

    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
    Private Networks are now all necessarily regional.

    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
    Use region instead.

    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
    Private Networks are now all necessarily regional.

    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
    Use region instead.

    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
    Private Networks are now all necessarily regional.

    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
    Use region instead.

    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
    Private Networks are now all necessarily regional.

    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
    Use region instead.

    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 hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' 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., 64 for a 'ffff:ffff:ffff:ffff::' 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 hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' 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., 64 for a 'ffff:ffff:ffff:ffff::' 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 hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' 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., 64 for a 'ffff:ffff:ffff:ffff::' 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 hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' 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., 64 for a 'ffff:ffff:ffff:ffff::' 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 hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' 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., 64 for a 'ffff:ffff:ffff:ffff::' 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 hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' 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., 64 for a 'ffff:ffff:ffff:ffff::' 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 hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' 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., 64 for a 'ffff:ffff:ffff:ffff::' 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 hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' 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., 64 for a 'ffff:ffff:ffff:ffff::' 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 hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' 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., 64 for a 'ffff:ffff:ffff:ffff::' 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 hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' 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., 64 for a 'ffff:ffff:ffff:ffff::' 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 hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' 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., 64 for a 'ffff:ffff:ffff:ffff::' 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 hexadecimal notation, e.g., '2001:db8::' for a '2001:db8::/64' 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., 64 for a 'ffff:ffff:ffff:ffff::' 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 {region}/{id}, e.g.

    bash

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

    To learn more about importing existing cloud resources, see Importing resources.

    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.20.0 published on Monday, Nov 4, 2024 by pulumiverse