import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Private Endpoints in Oracle Cloud Infrastructure Resource Manager service. * * Lists private endpoints according to the specified filter. * For more information, see * [Listing Private Endpoints](https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/list-private-endpoints.htm). * - For `compartmentId`, lists all private endpoints in the matching compartment. * - For `privateEndpointId`, lists the matching private endpoint. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPrivateEndpoints = oci.resourcemanager.getPrivateEndpoints({ * compartmentId: compartmentId, * displayName: privateEndpointDisplayName, * privateEndpointId: testPrivateEndpoint.id, * vcnId: testVcn.id, * }); * ``` */ export declare function getPrivateEndpoints(args?: GetPrivateEndpointsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPrivateEndpoints. */ export interface GetPrivateEndpointsArgs { /** * A filter to return only resources that exist in the compartment, identified by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId?: string; /** * A filter to return only resources that match the given display name exactly. Use this filter to list a resource by name. Requires `sortBy` set to `DISPLAYNAME`. Alternatively, when you know the resource OCID, use the related Get operation. */ displayName?: string; filters?: inputs.ResourceManager.GetPrivateEndpointsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. */ privateEndpointId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. */ vcnId?: string; } /** * A collection of values returned by getPrivateEndpoints. */ export interface GetPrivateEndpointsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing this private endpoint. */ readonly compartmentId?: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.ResourceManager.GetPrivateEndpointsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of private_endpoint_collection. */ readonly privateEndpointCollections: outputs.ResourceManager.GetPrivateEndpointsPrivateEndpointCollection[]; readonly privateEndpointId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN for the private endpoint. */ readonly vcnId?: string; } /** * This data source provides the list of Private Endpoints in Oracle Cloud Infrastructure Resource Manager service. * * Lists private endpoints according to the specified filter. * For more information, see * [Listing Private Endpoints](https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/list-private-endpoints.htm). * - For `compartmentId`, lists all private endpoints in the matching compartment. * - For `privateEndpointId`, lists the matching private endpoint. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPrivateEndpoints = oci.resourcemanager.getPrivateEndpoints({ * compartmentId: compartmentId, * displayName: privateEndpointDisplayName, * privateEndpointId: testPrivateEndpoint.id, * vcnId: testVcn.id, * }); * ``` */ export declare function getPrivateEndpointsOutput(args?: GetPrivateEndpointsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPrivateEndpoints. */ export interface GetPrivateEndpointsOutputArgs { /** * A filter to return only resources that exist in the compartment, identified by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId?: pulumi.Input; /** * A filter to return only resources that match the given display name exactly. Use this filter to list a resource by name. Requires `sortBy` set to `DISPLAYNAME`. Alternatively, when you know the resource OCID, use the related Get operation. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. */ privateEndpointId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. */ vcnId?: pulumi.Input; } //# sourceMappingURL=getPrivateEndpoints.d.ts.map