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 peering.
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 netPeering01 = outscale.getNetPeering({
filters: [{
name: "net_peering_ids",
values: ["pcx-12345678"],
}],
});
import pulumi
import pulumi_outscale as outscale
net_peering01 = outscale.get_net_peering(filters=[{
"name": "net_peering_ids",
"values": ["pcx-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.LookupNetPeering(ctx, &outscale.LookupNetPeeringArgs{
Filters: []outscale.GetNetPeeringFilter{
{
Name: "net_peering_ids",
Values: []string{
"pcx-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 netPeering01 = Outscale.GetNetPeering.Invoke(new()
{
Filters = new[]
{
new Outscale.Inputs.GetNetPeeringFilterInputArgs
{
Name = "net_peering_ids",
Values = new[]
{
"pcx-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.GetNetPeeringArgs;
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 netPeering01 = OutscaleFunctions.getNetPeering(GetNetPeeringArgs.builder()
.filters(GetNetPeeringFilterArgs.builder()
.name("net_peering_ids")
.values("pcx-12345678")
.build())
.build());
}
}
variables:
netPeering01:
fn::invoke:
function: outscale:getNetPeering
arguments:
filters:
- name: net_peering_ids
values:
- pcx-12345678
Using getNetPeering
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 getNetPeering(args: GetNetPeeringArgs, opts?: InvokeOptions): Promise<GetNetPeeringResult>
function getNetPeeringOutput(args: GetNetPeeringOutputArgs, opts?: InvokeOptions): Output<GetNetPeeringResult>def get_net_peering(filters: Optional[Sequence[GetNetPeeringFilter]] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetPeeringResult
def get_net_peering_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetNetPeeringFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetPeeringResult]func LookupNetPeering(ctx *Context, args *LookupNetPeeringArgs, opts ...InvokeOption) (*LookupNetPeeringResult, error)
func LookupNetPeeringOutput(ctx *Context, args *LookupNetPeeringOutputArgs, opts ...InvokeOption) LookupNetPeeringResultOutput> Note: This function is named LookupNetPeering in the Go SDK.
public static class GetNetPeering
{
public static Task<GetNetPeeringResult> InvokeAsync(GetNetPeeringArgs args, InvokeOptions? opts = null)
public static Output<GetNetPeeringResult> Invoke(GetNetPeeringInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetPeeringResult> getNetPeering(GetNetPeeringArgs args, InvokeOptions options)
public static Output<GetNetPeeringResult> getNetPeering(GetNetPeeringArgs args, InvokeOptions options)
fn::invoke:
function: outscale:index/getNetPeering:getNetPeering
arguments:
# arguments dictionaryThe following arguments are supported:
- Filters
List<Get
Net Peering 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
- Filters
[]Get
Net Peering 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
- filters
List<Get
Net Peering 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
- filters
Get
Net Peering 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
- filters
Sequence[Get
Net Peering 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
- 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
getNetPeering Result
The following output properties are available:
- Accepter
Nets List<GetNet Peering Accepter Net> - Information about the accepter Net.
- Id string
- Net
Peering stringId - The ID of the Net peering.
- Request
Id string - Source
Nets List<GetNet Peering Source Net> - Information about the source Net.
- States
List<Get
Net Peering State> - Information about the state of the Net peering.
-
List<Get
Net Peering Tag> - One or more tags associated with the Net peering.
- Filters
List<Get
Net Peering Filter>
- Accepter
Nets []GetNet Peering Accepter Net - Information about the accepter Net.
- Id string
- Net
Peering stringId - The ID of the Net peering.
- Request
Id string - Source
Nets []GetNet Peering Source Net - Information about the source Net.
- States
[]Get
Net Peering State - Information about the state of the Net peering.
-
[]Get
Net Peering Tag - One or more tags associated with the Net peering.
- Filters
[]Get
Net Peering Filter
- accepter
Nets List<GetNet Peering Accepter Net> - Information about the accepter Net.
- id String
- net
Peering StringId - The ID of the Net peering.
- request
Id String - source
Nets List<GetNet Peering Source Net> - Information about the source Net.
- states
List<Get
Net Peering State> - Information about the state of the Net peering.
-
List<Get
Net Peering Tag> - One or more tags associated with the Net peering.
- filters
List<Get
Net Peering Filter>
- accepter
Nets GetNet Peering Accepter Net[] - Information about the accepter Net.
- id string
- net
Peering stringId - The ID of the Net peering.
- request
Id string - source
Nets GetNet Peering Source Net[] - Information about the source Net.
- states
Get
Net Peering State[] - Information about the state of the Net peering.
-
Get
Net Peering Tag[] - One or more tags associated with the Net peering.
- filters
Get
Net Peering Filter[]
- accepter_
nets Sequence[GetNet Peering Accepter Net] - Information about the accepter Net.
- id str
- net_
peering_ strid - The ID of the Net peering.
- request_
id str - source_
nets Sequence[GetNet Peering Source Net] - Information about the source Net.
- states
Sequence[Get
Net Peering State] - Information about the state of the Net peering.
-
Sequence[Get
Net Peering Tag] - One or more tags associated with the Net peering.
- filters
Sequence[Get
Net Peering Filter]
- accepter
Nets List<Property Map> - Information about the accepter Net.
- id String
- net
Peering StringId - The ID of the Net peering.
- request
Id String - source
Nets List<Property Map> - Information about the source Net.
- states List<Property Map>
- Information about the state of the Net peering.
- List<Property Map>
- One or more tags associated with the Net peering.
- filters List<Property Map>
Supporting Types
GetNetPeeringAccepterNet
- account_
id str - The account ID of the owner of the source Net.
- ip_
range str - The IP range for the source Net, in CIDR notation (for example,
10.0.0.0/16). - net_
id str - The ID of the source Net.
GetNetPeeringFilter
GetNetPeeringSourceNet
- account_
id str - The account ID of the owner of the source Net.
- ip_
range str - The IP range for the source Net, in CIDR notation (for example,
10.0.0.0/16). - net_
id str - The ID of the source Net.
GetNetPeeringState
GetNetPeeringTag
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
