Viewing docs for Oracle Cloud Infrastructure v5.6.0
published on Thursday, Nov 5, 2026 by Pulumi
published on Thursday, Nov 5, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v5.6.0
published on Thursday, Nov 5, 2026 by Pulumi
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 dictionarydata "oci_oci_get_product_catalog_product" "name" {
# arguments
}The following arguments are supported:
- Product
Id string - OCID of the product
- Product
Id string - OCID of the product
- product_
id string - OCID of the product
- product
Id String - OCID of the product
- product
Id string - OCID of the product
- product_
id str - OCID of the product
- product
Id String - OCID of the product
getProductCatalogProduct Result
The following output properties are available:
- 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
- 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.
- 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<Get
Product Catalog Product Skus> - 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.
- Dictionary<string, 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
- 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
- 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.
- 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
[]Get
Product Catalog Product Skus - 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.
- map[string]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
- 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
- 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.
- 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
- 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
- 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.
- is
Excluded 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.
- 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<Get
Product Catalog Product Skus> - 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.
- Map<String,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
- {[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
- {[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.
- is
Excluded 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.
- 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
Get
Product Catalog Product Skus[] - 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.
- {[key: string]: 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
- 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
- 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[Get
Product Catalog Product Skus] - 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.
- 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
- 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
- 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 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.
- 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<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.
- 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
Supporting Types
GetProductCatalogProductSkus
- Bpart
Number string - sku bpartNumber
- Description string
- description of the sku
- Bpart
Number string - sku bpartNumber
- Description string
- description of the sku
- bpart_
number string - sku bpartNumber
- description string
- description of the sku
- bpart
Number String - sku bpartNumber
- description String
- description of the sku
- bpart
Number string - sku bpartNumber
- description string
- description of the sku
- bpart_
number str - sku bpartNumber
- description str
- description of the sku
- bpart
Number 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
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v5.6.0
published on Thursday, Nov 5, 2026 by Pulumi
published on Thursday, Nov 5, 2026 by Pulumi