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 virtual gateway.
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 virtualGateway01 = outscale.getVirtualGateway({
filters: [{
name: "virtual_gateway_ids",
values: ["vgw-12345678"],
}],
});
import pulumi
import pulumi_outscale as outscale
virtual_gateway01 = outscale.get_virtual_gateway(filters=[{
"name": "virtual_gateway_ids",
"values": ["vgw-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.LookupVirtualGateway(ctx, &outscale.LookupVirtualGatewayArgs{
Filters: []outscale.GetVirtualGatewayFilter{
{
Name: "virtual_gateway_ids",
Values: []string{
"vgw-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 virtualGateway01 = Outscale.GetVirtualGateway.Invoke(new()
{
Filters = new[]
{
new Outscale.Inputs.GetVirtualGatewayFilterInputArgs
{
Name = "virtual_gateway_ids",
Values = new[]
{
"vgw-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.GetVirtualGatewayArgs;
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 virtualGateway01 = OutscaleFunctions.getVirtualGateway(GetVirtualGatewayArgs.builder()
.filters(GetVirtualGatewayFilterArgs.builder()
.name("virtual_gateway_ids")
.values("vgw-12345678")
.build())
.build());
}
}
variables:
virtualGateway01:
fn::invoke:
function: outscale:getVirtualGateway
arguments:
filters:
- name: virtual_gateway_ids
values:
- vgw-12345678
Using getVirtualGateway
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 getVirtualGateway(args: GetVirtualGatewayArgs, opts?: InvokeOptions): Promise<GetVirtualGatewayResult>
function getVirtualGatewayOutput(args: GetVirtualGatewayOutputArgs, opts?: InvokeOptions): Output<GetVirtualGatewayResult>def get_virtual_gateway(connection_type: Optional[str] = None,
filters: Optional[Sequence[GetVirtualGatewayFilter]] = None,
id: Optional[str] = None,
state: Optional[str] = None,
virtual_gateway_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualGatewayResult
def get_virtual_gateway_output(connection_type: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetVirtualGatewayFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
virtual_gateway_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVirtualGatewayResult]func LookupVirtualGateway(ctx *Context, args *LookupVirtualGatewayArgs, opts ...InvokeOption) (*LookupVirtualGatewayResult, error)
func LookupVirtualGatewayOutput(ctx *Context, args *LookupVirtualGatewayOutputArgs, opts ...InvokeOption) LookupVirtualGatewayResultOutput> Note: This function is named LookupVirtualGateway in the Go SDK.
public static class GetVirtualGateway
{
public static Task<GetVirtualGatewayResult> InvokeAsync(GetVirtualGatewayArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualGatewayResult> Invoke(GetVirtualGatewayInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVirtualGatewayResult> getVirtualGateway(GetVirtualGatewayArgs args, InvokeOptions options)
public static Output<GetVirtualGatewayResult> getVirtualGateway(GetVirtualGatewayArgs args, InvokeOptions options)
fn::invoke:
function: outscale:index/getVirtualGateway:getVirtualGateway
arguments:
# arguments dictionaryThe following arguments are supported:
- Connection
Type string - The type of VPN connection supported by the virtual gateway (always
ipsec.1). - Filters
List<Get
Virtual Gateway 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
- State string
- The state of the virtual gateway (
pending|available|deleting|deleted). - Virtual
Gateway stringId - The ID of the virtual gateway.
- Connection
Type string - The type of VPN connection supported by the virtual gateway (always
ipsec.1). - Filters
[]Get
Virtual Gateway 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
- State string
- The state of the virtual gateway (
pending|available|deleting|deleted). - Virtual
Gateway stringId - The ID of the virtual gateway.
- connection
Type String - The type of VPN connection supported by the virtual gateway (always
ipsec.1). - filters
List<Get
Virtual Gateway 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
- state String
- The state of the virtual gateway (
pending|available|deleting|deleted). - virtual
Gateway StringId - The ID of the virtual gateway.
- connection
Type string - The type of VPN connection supported by the virtual gateway (always
ipsec.1). - filters
Get
Virtual Gateway 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
- state string
- The state of the virtual gateway (
pending|available|deleting|deleted). - virtual
Gateway stringId - The ID of the virtual gateway.
- connection_
type str - The type of VPN connection supported by the virtual gateway (always
ipsec.1). - filters
Sequence[Get
Virtual Gateway 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
- state str
- The state of the virtual gateway (
pending|available|deleting|deleted). - virtual_
gateway_ strid - The ID of the virtual gateway.
- connection
Type String - The type of VPN connection supported by the virtual gateway (always
ipsec.1). - 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
- state String
- The state of the virtual gateway (
pending|available|deleting|deleted). - virtual
Gateway StringId - The ID of the virtual gateway.
getVirtualGateway Result
The following output properties are available:
- Connection
Type string - The type of VPN connection supported by the virtual gateway (always
ipsec.1). - Id string
- Net
To List<GetVirtual Gateway Links Virtual Gateway Net To Virtual Gateway Link> - The Net to which the virtual gateway is attached.
- Request
Id string - State string
- The state of the virtual gateway (
pending|available|deleting|deleted). -
List<Get
Virtual Gateway Tag> - One or more tags associated with the virtual gateway.
- Virtual
Gateway stringId - The ID of the virtual gateway.
- Filters
List<Get
Virtual Gateway Filter>
- Connection
Type string - The type of VPN connection supported by the virtual gateway (always
ipsec.1). - Id string
- Net
To []GetVirtual Gateway Links Virtual Gateway Net To Virtual Gateway Link - The Net to which the virtual gateway is attached.
- Request
Id string - State string
- The state of the virtual gateway (
pending|available|deleting|deleted). -
[]Get
Virtual Gateway Tag - One or more tags associated with the virtual gateway.
- Virtual
Gateway stringId - The ID of the virtual gateway.
- Filters
[]Get
Virtual Gateway Filter
- connection
Type String - The type of VPN connection supported by the virtual gateway (always
ipsec.1). - id String
- net
To List<GetVirtual Gateway Links Virtual Gateway Net To Virtual Gateway Link> - The Net to which the virtual gateway is attached.
- request
Id String - state String
- The state of the virtual gateway (
pending|available|deleting|deleted). -
List<Get
Virtual Gateway Tag> - One or more tags associated with the virtual gateway.
- virtual
Gateway StringId - The ID of the virtual gateway.
- filters
List<Get
Virtual Gateway Filter>
- connection
Type string - The type of VPN connection supported by the virtual gateway (always
ipsec.1). - id string
- net
To GetVirtual Gateway Links Virtual Gateway Net To Virtual Gateway Link[] - The Net to which the virtual gateway is attached.
- request
Id string - state string
- The state of the virtual gateway (
pending|available|deleting|deleted). -
Get
Virtual Gateway Tag[] - One or more tags associated with the virtual gateway.
- virtual
Gateway stringId - The ID of the virtual gateway.
- filters
Get
Virtual Gateway Filter[]
- connection_
type str - The type of VPN connection supported by the virtual gateway (always
ipsec.1). - id str
- net_
to_ Sequence[Getvirtual_ gateway_ links Virtual Gateway Net To Virtual Gateway Link] - The Net to which the virtual gateway is attached.
- request_
id str - state str
- The state of the virtual gateway (
pending|available|deleting|deleted). -
Sequence[Get
Virtual Gateway Tag] - One or more tags associated with the virtual gateway.
- virtual_
gateway_ strid - The ID of the virtual gateway.
- filters
Sequence[Get
Virtual Gateway Filter]
- connection
Type String - The type of VPN connection supported by the virtual gateway (always
ipsec.1). - id String
- net
To List<Property Map>Virtual Gateway Links - The Net to which the virtual gateway is attached.
- request
Id String - state String
- The state of the virtual gateway (
pending|available|deleting|deleted). - List<Property Map>
- One or more tags associated with the virtual gateway.
- virtual
Gateway StringId - The ID of the virtual gateway.
- filters List<Property Map>
Supporting Types
GetVirtualGatewayFilter
GetVirtualGatewayNetToVirtualGatewayLink
GetVirtualGatewayTag
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
