scaleway.VpcPrivateNetwork
Explore with Pulumi AI
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. Vpc Private Network Ipv4Subnet - The IPv4 subnet to associate with the Private Network.
- Ipv6Subnets
List<Pulumiverse.
Scaleway. Inputs. Vpc Private Network Ipv6Subnet> - The IPv6 subnets to associate with the private network.
- Is
Regional bool - Private Networks are now all necessarily regional.
- Name string
- The name of the Private Network. If not provided, it will be randomly generated.
- Project
Id string project_id
) The ID of the Project the private network is associated with.- Region string
region
) The region of the Private Network.- List<string>
- The tags associated with the Private Network.
- Vpc
Id string - The VPC in which to create the Private Network.
- Zone string
- Use
region
instead.
- Ipv4Subnet
Vpc
Private Network Ipv4Subnet Args - The IPv4 subnet to associate with the Private Network.
- Ipv6Subnets
[]Vpc
Private Network Ipv6Subnet Args - The IPv6 subnets to associate with the private network.
- Is
Regional bool - Private Networks are now all necessarily regional.
- Name string
- The name of the Private Network. If not provided, it will be randomly generated.
- Project
Id string project_id
) The ID of the Project the private network is associated with.- Region string
region
) The region of the Private Network.- []string
- The tags associated with the Private Network.
- Vpc
Id string - The VPC in which to create the Private Network.
- Zone string
- Use
region
instead.
- ipv4Subnet
Vpc
Private Network Ipv4Subnet - The IPv4 subnet to associate with the Private Network.
- ipv6Subnets
List<Vpc
Private Network Ipv6Subnet> - The IPv6 subnets to associate with the private network.
- is
Regional Boolean - Private Networks are now all necessarily regional.
- name String
- The name of the Private Network. If not provided, it will be randomly generated.
- project
Id String project_id
) The ID of the Project the private network is associated with.- region String
region
) The region of the Private Network.- List<String>
- The tags associated with the Private Network.
- vpc
Id String - The VPC in which to create the Private Network.
- zone String
- Use
region
instead.
- ipv4Subnet
Vpc
Private Network Ipv4Subnet - The IPv4 subnet to associate with the Private Network.
- ipv6Subnets
Vpc
Private Network Ipv6Subnet[] - The IPv6 subnets to associate with the private network.
- is
Regional boolean - Private Networks are now all necessarily regional.
- name string
- The name of the Private Network. If not provided, it will be randomly generated.
- project
Id string project_id
) The ID of the Project the private network is associated with.- region string
region
) The region of the Private Network.- string[]
- The tags associated with the Private Network.
- vpc
Id string - The VPC in which to create the Private Network.
- zone string
- Use
region
instead.
- ipv4_
subnet VpcPrivate Network Ipv4Subnet Args - The IPv4 subnet to associate with the Private Network.
- ipv6_
subnets Sequence[VpcPrivate Network Ipv6Subnet Args] - The IPv6 subnets to associate with the private network.
- is_
regional bool - Private Networks are now all necessarily regional.
- 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.- 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.
- 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.
- is
Regional Boolean - Private Networks are now all necessarily regional.
- name String
- The name of the Private Network. If not provided, it will be randomly generated.
- project
Id String project_id
) The ID of the Project the private network is associated with.- region String
region
) The region of the Private Network.- List<String>
- The tags associated with the Private Network.
- vpc
Id String - The VPC in which to create the Private Network.
- zone String
- Use
region
instead.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcPrivateNetwork resource produces the following output properties:
- Created
At string - The date and time of the creation of the subnet.
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - The Organization ID the Private Network is associated with.
- Updated
At string - The date and time of the last update of the subnet.
- Created
At string - The date and time of the creation of the subnet.
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - The Organization ID the Private Network is associated with.
- Updated
At string - The date and time of the last update of the subnet.
- created
At String - The date and time of the creation of the subnet.
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - The Organization ID the Private Network is associated with.
- updated
At String - The date and time of the last update of the subnet.
- created
At string - The date and time of the creation of the subnet.
- id string
- The provider-assigned unique ID for this managed resource.
- organization
Id string - The Organization ID the Private Network is associated with.
- updated
At 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.
- created
At String - The date and time of the creation of the subnet.
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - The Organization ID the Private Network is associated with.
- updated
At 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.
- Created
At string - The date and time of the creation of the subnet.
- Ipv4Subnet
Pulumiverse.
Scaleway. Inputs. Vpc Private Network Ipv4Subnet - The IPv4 subnet to associate with the Private Network.
- Ipv6Subnets
List<Pulumiverse.
Scaleway. Inputs. Vpc Private Network Ipv6Subnet> - The IPv6 subnets to associate with the private network.
- Is
Regional bool - Private Networks are now all necessarily regional.
- Name string
- The name of the Private Network. If not provided, it will be randomly generated.
- Organization
Id string - The Organization ID the Private Network is associated with.
- Project
Id string project_id
) The ID of the Project the private network is associated with.- Region string
region
) The region of the Private Network.- List<string>
- The tags associated with the Private Network.
- Updated
At string - The date and time of the last update of the subnet.
- Vpc
Id string - The VPC in which to create the Private Network.
- Zone string
- Use
region
instead.
- Created
At string - The date and time of the creation of the subnet.
- Ipv4Subnet
Vpc
Private Network Ipv4Subnet Args - The IPv4 subnet to associate with the Private Network.
- Ipv6Subnets
[]Vpc
Private Network Ipv6Subnet Args - The IPv6 subnets to associate with the private network.
- Is
Regional bool - Private Networks are now all necessarily regional.
- Name string
- The name of the Private Network. If not provided, it will be randomly generated.
- Organization
Id string - The Organization ID the Private Network is associated with.
- Project
Id string project_id
) The ID of the Project the private network is associated with.- Region string
region
) The region of the Private Network.- []string
- The tags associated with the Private Network.
- Updated
At string - The date and time of the last update of the subnet.
- Vpc
Id string - The VPC in which to create the Private Network.
- Zone string
- Use
region
instead.
- created
At String - The date and time of the creation of the subnet.
- ipv4Subnet
Vpc
Private Network Ipv4Subnet - The IPv4 subnet to associate with the Private Network.
- ipv6Subnets
List<Vpc
Private Network Ipv6Subnet> - The IPv6 subnets to associate with the private network.
- is
Regional Boolean - Private Networks are now all necessarily regional.
- name String
- The name of the Private Network. If not provided, it will be randomly generated.
- organization
Id String - The Organization ID the Private Network is associated with.
- project
Id String project_id
) The ID of the Project the private network is associated with.- region String
region
) The region of the Private Network.- List<String>
- The tags associated with the Private Network.
- updated
At String - The date and time of the last update of the subnet.
- vpc
Id String - The VPC in which to create the Private Network.
- zone String
- Use
region
instead.
- created
At string - The date and time of the creation of the subnet.
- ipv4Subnet
Vpc
Private Network Ipv4Subnet - The IPv4 subnet to associate with the Private Network.
- ipv6Subnets
Vpc
Private Network Ipv6Subnet[] - The IPv6 subnets to associate with the private network.
- is
Regional boolean - Private Networks are now all necessarily regional.
- name string
- The name of the Private Network. If not provided, it will be randomly generated.
- organization
Id string - The Organization ID the Private Network is associated with.
- project
Id string project_id
) The ID of the Project the private network is associated with.- region string
region
) The region of the Private Network.- string[]
- The tags associated with the Private Network.
- updated
At string - The date and time of the last update of the subnet.
- vpc
Id string - The VPC in which to create the Private Network.
- zone string
- Use
region
instead.
- created_
at str - The date and time of the creation of the subnet.
- ipv4_
subnet VpcPrivate Network Ipv4Subnet Args - The IPv4 subnet to associate with the Private Network.
- ipv6_
subnets Sequence[VpcPrivate Network Ipv6Subnet Args] - The IPv6 subnets to associate with the private network.
- is_
regional bool - Private Networks are now all necessarily regional.
- 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.- 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.
- created
At 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.
- is
Regional Boolean - Private Networks are now all necessarily regional.
- name String
- The name of the Private Network. If not provided, it will be randomly generated.
- organization
Id String - The Organization ID the Private Network is associated with.
- project
Id String project_id
) The ID of the Project the private network is associated with.- region String
region
) The region of the Private Network.- List<String>
- The tags associated with the Private Network.
- updated
At String - The date and time of the last update of the subnet.
- vpc
Id String - The VPC in which to create the Private Network.
- zone String
- 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.
- Created
At string - The date and time of the creation of the subnet.
- Id string
- The subnet ID.
- Prefix
Length int - The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask.
- Subnet string
- The subnet CIDR.
- Subnet
Mask string - The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
- Updated
At 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.
- Created
At string - The date and time of the creation of the subnet.
- Id string
- The subnet ID.
- Prefix
Length int - The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask.
- Subnet string
- The subnet CIDR.
- Subnet
Mask string - The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
- Updated
At 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.
- created
At String - The date and time of the creation of the subnet.
- id String
- The subnet ID.
- prefix
Length Integer - The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask.
- subnet String
- The subnet CIDR.
- subnet
Mask String - The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
- updated
At 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.
- created
At string - The date and time of the creation of the subnet.
- id string
- The subnet ID.
- prefix
Length number - The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask.
- subnet string
- The subnet CIDR.
- subnet
Mask string - The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
- updated
At 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.
- created
At String - The date and time of the creation of the subnet.
- id String
- The subnet ID.
- prefix
Length Number - The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask.
- subnet String
- The subnet CIDR.
- subnet
Mask String - The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
- updated
At 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.
- Created
At string - The date and time of the creation of the subnet.
- Id string
- The subnet ID.
- Prefix
Length int - The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask.
- Subnet string
- The subnet CIDR.
- Subnet
Mask string - The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
- Updated
At 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.
- Created
At string - The date and time of the creation of the subnet.
- Id string
- The subnet ID.
- Prefix
Length int - The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask.
- Subnet string
- The subnet CIDR.
- Subnet
Mask string - The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
- Updated
At 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.
- created
At String - The date and time of the creation of the subnet.
- id String
- The subnet ID.
- prefix
Length Integer - The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask.
- subnet String
- The subnet CIDR.
- subnet
Mask String - The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
- updated
At 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.
- created
At string - The date and time of the creation of the subnet.
- id string
- The subnet ID.
- prefix
Length number - The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask.
- subnet string
- The subnet CIDR.
- subnet
Mask string - The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
- updated
At 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.
- created
At String - The date and time of the creation of the subnet.
- id String
- The subnet ID.
- prefix
Length Number - The length of the network prefix, e.g., 64 for a 'ffff:ffff:ffff:ffff::' mask.
- subnet String
- The subnet CIDR.
- subnet
Mask String - The subnet mask expressed in dotted decimal notation, e.g., '255.255.255.0' for a /24 subnet
- updated
At 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.