1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. oci
  6. getProductCatalogProduct
Viewing docs for Oracle Cloud Infrastructure v5.6.0
published on Thursday, Nov 5, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v5.6.0
published on Thursday, Nov 5, 2026 by Pulumi

    This data source provides details about a specific Product resource in Oracle Cloud Infrastructure Oci Product Catalog service.

    Get product by ID

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testProduct = oci.oci.getProductCatalogProduct({
        productId: testProductOciOciProductCatalogProduct.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_product = oci.oci.get_product_catalog_product(product_id=test_product_oci_oci_product_catalog_product["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.GetProductCatalogProduct(ctx, &oci.GetProductCatalogProductArgs{
    			ProductId: testProductOciOciProductCatalogProduct.Id,
    		}, 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 testProduct = Oci.Oci.GetProductCatalogProduct.Invoke(new()
        {
            ProductId = testProductOciOciProductCatalogProduct.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.OciFunctions;
    import com.pulumi.oci.oci.inputs.GetProductCatalogProductArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 testProduct = OciFunctions.getProductCatalogProduct(GetProductCatalogProductArgs.builder()
                .productId(testProductOciOciProductCatalogProduct.get("id"))
                .build());
    
        }
    }
    
    variables:
      testProduct:
        fn::invoke:
          function: oci:oci:getProductCatalogProduct
          arguments:
            productId: ${testProductOciOciProductCatalogProduct.id}
    
    terraform {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_oci_product_catalog_product" "testProduct" {
      product_id = testProductOciOciProductCatalogProduct.id
    }
    

    Using getProductCatalogProduct

    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 getProductCatalogProduct(args: GetProductCatalogProductArgs, opts?: InvokeOptions): Promise<GetProductCatalogProductResult>
    function getProductCatalogProductOutput(args: GetProductCatalogProductOutputArgs, opts?: InvokeOutputOptions): Output<GetProductCatalogProductResult>
    def get_product_catalog_product(product_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetProductCatalogProductResult
    def get_product_catalog_product_output(product_id: pulumi.Input[Optional[str]] = None,
                                    opts: Optional[InvokeOutputOptions] = None) -> Output[GetProductCatalogProductResult]
    func GetProductCatalogProduct(ctx *Context, args *GetProductCatalogProductArgs, opts ...InvokeOption) (*GetProductCatalogProductResult, error)
    func GetProductCatalogProductOutput(ctx *Context, args *GetProductCatalogProductOutputArgs, opts ...InvokeOption) GetProductCatalogProductResultOutput

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

    public static class GetProductCatalogProduct 
    {
        public static Task<GetProductCatalogProductResult> InvokeAsync(GetProductCatalogProductArgs args, InvokeOptions? opts = null)
        public static Output<GetProductCatalogProductResult> Invoke(GetProductCatalogProductInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetProductCatalogProductResult> Invoke(GetProductCatalogProductInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetProductCatalogProductResult> getProductCatalogProduct(GetProductCatalogProductArgs args, InvokeOptions options)
    public static Output<GetProductCatalogProductResult> getProductCatalogProduct(GetProductCatalogProductArgs args, InvokeOptions options)
    public static Output<GetProductCatalogProductResult> getProductCatalogProduct(GetProductCatalogProductArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: oci:oci/getProductCatalogProduct:getProductCatalogProduct
      arguments:
        # arguments dictionary
    data "oci_oci_get_product_catalog_product" "name" {
        # arguments
    }

    The following arguments are supported:

    ProductId string
    OCID of the product
    ProductId string
    OCID of the product
    product_id string
    OCID of the product
    productId String
    OCID of the product
    productId string
    OCID of the product
    product_id str
    OCID of the product
    productId String
    OCID of the product

    getProductCatalogProduct Result

    The following output properties are available:

    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    description of the sku
    FreeformTags Dictionary<string, string>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The provider-assigned unique ID for this managed resource.
    IsExcluded bool
    Indicates whether the product is currently excluded from SKU processing flows. This field is nullable when the exclusion flag has not been explicitly set.
    LifecycleDetails string
    The displayed status of a product. lifecycleState to lifecycleDetails mapping: INACTIVE > "Not yet launched" ACTIVE > "Launched" NEEDS_ATTENTION > "Pricing not set"
    Name string
    Name of the product, defined by service teams. Unique within one service
    ProductId string
    ServiceName string
    Name of the metering service this product relates to.
    Skuses List<GetProductCatalogProductSkus>
    List of skus associated with this product.
    State string
    The status of a product following the Oracle Cloud Infrastructure standard. ACTIVE: resources of this product can be used by the end customer. INACTIVE: resources of this product can't be used by the end customer. Product needs manual approval. NEEDS_ATTENTION: operator action is needed.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Date and time when the product is created Example: 2022-01-25T21:10:29.600Z
    TimeLaunched string
    Date and time when the product is launched. Nullable Example: 2022-01-25T21:10:29.600Z
    TimeReady string
    Date and time when the product is ready to be launched. Nullable Example: 2022-01-25T21:10:29.600Z
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    description of the sku
    FreeformTags map[string]string
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The provider-assigned unique ID for this managed resource.
    IsExcluded bool
    Indicates whether the product is currently excluded from SKU processing flows. This field is nullable when the exclusion flag has not been explicitly set.
    LifecycleDetails string
    The displayed status of a product. lifecycleState to lifecycleDetails mapping: INACTIVE > "Not yet launched" ACTIVE > "Launched" NEEDS_ATTENTION > "Pricing not set"
    Name string
    Name of the product, defined by service teams. Unique within one service
    ProductId string
    ServiceName string
    Name of the metering service this product relates to.
    Skuses []GetProductCatalogProductSkus
    List of skus associated with this product.
    State string
    The status of a product following the Oracle Cloud Infrastructure standard. ACTIVE: resources of this product can be used by the end customer. INACTIVE: resources of this product can't be used by the end customer. Product needs manual approval. NEEDS_ATTENTION: operator action is needed.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Date and time when the product is created Example: 2022-01-25T21:10:29.600Z
    TimeLaunched string
    Date and time when the product is launched. Nullable Example: 2022-01-25T21:10:29.600Z
    TimeReady string
    Date and time when the product is ready to be launched. Nullable Example: 2022-01-25T21:10:29.600Z
    defined_tags map(string)
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    description of the sku
    freeform_tags map(string)
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id string
    The provider-assigned unique ID for this managed resource.
    is_excluded bool
    Indicates whether the product is currently excluded from SKU processing flows. This field is nullable when the exclusion flag has not been explicitly set.
    lifecycle_details string
    The displayed status of a product. lifecycleState to lifecycleDetails mapping: INACTIVE > "Not yet launched" ACTIVE > "Launched" NEEDS_ATTENTION > "Pricing not set"
    name string
    Name of the product, defined by service teams. Unique within one service
    product_id string
    service_name string
    Name of the metering service this product relates to.
    skuses list(object)
    List of skus associated with this product.
    state string
    The status of a product following the Oracle Cloud Infrastructure standard. ACTIVE: resources of this product can be used by the end customer. INACTIVE: resources of this product can't be used by the end customer. Product needs manual approval. NEEDS_ATTENTION: operator action is needed.
    system_tags map(string)
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created string
    Date and time when the product is created Example: 2022-01-25T21:10:29.600Z
    time_launched string
    Date and time when the product is launched. Nullable Example: 2022-01-25T21:10:29.600Z
    time_ready string
    Date and time when the product is ready to be launched. Nullable Example: 2022-01-25T21:10:29.600Z
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    description of the sku
    freeformTags Map<String,String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The provider-assigned unique ID for this managed resource.
    isExcluded Boolean
    Indicates whether the product is currently excluded from SKU processing flows. This field is nullable when the exclusion flag has not been explicitly set.
    lifecycleDetails String
    The displayed status of a product. lifecycleState to lifecycleDetails mapping: INACTIVE > "Not yet launched" ACTIVE > "Launched" NEEDS_ATTENTION > "Pricing not set"
    name String
    Name of the product, defined by service teams. Unique within one service
    productId String
    serviceName String
    Name of the metering service this product relates to.
    skuses List<GetProductCatalogProductSkus>
    List of skus associated with this product.
    state String
    The status of a product following the Oracle Cloud Infrastructure standard. ACTIVE: resources of this product can be used by the end customer. INACTIVE: resources of this product can't be used by the end customer. Product needs manual approval. NEEDS_ATTENTION: operator action is needed.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Date and time when the product is created Example: 2022-01-25T21:10:29.600Z
    timeLaunched String
    Date and time when the product is launched. Nullable Example: 2022-01-25T21:10:29.600Z
    timeReady String
    Date and time when the product is ready to be launched. Nullable Example: 2022-01-25T21:10:29.600Z
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    description of the sku
    freeformTags {[key: string]: string}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id string
    The provider-assigned unique ID for this managed resource.
    isExcluded boolean
    Indicates whether the product is currently excluded from SKU processing flows. This field is nullable when the exclusion flag has not been explicitly set.
    lifecycleDetails string
    The displayed status of a product. lifecycleState to lifecycleDetails mapping: INACTIVE > "Not yet launched" ACTIVE > "Launched" NEEDS_ATTENTION > "Pricing not set"
    name string
    Name of the product, defined by service teams. Unique within one service
    productId string
    serviceName string
    Name of the metering service this product relates to.
    skuses GetProductCatalogProductSkus[]
    List of skus associated with this product.
    state string
    The status of a product following the Oracle Cloud Infrastructure standard. ACTIVE: resources of this product can be used by the end customer. INACTIVE: resources of this product can't be used by the end customer. Product needs manual approval. NEEDS_ATTENTION: operator action is needed.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    Date and time when the product is created Example: 2022-01-25T21:10:29.600Z
    timeLaunched string
    Date and time when the product is launched. Nullable Example: 2022-01-25T21:10:29.600Z
    timeReady string
    Date and time when the product is ready to be launched. Nullable Example: 2022-01-25T21:10:29.600Z
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    description of the sku
    freeform_tags Mapping[str, str]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id str
    The provider-assigned unique ID for this managed resource.
    is_excluded bool
    Indicates whether the product is currently excluded from SKU processing flows. This field is nullable when the exclusion flag has not been explicitly set.
    lifecycle_details str
    The displayed status of a product. lifecycleState to lifecycleDetails mapping: INACTIVE > "Not yet launched" ACTIVE > "Launched" NEEDS_ATTENTION > "Pricing not set"
    name str
    Name of the product, defined by service teams. Unique within one service
    product_id str
    service_name str
    Name of the metering service this product relates to.
    skuses Sequence[GetProductCatalogProductSkus]
    List of skus associated with this product.
    state str
    The status of a product following the Oracle Cloud Infrastructure standard. ACTIVE: resources of this product can be used by the end customer. INACTIVE: resources of this product can't be used by the end customer. Product needs manual approval. NEEDS_ATTENTION: operator action is needed.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    Date and time when the product is created Example: 2022-01-25T21:10:29.600Z
    time_launched str
    Date and time when the product is launched. Nullable Example: 2022-01-25T21:10:29.600Z
    time_ready str
    Date and time when the product is ready to be launched. Nullable Example: 2022-01-25T21:10:29.600Z
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    description of the sku
    freeformTags Map<String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The provider-assigned unique ID for this managed resource.
    isExcluded Boolean
    Indicates whether the product is currently excluded from SKU processing flows. This field is nullable when the exclusion flag has not been explicitly set.
    lifecycleDetails String
    The displayed status of a product. lifecycleState to lifecycleDetails mapping: INACTIVE > "Not yet launched" ACTIVE > "Launched" NEEDS_ATTENTION > "Pricing not set"
    name String
    Name of the product, defined by service teams. Unique within one service
    productId String
    serviceName String
    Name of the metering service this product relates to.
    skuses List<Property Map>
    List of skus associated with this product.
    state String
    The status of a product following the Oracle Cloud Infrastructure standard. ACTIVE: resources of this product can be used by the end customer. INACTIVE: resources of this product can't be used by the end customer. Product needs manual approval. NEEDS_ATTENTION: operator action is needed.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Date and time when the product is created Example: 2022-01-25T21:10:29.600Z
    timeLaunched String
    Date and time when the product is launched. Nullable Example: 2022-01-25T21:10:29.600Z
    timeReady String
    Date and time when the product is ready to be launched. Nullable Example: 2022-01-25T21:10:29.600Z

    Supporting Types

    GetProductCatalogProductSkus

    BpartNumber string
    sku bpartNumber
    Description string
    description of the sku
    BpartNumber string
    sku bpartNumber
    Description string
    description of the sku
    bpart_number string
    sku bpartNumber
    description string
    description of the sku
    bpartNumber String
    sku bpartNumber
    description String
    description of the sku
    bpartNumber string
    sku bpartNumber
    description string
    description of the sku
    bpart_number str
    sku bpartNumber
    description str
    description of the sku
    bpartNumber String
    sku bpartNumber
    description String
    description of the sku

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo oci logo
    Viewing docs for Oracle Cloud Infrastructure v5.6.0
    published on Thursday, Nov 5, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial