Viewing docs for konnect 3.14.0
published on Friday, Apr 24, 2026 by kong
published on Friday, Apr 24, 2026 by kong
Viewing docs for konnect 3.14.0
published on Friday, Apr 24, 2026 by kong
published on Friday, Apr 24, 2026 by kong
CloudGatewayNetwork DataSource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as konnect from "@pulumi/konnect";
const myCloudgatewaynetwork = konnect.getCloudGatewayNetwork({
filter: {
name: {
contains: "...my_contains...",
eq: "...my_eq...",
neq: "...my_neq...",
ocontains: "...my_ocontains...",
oeq: "...my_oeq...",
},
state: {
oeq: "...my_oeq...",
},
},
});
import pulumi
import pulumi_konnect as konnect
my_cloudgatewaynetwork = konnect.get_cloud_gateway_network(filter={
"name": {
"contains": "...my_contains...",
"eq": "...my_eq...",
"neq": "...my_neq...",
"ocontains": "...my_ocontains...",
"oeq": "...my_oeq...",
},
"state": {
"oeq": "...my_oeq...",
},
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/konnect/v3/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := konnect.LookupCloudGatewayNetwork(ctx, &konnect.LookupCloudGatewayNetworkArgs{
Filter: konnect.GetCloudGatewayNetworkFilter{
Name: konnect.GetCloudGatewayNetworkFilterName{
Contains: pulumi.StringRef("...my_contains..."),
Eq: pulumi.StringRef("...my_eq..."),
Neq: pulumi.StringRef("...my_neq..."),
Ocontains: pulumi.StringRef("...my_ocontains..."),
Oeq: pulumi.StringRef("...my_oeq..."),
},
State: konnect.GetCloudGatewayNetworkFilterState{
Oeq: pulumi.StringRef("...my_oeq..."),
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Konnect = Pulumi.Konnect;
return await Deployment.RunAsync(() =>
{
var myCloudgatewaynetwork = Konnect.GetCloudGatewayNetwork.Invoke(new()
{
Filter = new Konnect.Inputs.GetCloudGatewayNetworkFilterInputArgs
{
Name = new Konnect.Inputs.GetCloudGatewayNetworkFilterNameInputArgs
{
Contains = "...my_contains...",
Eq = "...my_eq...",
Neq = "...my_neq...",
Ocontains = "...my_ocontains...",
Oeq = "...my_oeq...",
},
State = new Konnect.Inputs.GetCloudGatewayNetworkFilterStateInputArgs
{
Oeq = "...my_oeq...",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.konnect.KonnectFunctions;
import com.pulumi.konnect.inputs.GetCloudGatewayNetworkArgs;
import com.pulumi.konnect.inputs.GetCloudGatewayNetworkFilterArgs;
import com.pulumi.konnect.inputs.GetCloudGatewayNetworkFilterNameArgs;
import com.pulumi.konnect.inputs.GetCloudGatewayNetworkFilterStateArgs;
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 myCloudgatewaynetwork = KonnectFunctions.getCloudGatewayNetwork(GetCloudGatewayNetworkArgs.builder()
.filter(GetCloudGatewayNetworkFilterArgs.builder()
.name(GetCloudGatewayNetworkFilterNameArgs.builder()
.contains("...my_contains...")
.eq("...my_eq...")
.neq("...my_neq...")
.ocontains("...my_ocontains...")
.oeq("...my_oeq...")
.build())
.state(GetCloudGatewayNetworkFilterStateArgs.builder()
.oeq("...my_oeq...")
.build())
.build())
.build());
}
}
variables:
myCloudgatewaynetwork:
fn::invoke:
function: konnect:getCloudGatewayNetwork
arguments:
filter:
name:
contains: '...my_contains...'
eq: '...my_eq...'
neq: '...my_neq...'
ocontains: '...my_ocontains...'
oeq: '...my_oeq...'
state:
oeq: '...my_oeq...'
Using getCloudGatewayNetwork
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 getCloudGatewayNetwork(args: GetCloudGatewayNetworkArgs, opts?: InvokeOptions): Promise<GetCloudGatewayNetworkResult>
function getCloudGatewayNetworkOutput(args: GetCloudGatewayNetworkOutputArgs, opts?: InvokeOptions): Output<GetCloudGatewayNetworkResult>def get_cloud_gateway_network(filter: Optional[GetCloudGatewayNetworkFilter] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudGatewayNetworkResult
def get_cloud_gateway_network_output(filter: Optional[pulumi.Input[GetCloudGatewayNetworkFilterArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudGatewayNetworkResult]func LookupCloudGatewayNetwork(ctx *Context, args *LookupCloudGatewayNetworkArgs, opts ...InvokeOption) (*LookupCloudGatewayNetworkResult, error)
func LookupCloudGatewayNetworkOutput(ctx *Context, args *LookupCloudGatewayNetworkOutputArgs, opts ...InvokeOption) LookupCloudGatewayNetworkResultOutput> Note: This function is named LookupCloudGatewayNetwork in the Go SDK.
public static class GetCloudGatewayNetwork
{
public static Task<GetCloudGatewayNetworkResult> InvokeAsync(GetCloudGatewayNetworkArgs args, InvokeOptions? opts = null)
public static Output<GetCloudGatewayNetworkResult> Invoke(GetCloudGatewayNetworkInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudGatewayNetworkResult> getCloudGatewayNetwork(GetCloudGatewayNetworkArgs args, InvokeOptions options)
public static Output<GetCloudGatewayNetworkResult> getCloudGatewayNetwork(GetCloudGatewayNetworkArgs args, InvokeOptions options)
fn::invoke:
function: konnect:index/getCloudGatewayNetwork:getCloudGatewayNetwork
arguments:
# arguments dictionaryThe following arguments are supported:
- Filter
Get
Cloud Gateway Network Filter - Filters supported for networks.
- Filter
Get
Cloud Gateway Network Filter - Filters supported for networks.
- filter
Get
Cloud Gateway Network Filter - Filters supported for networks.
- filter
Get
Cloud Gateway Network Filter - Filters supported for networks.
- filter
Get
Cloud Gateway Network Filter - Filters supported for networks.
- filter Property Map
- Filters supported for networks.
getCloudGatewayNetwork Result
The following output properties are available:
- Availability
Zones List<string> - List of availability zones that the network is attached to.
- Cidr
Block string - CIDR block configuration for the network.
- Cloud
Gateway stringProvider Account Id - Configuration
Reference doubleCount - The number of configurations that reference this network.
- Created
At string - An RFC-3339 timestamp representation of network creation date.
- Default bool
- Whether the network is a default network or not. Default networks are Networks that are created automatically by Konnect when an organization is linked to a provider account.
- Entity
Version double - Monotonically-increasing version count of the network, to indicate the order of updates to the network.
- Id string
- The network ID to operate on. For serverless.v1 kind of cloud gateways, this field should be omitted.
- Name string
- Human-readable name of the network.
- Provider
Metadata GetCloud Gateway Network Provider Metadata - Metadata describing attributes returned by cloud-provider for the network.
- Region string
- Region ID for cloud provider region.
- Transit
Gateway doubleCount - The number of transit gateways attached to this network.
- Updated
At string - An RFC-3339 timestamp representation of network update date.
- Filter
Get
Cloud Gateway Network Filter - Filters supported for networks.
- Availability
Zones []string - List of availability zones that the network is attached to.
- Cidr
Block string - CIDR block configuration for the network.
- Cloud
Gateway stringProvider Account Id - Configuration
Reference float64Count - The number of configurations that reference this network.
- Created
At string - An RFC-3339 timestamp representation of network creation date.
- Default bool
- Whether the network is a default network or not. Default networks are Networks that are created automatically by Konnect when an organization is linked to a provider account.
- Entity
Version float64 - Monotonically-increasing version count of the network, to indicate the order of updates to the network.
- Id string
- The network ID to operate on. For serverless.v1 kind of cloud gateways, this field should be omitted.
- Name string
- Human-readable name of the network.
- Provider
Metadata GetCloud Gateway Network Provider Metadata - Metadata describing attributes returned by cloud-provider for the network.
- Region string
- Region ID for cloud provider region.
- Transit
Gateway float64Count - The number of transit gateways attached to this network.
- Updated
At string - An RFC-3339 timestamp representation of network update date.
- Filter
Get
Cloud Gateway Network Filter - Filters supported for networks.
- availability
Zones List<String> - List of availability zones that the network is attached to.
- cidr
Block String - CIDR block configuration for the network.
- cloud
Gateway StringProvider Account Id - configuration
Reference DoubleCount - The number of configurations that reference this network.
- created
At String - An RFC-3339 timestamp representation of network creation date.
- default_ Boolean
- Whether the network is a default network or not. Default networks are Networks that are created automatically by Konnect when an organization is linked to a provider account.
- entity
Version Double - Monotonically-increasing version count of the network, to indicate the order of updates to the network.
- id String
- The network ID to operate on. For serverless.v1 kind of cloud gateways, this field should be omitted.
- name String
- Human-readable name of the network.
- provider
Metadata GetCloud Gateway Network Provider Metadata - Metadata describing attributes returned by cloud-provider for the network.
- region String
- Region ID for cloud provider region.
- transit
Gateway DoubleCount - The number of transit gateways attached to this network.
- updated
At String - An RFC-3339 timestamp representation of network update date.
- filter
Get
Cloud Gateway Network Filter - Filters supported for networks.
- availability
Zones string[] - List of availability zones that the network is attached to.
- cidr
Block string - CIDR block configuration for the network.
- cloud
Gateway stringProvider Account Id - configuration
Reference numberCount - The number of configurations that reference this network.
- created
At string - An RFC-3339 timestamp representation of network creation date.
- default boolean
- Whether the network is a default network or not. Default networks are Networks that are created automatically by Konnect when an organization is linked to a provider account.
- entity
Version number - Monotonically-increasing version count of the network, to indicate the order of updates to the network.
- id string
- The network ID to operate on. For serverless.v1 kind of cloud gateways, this field should be omitted.
- name string
- Human-readable name of the network.
- provider
Metadata GetCloud Gateway Network Provider Metadata - Metadata describing attributes returned by cloud-provider for the network.
- region string
- Region ID for cloud provider region.
- transit
Gateway numberCount - The number of transit gateways attached to this network.
- updated
At string - An RFC-3339 timestamp representation of network update date.
- filter
Get
Cloud Gateway Network Filter - Filters supported for networks.
- availability_
zones Sequence[str] - List of availability zones that the network is attached to.
- cidr_
block str - CIDR block configuration for the network.
- cloud_
gateway_ strprovider_ account_ id - configuration_
reference_ floatcount - The number of configurations that reference this network.
- created_
at str - An RFC-3339 timestamp representation of network creation date.
- default bool
- Whether the network is a default network or not. Default networks are Networks that are created automatically by Konnect when an organization is linked to a provider account.
- entity_
version float - Monotonically-increasing version count of the network, to indicate the order of updates to the network.
- id str
- The network ID to operate on. For serverless.v1 kind of cloud gateways, this field should be omitted.
- name str
- Human-readable name of the network.
- provider_
metadata GetCloud Gateway Network Provider Metadata - Metadata describing attributes returned by cloud-provider for the network.
- region str
- Region ID for cloud provider region.
- transit_
gateway_ floatcount - The number of transit gateways attached to this network.
- updated_
at str - An RFC-3339 timestamp representation of network update date.
- filter
Get
Cloud Gateway Network Filter - Filters supported for networks.
- availability
Zones List<String> - List of availability zones that the network is attached to.
- cidr
Block String - CIDR block configuration for the network.
- cloud
Gateway StringProvider Account Id - configuration
Reference NumberCount - The number of configurations that reference this network.
- created
At String - An RFC-3339 timestamp representation of network creation date.
- default Boolean
- Whether the network is a default network or not. Default networks are Networks that are created automatically by Konnect when an organization is linked to a provider account.
- entity
Version Number - Monotonically-increasing version count of the network, to indicate the order of updates to the network.
- id String
- The network ID to operate on. For serverless.v1 kind of cloud gateways, this field should be omitted.
- name String
- Human-readable name of the network.
- provider
Metadata Property Map - Metadata describing attributes returned by cloud-provider for the network.
- region String
- Region ID for cloud provider region.
- transit
Gateway NumberCount - The number of transit gateways attached to this network.
- updated
At String - An RFC-3339 timestamp representation of network update date.
- filter Property Map
- Filters supported for networks.
Supporting Types
GetCloudGatewayNetworkFilter
- Name
Get
Cloud Gateway Network Filter Name - Filter using one of the following operators:
eq,oeq,neq,contains,ocontains - State
Get
Cloud Gateway Network Filter State - Filter using one of the following operators:
eq,oeq,neq
- Name
Get
Cloud Gateway Network Filter Name - Filter using one of the following operators:
eq,oeq,neq,contains,ocontains - State
Get
Cloud Gateway Network Filter State - Filter using one of the following operators:
eq,oeq,neq
- name
Get
Cloud Gateway Network Filter Name - Filter using one of the following operators:
eq,oeq,neq,contains,ocontains - state
Get
Cloud Gateway Network Filter State - Filter using one of the following operators:
eq,oeq,neq
- name
Get
Cloud Gateway Network Filter Name - Filter using one of the following operators:
eq,oeq,neq,contains,ocontains - state
Get
Cloud Gateway Network Filter State - Filter using one of the following operators:
eq,oeq,neq
- name
Get
Cloud Gateway Network Filter Name - Filter using one of the following operators:
eq,oeq,neq,contains,ocontains - state
Get
Cloud Gateway Network Filter State - Filter using one of the following operators:
eq,oeq,neq
- name Property Map
- Filter using one of the following operators:
eq,oeq,neq,contains,ocontains - state Property Map
- Filter using one of the following operators:
eq,oeq,neq
GetCloudGatewayNetworkFilterName
GetCloudGatewayNetworkFilterState
- Oeq string
- The field matches any of the provided values.
- Oeq string
- The field matches any of the provided values.
- oeq String
- The field matches any of the provided values.
- oeq string
- The field matches any of the provided values.
- oeq str
- The field matches any of the provided values.
- oeq String
- The field matches any of the provided values.
GetCloudGatewayNetworkProviderMetadata
- subnet_
ids Sequence[str] - vpc_
id str
Package Details
- Repository
- konnect kong/terraform-provider-konnect
- License
- Notes
- This Pulumi package is based on the
konnectTerraform Provider.
Viewing docs for konnect 3.14.0
published on Friday, Apr 24, 2026 by kong
published on Friday, Apr 24, 2026 by kong
