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

oci.CapacityManagement.getOccAvailabilityCatalog

Explore with Pulumi AI

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

This data source provides details about a specific Occ Availability Catalog resource in Oracle Cloud Infrastructure Capacity Management service.

Get details about availability catalog.

Example Usage

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

const testOccAvailabilityCatalog = oci.CapacityManagement.getOccAvailabilityCatalog({
    occAvailabilityCatalogId: testOccAvailabilityCatalogOciCapacityManagementOccAvailabilityCatalog.id,
});
Copy
import pulumi
import pulumi_oci as oci

test_occ_availability_catalog = oci.CapacityManagement.get_occ_availability_catalog(occ_availability_catalog_id=test_occ_availability_catalog_oci_capacity_management_occ_availability_catalog["id"])
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := capacitymanagement.GetOccAvailabilityCatalog(ctx, &capacitymanagement.GetOccAvailabilityCatalogArgs{
			OccAvailabilityCatalogId: testOccAvailabilityCatalogOciCapacityManagementOccAvailabilityCatalog.Id,
		}, 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 testOccAvailabilityCatalog = Oci.CapacityManagement.GetOccAvailabilityCatalog.Invoke(new()
    {
        OccAvailabilityCatalogId = testOccAvailabilityCatalogOciCapacityManagementOccAvailabilityCatalog.Id,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CapacityManagement.CapacityManagementFunctions;
import com.pulumi.oci.CapacityManagement.inputs.GetOccAvailabilityCatalogArgs;
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 testOccAvailabilityCatalog = CapacityManagementFunctions.getOccAvailabilityCatalog(GetOccAvailabilityCatalogArgs.builder()
            .occAvailabilityCatalogId(testOccAvailabilityCatalogOciCapacityManagementOccAvailabilityCatalog.id())
            .build());

    }
}
Copy
variables:
  testOccAvailabilityCatalog:
    fn::invoke:
      function: oci:CapacityManagement:getOccAvailabilityCatalog
      arguments:
        occAvailabilityCatalogId: ${testOccAvailabilityCatalogOciCapacityManagementOccAvailabilityCatalog.id}
Copy

Using getOccAvailabilityCatalog

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 getOccAvailabilityCatalog(args: GetOccAvailabilityCatalogArgs, opts?: InvokeOptions): Promise<GetOccAvailabilityCatalogResult>
function getOccAvailabilityCatalogOutput(args: GetOccAvailabilityCatalogOutputArgs, opts?: InvokeOptions): Output<GetOccAvailabilityCatalogResult>
Copy
def get_occ_availability_catalog(occ_availability_catalog_id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetOccAvailabilityCatalogResult
def get_occ_availability_catalog_output(occ_availability_catalog_id: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetOccAvailabilityCatalogResult]
Copy
func GetOccAvailabilityCatalog(ctx *Context, args *GetOccAvailabilityCatalogArgs, opts ...InvokeOption) (*GetOccAvailabilityCatalogResult, error)
func GetOccAvailabilityCatalogOutput(ctx *Context, args *GetOccAvailabilityCatalogOutputArgs, opts ...InvokeOption) GetOccAvailabilityCatalogResultOutput
Copy

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

public static class GetOccAvailabilityCatalog 
{
    public static Task<GetOccAvailabilityCatalogResult> InvokeAsync(GetOccAvailabilityCatalogArgs args, InvokeOptions? opts = null)
    public static Output<GetOccAvailabilityCatalogResult> Invoke(GetOccAvailabilityCatalogInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetOccAvailabilityCatalogResult> getOccAvailabilityCatalog(GetOccAvailabilityCatalogArgs args, InvokeOptions options)
public static Output<GetOccAvailabilityCatalogResult> getOccAvailabilityCatalog(GetOccAvailabilityCatalogArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:CapacityManagement/getOccAvailabilityCatalog:getOccAvailabilityCatalog
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

OccAvailabilityCatalogId This property is required. string
The OCID of the availability catalog.
OccAvailabilityCatalogId This property is required. string
The OCID of the availability catalog.
occAvailabilityCatalogId This property is required. String
The OCID of the availability catalog.
occAvailabilityCatalogId This property is required. string
The OCID of the availability catalog.
occ_availability_catalog_id This property is required. str
The OCID of the availability catalog.
occAvailabilityCatalogId This property is required. String
The OCID of the availability catalog.

getOccAvailabilityCatalog Result

The following output properties are available:

Base64encodedCatalogDetails string
CatalogState string
The different states associated with the availability catalog.
CompartmentId string
The OCID of the tenancy where the availability catalog resides.
DefinedTags Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
Description string
Text information about the availability catalog.
Details List<GetOccAvailabilityCatalogDetail>
Details about capacity available for different resources in catalog.
DisplayName string
A user-friendly name for the availability catalog.
FreeformTags Dictionary<string, string>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
Id string
The OCID of the availability catalog.
LifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
MetadataDetails List<GetOccAvailabilityCatalogMetadataDetail>
Used for representing the metadata of the catalog. This denotes the version and format of the CSV file for parsing.
Namespace string
The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
OccAvailabilityCatalogId string
OccCustomerGroupId string
The customer group OCID to which the availability catalog belongs.
State string
The current lifecycle state of the resource.
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
The time when the availability catalog was created.
TimeUpdated string
The time when the availability catalog was last updated.
Base64encodedCatalogDetails string
CatalogState string
The different states associated with the availability catalog.
CompartmentId string
The OCID of the tenancy where the availability catalog resides.
DefinedTags map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
Description string
Text information about the availability catalog.
Details []GetOccAvailabilityCatalogDetail
Details about capacity available for different resources in catalog.
DisplayName string
A user-friendly name for the availability catalog.
FreeformTags map[string]string
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
Id string
The OCID of the availability catalog.
LifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
MetadataDetails []GetOccAvailabilityCatalogMetadataDetail
Used for representing the metadata of the catalog. This denotes the version and format of the CSV file for parsing.
Namespace string
The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
OccAvailabilityCatalogId string
OccCustomerGroupId string
The customer group OCID to which the availability catalog belongs.
State string
The current lifecycle state of the resource.
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
The time when the availability catalog was created.
TimeUpdated string
The time when the availability catalog was last updated.
base64encodedCatalogDetails String
catalogState String
The different states associated with the availability catalog.
compartmentId String
The OCID of the tenancy where the availability catalog resides.
definedTags Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description String
Text information about the availability catalog.
details List<GetOccAvailabilityCatalogDetail>
Details about capacity available for different resources in catalog.
displayName String
A user-friendly name for the availability catalog.
freeformTags Map<String,String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id String
The OCID of the availability catalog.
lifecycleDetails String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
metadataDetails List<GetOccAvailabilityCatalogMetadataDetail>
Used for representing the metadata of the catalog. This denotes the version and format of the CSV file for parsing.
namespace String
The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
occAvailabilityCatalogId String
occCustomerGroupId String
The customer group OCID to which the availability catalog belongs.
state String
The current lifecycle state of the resource.
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
The time when the availability catalog was created.
timeUpdated String
The time when the availability catalog was last updated.
base64encodedCatalogDetails string
catalogState string
The different states associated with the availability catalog.
compartmentId string
The OCID of the tenancy where the availability catalog resides.
definedTags {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description string
Text information about the availability catalog.
details GetOccAvailabilityCatalogDetail[]
Details about capacity available for different resources in catalog.
displayName string
A user-friendly name for the availability catalog.
freeformTags {[key: string]: string}
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id string
The OCID of the availability catalog.
lifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
metadataDetails GetOccAvailabilityCatalogMetadataDetail[]
Used for representing the metadata of the catalog. This denotes the version and format of the CSV file for parsing.
namespace string
The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
occAvailabilityCatalogId string
occCustomerGroupId string
The customer group OCID to which the availability catalog belongs.
state string
The current lifecycle state of the resource.
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
The time when the availability catalog was created.
timeUpdated string
The time when the availability catalog was last updated.
base64encoded_catalog_details str
catalog_state str
The different states associated with the availability catalog.
compartment_id str
The OCID of the tenancy where the availability catalog resides.
defined_tags Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description str
Text information about the availability catalog.
details Sequence[capacitymanagement.GetOccAvailabilityCatalogDetail]
Details about capacity available for different resources in catalog.
display_name str
A user-friendly name for the availability catalog.
freeform_tags Mapping[str, str]
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id str
The OCID of the availability catalog.
lifecycle_details str
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
metadata_details Sequence[capacitymanagement.GetOccAvailabilityCatalogMetadataDetail]
Used for representing the metadata of the catalog. This denotes the version and format of the CSV file for parsing.
namespace str
The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
occ_availability_catalog_id str
occ_customer_group_id str
The customer group OCID to which the availability catalog belongs.
state str
The current lifecycle state of the resource.
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
The time when the availability catalog was created.
time_updated str
The time when the availability catalog was last updated.
base64encodedCatalogDetails String
catalogState String
The different states associated with the availability catalog.
compartmentId String
The OCID of the tenancy where the availability catalog resides.
definedTags Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description String
Text information about the availability catalog.
details List<Property Map>
Details about capacity available for different resources in catalog.
displayName String
A user-friendly name for the availability catalog.
freeformTags Map<String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id String
The OCID of the availability catalog.
lifecycleDetails String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
metadataDetails List<Property Map>
Used for representing the metadata of the catalog. This denotes the version and format of the CSV file for parsing.
namespace String
The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
occAvailabilityCatalogId String
occCustomerGroupId String
The customer group OCID to which the availability catalog belongs.
state String
The current lifecycle state of the resource.
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
The time when the availability catalog was created.
timeUpdated String
The time when the availability catalog was last updated.

Supporting Types

GetOccAvailabilityCatalogDetail

AvailableQuantity This property is required. string
The quantity of resource currently available that the customer can request.
CatalogId This property is required. string
The OCID of the availability catalog.
DateExpectedCapacityHandover This property is required. string
The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
DateFinalCustomerOrder This property is required. string
The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
DemandedQuantity This property is required. string
The quantity of resource currently demanded by the customer.
Namespace This property is required. string
The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
ResourceName This property is required. string
The name of the resource that the customer can request.
ResourceType This property is required. string
The different types of resources against which customers can place capacity requests.
SystemTags This property is required. Dictionary<string, string>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TotalAvailableQuantity This property is required. string
The total quantity of resource that the customer can request.
Unit This property is required. string
The unit in which the resource available is measured.
WorkloadType This property is required. string
The type of workload (Generic/ROW).
AvailableQuantity This property is required. string
The quantity of resource currently available that the customer can request.
CatalogId This property is required. string
The OCID of the availability catalog.
DateExpectedCapacityHandover This property is required. string
The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
DateFinalCustomerOrder This property is required. string
The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
DemandedQuantity This property is required. string
The quantity of resource currently demanded by the customer.
Namespace This property is required. string
The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
ResourceName This property is required. string
The name of the resource that the customer can request.
ResourceType This property is required. string
The different types of resources against which customers can place capacity requests.
SystemTags This property is required. map[string]string
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TotalAvailableQuantity This property is required. string
The total quantity of resource that the customer can request.
Unit This property is required. string
The unit in which the resource available is measured.
WorkloadType This property is required. string
The type of workload (Generic/ROW).
availableQuantity This property is required. String
The quantity of resource currently available that the customer can request.
catalogId This property is required. String
The OCID of the availability catalog.
dateExpectedCapacityHandover This property is required. String
The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
dateFinalCustomerOrder This property is required. String
The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
demandedQuantity This property is required. String
The quantity of resource currently demanded by the customer.
namespace This property is required. String
The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
resourceName This property is required. String
The name of the resource that the customer can request.
resourceType This property is required. String
The different types of resources against which customers can place capacity requests.
systemTags This property is required. Map<String,String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
totalAvailableQuantity This property is required. String
The total quantity of resource that the customer can request.
unit This property is required. String
The unit in which the resource available is measured.
workloadType This property is required. String
The type of workload (Generic/ROW).
availableQuantity This property is required. string
The quantity of resource currently available that the customer can request.
catalogId This property is required. string
The OCID of the availability catalog.
dateExpectedCapacityHandover This property is required. string
The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
dateFinalCustomerOrder This property is required. string
The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
demandedQuantity This property is required. string
The quantity of resource currently demanded by the customer.
namespace This property is required. string
The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
resourceName This property is required. string
The name of the resource that the customer can request.
resourceType This property is required. string
The different types of resources against which customers can place capacity requests.
systemTags This property is required. {[key: string]: string}
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
totalAvailableQuantity This property is required. string
The total quantity of resource that the customer can request.
unit This property is required. string
The unit in which the resource available is measured.
workloadType This property is required. string
The type of workload (Generic/ROW).
available_quantity This property is required. str
The quantity of resource currently available that the customer can request.
catalog_id This property is required. str
The OCID of the availability catalog.
date_expected_capacity_handover This property is required. str
The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
date_final_customer_order This property is required. str
The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
demanded_quantity This property is required. str
The quantity of resource currently demanded by the customer.
namespace This property is required. str
The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
resource_name This property is required. str
The name of the resource that the customer can request.
resource_type This property is required. str
The different types of resources against which customers can place capacity requests.
system_tags This property is required. Mapping[str, str]
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
total_available_quantity This property is required. str
The total quantity of resource that the customer can request.
unit This property is required. str
The unit in which the resource available is measured.
workload_type This property is required. str
The type of workload (Generic/ROW).
availableQuantity This property is required. String
The quantity of resource currently available that the customer can request.
catalogId This property is required. String
The OCID of the availability catalog.
dateExpectedCapacityHandover This property is required. String
The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
dateFinalCustomerOrder This property is required. String
The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
demandedQuantity This property is required. String
The quantity of resource currently demanded by the customer.
namespace This property is required. String
The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
resourceName This property is required. String
The name of the resource that the customer can request.
resourceType This property is required. String
The different types of resources against which customers can place capacity requests.
systemTags This property is required. Map<String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
totalAvailableQuantity This property is required. String
The total quantity of resource that the customer can request.
unit This property is required. String
The unit in which the resource available is measured.
workloadType This property is required. String
The type of workload (Generic/ROW).

GetOccAvailabilityCatalogMetadataDetail

FormatVersion This property is required. string
The version for the format of the catalog file being uploaded.
FormatVersion This property is required. string
The version for the format of the catalog file being uploaded.
formatVersion This property is required. String
The version for the format of the catalog file being uploaded.
formatVersion This property is required. string
The version for the format of the catalog file being uploaded.
format_version This property is required. str
The version for the format of the catalog file being uploaded.
formatVersion This property is required. String
The version for the format of the catalog file being uploaded.

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