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 firewall for use in other resources.
This data source provides all of the firewall’s properties as configured on your Civo account.
Firewalls may be looked up by id or name, and you can optionally pass region if you want to make a lookup for a specific firewall inside that region.
Using getVpcFirewall
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 getVpcFirewall(args: GetVpcFirewallArgs, opts?: InvokeOptions): Promise<GetVpcFirewallResult>
function getVpcFirewallOutput(args: GetVpcFirewallOutputArgs, opts?: InvokeOptions): Output<GetVpcFirewallResult>def get_vpc_firewall(id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcFirewallResult
def get_vpc_firewall_output(id: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpcFirewallResult]func LookupVpcFirewall(ctx *Context, args *LookupVpcFirewallArgs, opts ...InvokeOption) (*LookupVpcFirewallResult, error)
func LookupVpcFirewallOutput(ctx *Context, args *LookupVpcFirewallOutputArgs, opts ...InvokeOption) LookupVpcFirewallResultOutput> Note: This function is named LookupVpcFirewall in the Go SDK.
public static class GetVpcFirewall
{
public static Task<GetVpcFirewallResult> InvokeAsync(GetVpcFirewallArgs args, InvokeOptions? opts = null)
public static Output<GetVpcFirewallResult> Invoke(GetVpcFirewallInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVpcFirewallResult> getVpcFirewall(GetVpcFirewallArgs args, InvokeOptions options)
public static Output<GetVpcFirewallResult> getVpcFirewall(GetVpcFirewallArgs args, InvokeOptions options)
fn::invoke:
function: civo:index/getVpcFirewall:getVpcFirewall
arguments:
# arguments dictionarydata "civo_get_vpc_firewall" "name" {
# arguments
}The following arguments are supported:
getVpcFirewall Result
The following output properties are available:
- network_
id string - The id of the associated network
- id string
- The ID of this resource.
- name string
- The name of the firewall
- region string
- The region where the firewall is
- network_
id str - The id of the associated network
- id str
- The ID of this resource.
- name str
- The name of the firewall
- region str
- The region where the firewall is
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