Viewing docs for outscale 1.4.0
published on Tuesday, Feb 24, 2026 by outscale
published on Tuesday, Feb 24, 2026 by outscale
Viewing docs for outscale 1.4.0
published on Tuesday, Feb 24, 2026 by outscale
published on Tuesday, Feb 24, 2026 by outscale
Provides information about 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
import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";
const net01 = outscale.getNet({
filters: [{
name: "net_ids",
values: ["vpc-12345678"],
}],
});
import pulumi
import pulumi_outscale as outscale
net01 = outscale.get_net(filters=[{
"name": "net_ids",
"values": ["vpc-12345678"],
}])
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.LookupNet(ctx, &outscale.LookupNetArgs{
Filters: []outscale.GetNetFilter{
{
Name: "net_ids",
Values: []string{
"vpc-12345678",
},
},
},
}, nil)
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 = Outscale.GetNet.Invoke(new()
{
Filters = new[]
{
new Outscale.Inputs.GetNetFilterInputArgs
{
Name = "net_ids",
Values = new[]
{
"vpc-12345678",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.OutscaleFunctions;
import com.pulumi.outscale.inputs.GetNetArgs;
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) {
final var net01 = OutscaleFunctions.getNet(GetNetArgs.builder()
.filters(GetNetFilterArgs.builder()
.name("net_ids")
.values("vpc-12345678")
.build())
.build());
}
}
variables:
net01:
fn::invoke:
function: outscale:getNet
arguments:
filters:
- name: net_ids
values:
- vpc-12345678
Using getNet
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNet(args: GetNetArgs, opts?: InvokeOptions): Promise<GetNetResult>
function getNetOutput(args: GetNetOutputArgs, opts?: InvokeOptions): Output<GetNetResult>def get_net(filters: Optional[Sequence[GetNetFilter]] = None,
id: Optional[str] = None,
net_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetResult
def get_net_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetNetFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
net_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetResult]func LookupNet(ctx *Context, args *LookupNetArgs, opts ...InvokeOption) (*LookupNetResult, error)
func LookupNetOutput(ctx *Context, args *LookupNetOutputArgs, opts ...InvokeOption) LookupNetResultOutput> Note: This function is named LookupNet in the Go SDK.
public static class GetNet
{
public static Task<GetNetResult> InvokeAsync(GetNetArgs args, InvokeOptions? opts = null)
public static Output<GetNetResult> Invoke(GetNetInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetResult> getNet(GetNetArgs args, InvokeOptions options)
public static Output<GetNetResult> getNet(GetNetArgs args, InvokeOptions options)
fn::invoke:
function: outscale:index/getNet:getNet
arguments:
# arguments dictionaryThe following arguments are supported:
- Filters
List<Get
Net Filter> - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- Id string
- Net
Id string - The ID of the Net.
- Filters
[]Get
Net Filter - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- Id string
- Net
Id string - The ID of the Net.
- filters
List<Get
Net Filter> - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- id String
- net
Id String - The ID of the Net.
- filters
Get
Net Filter[] - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- id string
- net
Id string - The ID of the Net.
- filters
Sequence[Get
Net Filter] - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- id str
- net_
id str - The ID of the Net.
- filters List<Property Map>
- A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- id String
- net
Id String - The ID of the Net.
getNet Result
The following output properties are available:
- Dhcp
Options stringSet Id - The ID of the DHCP options set (or
defaultif you want to associate the default one). - Id string
- 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<Get
Net Tag> - One or more tags associated with the Net.
- Tenancy string
- The VM tenancy in a Net.
- Filters
List<Get
Net Filter>
- Dhcp
Options stringSet Id - The ID of the DHCP options set (or
defaultif you want to associate the default one). - Id string
- 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). -
[]Get
Net Tag - One or more tags associated with the Net.
- Tenancy string
- The VM tenancy in a Net.
- Filters
[]Get
Net Filter
- dhcp
Options StringSet Id - The ID of the DHCP options set (or
defaultif you want to associate the default one). - id String
- 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<Get
Net Tag> - One or more tags associated with the Net.
- tenancy String
- The VM tenancy in a Net.
- filters
List<Get
Net Filter>
- dhcp
Options stringSet Id - The ID of the DHCP options set (or
defaultif you want to associate the default one). - id string
- 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). -
Get
Net Tag[] - One or more tags associated with the Net.
- tenancy string
- The VM tenancy in a Net.
- filters
Get
Net Filter[]
- dhcp_
options_ strset_ id - The ID of the DHCP options set (or
defaultif you want to associate the default one). - id str
- 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[Get
Net Tag] - One or more tags associated with the Net.
- tenancy str
- The VM tenancy in a Net.
- filters
Sequence[Get
Net Filter]
- dhcp
Options StringSet Id - The ID of the DHCP options set (or
defaultif you want to associate the default one). - id String
- 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>
- One or more tags associated with the Net.
- tenancy String
- The VM tenancy in a Net.
- filters List<Property Map>
Supporting Types
GetNetFilter
GetNetTag
Package Details
- Repository
- outscale outscale/terraform-provider-outscale
- License
- Notes
- This Pulumi package is based on the
outscaleTerraform Provider.
Viewing docs for outscale 1.4.0
published on Tuesday, Feb 24, 2026 by outscale
published on Tuesday, Feb 24, 2026 by outscale
