outscale.Net
Explore with Pulumi AI
Manages a Net.
For more information on this resource, see the User Guide.
For more information on this resource actions, see the API documentation.
Example Usage
Create a Net
import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";
const net01 = new outscale.Net("net01", {
ipRange: "10.10.0.0/16",
tenancy: "default",
});
import pulumi
import pulumi_outscale as outscale
net01 = outscale.Net("net01",
ip_range="10.10.0.0/16",
tenancy="default")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := outscale.NewNet(ctx, "net01", &outscale.NetArgs{
IpRange: pulumi.String("10.10.0.0/16"),
Tenancy: pulumi.String("default"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;
return await Deployment.RunAsync(() =>
{
var net01 = new Outscale.Net("net01", new()
{
IpRange = "10.10.0.0/16",
Tenancy = "default",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.Net;
import com.pulumi.outscale.NetArgs;
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 net01 = new Net("net01", NetArgs.builder()
.ipRange("10.10.0.0/16")
.tenancy("default")
.build());
}
}
resources:
net01:
type: outscale:Net
properties:
ipRange: 10.10.0.0/16
tenancy: default
Create a Net with a network
import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";
const net02 = new outscale.Net("net02", {ipRange: "10.0.0.0/16"});
const subnet01 = new outscale.Subnet("subnet01", {
netId: net02.netId,
ipRange: "10.0.0.0/18",
});
const publicIp01 = new outscale.PublicIp("publicIp01", {});
const natService01 = new outscale.NatService("natService01", {
subnetId: subnet01.subnetId,
publicIpId: publicIp01.publicIpId,
});
const routeTable01 = new outscale.RouteTable("routeTable01", {netId: net02.netId});
const internetService01 = new outscale.InternetService("internetService01", {});
const route01 = new outscale.Route("route01", {
destinationIpRange: "0.0.0.0/0",
gatewayId: internetService01.internetServiceId,
routeTableId: routeTable01.routeTableId,
});
const routeTableLink01 = new outscale.RouteTableLink("routeTableLink01", {
subnetId: subnet01.subnetId,
routeTableId: routeTable01.outscaleRouteTableId,
});
const internetServiceLink01 = new outscale.InternetServiceLink("internetServiceLink01", {
netId: net02.netId,
internetServiceId: internetService01.outscaleInternetServiceId,
});
import pulumi
import pulumi_outscale as outscale
net02 = outscale.Net("net02", ip_range="10.0.0.0/16")
subnet01 = outscale.Subnet("subnet01",
net_id=net02.net_id,
ip_range="10.0.0.0/18")
public_ip01 = outscale.PublicIp("publicIp01")
nat_service01 = outscale.NatService("natService01",
subnet_id=subnet01.subnet_id,
public_ip_id=public_ip01.public_ip_id)
route_table01 = outscale.RouteTable("routeTable01", net_id=net02.net_id)
internet_service01 = outscale.InternetService("internetService01")
route01 = outscale.Route("route01",
destination_ip_range="0.0.0.0/0",
gateway_id=internet_service01.internet_service_id,
route_table_id=route_table01.route_table_id)
route_table_link01 = outscale.RouteTableLink("routeTableLink01",
subnet_id=subnet01.subnet_id,
route_table_id=route_table01.outscale_route_table_id)
internet_service_link01 = outscale.InternetServiceLink("internetServiceLink01",
net_id=net02.net_id,
internet_service_id=internet_service01.outscale_internet_service_id)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
net02, err := outscale.NewNet(ctx, "net02", &outscale.NetArgs{
IpRange: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}
subnet01, err := outscale.NewSubnet(ctx, "subnet01", &outscale.SubnetArgs{
NetId: net02.NetId,
IpRange: pulumi.String("10.0.0.0/18"),
})
if err != nil {
return err
}
publicIp01, err := outscale.NewPublicIp(ctx, "publicIp01", nil)
if err != nil {
return err
}
_, err = outscale.NewNatService(ctx, "natService01", &outscale.NatServiceArgs{
SubnetId: subnet01.SubnetId,
PublicIpId: publicIp01.PublicIpId,
})
if err != nil {
return err
}
routeTable01, err := outscale.NewRouteTable(ctx, "routeTable01", &outscale.RouteTableArgs{
NetId: net02.NetId,
})
if err != nil {
return err
}
internetService01, err := outscale.NewInternetService(ctx, "internetService01", nil)
if err != nil {
return err
}
_, err = outscale.NewRoute(ctx, "route01", &outscale.RouteArgs{
DestinationIpRange: pulumi.String("0.0.0.0/0"),
GatewayId: internetService01.InternetServiceId,
RouteTableId: routeTable01.RouteTableId,
})
if err != nil {
return err
}
_, err = outscale.NewRouteTableLink(ctx, "routeTableLink01", &outscale.RouteTableLinkArgs{
SubnetId: subnet01.SubnetId,
RouteTableId: routeTable01.OutscaleRouteTableId,
})
if err != nil {
return err
}
_, err = outscale.NewInternetServiceLink(ctx, "internetServiceLink01", &outscale.InternetServiceLinkArgs{
NetId: net02.NetId,
InternetServiceId: internetService01.OutscaleInternetServiceId,
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;
return await Deployment.RunAsync(() =>
{
var net02 = new Outscale.Net("net02", new()
{
IpRange = "10.0.0.0/16",
});
var subnet01 = new Outscale.Subnet("subnet01", new()
{
NetId = net02.NetId,
IpRange = "10.0.0.0/18",
});
var publicIp01 = new Outscale.PublicIp("publicIp01");
var natService01 = new Outscale.NatService("natService01", new()
{
SubnetId = subnet01.SubnetId,
PublicIpId = publicIp01.PublicIpId,
});
var routeTable01 = new Outscale.RouteTable("routeTable01", new()
{
NetId = net02.NetId,
});
var internetService01 = new Outscale.InternetService("internetService01");
var route01 = new Outscale.Route("route01", new()
{
DestinationIpRange = "0.0.0.0/0",
GatewayId = internetService01.InternetServiceId,
RouteTableId = routeTable01.RouteTableId,
});
var routeTableLink01 = new Outscale.RouteTableLink("routeTableLink01", new()
{
SubnetId = subnet01.SubnetId,
RouteTableId = routeTable01.OutscaleRouteTableId,
});
var internetServiceLink01 = new Outscale.InternetServiceLink("internetServiceLink01", new()
{
NetId = net02.NetId,
InternetServiceId = internetService01.OutscaleInternetServiceId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.Net;
import com.pulumi.outscale.NetArgs;
import com.pulumi.outscale.Subnet;
import com.pulumi.outscale.SubnetArgs;
import com.pulumi.outscale.PublicIp;
import com.pulumi.outscale.NatService;
import com.pulumi.outscale.NatServiceArgs;
import com.pulumi.outscale.RouteTable;
import com.pulumi.outscale.RouteTableArgs;
import com.pulumi.outscale.InternetService;
import com.pulumi.outscale.Route;
import com.pulumi.outscale.RouteArgs;
import com.pulumi.outscale.RouteTableLink;
import com.pulumi.outscale.RouteTableLinkArgs;
import com.pulumi.outscale.InternetServiceLink;
import com.pulumi.outscale.InternetServiceLinkArgs;
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 net02 = new Net("net02", NetArgs.builder()
.ipRange("10.0.0.0/16")
.build());
var subnet01 = new Subnet("subnet01", SubnetArgs.builder()
.netId(net02.netId())
.ipRange("10.0.0.0/18")
.build());
var publicIp01 = new PublicIp("publicIp01");
var natService01 = new NatService("natService01", NatServiceArgs.builder()
.subnetId(subnet01.subnetId())
.publicIpId(publicIp01.publicIpId())
.build());
var routeTable01 = new RouteTable("routeTable01", RouteTableArgs.builder()
.netId(net02.netId())
.build());
var internetService01 = new InternetService("internetService01");
var route01 = new Route("route01", RouteArgs.builder()
.destinationIpRange("0.0.0.0/0")
.gatewayId(internetService01.internetServiceId())
.routeTableId(routeTable01.routeTableId())
.build());
var routeTableLink01 = new RouteTableLink("routeTableLink01", RouteTableLinkArgs.builder()
.subnetId(subnet01.subnetId())
.routeTableId(routeTable01.outscaleRouteTableId())
.build());
var internetServiceLink01 = new InternetServiceLink("internetServiceLink01", InternetServiceLinkArgs.builder()
.netId(net02.netId())
.internetServiceId(internetService01.outscaleInternetServiceId())
.build());
}
}
resources:
net02:
type: outscale:Net
properties:
ipRange: 10.0.0.0/16
subnet01:
type: outscale:Subnet
properties:
netId: ${net02.netId}
ipRange: 10.0.0.0/18
publicIp01:
type: outscale:PublicIp
natService01:
type: outscale:NatService
properties:
subnetId: ${subnet01.subnetId}
publicIpId: ${publicIp01.publicIpId}
routeTable01:
type: outscale:RouteTable
properties:
netId: ${net02.netId}
route01:
type: outscale:Route
properties:
destinationIpRange: 0.0.0.0/0
gatewayId: ${internetService01.internetServiceId}
routeTableId: ${routeTable01.routeTableId}
routeTableLink01:
type: outscale:RouteTableLink
properties:
subnetId: ${subnet01.subnetId}
routeTableId: ${routeTable01.outscaleRouteTableId}
internetService01:
type: outscale:InternetService
internetServiceLink01:
type: outscale:InternetServiceLink
properties:
netId: ${net02.netId}
internetServiceId: ${internetService01.outscaleInternetServiceId}
Create Net Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Net(name: string, args: NetArgs, opts?: CustomResourceOptions);
@overload
def Net(resource_name: str,
args: NetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Net(resource_name: str,
opts: Optional[ResourceOptions] = None,
ip_range: Optional[str] = None,
tags: Optional[Sequence[NetTagArgs]] = None,
tenancy: Optional[str] = None,
timeouts: Optional[NetTimeoutsArgs] = None)
func NewNet(ctx *Context, name string, args NetArgs, opts ...ResourceOption) (*Net, error)
public Net(string name, NetArgs args, CustomResourceOptions? opts = null)
type: outscale:Net
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 NetArgs
- 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 NetArgs
- 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 NetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NetArgs
- 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 netResource = new Outscale.Net("netResource", new()
{
IpRange = "string",
Tags = new[]
{
new Outscale.Inputs.NetTagArgs
{
Key = "string",
Value = "string",
},
},
Tenancy = "string",
Timeouts = new Outscale.Inputs.NetTimeoutsArgs
{
Create = "string",
Delete = "string",
Read = "string",
Update = "string",
},
});
example, err := outscale.NewNet(ctx, "netResource", &outscale.NetArgs{
IpRange: pulumi.String("string"),
Tags: outscale.NetTagArray{
&outscale.NetTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Tenancy: pulumi.String("string"),
Timeouts: &outscale.NetTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var netResource = new Net("netResource", NetArgs.builder()
.ipRange("string")
.tags(NetTagArgs.builder()
.key("string")
.value("string")
.build())
.tenancy("string")
.timeouts(NetTimeoutsArgs.builder()
.create("string")
.delete("string")
.read("string")
.update("string")
.build())
.build());
net_resource = outscale.Net("netResource",
ip_range="string",
tags=[{
"key": "string",
"value": "string",
}],
tenancy="string",
timeouts={
"create": "string",
"delete": "string",
"read": "string",
"update": "string",
})
const netResource = new outscale.Net("netResource", {
ipRange: "string",
tags: [{
key: "string",
value: "string",
}],
tenancy: "string",
timeouts: {
create: "string",
"delete": "string",
read: "string",
update: "string",
},
});
type: outscale:Net
properties:
ipRange: string
tags:
- key: string
value: string
tenancy: string
timeouts:
create: string
delete: string
read: string
update: string
Net 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 Net resource accepts the following input properties:
- Ip
Range string - The IP range for the Net, in CIDR notation (for example,
10.0.0.0/16
). - List<Net
Tag> - A tag to add to this resource. You can specify this argument several times.
- Tenancy string
- The tenancy options for the VMs:
- Timeouts
Net
Timeouts
- Ip
Range string - The IP range for the Net, in CIDR notation (for example,
10.0.0.0/16
). - []Net
Tag Args - A tag to add to this resource. You can specify this argument several times.
- Tenancy string
- The tenancy options for the VMs:
- Timeouts
Net
Timeouts Args
- ip
Range String - The IP range for the Net, in CIDR notation (for example,
10.0.0.0/16
). - List<Net
Tag> - A tag to add to this resource. You can specify this argument several times.
- tenancy String
- The tenancy options for the VMs:
- timeouts
Net
Timeouts
- ip
Range string - The IP range for the Net, in CIDR notation (for example,
10.0.0.0/16
). - Net
Tag[] - A tag to add to this resource. You can specify this argument several times.
- tenancy string
- The tenancy options for the VMs:
- timeouts
Net
Timeouts
- ip_
range str - The IP range for the Net, in CIDR notation (for example,
10.0.0.0/16
). - Sequence[Net
Tag Args] - A tag to add to this resource. You can specify this argument several times.
- tenancy str
- The tenancy options for the VMs:
- timeouts
Net
Timeouts Args
- ip
Range String - The IP range for the Net, in CIDR notation (for example,
10.0.0.0/16
). - List<Property Map>
- A tag to add to this resource. You can specify this argument several times.
- tenancy String
- The tenancy options for the VMs:
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Net resource produces the following output properties:
- Dhcp
Options stringSet Id - The ID of the DHCP options set (or
default
if you want to associate the default one). - Id string
- The provider-assigned unique ID for this managed resource.
- Net
Id string - The ID of the Net.
- Request
Id string - State string
- The state of the Net (
pending
|available
|deleting
).
- Dhcp
Options stringSet Id - The ID of the DHCP options set (or
default
if you want to associate the default one). - Id string
- The provider-assigned unique ID for this managed resource.
- Net
Id string - The ID of the Net.
- Request
Id string - State string
- The state of the Net (
pending
|available
|deleting
).
- dhcp
Options StringSet Id - The ID of the DHCP options set (or
default
if you want to associate the default one). - id String
- The provider-assigned unique ID for this managed resource.
- net
Id String - The ID of the Net.
- request
Id String - state String
- The state of the Net (
pending
|available
|deleting
).
- dhcp
Options stringSet Id - The ID of the DHCP options set (or
default
if you want to associate the default one). - id string
- The provider-assigned unique ID for this managed resource.
- net
Id string - The ID of the Net.
- request
Id string - state string
- The state of the Net (
pending
|available
|deleting
).
- dhcp_
options_ strset_ id - The ID of the DHCP options set (or
default
if you want to associate the default one). - id str
- The provider-assigned unique ID for this managed resource.
- net_
id str - The ID of the Net.
- request_
id str - state str
- The state of the Net (
pending
|available
|deleting
).
- dhcp
Options StringSet Id - The ID of the DHCP options set (or
default
if you want to associate the default one). - id String
- The provider-assigned unique ID for this managed resource.
- net
Id String - The ID of the Net.
- request
Id String - state String
- The state of the Net (
pending
|available
|deleting
).
Look up Existing Net Resource
Get an existing Net 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?: NetState, opts?: CustomResourceOptions): Net
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
dhcp_options_set_id: Optional[str] = None,
ip_range: Optional[str] = None,
net_id: Optional[str] = None,
request_id: Optional[str] = None,
state: Optional[str] = None,
tags: Optional[Sequence[NetTagArgs]] = None,
tenancy: Optional[str] = None,
timeouts: Optional[NetTimeoutsArgs] = None) -> Net
func GetNet(ctx *Context, name string, id IDInput, state *NetState, opts ...ResourceOption) (*Net, error)
public static Net Get(string name, Input<string> id, NetState? state, CustomResourceOptions? opts = null)
public static Net get(String name, Output<String> id, NetState state, CustomResourceOptions options)
resources: _: type: outscale:Net get: id: ${id}
- 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.
- Dhcp
Options stringSet Id - The ID of the DHCP options set (or
default
if you want to associate the default one). - Ip
Range string - The IP range for the Net, in CIDR notation (for example,
10.0.0.0/16
). - Net
Id string - The ID of the Net.
- Request
Id string - State string
- The state of the Net (
pending
|available
|deleting
). - List<Net
Tag> - A tag to add to this resource. You can specify this argument several times.
- Tenancy string
- The tenancy options for the VMs:
- Timeouts
Net
Timeouts
- Dhcp
Options stringSet Id - The ID of the DHCP options set (or
default
if you want to associate the default one). - Ip
Range string - The IP range for the Net, in CIDR notation (for example,
10.0.0.0/16
). - Net
Id string - The ID of the Net.
- Request
Id string - State string
- The state of the Net (
pending
|available
|deleting
). - []Net
Tag Args - A tag to add to this resource. You can specify this argument several times.
- Tenancy string
- The tenancy options for the VMs:
- Timeouts
Net
Timeouts Args
- dhcp
Options StringSet Id - The ID of the DHCP options set (or
default
if you want to associate the default one). - ip
Range String - The IP range for the Net, in CIDR notation (for example,
10.0.0.0/16
). - net
Id String - The ID of the Net.
- request
Id String - state String
- The state of the Net (
pending
|available
|deleting
). - List<Net
Tag> - A tag to add to this resource. You can specify this argument several times.
- tenancy String
- The tenancy options for the VMs:
- timeouts
Net
Timeouts
- dhcp
Options stringSet Id - The ID of the DHCP options set (or
default
if you want to associate the default one). - ip
Range string - The IP range for the Net, in CIDR notation (for example,
10.0.0.0/16
). - net
Id string - The ID of the Net.
- request
Id string - state string
- The state of the Net (
pending
|available
|deleting
). - Net
Tag[] - A tag to add to this resource. You can specify this argument several times.
- tenancy string
- The tenancy options for the VMs:
- timeouts
Net
Timeouts
- dhcp_
options_ strset_ id - The ID of the DHCP options set (or
default
if you want to associate the default one). - ip_
range str - The IP range for the Net, in CIDR notation (for example,
10.0.0.0/16
). - net_
id str - The ID of the Net.
- request_
id str - state str
- The state of the Net (
pending
|available
|deleting
). - Sequence[Net
Tag Args] - A tag to add to this resource. You can specify this argument several times.
- tenancy str
- The tenancy options for the VMs:
- timeouts
Net
Timeouts Args
- dhcp
Options StringSet Id - The ID of the DHCP options set (or
default
if you want to associate the default one). - ip
Range String - The IP range for the Net, in CIDR notation (for example,
10.0.0.0/16
). - net
Id String - The ID of the Net.
- request
Id String - state String
- The state of the Net (
pending
|available
|deleting
). - List<Property Map>
- A tag to add to this resource. You can specify this argument several times.
- tenancy String
- The tenancy options for the VMs:
- timeouts Property Map
Supporting Types
NetTag, NetTagArgs
NetTimeouts, NetTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
A Net can be imported using its ID. For example:
console
$ pulumi import outscale:index/net:Net ImportedNet vpc-87654321
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- outscale outscale/terraform-provider-outscale
- License
- Notes
- This Pulumi package is based on the
outscale
Terraform Provider.