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 Connections in Oracle Cloud Infrastructure Devops service. * * Returns a list of connections. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConnections = oci.devops.getConnections({ * compartmentId: compartmentId, * connectionType: connectionConnectionType, * displayName: connectionDisplayName, * id: connectionId, * projectId: testProject.id, * state: connectionState, * }); * ``` */ export declare function getConnections(args?: GetConnectionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getConnections. */ export interface GetConnectionsArgs { /** * The OCID of the compartment in which to list resources. */ compartmentId?: string; /** * A filter to return only resources that match the given connection type. */ connectionType?: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.DevOps.GetConnectionsFilter[]; /** * Unique identifier or OCID for listing a single resource by ID. */ id?: string; /** * unique project identifier */ projectId?: string; /** * A filter to return only connections that matches the given lifecycle state. */ state?: string; } /** * A collection of values returned by getConnections. */ export interface GetConnectionsResult { /** * The OCID of the compartment containing the connection. */ readonly compartmentId?: string; /** * The list of connection_collection. */ readonly connectionCollections: outputs.DevOps.GetConnectionsConnectionCollection[]; /** * The type of connection. */ readonly connectionType?: string; /** * Connection display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.DevOps.GetConnectionsFilter[]; /** * Unique identifier that is immutable on creation. */ readonly id?: string; /** * The OCID of the DevOps project. */ readonly projectId?: string; /** * The current state of the connection. */ readonly state?: string; } /** * This data source provides the list of Connections in Oracle Cloud Infrastructure Devops service. * * Returns a list of connections. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConnections = oci.devops.getConnections({ * compartmentId: compartmentId, * connectionType: connectionConnectionType, * displayName: connectionDisplayName, * id: connectionId, * projectId: testProject.id, * state: connectionState, * }); * ``` */ export declare function getConnectionsOutput(args?: GetConnectionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getConnections. */ export interface GetConnectionsOutputArgs { /** * The OCID of the compartment in which to list resources. */ compartmentId?: pulumi.Input; /** * A filter to return only resources that match the given connection type. */ connectionType?: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Unique identifier or OCID for listing a single resource by ID. */ id?: pulumi.Input; /** * unique project identifier */ projectId?: pulumi.Input; /** * A filter to return only connections that matches the given lifecycle state. */ state?: pulumi.Input; } //# sourceMappingURL=getConnections.d.ts.map