import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Domain denylist access control policy. * * ## Import * * ```sh * $ pulumi import volcenginecc:fwcenter/dnsControlPolicy:DnsControlPolicy example "rule_id" * ``` */ export declare class DnsControlPolicy extends pulumi.CustomResource { /** * Get an existing DnsControlPolicy resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DnsControlPolicyState, opts?: pulumi.CustomResourceOptions): DnsControlPolicy; /** * Returns true if the given object is an instance of DnsControlPolicy. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DnsControlPolicy; /** * User's unique identifier. */ readonly accountId: pulumi.Output; /** * Policy description information. */ readonly description: pulumi.Output; /** * Access target, which can be the unique identifier of a domain or domain address book. Currently, only one address book is supported. */ readonly destination: pulumi.Output; /** * Domain address book name list. */ readonly destinationGroupLists: pulumi.Output; /** * Type of access target. domain: domain; group: domain address book. */ readonly destinationType: pulumi.Output; readonly domainListV1s: pulumi.Output; /** * Domain list. */ readonly domainLists: pulumi.Output; /** * Hit count, indicating the number of times the domain denylist access control policy was triggered. */ readonly hitCnt: pulumi.Output; /** * Internet border firewall instance ID. */ readonly internetFirewallId: pulumi.Output; /** * Latest hit timestamp, indicating the last time the domain denylist access control policy was triggered. */ readonly lastHitTime: pulumi.Output; /** * Unique identifier of the access control policy. */ readonly ruleId: pulumi.Output; readonly sources: pulumi.Output; /** * Switch status of the domain denylist access control policy. false: Off; true: On. */ readonly status: pulumi.Output; /** * Number of policies occupied by this domain denylist access control policy. */ readonly useCount: pulumi.Output; /** * Create a DnsControlPolicy resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DnsControlPolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DnsControlPolicy resources. */ export interface DnsControlPolicyState { /** * User's unique identifier. */ accountId?: pulumi.Input; /** * Policy description information. */ description?: pulumi.Input; /** * Access target, which can be the unique identifier of a domain or domain address book. Currently, only one address book is supported. */ destination?: pulumi.Input; /** * Domain address book name list. */ destinationGroupLists?: pulumi.Input[]>; /** * Type of access target. domain: domain; group: domain address book. */ destinationType?: pulumi.Input; domainListV1s?: pulumi.Input[]>; /** * Domain list. */ domainLists?: pulumi.Input[]>; /** * Hit count, indicating the number of times the domain denylist access control policy was triggered. */ hitCnt?: pulumi.Input; /** * Internet border firewall instance ID. */ internetFirewallId?: pulumi.Input; /** * Latest hit timestamp, indicating the last time the domain denylist access control policy was triggered. */ lastHitTime?: pulumi.Input; /** * Unique identifier of the access control policy. */ ruleId?: pulumi.Input; sources?: pulumi.Input[]>; /** * Switch status of the domain denylist access control policy. false: Off; true: On. */ status?: pulumi.Input; /** * Number of policies occupied by this domain denylist access control policy. */ useCount?: pulumi.Input; } /** * The set of arguments for constructing a DnsControlPolicy resource. */ export interface DnsControlPolicyArgs { /** * Policy description information. */ description?: pulumi.Input; /** * Access target, which can be the unique identifier of a domain or domain address book. Currently, only one address book is supported. */ destination: pulumi.Input; /** * Type of access target. domain: domain; group: domain address book. */ destinationType: pulumi.Input; /** * Internet border firewall instance ID. */ internetFirewallId?: pulumi.Input; sources?: pulumi.Input[]>; /** * Switch status of the domain denylist access control policy. false: Off; true: On. */ status?: pulumi.Input; }