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 Data Safe Private Endpoints in Oracle Cloud Infrastructure Data Safe service. * * Gets a list of Data Safe private endpoints. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDataSafePrivateEndpoints = oci.datasafe.getDataSafePrivateEndpoints({ * compartmentId: compartmentId, * accessLevel: dataSafePrivateEndpointAccessLevel, * compartmentIdInSubtree: dataSafePrivateEndpointCompartmentIdInSubtree === "true", * displayName: dataSafePrivateEndpointDisplayName, * state: dataSafePrivateEndpointState, * vcnId: testVcn.id, * }); * ``` */ export declare function getDataSafePrivateEndpoints(args: GetDataSafePrivateEndpointsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDataSafePrivateEndpoints. */ export interface GetDataSafePrivateEndpointsArgs { /** * Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. */ accessLevel?: string; /** * A filter to return only resources that match the specified compartment OCID. */ compartmentId: string; /** * Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting. */ compartmentIdInSubtree?: boolean; /** * A filter to return only resources that match the specified display name. */ displayName?: string; filters?: inputs.DataSafe.GetDataSafePrivateEndpointsFilter[]; /** * A filter to return only resources that match the specified lifecycle state. */ state?: string; /** * A filter to return only resources that match the specified VCN OCID. */ vcnId?: string; } /** * A collection of values returned by getDataSafePrivateEndpoints. */ export interface GetDataSafePrivateEndpointsResult { readonly accessLevel?: string; /** * The OCID of the compartment. */ readonly compartmentId: string; readonly compartmentIdInSubtree?: boolean; /** * The list of data_safe_private_endpoints. */ readonly dataSafePrivateEndpoints: outputs.DataSafe.GetDataSafePrivateEndpointsDataSafePrivateEndpoint[]; /** * The display name of the private endpoint. */ readonly displayName?: string; readonly filters?: outputs.DataSafe.GetDataSafePrivateEndpointsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of the private endpoint. */ readonly state?: string; /** * The OCID of the VCN. */ readonly vcnId?: string; } /** * This data source provides the list of Data Safe Private Endpoints in Oracle Cloud Infrastructure Data Safe service. * * Gets a list of Data Safe private endpoints. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDataSafePrivateEndpoints = oci.datasafe.getDataSafePrivateEndpoints({ * compartmentId: compartmentId, * accessLevel: dataSafePrivateEndpointAccessLevel, * compartmentIdInSubtree: dataSafePrivateEndpointCompartmentIdInSubtree === "true", * displayName: dataSafePrivateEndpointDisplayName, * state: dataSafePrivateEndpointState, * vcnId: testVcn.id, * }); * ``` */ export declare function getDataSafePrivateEndpointsOutput(args: GetDataSafePrivateEndpointsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDataSafePrivateEndpoints. */ export interface GetDataSafePrivateEndpointsOutputArgs { /** * Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. */ accessLevel?: pulumi.Input; /** * A filter to return only resources that match the specified compartment OCID. */ compartmentId: pulumi.Input; /** * Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting. */ compartmentIdInSubtree?: pulumi.Input; /** * A filter to return only resources that match the specified display name. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the specified lifecycle state. */ state?: pulumi.Input; /** * A filter to return only resources that match the specified VCN OCID. */ vcnId?: pulumi.Input; } //# sourceMappingURL=getDataSafePrivateEndpoints.d.ts.map