1. Packages
  2. Packages
  3. Civo Provider
  4. API Docs
  5. getVpcNetwork
Viewing docs for civo 1.2.3
published on Thursday, Apr 9, 2026 by civo
civo logo
Viewing docs for civo 1.2.3
published on Thursday, Apr 9, 2026 by civo

    Using getVpcNetwork

    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 getVpcNetwork(args: GetVpcNetworkArgs, opts?: InvokeOptions): Promise<GetVpcNetworkResult>
    function getVpcNetworkOutput(args: GetVpcNetworkOutputArgs, opts?: InvokeOptions): Output<GetVpcNetworkResult>
    def get_vpc_network(id: Optional[str] = None,
                        label: Optional[str] = None,
                        region: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetVpcNetworkResult
    def get_vpc_network_output(id: Optional[pulumi.Input[str]] = None,
                        label: Optional[pulumi.Input[str]] = None,
                        region: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetVpcNetworkResult]
    func LookupVpcNetwork(ctx *Context, args *LookupVpcNetworkArgs, opts ...InvokeOption) (*LookupVpcNetworkResult, error)
    func LookupVpcNetworkOutput(ctx *Context, args *LookupVpcNetworkOutputArgs, opts ...InvokeOption) LookupVpcNetworkResultOutput

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

    public static class GetVpcNetwork 
    {
        public static Task<GetVpcNetworkResult> InvokeAsync(GetVpcNetworkArgs args, InvokeOptions? opts = null)
        public static Output<GetVpcNetworkResult> Invoke(GetVpcNetworkInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVpcNetworkResult> getVpcNetwork(GetVpcNetworkArgs args, InvokeOptions options)
    public static Output<GetVpcNetworkResult> getVpcNetwork(GetVpcNetworkArgs args, InvokeOptions options)
    
    fn::invoke:
      function: civo:index/getVpcNetwork:getVpcNetwork
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Label string
    Region string
    Id string
    Label string
    Region string
    id String
    label String
    region String
    id string
    label string
    region string
    id str
    label str
    region str
    id String
    label String
    region String

    getVpcNetwork Result

    The following output properties are available:

    Default bool
    Name string
    Id string
    Label string
    Region string
    Default bool
    Name string
    Id string
    Label string
    Region string
    default_ Boolean
    name String
    id String
    label String
    region String
    default boolean
    name string
    id string
    label string
    region string
    default bool
    name str
    id str
    label str
    region str
    default Boolean
    name String
    id String
    label String
    region String

    Package Details

    Repository
    Civo civo/terraform-provider-civo
    License
    Notes
    This Pulumi package is based on the civo Terraform Provider.
    civo logo
    Viewing docs for civo 1.2.3
    published on Thursday, Apr 9, 2026 by civo
      Try Pulumi Cloud free. Your team will thank you.