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 Connection Assignments in Oracle Cloud Infrastructure Golden Gate service. * * Lists the Connection Assignments in the compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConnectionAssignments = oci.goldengate.getConnectionAssignments({ * compartmentId: compartmentId, * connectionId: testConnection.id, * connectionTypes: connectionAssignmentConnectionType, * connectionTypeNotEqualTos: connectionAssignmentConnectionTypeNotEqualTo, * deploymentId: testDeployment.id, * name: connectionAssignmentName, * state: connectionAssignmentState, * }); * ``` */ export declare function getConnectionAssignments(args: GetConnectionAssignmentsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getConnectionAssignments. */ export interface GetConnectionAssignmentsArgs { /** * 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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the connection. */ connectionId?: string; /** * The array of connection types to exclude. */ connectionTypeNotEqualTos?: string[]; /** * The array of connection types. */ connectionTypes?: string[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the deployment in which to list resources. */ deploymentId?: string; filters?: inputs.GoldenGate.GetConnectionAssignmentsFilter[]; /** * The name of the connection in the assignment (aliasName). */ name?: string; /** * A filter to return only connection assignments having the 'lifecycleState' given. */ state?: string; } /** * A collection of values returned by getConnectionAssignments. */ export interface GetConnectionAssignmentsResult { /** * 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_assignment_collection. */ readonly connectionAssignmentCollections: outputs.GoldenGate.GetConnectionAssignmentsConnectionAssignmentCollection[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the connection being referenced. */ readonly connectionId?: string; readonly connectionTypeNotEqualTos?: string[]; /** * The connection type. */ readonly connectionTypes?: string[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the deployment being referenced. */ readonly deploymentId?: string; readonly filters?: outputs.GoldenGate.GetConnectionAssignmentsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name?: string; /** * Possible lifecycle states for connection assignments. */ readonly state?: string; } /** * This data source provides the list of Connection Assignments in Oracle Cloud Infrastructure Golden Gate service. * * Lists the Connection Assignments in the compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConnectionAssignments = oci.goldengate.getConnectionAssignments({ * compartmentId: compartmentId, * connectionId: testConnection.id, * connectionTypes: connectionAssignmentConnectionType, * connectionTypeNotEqualTos: connectionAssignmentConnectionTypeNotEqualTo, * deploymentId: testDeployment.id, * name: connectionAssignmentName, * state: connectionAssignmentState, * }); * ``` */ export declare function getConnectionAssignmentsOutput(args: GetConnectionAssignmentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getConnectionAssignments. */ export interface GetConnectionAssignmentsOutputArgs { /** * 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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the connection. */ connectionId?: pulumi.Input; /** * The array of connection types to exclude. */ connectionTypeNotEqualTos?: pulumi.Input[] | undefined>; /** * The array of connection types. */ connectionTypes?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the deployment in which to list resources. */ deploymentId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The name of the connection in the assignment (aliasName). */ name?: pulumi.Input; /** * A filter to return only connection assignments having the 'lifecycleState' given. */ state?: pulumi.Input; } //# sourceMappingURL=getConnectionAssignments.d.ts.map