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 On Prem Connectors in Oracle Cloud Infrastructure Data Safe service. * * Gets a list of on-premises connectors. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOnPremConnectors = oci.datasafe.getOnpremConnectors({ * compartmentId: compartmentId, * accessLevel: onPremConnectorAccessLevel, * compartmentIdInSubtree: onPremConnectorCompartmentIdInSubtree === "true", * displayName: onPremConnectorDisplayName, * onPremConnectorId: testOnPremConnector.id, * state: onPremConnectorState, * }); * ``` */ export declare function getOnpremConnectors(args: GetOnpremConnectorsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOnpremConnectors. */ export interface GetOnpremConnectorsArgs { /** * 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.GetOnpremConnectorsFilter[]; /** * A filter to return only the on-premises connector that matches the specified id. */ onPremConnectorId?: string; /** * A filter to return only on-premises connector resources that match the specified lifecycle state. */ state?: string; } /** * A collection of values returned by getOnpremConnectors. */ export interface GetOnpremConnectorsResult { readonly accessLevel?: string; /** * The OCID of the compartment that contains the on-premises connector. */ readonly compartmentId: string; readonly compartmentIdInSubtree?: boolean; /** * The display name of the on-premises connector. */ readonly displayName?: string; readonly filters?: outputs.DataSafe.GetOnpremConnectorsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly onPremConnectorId?: string; /** * The list of on_prem_connectors. */ readonly onPremConnectors: outputs.DataSafe.GetOnpremConnectorsOnPremConnector[]; /** * The current state of the on-premises connector. */ readonly state?: string; } /** * This data source provides the list of On Prem Connectors in Oracle Cloud Infrastructure Data Safe service. * * Gets a list of on-premises connectors. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOnPremConnectors = oci.datasafe.getOnpremConnectors({ * compartmentId: compartmentId, * accessLevel: onPremConnectorAccessLevel, * compartmentIdInSubtree: onPremConnectorCompartmentIdInSubtree === "true", * displayName: onPremConnectorDisplayName, * onPremConnectorId: testOnPremConnector.id, * state: onPremConnectorState, * }); * ``` */ export declare function getOnpremConnectorsOutput(args: GetOnpremConnectorsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOnpremConnectors. */ export interface GetOnpremConnectorsOutputArgs { /** * 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 the on-premises connector that matches the specified id. */ onPremConnectorId?: pulumi.Input; /** * A filter to return only on-premises connector resources that match the specified lifecycle state. */ state?: pulumi.Input; } //# sourceMappingURL=getOnpremConnectors.d.ts.map