1. Packages
  2. Packages
  3. CoreWeave Provider
  4. API Docs
  5. getNetworkingVpc
Viewing docs for CoreWeave v1.0.1
published on Monday, May 18, 2026 by Pulumi
coreweave logo
Viewing docs for CoreWeave v1.0.1
published on Monday, May 18, 2026 by Pulumi

    Query information about an existing VPC by ID. See the CoreWeave VPC API reference.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as coreweave from "@pulumi/coreweave";
    
    const _default = coreweave.getNetworkingVpc({
        id: "1063bce6-6e5b-4b0a-b73a-7e6106b2a77c",
    });
    
    import pulumi
    import pulumi_coreweave as coreweave
    
    default = coreweave.get_networking_vpc(id="1063bce6-6e5b-4b0a-b73a-7e6106b2a77c")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-coreweave/sdk/go/coreweave"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := coreweave.GetNetworkingVpc(ctx, &coreweave.LookupNetworkingVpcArgs{
    			Id: "1063bce6-6e5b-4b0a-b73a-7e6106b2a77c",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using CoreWeave = Pulumi.CoreWeave;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = CoreWeave.GetNetworkingVpc.Invoke(new()
        {
            Id = "1063bce6-6e5b-4b0a-b73a-7e6106b2a77c",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.coreweave.CoreweaveFunctions;
    import com.pulumi.coreweave.inputs.GetNetworkingVpcArgs;
    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 default = CoreweaveFunctions.getNetworkingVpc(GetNetworkingVpcArgs.builder()
                .id("1063bce6-6e5b-4b0a-b73a-7e6106b2a77c")
                .build());
    
        }
    }
    
    variables:
      default:
        fn::invoke:
          function: coreweave:getNetworkingVpc
          arguments:
            id: 1063bce6-6e5b-4b0a-b73a-7e6106b2a77c
    
    Example coming soon!
    

    Using getNetworkingVpc

    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 getNetworkingVpc(args: GetNetworkingVpcArgs, opts?: InvokeOptions): Promise<GetNetworkingVpcResult>
    function getNetworkingVpcOutput(args: GetNetworkingVpcOutputArgs, opts?: InvokeOptions): Output<GetNetworkingVpcResult>
    def get_networking_vpc(id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetNetworkingVpcResult
    def get_networking_vpc_output(id: pulumi.Input[Optional[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetNetworkingVpcResult]
    func LookupNetworkingVpc(ctx *Context, args *LookupNetworkingVpcArgs, opts ...InvokeOption) (*LookupNetworkingVpcResult, error)
    func LookupNetworkingVpcOutput(ctx *Context, args *LookupNetworkingVpcOutputArgs, opts ...InvokeOption) LookupNetworkingVpcResultOutput

    > Note: This function is named LookupNetworkingVpc in the Go SDK.

    public static class GetNetworkingVpc 
    {
        public static Task<GetNetworkingVpcResult> InvokeAsync(GetNetworkingVpcArgs args, InvokeOptions? opts = null)
        public static Output<GetNetworkingVpcResult> Invoke(GetNetworkingVpcInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNetworkingVpcResult> getNetworkingVpc(GetNetworkingVpcArgs args, InvokeOptions options)
    public static Output<GetNetworkingVpcResult> getNetworkingVpc(GetNetworkingVpcArgs args, InvokeOptions options)
    
    fn::invoke:
      function: coreweave:index/getNetworkingVpc:getNetworkingVpc
      arguments:
        # arguments dictionary
    data "coreweave_getnetworkingvpc" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    The ID of the VPC.
    Id string
    The ID of the VPC.
    id string
    The ID of the VPC.
    id String
    The ID of the VPC.
    id string
    The ID of the VPC.
    id str
    The ID of the VPC.
    id String
    The ID of the VPC.

    getNetworkingVpc Result

    The following output properties are available:

    Dhcp Pulumi.CoreWeave.Outputs.GetNetworkingVpcDhcp
    Settings affecting DHCP behavior within the VPC.
    Egress Pulumi.CoreWeave.Outputs.GetNetworkingVpcEgress
    Settings affecting traffic leaving the VPC.
    HostPrefix string
    An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC.

    Deprecated: Configure hostPrefixes instead.

    HostPrefixes List<Pulumi.CoreWeave.Outputs.GetNetworkingVpcHostPrefix>
    The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
    Id string
    The ID of the VPC.
    Ingress Pulumi.CoreWeave.Outputs.GetNetworkingVpcIngress
    Settings affecting traffic entering the VPC.
    Name string
    The name of the VPC.
    VpcPrefixes List<Pulumi.CoreWeave.Outputs.GetNetworkingVpcVpcPrefix>
    A list of additional named IPv4 prefixes for the VPC.
    Zone string
    The Availability Zone in which the VPC is located.
    Dhcp GetNetworkingVpcDhcp
    Settings affecting DHCP behavior within the VPC.
    Egress GetNetworkingVpcEgress
    Settings affecting traffic leaving the VPC.
    HostPrefix string
    An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC.

    Deprecated: Configure hostPrefixes instead.

    HostPrefixes []GetNetworkingVpcHostPrefix
    The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
    Id string
    The ID of the VPC.
    Ingress GetNetworkingVpcIngress
    Settings affecting traffic entering the VPC.
    Name string
    The name of the VPC.
    VpcPrefixes []GetNetworkingVpcVpcPrefix
    A list of additional named IPv4 prefixes for the VPC.
    Zone string
    The Availability Zone in which the VPC is located.
    dhcp object
    Settings affecting DHCP behavior within the VPC.
    egress object
    Settings affecting traffic leaving the VPC.
    host_prefix string
    An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC.

    Deprecated: Configure hostPrefixes instead.

    host_prefixes list(object)
    The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
    id string
    The ID of the VPC.
    ingress object
    Settings affecting traffic entering the VPC.
    name string
    The name of the VPC.
    vpc_prefixes list(object)
    A list of additional named IPv4 prefixes for the VPC.
    zone string
    The Availability Zone in which the VPC is located.
    dhcp GetNetworkingVpcDhcp
    Settings affecting DHCP behavior within the VPC.
    egress GetNetworkingVpcEgress
    Settings affecting traffic leaving the VPC.
    hostPrefix String
    An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC.

    Deprecated: Configure hostPrefixes instead.

    hostPrefixes List<GetNetworkingVpcHostPrefix>
    The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
    id String
    The ID of the VPC.
    ingress GetNetworkingVpcIngress
    Settings affecting traffic entering the VPC.
    name String
    The name of the VPC.
    vpcPrefixes List<GetNetworkingVpcVpcPrefix>
    A list of additional named IPv4 prefixes for the VPC.
    zone String
    The Availability Zone in which the VPC is located.
    dhcp GetNetworkingVpcDhcp
    Settings affecting DHCP behavior within the VPC.
    egress GetNetworkingVpcEgress
    Settings affecting traffic leaving the VPC.
    hostPrefix string
    An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC.

    Deprecated: Configure hostPrefixes instead.

    hostPrefixes GetNetworkingVpcHostPrefix[]
    The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
    id string
    The ID of the VPC.
    ingress GetNetworkingVpcIngress
    Settings affecting traffic entering the VPC.
    name string
    The name of the VPC.
    vpcPrefixes GetNetworkingVpcVpcPrefix[]
    A list of additional named IPv4 prefixes for the VPC.
    zone string
    The Availability Zone in which the VPC is located.
    dhcp GetNetworkingVpcDhcp
    Settings affecting DHCP behavior within the VPC.
    egress GetNetworkingVpcEgress
    Settings affecting traffic leaving the VPC.
    host_prefix str
    An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC.

    Deprecated: Configure hostPrefixes instead.

    host_prefixes Sequence[GetNetworkingVpcHostPrefix]
    The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
    id str
    The ID of the VPC.
    ingress GetNetworkingVpcIngress
    Settings affecting traffic entering the VPC.
    name str
    The name of the VPC.
    vpc_prefixes Sequence[GetNetworkingVpcVpcPrefix]
    A list of additional named IPv4 prefixes for the VPC.
    zone str
    The Availability Zone in which the VPC is located.
    dhcp Property Map
    Settings affecting DHCP behavior within the VPC.
    egress Property Map
    Settings affecting traffic leaving the VPC.
    hostPrefix String
    An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC.

    Deprecated: Configure hostPrefixes instead.

    hostPrefixes List<Property Map>
    The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
    id String
    The ID of the VPC.
    ingress Property Map
    Settings affecting traffic entering the VPC.
    name String
    The name of the VPC.
    vpcPrefixes List<Property Map>
    A list of additional named IPv4 prefixes for the VPC.
    zone String
    The Availability Zone in which the VPC is located.

    Supporting Types

    GetNetworkingVpcDhcp

    Dns Pulumi.CoreWeave.Inputs.GetNetworkingVpcDhcpDns
    Settings affecting DNS for DHCP within the VPC
    Dns GetNetworkingVpcDhcpDns
    Settings affecting DNS for DHCP within the VPC
    dns object
    Settings affecting DNS for DHCP within the VPC
    dns GetNetworkingVpcDhcpDns
    Settings affecting DNS for DHCP within the VPC
    dns GetNetworkingVpcDhcpDns
    Settings affecting DNS for DHCP within the VPC
    dns GetNetworkingVpcDhcpDns
    Settings affecting DNS for DHCP within the VPC
    dns Property Map
    Settings affecting DNS for DHCP within the VPC

    GetNetworkingVpcDhcpDns

    Servers List<string>
    The DNS servers advertised to DHCP clients within the VPC.
    Servers []string
    The DNS servers advertised to DHCP clients within the VPC.
    servers list(string)
    The DNS servers advertised to DHCP clients within the VPC.
    servers List<String>
    The DNS servers advertised to DHCP clients within the VPC.
    servers string[]
    The DNS servers advertised to DHCP clients within the VPC.
    servers Sequence[str]
    The DNS servers advertised to DHCP clients within the VPC.
    servers List<String>
    The DNS servers advertised to DHCP clients within the VPC.

    GetNetworkingVpcEgress

    DisablePublicAccess bool
    True if the VPC is blocked from consuming public Internet. False otherwise.
    DisablePublicAccess bool
    True if the VPC is blocked from consuming public Internet. False otherwise.
    disable_public_access bool
    True if the VPC is blocked from consuming public Internet. False otherwise.
    disablePublicAccess Boolean
    True if the VPC is blocked from consuming public Internet. False otherwise.
    disablePublicAccess boolean
    True if the VPC is blocked from consuming public Internet. False otherwise.
    disable_public_access bool
    True if the VPC is blocked from consuming public Internet. False otherwise.
    disablePublicAccess Boolean
    True if the VPC is blocked from consuming public Internet. False otherwise.

    GetNetworkingVpcHostPrefix

    Ipam Pulumi.CoreWeave.Inputs.GetNetworkingVpcHostPrefixIpam
    The configuration for a secondary host prefix.
    Name string
    The user-specified name of the host prefix.
    Prefixes List<string>
    The VPC-wide aggregates from which host-specific prefixes are allocated. May be IPv4 or IPv6.
    Type string
    Controls network connectivity from the prefix to the host.
    Ipam GetNetworkingVpcHostPrefixIpam
    The configuration for a secondary host prefix.
    Name string
    The user-specified name of the host prefix.
    Prefixes []string
    The VPC-wide aggregates from which host-specific prefixes are allocated. May be IPv4 or IPv6.
    Type string
    Controls network connectivity from the prefix to the host.
    ipam object
    The configuration for a secondary host prefix.
    name string
    The user-specified name of the host prefix.
    prefixes list(string)
    The VPC-wide aggregates from which host-specific prefixes are allocated. May be IPv4 or IPv6.
    type string
    Controls network connectivity from the prefix to the host.
    ipam GetNetworkingVpcHostPrefixIpam
    The configuration for a secondary host prefix.
    name String
    The user-specified name of the host prefix.
    prefixes List<String>
    The VPC-wide aggregates from which host-specific prefixes are allocated. May be IPv4 or IPv6.
    type String
    Controls network connectivity from the prefix to the host.
    ipam GetNetworkingVpcHostPrefixIpam
    The configuration for a secondary host prefix.
    name string
    The user-specified name of the host prefix.
    prefixes string[]
    The VPC-wide aggregates from which host-specific prefixes are allocated. May be IPv4 or IPv6.
    type string
    Controls network connectivity from the prefix to the host.
    ipam GetNetworkingVpcHostPrefixIpam
    The configuration for a secondary host prefix.
    name str
    The user-specified name of the host prefix.
    prefixes Sequence[str]
    The VPC-wide aggregates from which host-specific prefixes are allocated. May be IPv4 or IPv6.
    type str
    Controls network connectivity from the prefix to the host.
    ipam Property Map
    The configuration for a secondary host prefix.
    name String
    The user-specified name of the host prefix.
    prefixes List<String>
    The VPC-wide aggregates from which host-specific prefixes are allocated. May be IPv4 or IPv6.
    type String
    Controls network connectivity from the prefix to the host.

    GetNetworkingVpcHostPrefixIpam

    GatewayAddressPolicy string
    Describes which IP address from the prefix is allocated to the network gateway.
    PrefixLength int
    The desired length for each Node's allocation from the VPC-wide aggregate prefix.
    GatewayAddressPolicy string
    Describes which IP address from the prefix is allocated to the network gateway.
    PrefixLength int
    The desired length for each Node's allocation from the VPC-wide aggregate prefix.
    gateway_address_policy string
    Describes which IP address from the prefix is allocated to the network gateway.
    prefix_length number
    The desired length for each Node's allocation from the VPC-wide aggregate prefix.
    gatewayAddressPolicy String
    Describes which IP address from the prefix is allocated to the network gateway.
    prefixLength Integer
    The desired length for each Node's allocation from the VPC-wide aggregate prefix.
    gatewayAddressPolicy string
    Describes which IP address from the prefix is allocated to the network gateway.
    prefixLength number
    The desired length for each Node's allocation from the VPC-wide aggregate prefix.
    gateway_address_policy str
    Describes which IP address from the prefix is allocated to the network gateway.
    prefix_length int
    The desired length for each Node's allocation from the VPC-wide aggregate prefix.
    gatewayAddressPolicy String
    Describes which IP address from the prefix is allocated to the network gateway.
    prefixLength Number
    The desired length for each Node's allocation from the VPC-wide aggregate prefix.

    GetNetworkingVpcIngress

    DisablePublicServices bool
    True if the VPC will prevent public prefixes advertised from Nodes from being imported into public-facing networks, making them inaccessible from the Internet. False otherwise.
    DisablePublicServices bool
    True if the VPC will prevent public prefixes advertised from Nodes from being imported into public-facing networks, making them inaccessible from the Internet. False otherwise.
    disable_public_services bool
    True if the VPC will prevent public prefixes advertised from Nodes from being imported into public-facing networks, making them inaccessible from the Internet. False otherwise.
    disablePublicServices Boolean
    True if the VPC will prevent public prefixes advertised from Nodes from being imported into public-facing networks, making them inaccessible from the Internet. False otherwise.
    disablePublicServices boolean
    True if the VPC will prevent public prefixes advertised from Nodes from being imported into public-facing networks, making them inaccessible from the Internet. False otherwise.
    disable_public_services bool
    True if the VPC will prevent public prefixes advertised from Nodes from being imported into public-facing networks, making them inaccessible from the Internet. False otherwise.
    disablePublicServices Boolean
    True if the VPC will prevent public prefixes advertised from Nodes from being imported into public-facing networks, making them inaccessible from the Internet. False otherwise.

    GetNetworkingVpcVpcPrefix

    Name string
    Value string
    Name string
    Value string
    name string
    value string
    name String
    value String
    name string
    value string
    name str
    value str
    name String
    value String

    Package Details

    Repository
    coreweave pulumi/pulumi-coreweave
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the coreweave Terraform Provider.
    coreweave logo
    Viewing docs for CoreWeave v1.0.1
    published on Monday, May 18, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.