import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Resolver Endpoint resource in Oracle Cloud Infrastructure DNS service. * * Gets information about a specific resolver endpoint. * * Note that attempting to get a resolver endpoint in the DELETED lifecycle state will result * in a `404` response to be consistent with other operations of the API. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testResolverEndpoint = oci.dns.getResolverEndpoint({ * resolverEndpointName: testResolverEndpointOciDnsResolverEndpoint.name, * resolverId: testResolver.id, * scope: "PRIVATE", * }); * ``` */ export declare function getResolverEndpoint(args: GetResolverEndpointArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getResolverEndpoint. */ export interface GetResolverEndpointArgs { /** * The name of the target resolver endpoint. */ resolverEndpointName: string; /** * The OCID of the target resolver. */ resolverId: string; /** * Value must be `PRIVATE` when listing private name resolver endpoints. */ scope?: string; } /** * A collection of values returned by getResolverEndpoint. */ export interface GetResolverEndpointResult { /** * The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed. */ readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly definedTags: { [key: string]: string; }; /** * The type of resolver endpoint. VNIC is currently the only supported type. */ readonly endpointType: string; /** * An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true. */ readonly forwardingAddress: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly freeformTags: { [key: string]: string; }; /** * The Terraform ID of the resolver endpoint. */ readonly id: string; /** * A Boolean flag indicating whether or not the resolver endpoint is for forwarding. */ readonly isForwarding: boolean; /** * A Boolean flag indicating whether or not the resolver endpoint is for listening. */ readonly isListening: boolean; /** * An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true. */ readonly listeningAddress: string; /** * The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver. */ readonly name: string; /** * An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of. */ readonly nsgIds: string[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint resource that this resolver endpoint corresponds to. */ readonly peId: string; readonly resolverEndpointName: string; /** * The OCID of the resolver. */ readonly resolverId: string; readonly scope?: string; /** * [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}` */ readonly securityAttributes: { [key: string]: string; }; /** * The canonical absolute URL of the resource. */ readonly self: string; /** * The current state of the resource. */ readonly state: string; /** * The OCID of a subnet. Must be part of the VCN that the resolver is attached to. */ readonly subnetId: string; /** * The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339. */ readonly timeCreated: string; /** * The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339. */ readonly timeUpdated: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC resource that this resolver endpoint corresponds to. */ readonly vnicId: string; } /** * This data source provides details about a specific Resolver Endpoint resource in Oracle Cloud Infrastructure DNS service. * * Gets information about a specific resolver endpoint. * * Note that attempting to get a resolver endpoint in the DELETED lifecycle state will result * in a `404` response to be consistent with other operations of the API. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testResolverEndpoint = oci.dns.getResolverEndpoint({ * resolverEndpointName: testResolverEndpointOciDnsResolverEndpoint.name, * resolverId: testResolver.id, * scope: "PRIVATE", * }); * ``` */ export declare function getResolverEndpointOutput(args: GetResolverEndpointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getResolverEndpoint. */ export interface GetResolverEndpointOutputArgs { /** * The name of the target resolver endpoint. */ resolverEndpointName: pulumi.Input; /** * The OCID of the target resolver. */ resolverId: pulumi.Input; /** * Value must be `PRIVATE` when listing private name resolver endpoints. */ scope?: pulumi.Input; } //# sourceMappingURL=getResolverEndpoint.d.ts.map