import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * In scenarios where external DNS query requests are forwarded to the resolver, you need to create an endpoint. After receiving DNS query requests forwarded by the resolver, outbound endpoints forward DNS queries to external DNS servers. After receiving DNS query requests from external sources, inbound endpoints forward DNS queries to the resolver * * ## Import * * ```sh * $ pulumi import volcenginecc:privatezone/resolverEndpoint:ResolverEndpoint example "endpoint_id" * ``` */ export declare class ResolverEndpoint extends pulumi.CustomResource { /** * Get an existing ResolverEndpoint 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?: ResolverEndpointState, opts?: pulumi.CustomResourceOptions): ResolverEndpoint; /** * Returns true if the given object is an instance of ResolverEndpoint. 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 ResolverEndpoint; /** * Creation time */ readonly createdTime: pulumi.Output; /** * DNS request forwarding direction for the endpoint. OUTBOUND (default): outbound endpoint forwards DNS queries from within the VPC to external DNS servers. INBOUND: inbound endpoint forwards DNS queries from external sources to the resolver */ readonly direction: pulumi.Output; /** * Endpoint ID */ readonly endpointId: pulumi.Output; /** * Endpoint type. IPv4: IPv4 endpoint. DualStack: dual-stack endpoint */ readonly endpointType: pulumi.Output; readonly ipConfigs: pulumi.Output; /** * Endpoint name. Supports UTF-8 format */ readonly name: pulumi.Output; /** * Project name to which the endpoint belongs. Default is default */ readonly projectName: pulumi.Output; /** * Security group ID for the endpoint IP address. The endpoint uses a default security group: For outbound endpoints, inbound traffic is denied; outbound traffic allows TCP port 53 and UDP port 53 to 0.0.0.0/0. For inbound endpoints, inbound traffic allows TCP port 53 and UDP port 53 to 0.0.0.0/0; outbound traffic is denied */ readonly securityGroupId: pulumi.Output; /** * Endpoint status. Creating: creating. Running: running. Updating: updating. Error: abnormal operation */ readonly status: pulumi.Output; readonly tags: pulumi.Output; /** * Update time */ readonly updatedTime: pulumi.Output; /** * VPC ID where the endpoint is located */ readonly vpcId: pulumi.Output; /** * Region of the VPC where the endpoint is located */ readonly vpcRegion: pulumi.Output; /** * Create a ResolverEndpoint 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: ResolverEndpointArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ResolverEndpoint resources. */ export interface ResolverEndpointState { /** * Creation time */ createdTime?: pulumi.Input; /** * DNS request forwarding direction for the endpoint. OUTBOUND (default): outbound endpoint forwards DNS queries from within the VPC to external DNS servers. INBOUND: inbound endpoint forwards DNS queries from external sources to the resolver */ direction?: pulumi.Input; /** * Endpoint ID */ endpointId?: pulumi.Input; /** * Endpoint type. IPv4: IPv4 endpoint. DualStack: dual-stack endpoint */ endpointType?: pulumi.Input; ipConfigs?: pulumi.Input[]>; /** * Endpoint name. Supports UTF-8 format */ name?: pulumi.Input; /** * Project name to which the endpoint belongs. Default is default */ projectName?: pulumi.Input; /** * Security group ID for the endpoint IP address. The endpoint uses a default security group: For outbound endpoints, inbound traffic is denied; outbound traffic allows TCP port 53 and UDP port 53 to 0.0.0.0/0. For inbound endpoints, inbound traffic allows TCP port 53 and UDP port 53 to 0.0.0.0/0; outbound traffic is denied */ securityGroupId?: pulumi.Input; /** * Endpoint status. Creating: creating. Running: running. Updating: updating. Error: abnormal operation */ status?: pulumi.Input; tags?: pulumi.Input[]>; /** * Update time */ updatedTime?: pulumi.Input; /** * VPC ID where the endpoint is located */ vpcId?: pulumi.Input; /** * Region of the VPC where the endpoint is located */ vpcRegion?: pulumi.Input; } /** * The set of arguments for constructing a ResolverEndpoint resource. */ export interface ResolverEndpointArgs { /** * DNS request forwarding direction for the endpoint. OUTBOUND (default): outbound endpoint forwards DNS queries from within the VPC to external DNS servers. INBOUND: inbound endpoint forwards DNS queries from external sources to the resolver */ direction?: pulumi.Input; /** * Endpoint type. IPv4: IPv4 endpoint. DualStack: dual-stack endpoint */ endpointType?: pulumi.Input; ipConfigs?: pulumi.Input[]>; /** * Endpoint name. Supports UTF-8 format */ name: pulumi.Input; /** * Project name to which the endpoint belongs. Default is default */ projectName?: pulumi.Input; tags?: pulumi.Input[]>; /** * VPC ID where the endpoint is located */ vpcId: pulumi.Input; /** * Region of the VPC where the endpoint is located */ vpcRegion: pulumi.Input; }