import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Pipeline resource in Oracle Cloud Infrastructure Golden Gate service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/goldengate/latest/Pipeline * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/goldengate * * Creates a new Pipeline. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPipeline = new oci.goldengate.Pipeline("test_pipeline", { * compartmentId: compartmentId, * displayName: pipelineDisplayName, * licenseModel: pipelineLicenseModel, * recipeType: pipelineRecipeType, * sourceConnectionDetails: { * connectionId: testConnection.id, * }, * targetConnectionDetails: { * connectionId: testConnection.id, * }, * cpuCoreCount: Number(pipelineCpuCoreCount), * definedTags: { * "foo-namespace.bar-key": "value", * }, * description: pipelineDescription, * freeformTags: { * "bar-key": "value", * }, * isAutoScalingEnabled: pipelineIsAutoScalingEnabled === "true", * locks: [{ * type: pipelineLocksType, * message: pipelineLocksMessage, * relatedResourceId: testResource.id, * timeCreated: pipelineLocksTimeCreated, * }], * processOptions: { * initialDataLoad: { * isInitialLoad: pipelineProcessOptionsInitialDataLoadIsInitialLoad, * actionOnExistingTable: pipelineProcessOptionsInitialDataLoadActionOnExistingTable, * adbWalletPath: pipelineProcessOptionsInitialDataLoadAdbWalletPath, * bucket: pipelineProcessOptionsInitialDataLoadBucket, * initialLoadType: pipelineProcessOptionsInitialDataLoadInitialLoadType, * namespace: pipelineProcessOptionsInitialDataLoadNamespace, * sourceWalletPath: pipelineProcessOptionsInitialDataLoadSourceWalletPath, * targetWalletPath: pipelineProcessOptionsInitialDataLoadTargetWalletPath, * }, * replicateSchemaChange: { * canReplicateSchemaChange: pipelineProcessOptionsReplicateSchemaChangeCanReplicateSchemaChange, * actionOnDdlError: pipelineProcessOptionsReplicateSchemaChangeActionOnDdlError, * actionOnDmlError: pipelineProcessOptionsReplicateSchemaChangeActionOnDmlError, * }, * shouldRestartOnFailure: pipelineProcessOptionsShouldRestartOnFailure, * startUsingDefaultMapping: pipelineProcessOptionsStartUsingDefaultMapping, * }, * subnetId: testSubnet.id, * }); * ``` * * ## Import * * Pipelines can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:GoldenGate/pipeline:Pipeline test_pipeline "id" * ``` */ export declare class Pipeline extends pulumi.CustomResource { /** * Get an existing Pipeline 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?: PipelineState, opts?: pulumi.CustomResourceOptions): Pipeline; /** * Returns true if the given object is an instance of Pipeline. 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 Pipeline; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced. */ readonly compartmentId: pulumi.Output; /** * (Updatable) The Minimum number of OCPUs to be made available for this Deployment. */ readonly cpuCoreCount: pulumi.Output; /** * (Updatable) Tags defined for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Metadata about this specific object. */ readonly description: pulumi.Output; /** * (Updatable) An object's Display Name. */ readonly displayName: pulumi.Output; /** * (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * List of ingress IP addresses from where the GoldenGate deployment connects to this connection's privateIp. Customers may optionally set up ingress security rules to restrict traffic from these IP addresses. */ readonly ingressIps: pulumi.Output; /** * (Updatable) Indicates if auto scaling is enabled for the Deployment's CPU core count. */ readonly isAutoScalingEnabled: pulumi.Output; /** * (Updatable) The Oracle license model that applies to a Deployment. */ readonly licenseModel: pulumi.Output; /** * Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state. */ readonly lifecycleDetails: pulumi.Output; /** * Possible lifecycle substates when retrieving a pipeline. */ readonly lifecycleSubState: pulumi.Output; /** * Locks associated with this resource. */ readonly locks: pulumi.Output; /** * Mapping for source/target schema/tables for the pipeline data replication. */ readonly mappingRules: pulumi.Output; /** * Information regarding the pipeline diagnostic collection */ readonly pipelineDiagnosticDatas: pulumi.Output; /** * (Updatable) Required pipeline options to configure the replication process (Extract or Replicat). */ readonly processOptions: pulumi.Output; /** * (Updatable) The type of the recipe */ readonly recipeType: pulumi.Output; /** * The source connection details for creating a pipeline. */ readonly sourceConnectionDetails: pulumi.Output; /** * Lifecycle state of the pipeline. */ readonly state: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet of the pipeline's private endpoint. The subnet must be a private subnet. */ readonly subnetId: pulumi.Output; /** * The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{orcl-cloud: {free-tier-retain: true}}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The target connection details for creating a pipeline. */ readonly targetConnectionDetails: 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; /** * When the resource was last updated. This option applies when retrieving a pipeline. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2024-07-25T21:10:29.600Z`. */ readonly timeLastRecorded: 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 Pipeline 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: PipelineArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Pipeline resources. */ export interface PipelineState { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced. */ compartmentId?: pulumi.Input; /** * (Updatable) The Minimum number of OCPUs to be made available for this Deployment. */ cpuCoreCount?: pulumi.Input; /** * (Updatable) Tags defined for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Metadata about this specific object. */ description?: pulumi.Input; /** * (Updatable) An object's Display Name. */ displayName?: pulumi.Input; /** * (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * List of ingress IP addresses from where the GoldenGate deployment connects to this connection's privateIp. Customers may optionally set up ingress security rules to restrict traffic from these IP addresses. */ ingressIps?: pulumi.Input[] | undefined>; /** * (Updatable) Indicates if auto scaling is enabled for the Deployment's CPU core count. */ isAutoScalingEnabled?: pulumi.Input; /** * (Updatable) The Oracle license model that applies to a Deployment. */ licenseModel?: pulumi.Input; /** * Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state. */ lifecycleDetails?: pulumi.Input; /** * Possible lifecycle substates when retrieving a pipeline. */ lifecycleSubState?: pulumi.Input; /** * Locks associated with this resource. */ locks?: pulumi.Input[] | undefined>; /** * Mapping for source/target schema/tables for the pipeline data replication. */ mappingRules?: pulumi.Input[] | undefined>; /** * Information regarding the pipeline diagnostic collection */ pipelineDiagnosticDatas?: pulumi.Input[] | undefined>; /** * (Updatable) Required pipeline options to configure the replication process (Extract or Replicat). */ processOptions?: pulumi.Input; /** * (Updatable) The type of the recipe */ recipeType?: pulumi.Input; /** * The source connection details for creating a pipeline. */ sourceConnectionDetails?: pulumi.Input; /** * Lifecycle state of the pipeline. */ state?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet of the pipeline's private endpoint. The subnet must be a private subnet. */ subnetId?: pulumi.Input; /** * The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{orcl-cloud: {free-tier-retain: true}}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The target connection details for creating a pipeline. */ targetConnectionDetails?: 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; /** * When the resource was last updated. This option applies when retrieving a pipeline. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2024-07-25T21:10:29.600Z`. */ timeLastRecorded?: 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 Pipeline resource. */ export interface PipelineArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced. */ compartmentId: pulumi.Input; /** * (Updatable) The Minimum number of OCPUs to be made available for this Deployment. */ cpuCoreCount?: pulumi.Input; /** * (Updatable) Tags defined for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Metadata about this specific object. */ description?: pulumi.Input; /** * (Updatable) An object's Display Name. */ displayName: pulumi.Input; /** * (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Indicates if auto scaling is enabled for the Deployment's CPU core count. */ isAutoScalingEnabled?: pulumi.Input; /** * (Updatable) The Oracle license model that applies to a Deployment. */ licenseModel: pulumi.Input; /** * Locks associated with this resource. */ locks?: pulumi.Input[] | undefined>; /** * (Updatable) Required pipeline options to configure the replication process (Extract or Replicat). */ processOptions?: pulumi.Input; /** * (Updatable) The type of the recipe */ recipeType: pulumi.Input; /** * The source connection details for creating a pipeline. */ sourceConnectionDetails: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet of the pipeline's private endpoint. The subnet must be a private subnet. */ subnetId?: pulumi.Input; /** * The target connection details for creating a pipeline. */ targetConnectionDetails: pulumi.Input; } //# sourceMappingURL=pipeline.d.ts.map