1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. GoldenGate
  5. getRecipes
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

oci.GoldenGate.getRecipes

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

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

Returns an array of Recipe Summary.

Example Usage

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

const testRecipes = oci.GoldenGate.getRecipes({
    compartmentId: compartmentId,
    displayName: recipeDisplayName,
    recipeType: recipeRecipeType,
});
Copy
import pulumi
import pulumi_oci as oci

test_recipes = oci.GoldenGate.get_recipes(compartment_id=compartment_id,
    display_name=recipe_display_name,
    recipe_type=recipe_recipe_type)
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.GetRecipes(ctx, &goldengate.GetRecipesArgs{
			CompartmentId: compartmentId,
			DisplayName:   pulumi.StringRef(recipeDisplayName),
			RecipeType:    pulumi.StringRef(recipeRecipeType),
		}, 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 testRecipes = Oci.GoldenGate.GetRecipes.Invoke(new()
    {
        CompartmentId = compartmentId,
        DisplayName = recipeDisplayName,
        RecipeType = recipeRecipeType,
    });

});
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.GetRecipesArgs;
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 testRecipes = GoldenGateFunctions.getRecipes(GetRecipesArgs.builder()
            .compartmentId(compartmentId)
            .displayName(recipeDisplayName)
            .recipeType(recipeRecipeType)
            .build());

    }
}
Copy
variables:
  testRecipes:
    fn::invoke:
      function: oci:GoldenGate:getRecipes
      arguments:
        compartmentId: ${compartmentId}
        displayName: ${recipeDisplayName}
        recipeType: ${recipeRecipeType}
Copy

Using getRecipes

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 getRecipes(args: GetRecipesArgs, opts?: InvokeOptions): Promise<GetRecipesResult>
function getRecipesOutput(args: GetRecipesOutputArgs, opts?: InvokeOptions): Output<GetRecipesResult>
Copy
def get_recipes(compartment_id: Optional[str] = None,
                display_name: Optional[str] = None,
                filters: Optional[Sequence[_goldengate.GetRecipesFilter]] = None,
                recipe_type: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetRecipesResult
def get_recipes_output(compartment_id: Optional[pulumi.Input[str]] = None,
                display_name: Optional[pulumi.Input[str]] = None,
                filters: Optional[pulumi.Input[Sequence[pulumi.Input[_goldengate.GetRecipesFilterArgs]]]] = None,
                recipe_type: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetRecipesResult]
Copy
func GetRecipes(ctx *Context, args *GetRecipesArgs, opts ...InvokeOption) (*GetRecipesResult, error)
func GetRecipesOutput(ctx *Context, args *GetRecipesOutputArgs, opts ...InvokeOption) GetRecipesResultOutput
Copy

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

public static class GetRecipes 
{
    public static Task<GetRecipesResult> InvokeAsync(GetRecipesArgs args, InvokeOptions? opts = null)
    public static Output<GetRecipesResult> Invoke(GetRecipesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetRecipesResult> getRecipes(GetRecipesArgs args, InvokeOptions options)
public static Output<GetRecipesResult> getRecipes(GetRecipesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:GoldenGate/getRecipes:getRecipes
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. string
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.
DisplayName string
A filter to return only the resources that match the entire 'displayName' given.
Filters Changes to this property will trigger replacement. List<GetRecipesFilter>
RecipeType string
The pipeline's recipe type. The default value is ZERO_ETL.
CompartmentId This property is required. string
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.
DisplayName string
A filter to return only the resources that match the entire 'displayName' given.
Filters Changes to this property will trigger replacement. []GetRecipesFilter
RecipeType string
The pipeline's recipe type. The default value is ZERO_ETL.
compartmentId This property is required. String
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.
displayName String
A filter to return only the resources that match the entire 'displayName' given.
filters Changes to this property will trigger replacement. List<GetRecipesFilter>
recipeType String
The pipeline's recipe type. The default value is ZERO_ETL.
compartmentId This property is required. string
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.
displayName string
A filter to return only the resources that match the entire 'displayName' given.
filters Changes to this property will trigger replacement. GetRecipesFilter[]
recipeType string
The pipeline's recipe type. The default value is ZERO_ETL.
compartment_id This property is required. str
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.
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.GetRecipesFilter]
recipe_type str
The pipeline's recipe type. The default value is ZERO_ETL.
compartmentId This property is required. String
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.
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>
recipeType String
The pipeline's recipe type. The default value is ZERO_ETL.

getRecipes Result

The following output properties are available:

CompartmentId string
Id string
The provider-assigned unique ID for this managed resource.
RecipeSummaryCollections List<GetRecipesRecipeSummaryCollection>
The list of recipe_summary_collection.
DisplayName string
An object's Display Name.
Filters List<GetRecipesFilter>
RecipeType string
The type of the recipe
CompartmentId string
Id string
The provider-assigned unique ID for this managed resource.
RecipeSummaryCollections []GetRecipesRecipeSummaryCollection
The list of recipe_summary_collection.
DisplayName string
An object's Display Name.
Filters []GetRecipesFilter
RecipeType string
The type of the recipe
compartmentId String
id String
The provider-assigned unique ID for this managed resource.
recipeSummaryCollections List<GetRecipesRecipeSummaryCollection>
The list of recipe_summary_collection.
displayName String
An object's Display Name.
filters List<GetRecipesFilter>
recipeType String
The type of the recipe
compartmentId string
id string
The provider-assigned unique ID for this managed resource.
recipeSummaryCollections GetRecipesRecipeSummaryCollection[]
The list of recipe_summary_collection.
displayName string
An object's Display Name.
filters GetRecipesFilter[]
recipeType string
The type of the recipe
compartment_id str
id str
The provider-assigned unique ID for this managed resource.
recipe_summary_collections Sequence[goldengate.GetRecipesRecipeSummaryCollection]
The list of recipe_summary_collection.
display_name str
An object's Display Name.
filters Sequence[goldengate.GetRecipesFilter]
recipe_type str
The type of the recipe
compartmentId String
id String
The provider-assigned unique ID for this managed resource.
recipeSummaryCollections List<Property Map>
The list of recipe_summary_collection.
displayName String
An object's Display Name.
filters List<Property Map>
recipeType String
The type of the recipe

Supporting Types

GetRecipesFilter

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

GetRecipesRecipeSummaryCollection

Items This property is required. List<GetRecipesRecipeSummaryCollectionItem>
Array of Recipe Summary
Items This property is required. []GetRecipesRecipeSummaryCollectionItem
Array of Recipe Summary
items This property is required. List<GetRecipesRecipeSummaryCollectionItem>
Array of Recipe Summary
items This property is required. GetRecipesRecipeSummaryCollectionItem[]
Array of Recipe Summary
items This property is required. Sequence[goldengate.GetRecipesRecipeSummaryCollectionItem]
Array of Recipe Summary
items This property is required. List<Property Map>
Array of Recipe Summary

GetRecipesRecipeSummaryCollectionItem

Description This property is required. string
Metadata about this specific object.
DisplayName This property is required. string
A filter to return only the resources that match the entire 'displayName' given.
Name This property is required. string
An object's Display Name.
RecipeType This property is required. string
The pipeline's recipe type. The default value is ZERO_ETL.
SupportedSourceTechnologyTypes This property is required. List<string>
Array of supported technology types for this recipe.
SupportedTargetTechnologyTypes This property is required. List<string>
Array of supported technology types for this recipe.
Description This property is required. string
Metadata about this specific object.
DisplayName This property is required. string
A filter to return only the resources that match the entire 'displayName' given.
Name This property is required. string
An object's Display Name.
RecipeType This property is required. string
The pipeline's recipe type. The default value is ZERO_ETL.
SupportedSourceTechnologyTypes This property is required. []string
Array of supported technology types for this recipe.
SupportedTargetTechnologyTypes This property is required. []string
Array of supported technology types for this recipe.
description This property is required. String
Metadata about this specific object.
displayName This property is required. String
A filter to return only the resources that match the entire 'displayName' given.
name This property is required. String
An object's Display Name.
recipeType This property is required. String
The pipeline's recipe type. The default value is ZERO_ETL.
supportedSourceTechnologyTypes This property is required. List<String>
Array of supported technology types for this recipe.
supportedTargetTechnologyTypes This property is required. List<String>
Array of supported technology types for this recipe.
description This property is required. string
Metadata about this specific object.
displayName This property is required. string
A filter to return only the resources that match the entire 'displayName' given.
name This property is required. string
An object's Display Name.
recipeType This property is required. string
The pipeline's recipe type. The default value is ZERO_ETL.
supportedSourceTechnologyTypes This property is required. string[]
Array of supported technology types for this recipe.
supportedTargetTechnologyTypes This property is required. string[]
Array of supported technology types for this recipe.
description This property is required. str
Metadata about this specific object.
display_name This property is required. str
A filter to return only the resources that match the entire 'displayName' given.
name This property is required. str
An object's Display Name.
recipe_type This property is required. str
The pipeline's recipe type. The default value is ZERO_ETL.
supported_source_technology_types This property is required. Sequence[str]
Array of supported technology types for this recipe.
supported_target_technology_types This property is required. Sequence[str]
Array of supported technology types for this recipe.
description This property is required. String
Metadata about this specific object.
displayName This property is required. String
A filter to return only the resources that match the entire 'displayName' given.
name This property is required. String
An object's Display Name.
recipeType This property is required. String
The pipeline's recipe type. The default value is ZERO_ETL.
supportedSourceTechnologyTypes This property is required. List<String>
Array of supported technology types for this recipe.
supportedTargetTechnologyTypes This property is required. List<String>
Array of supported technology types for this recipe.

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.30.0 published on Monday, Apr 14, 2025 by Pulumi