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 Golden Gate service. * * Lists the Connections in the compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConnections = oci.goldengate.getConnections({ * compartmentId: compartmentId, * assignableDeploymentId: testDeployment.id, * assignableDeploymentType: connectionAssignableDeploymentType, * assignedDeploymentId: testDeployment.id, * connectionTypes: connectionConnectionType, * connectionTypeNotEqualTos: connectionConnectionTypeNotEqualTo, * displayName: connectionDisplayName, * state: connectionState, * technologyTypes: connectionTechnologyType, * }); * ``` */ export declare function getConnections(args: GetConnectionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getConnections. */ export interface GetConnectionsArgs { /** * Filters for compatible connections which can be, but currently not assigned to the deployment specified by its id. */ assignableDeploymentId?: string; /** * Filters for connections which can be assigned to the latest version of the specified deployment type. */ assignableDeploymentType?: string; /** * The OCID of the deployment which for the connection must be assigned. */ assignedDeploymentId?: string; /** * The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used. */ compartmentId: string; /** * The array of connection types to exclude. */ connectionTypeNotEqualTos?: string[]; /** * The array of connection types. */ connectionTypes?: string[]; /** * A filter to return only the resources that match the entire 'displayName' given. */ displayName?: string; filters?: inputs.GoldenGate.GetConnectionsFilter[]; /** * A filter to return only connections having the 'lifecycleState' given. */ state?: string; /** * The array of technology types. */ technologyTypes?: string[]; } /** * A collection of values returned by getConnections. */ export interface GetConnectionsResult { readonly assignableDeploymentId?: string; readonly assignableDeploymentType?: string; readonly assignedDeploymentId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced. */ readonly compartmentId: string; /** * The list of connection_collection. */ readonly connectionCollections: outputs.GoldenGate.GetConnectionsConnectionCollection[]; readonly connectionTypeNotEqualTos?: string[]; /** * The connection type. */ readonly connectionTypes?: string[]; readonly displayName?: string; readonly filters?: outputs.GoldenGate.GetConnectionsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Possible lifecycle states for connection. */ readonly state?: string; /** * The technology type. */ readonly technologyTypes?: string[]; } /** * This data source provides the list of Connections in Oracle Cloud Infrastructure Golden Gate service. * * Lists the Connections in the compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConnections = oci.goldengate.getConnections({ * compartmentId: compartmentId, * assignableDeploymentId: testDeployment.id, * assignableDeploymentType: connectionAssignableDeploymentType, * assignedDeploymentId: testDeployment.id, * connectionTypes: connectionConnectionType, * connectionTypeNotEqualTos: connectionConnectionTypeNotEqualTo, * displayName: connectionDisplayName, * state: connectionState, * technologyTypes: connectionTechnologyType, * }); * ``` */ export declare function getConnectionsOutput(args: GetConnectionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getConnections. */ export interface GetConnectionsOutputArgs { /** * Filters for compatible connections which can be, but currently not assigned to the deployment specified by its id. */ assignableDeploymentId?: pulumi.Input; /** * Filters for connections which can be assigned to the latest version of the specified deployment type. */ assignableDeploymentType?: pulumi.Input; /** * The OCID of the deployment which for the connection must be assigned. */ assignedDeploymentId?: pulumi.Input; /** * The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used. */ compartmentId: pulumi.Input; /** * The array of connection types to exclude. */ connectionTypeNotEqualTos?: pulumi.Input[] | undefined>; /** * The array of connection types. */ connectionTypes?: pulumi.Input[] | undefined>; /** * A filter to return only the resources that match the entire 'displayName' given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only connections having the 'lifecycleState' given. */ state?: pulumi.Input; /** * The array of technology types. */ technologyTypes?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getConnections.d.ts.map