import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Connection Assignment resource in Oracle Cloud Infrastructure Golden Gate service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/goldengate/latest/ConnectionAssignment * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/goldengate * * Creates a new Connection Assignment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConnectionAssignment = new oci.goldengate.ConnectionAssignment("test_connection_assignment", { * connectionId: testConnection.id, * deploymentId: testDeployment.id, * isLockOverride: connectionAssignmentIsLockOverride === "true", * }); * ``` * * ## Import * * ConnectionAssignments can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:GoldenGate/connectionAssignment:ConnectionAssignment test_connection_assignment "id" * ``` */ export declare class ConnectionAssignment extends pulumi.CustomResource { /** * Get an existing ConnectionAssignment resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ConnectionAssignmentState, opts?: pulumi.CustomResourceOptions): ConnectionAssignment; /** * Returns true if the given object is an instance of ConnectionAssignment. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ConnectionAssignment; /** * Credential store alias. */ readonly aliasName: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced. */ readonly compartmentId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the connection being referenced. */ readonly connectionId: pulumi.Output; /** * The connection type. */ readonly connectionType: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the deployment being referenced. */ readonly deploymentId: pulumi.Output; /** * Whether to override locks (if any exist). * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly isLockOverride: pulumi.Output; /** * Possible lifecycle states for connection assignments. */ readonly state: pulumi.Output; /** * The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ readonly timeCreated: pulumi.Output; /** * The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ readonly timeUpdated: pulumi.Output; /** * Create a ConnectionAssignment resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ConnectionAssignmentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ConnectionAssignment resources. */ export interface ConnectionAssignmentState { /** * Credential store alias. */ aliasName?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced. */ compartmentId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the connection being referenced. */ connectionId?: pulumi.Input; /** * The connection type. */ connectionType?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the deployment being referenced. */ deploymentId?: pulumi.Input; /** * Whether to override locks (if any exist). * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ isLockOverride?: pulumi.Input; /** * Possible lifecycle states for connection assignments. */ state?: pulumi.Input; /** * The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ timeCreated?: pulumi.Input; /** * The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a ConnectionAssignment resource. */ export interface ConnectionAssignmentArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the connection being referenced. */ connectionId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the deployment being referenced. */ deploymentId: pulumi.Input; /** * Whether to override locks (if any exist). * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ isLockOverride?: pulumi.Input; } //# sourceMappingURL=connectionAssignment.d.ts.map