Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.GoldenGate.getPipelineSchemas
Explore with Pulumi AI
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,
});
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)
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
	})
}
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,
    });
});
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());
    }
}
variables:
  testPipelineSchemas:
    fn::invoke:
      function: oci:GoldenGate:getPipelineSchemas
      arguments:
        pipelineId: ${testPipeline.id}
        displayName: ${pipelineSchemaDisplayName}
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>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]func GetPipelineSchemas(ctx *Context, args *GetPipelineSchemasArgs, opts ...InvokeOption) (*GetPipelineSchemasResult, error)
func GetPipelineSchemasOutput(ctx *Context, args *GetPipelineSchemasOutputArgs, opts ...InvokeOption) GetPipelineSchemasResultOutput> 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)
}public static CompletableFuture<GetPipelineSchemasResult> getPipelineSchemas(GetPipelineSchemasArgs args, InvokeOptions options)
public static Output<GetPipelineSchemasResult> getPipelineSchemas(GetPipelineSchemasArgs args, InvokeOptions options)
fn::invoke:
  function: oci:GoldenGate/getPipelineSchemas:getPipelineSchemas
  arguments:
    # arguments dictionaryThe following arguments are supported:
- PipelineId string
- The OCID of the pipeline created.
- DisplayName string
- A filter to return only the resources that match the entire 'displayName' given.
- Filters
List<GetPipeline Schemas Filter> 
- PipelineId string
- The OCID of the pipeline created.
- DisplayName string
- A filter to return only the resources that match the entire 'displayName' given.
- Filters
[]GetPipeline Schemas Filter 
- pipelineId String
- The OCID of the pipeline created.
- displayName String
- A filter to return only the resources that match the entire 'displayName' given.
- filters
List<GetPipeline Schemas Filter> 
- pipelineId string
- The OCID of the pipeline created.
- displayName string
- A filter to return only the resources that match the entire 'displayName' given.
- filters
GetPipeline Schemas Filter[] 
- pipeline_id str
- The OCID of the pipeline created.
- display_name str
- A filter to return only the resources that match the entire 'displayName' given.
- filters
Sequence[goldengate.Get Pipeline Schemas Filter] 
- pipelineId String
- The OCID of the pipeline created.
- displayName String
- A filter to return only the resources that match the entire 'displayName' given.
- filters List<Property Map>
getPipelineSchemas Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- PipelineId string
- PipelineSchema List<GetCollections Pipeline Schemas Pipeline Schema Collection> 
- The list of pipeline_schema_collection.
- DisplayName string
- Filters
List<GetPipeline Schemas Filter> 
- Id string
- The provider-assigned unique ID for this managed resource.
- PipelineId string
- PipelineSchema []GetCollections Pipeline Schemas Pipeline Schema Collection 
- The list of pipeline_schema_collection.
- DisplayName string
- Filters
[]GetPipeline Schemas Filter 
- id String
- The provider-assigned unique ID for this managed resource.
- pipelineId String
- pipelineSchema List<GetCollections Pipeline Schemas Pipeline Schema Collection> 
- The list of pipeline_schema_collection.
- displayName String
- filters
List<GetPipeline Schemas Filter> 
- id string
- The provider-assigned unique ID for this managed resource.
- pipelineId string
- pipelineSchema GetCollections Pipeline Schemas Pipeline Schema Collection[] 
- The list of pipeline_schema_collection.
- displayName string
- filters
GetPipeline Schemas Filter[] 
- id str
- The provider-assigned unique ID for this managed resource.
- pipeline_id str
- pipeline_schema_ Sequence[goldengate.collections Get Pipeline Schemas Pipeline Schema Collection] 
- The list of pipeline_schema_collection.
- display_name str
- filters
Sequence[goldengate.Get Pipeline Schemas Filter] 
- id String
- The provider-assigned unique ID for this managed resource.
- pipelineId String
- pipelineSchema List<Property Map>Collections 
- The list of pipeline_schema_collection.
- displayName String
- filters List<Property Map>
Supporting Types
GetPipelineSchemasFilter   
GetPipelineSchemasPipelineSchemaCollection     
- Items
List<GetPipeline Schemas Pipeline Schema Collection Item> 
- Array of pipeline schemas
- Items
[]GetPipeline Schemas Pipeline Schema Collection Item 
- Array of pipeline schemas
- items
List<GetPipeline Schemas Pipeline Schema Collection Item> 
- Array of pipeline schemas
- items
GetPipeline Schemas Pipeline Schema Collection Item[] 
- Array of pipeline schemas
- items
Sequence[goldengate.Get Pipeline Schemas Pipeline Schema Collection Item] 
- Array of pipeline schemas
- items List<Property Map>
- Array of pipeline schemas
GetPipelineSchemasPipelineSchemaCollectionItem      
- SourceSchema stringName 
- The schema name from the database connection.
- TargetSchema stringName 
- The schema name from the database connection.
- SourceSchema stringName 
- The schema name from the database connection.
- TargetSchema stringName 
- The schema name from the database connection.
- sourceSchema StringName 
- The schema name from the database connection.
- targetSchema StringName 
- The schema name from the database connection.
- sourceSchema stringName 
- The schema name from the database connection.
- targetSchema stringName 
- The schema name from the database connection.
- source_schema_ strname 
- The schema name from the database connection.
- target_schema_ strname 
- The schema name from the database connection.
- sourceSchema StringName 
- The schema name from the database connection.
- targetSchema StringName 
- 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 ociTerraform Provider.