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 Service Connectors in Oracle Cloud Infrastructure Service Connector Hub service. * * Lists connectors in the specified compartment. * For more information, see * [Listing Connectors](https://docs.cloud.oracle.com/iaas/Content/connector-hub/list-service-connector.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testServiceConnectors = oci.sch.getServiceConnectors({ * compartmentId: compartmentId, * displayName: serviceConnectorDisplayName, * state: serviceConnectorState, * }); * ``` */ export declare function getServiceConnectors(args: GetServiceConnectorsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getServiceConnectors. */ export interface GetServiceConnectorsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for this request. */ compartmentId: string; /** * A filter to return only resources that match the given display name exactly. Example: `exampleServiceConnector` */ displayName?: string; filters?: inputs.Sch.GetServiceConnectorsFilter[]; /** * A filter to return only resources that match the given lifecycle state. Example: `ACTIVE` */ state?: string; } /** * A collection of values returned by getServiceConnectors. */ export interface GetServiceConnectorsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric. */ readonly compartmentId: string; /** * A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.Sch.GetServiceConnectorsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of service_connector_collection. */ readonly serviceConnectorCollections: outputs.Sch.GetServiceConnectorsServiceConnectorCollection[]; /** * The current state of the connector. */ readonly state?: string; } /** * This data source provides the list of Service Connectors in Oracle Cloud Infrastructure Service Connector Hub service. * * Lists connectors in the specified compartment. * For more information, see * [Listing Connectors](https://docs.cloud.oracle.com/iaas/Content/connector-hub/list-service-connector.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testServiceConnectors = oci.sch.getServiceConnectors({ * compartmentId: compartmentId, * displayName: serviceConnectorDisplayName, * state: serviceConnectorState, * }); * ``` */ export declare function getServiceConnectorsOutput(args: GetServiceConnectorsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getServiceConnectors. */ export interface GetServiceConnectorsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for this request. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the given display name exactly. Example: `exampleServiceConnector` */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the given lifecycle state. Example: `ACTIVE` */ state?: pulumi.Input; } //# sourceMappingURL=getServiceConnectors.d.ts.map