@ediri/vultr
Version:
A Pulumi package for creating and managing Vultr cloud resources.
96 lines (95 loc) • 2.69 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* Get information about a firewall group on your Vultr account.
*
* ## Example Usage
*
* Get the information for a firewall group by `description`:
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as vultr from "@ediri/vultr";
*
* const myFwg = vultr.getFirewallGroup({
* filters: [{
* name: "description",
* values: ["fwg-description"],
* }],
* });
* ```
*/
export declare function getFirewallGroup(args?: GetFirewallGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetFirewallGroupResult>;
/**
* A collection of arguments for invoking getFirewallGroup.
*/
export interface GetFirewallGroupArgs {
/**
* Query parameters for finding firewall groups.
*/
filters?: inputs.GetFirewallGroupFilter[];
}
/**
* A collection of values returned by getFirewallGroup.
*/
export interface GetFirewallGroupResult {
/**
* The date the firewall group was added to your Vultr account.
*/
readonly dateCreated: string;
/**
* The date the firewall group was last modified.
*/
readonly dateModified: string;
/**
* The description of the firewall group.
*/
readonly description: string;
readonly filters?: outputs.GetFirewallGroupFilter[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The number of instances this firewall group is applied to.
*/
readonly instanceCount: number;
/**
* The maximum number of rules this firewall group can have.
*/
readonly maxRuleCount: number;
/**
* The number of rules added to this firewall group.
*/
readonly ruleCount: number;
}
/**
* Get information about a firewall group on your Vultr account.
*
* ## Example Usage
*
* Get the information for a firewall group by `description`:
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as vultr from "@ediri/vultr";
*
* const myFwg = vultr.getFirewallGroup({
* filters: [{
* name: "description",
* values: ["fwg-description"],
* }],
* });
* ```
*/
export declare function getFirewallGroupOutput(args?: GetFirewallGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFirewallGroupResult>;
/**
* A collection of arguments for invoking getFirewallGroup.
*/
export interface GetFirewallGroupOutputArgs {
/**
* Query parameters for finding firewall groups.
*/
filters?: pulumi.Input<pulumi.Input<inputs.GetFirewallGroupFilterArgs>[]>;
}