Viewing docs for civo 1.3.1
published on Thursday, Aug 6, 2026 by civo
published on Thursday, Aug 6, 2026 by civo
Viewing docs for civo 1.3.1
published on Thursday, Aug 6, 2026 by civo
published on Thursday, Aug 6, 2026 by civo
Retrieve information about a network for use in other resources.
This data source provides all of the network’s properties as configured on your Civo account.
Networks may be looked up by id or label, and you can optionally pass region if you want to make a lookup for a specific network inside that region.
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: pulumi.Input[Optional[str]] = None,
label: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[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 dictionarydata "civo_get_vpc_network" "name" {
# arguments
}The following arguments are supported:
getVpcNetwork Result
The following output properties are available:
Package Details
- Repository
- Civo civo/terraform-provider-civo
- License
- Notes
- This Pulumi package is based on the
civoTerraform Provider.
Viewing docs for civo 1.3.1
published on Thursday, Aug 6, 2026 by civo
published on Thursday, Aug 6, 2026 by civo