1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. GoldenGate
  5. getPipelineSchemas
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.GoldenGate.getPipelineSchemas

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

This data source provides the list of Pipeline Schemas in Oracle Cloud Infrastructure Golden Gate service.

Returns an array of schemas based on mapping rules for a pipeline.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testPipelineSchemas = oci.GoldenGate.getPipelineSchemas({
    pipelineId: testPipeline.id,
    displayName: pipelineSchemaDisplayName,
});
Copy
import pulumi
import pulumi_oci as oci

test_pipeline_schemas = oci.GoldenGate.get_pipeline_schemas(pipeline_id=test_pipeline["id"],
    display_name=pipeline_schema_display_name)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/goldengate"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := goldengate.GetPipelineSchemas(ctx, &goldengate.GetPipelineSchemasArgs{
			PipelineId:  testPipeline.Id,
			DisplayName: pulumi.StringRef(pipelineSchemaDisplayName),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testPipelineSchemas = Oci.GoldenGate.GetPipelineSchemas.Invoke(new()
    {
        PipelineId = testPipeline.Id,
        DisplayName = pipelineSchemaDisplayName,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.GoldenGate.GoldenGateFunctions;
import com.pulumi.oci.GoldenGate.inputs.GetPipelineSchemasArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var testPipelineSchemas = GoldenGateFunctions.getPipelineSchemas(GetPipelineSchemasArgs.builder()
            .pipelineId(testPipeline.id())
            .displayName(pipelineSchemaDisplayName)
            .build());

    }
}
Copy
variables:
  testPipelineSchemas:
    fn::invoke:
      function: oci:GoldenGate:getPipelineSchemas
      arguments:
        pipelineId: ${testPipeline.id}
        displayName: ${pipelineSchemaDisplayName}
Copy

Using getPipelineSchemas

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getPipelineSchemas(args: GetPipelineSchemasArgs, opts?: InvokeOptions): Promise<GetPipelineSchemasResult>
function getPipelineSchemasOutput(args: GetPipelineSchemasOutputArgs, opts?: InvokeOptions): Output<GetPipelineSchemasResult>
Copy
def get_pipeline_schemas(display_name: Optional[str] = None,
                         filters: Optional[Sequence[_goldengate.GetPipelineSchemasFilter]] = None,
                         pipeline_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetPipelineSchemasResult
def get_pipeline_schemas_output(display_name: Optional[pulumi.Input[str]] = None,
                         filters: Optional[pulumi.Input[Sequence[pulumi.Input[_goldengate.GetPipelineSchemasFilterArgs]]]] = None,
                         pipeline_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetPipelineSchemasResult]
Copy
func GetPipelineSchemas(ctx *Context, args *GetPipelineSchemasArgs, opts ...InvokeOption) (*GetPipelineSchemasResult, error)
func GetPipelineSchemasOutput(ctx *Context, args *GetPipelineSchemasOutputArgs, opts ...InvokeOption) GetPipelineSchemasResultOutput
Copy

> Note: This function is named GetPipelineSchemas in the Go SDK.

public static class GetPipelineSchemas 
{
    public static Task<GetPipelineSchemasResult> InvokeAsync(GetPipelineSchemasArgs args, InvokeOptions? opts = null)
    public static Output<GetPipelineSchemasResult> Invoke(GetPipelineSchemasInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetPipelineSchemasResult> getPipelineSchemas(GetPipelineSchemasArgs args, InvokeOptions options)
public static Output<GetPipelineSchemasResult> getPipelineSchemas(GetPipelineSchemasArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:GoldenGate/getPipelineSchemas:getPipelineSchemas
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

PipelineId This property is required. string
The OCID of the pipeline created.
DisplayName string
A filter to return only the resources that match the entire 'displayName' given.
Filters Changes to this property will trigger replacement. List<GetPipelineSchemasFilter>
PipelineId This property is required. string
The OCID of the pipeline created.
DisplayName string
A filter to return only the resources that match the entire 'displayName' given.
Filters Changes to this property will trigger replacement. []GetPipelineSchemasFilter
pipelineId This property is required. String
The OCID of the pipeline created.
displayName String
A filter to return only the resources that match the entire 'displayName' given.
filters Changes to this property will trigger replacement. List<GetPipelineSchemasFilter>
pipelineId This property is required. string
The OCID of the pipeline created.
displayName string
A filter to return only the resources that match the entire 'displayName' given.
filters Changes to this property will trigger replacement. GetPipelineSchemasFilter[]
pipeline_id This property is required. str
The OCID of the pipeline created.
display_name str
A filter to return only the resources that match the entire 'displayName' given.
filters Changes to this property will trigger replacement. Sequence[goldengate.GetPipelineSchemasFilter]
pipelineId This property is required. String
The OCID of the pipeline created.
displayName String
A filter to return only the resources that match the entire 'displayName' given.
filters Changes to this property will trigger replacement. List<Property Map>

getPipelineSchemas Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
PipelineId string
PipelineSchemaCollections List<GetPipelineSchemasPipelineSchemaCollection>
The list of pipeline_schema_collection.
DisplayName string
Filters List<GetPipelineSchemasFilter>
Id string
The provider-assigned unique ID for this managed resource.
PipelineId string
PipelineSchemaCollections []GetPipelineSchemasPipelineSchemaCollection
The list of pipeline_schema_collection.
DisplayName string
Filters []GetPipelineSchemasFilter
id String
The provider-assigned unique ID for this managed resource.
pipelineId String
pipelineSchemaCollections List<GetPipelineSchemasPipelineSchemaCollection>
The list of pipeline_schema_collection.
displayName String
filters List<GetPipelineSchemasFilter>
id string
The provider-assigned unique ID for this managed resource.
pipelineId string
pipelineSchemaCollections GetPipelineSchemasPipelineSchemaCollection[]
The list of pipeline_schema_collection.
displayName string
filters GetPipelineSchemasFilter[]
id String
The provider-assigned unique ID for this managed resource.
pipelineId String
pipelineSchemaCollections List<Property Map>
The list of pipeline_schema_collection.
displayName String
filters List<Property Map>

Supporting Types

GetPipelineSchemasFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

GetPipelineSchemasPipelineSchemaCollection

Items This property is required. List<GetPipelineSchemasPipelineSchemaCollectionItem>
Array of pipeline schemas
Items This property is required. []GetPipelineSchemasPipelineSchemaCollectionItem
Array of pipeline schemas
items This property is required. List<GetPipelineSchemasPipelineSchemaCollectionItem>
Array of pipeline schemas
items This property is required. GetPipelineSchemasPipelineSchemaCollectionItem[]
Array of pipeline schemas
items This property is required. Sequence[goldengate.GetPipelineSchemasPipelineSchemaCollectionItem]
Array of pipeline schemas
items This property is required. List<Property Map>
Array of pipeline schemas

GetPipelineSchemasPipelineSchemaCollectionItem

SourceSchemaName This property is required. string
The schema name from the database connection.
TargetSchemaName This property is required. string
The schema name from the database connection.
SourceSchemaName This property is required. string
The schema name from the database connection.
TargetSchemaName This property is required. string
The schema name from the database connection.
sourceSchemaName This property is required. String
The schema name from the database connection.
targetSchemaName This property is required. String
The schema name from the database connection.
sourceSchemaName This property is required. string
The schema name from the database connection.
targetSchemaName This property is required. string
The schema name from the database connection.
source_schema_name This property is required. str
The schema name from the database connection.
target_schema_name This property is required. str
The schema name from the database connection.
sourceSchemaName This property is required. String
The schema name from the database connection.
targetSchemaName This property is required. String
The schema name from the database connection.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi