Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.CapacityManagement.getOccAvailabilityCatalog
Explore with Pulumi AI
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,
});
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"])
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
	})
}
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,
    });
});
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());
    }
}
variables:
  testOccAvailabilityCatalog:
    fn::invoke:
      function: oci:CapacityManagement:getOccAvailabilityCatalog
      arguments:
        occAvailabilityCatalogId: ${testOccAvailabilityCatalogOciCapacityManagementOccAvailabilityCatalog.id}
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>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]func LookupOccAvailabilityCatalog(ctx *Context, args *LookupOccAvailabilityCatalogArgs, opts ...InvokeOption) (*LookupOccAvailabilityCatalogResult, error)
func LookupOccAvailabilityCatalogOutput(ctx *Context, args *LookupOccAvailabilityCatalogOutputArgs, opts ...InvokeOption) LookupOccAvailabilityCatalogResultOutput> Note: This function is named LookupOccAvailabilityCatalog 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)
}public static CompletableFuture<GetOccAvailabilityCatalogResult> getOccAvailabilityCatalog(GetOccAvailabilityCatalogArgs args, InvokeOptions options)
public static Output<GetOccAvailabilityCatalogResult> getOccAvailabilityCatalog(GetOccAvailabilityCatalogArgs args, InvokeOptions options)
fn::invoke:
  function: oci:CapacityManagement/getOccAvailabilityCatalog:getOccAvailabilityCatalog
  arguments:
    # arguments dictionaryThe following arguments are supported:
- OccAvailability stringCatalog Id 
- The OCID of the availability catalog.
- OccAvailability stringCatalog Id 
- The OCID of the availability catalog.
- occAvailability StringCatalog Id 
- The OCID of the availability catalog.
- occAvailability stringCatalog Id 
- The OCID of the availability catalog.
- occ_availability_ strcatalog_ id 
- The OCID of the availability catalog.
- occAvailability StringCatalog Id 
- The OCID of the availability catalog.
getOccAvailabilityCatalog Result
The following output properties are available:
- Base64encodedCatalog stringDetails 
- CatalogState string
- The different states associated with the availability catalog.
- CompartmentId string
- The OCID of the tenancy where the availability catalog resides.
- 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<GetOcc Availability Catalog Detail> 
- Details about capacity available for different resources in catalog.
- DisplayName string
- A user-friendly name for the availability catalog.
- 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<GetOcc Availability Catalog Metadata Detail> 
- 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.
- OccAvailability stringCatalog Id 
- OccCustomer stringGroup Id 
- The customer group OCID to which the availability catalog belongs.
- State string
- The current lifecycle state of the resource.
- 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.
- Base64encodedCatalog stringDetails 
- CatalogState string
- The different states associated with the availability catalog.
- CompartmentId string
- The OCID of the tenancy where the availability catalog resides.
- 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
[]GetOcc Availability Catalog Detail 
- Details about capacity available for different resources in catalog.
- DisplayName string
- A user-friendly name for the availability catalog.
- 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 []GetOcc Availability Catalog Metadata Detail 
- 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.
- OccAvailability stringCatalog Id 
- OccCustomer stringGroup Id 
- The customer group OCID to which the availability catalog belongs.
- State string
- The current lifecycle state of the resource.
- 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.
- base64encodedCatalog StringDetails 
- catalogState String
- The different states associated with the availability catalog.
- compartmentId String
- The OCID of the tenancy where the availability catalog resides.
- 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<GetOcc Availability Catalog Detail> 
- Details about capacity available for different resources in catalog.
- displayName String
- A user-friendly name for the availability catalog.
- 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<GetOcc Availability Catalog Metadata Detail> 
- 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.
- occAvailability StringCatalog Id 
- occCustomer StringGroup Id 
- The customer group OCID to which the availability catalog belongs.
- state String
- The current lifecycle state of the resource.
- 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.
- base64encodedCatalog stringDetails 
- catalogState string
- The different states associated with the availability catalog.
- compartmentId string
- The OCID of the tenancy where the availability catalog resides.
- {[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
GetOcc Availability Catalog Detail[] 
- Details about capacity available for different resources in catalog.
- displayName string
- A user-friendly name for the availability catalog.
- {[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 GetOcc Availability Catalog Metadata Detail[] 
- 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.
- occAvailability stringCatalog Id 
- occCustomer stringGroup Id 
- The customer group OCID to which the availability catalog belongs.
- state string
- The current lifecycle state of the resource.
- {[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_ strdetails 
- catalog_state str
- The different states associated with the availability catalog.
- compartment_id str
- The OCID of the tenancy where the availability catalog resides.
- 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[GetOcc Availability Catalog Detail] 
- Details about capacity available for different resources in catalog.
- display_name str
- A user-friendly name for the availability catalog.
- 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[GetOcc Availability Catalog Metadata Detail] 
- 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_ strcatalog_ id 
- occ_customer_ strgroup_ id 
- The customer group OCID to which the availability catalog belongs.
- state str
- The current lifecycle state of the resource.
- 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.
- base64encodedCatalog StringDetails 
- catalogState String
- The different states associated with the availability catalog.
- compartmentId String
- The OCID of the tenancy where the availability catalog resides.
- 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.
- 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.
- occAvailability StringCatalog Id 
- occCustomer StringGroup Id 
- The customer group OCID to which the availability catalog belongs.
- state String
- The current lifecycle state of the resource.
- 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 string
- The quantity of resource currently available that the customer can request.
- CatalogId string
- The OCID of the availability catalog.
- DateExpected stringCapacity Handover 
- The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
- DateFinal stringCustomer Order 
- The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
- DemandedQuantity string
- The quantity of resource currently demanded by the customer.
- Namespace string
- The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
- ResourceName string
- The name of the resource that the customer can request.
- ResourceType string
- The different types of resources against which customers can place capacity requests.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- TotalAvailable stringQuantity 
- The total quantity of resource that the customer can request.
- Unit string
- The unit in which the resource available is measured.
- WorkloadType string
- The type of workload (Generic/ROW).
- AvailableQuantity string
- The quantity of resource currently available that the customer can request.
- CatalogId string
- The OCID of the availability catalog.
- DateExpected stringCapacity Handover 
- The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
- DateFinal stringCustomer Order 
- The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
- DemandedQuantity string
- The quantity of resource currently demanded by the customer.
- Namespace string
- The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
- ResourceName string
- The name of the resource that the customer can request.
- ResourceType string
- The different types of resources against which customers can place capacity requests.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- TotalAvailable stringQuantity 
- The total quantity of resource that the customer can request.
- Unit string
- The unit in which the resource available is measured.
- WorkloadType string
- The type of workload (Generic/ROW).
- availableQuantity String
- The quantity of resource currently available that the customer can request.
- catalogId String
- The OCID of the availability catalog.
- dateExpected StringCapacity Handover 
- The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
- dateFinal StringCustomer Order 
- The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
- demandedQuantity String
- The quantity of resource currently demanded by the customer.
- namespace String
- The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
- resourceName String
- The name of the resource that the customer can request.
- resourceType String
- The different types of resources against which customers can place capacity requests.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- totalAvailable StringQuantity 
- The total quantity of resource that the customer can request.
- unit String
- The unit in which the resource available is measured.
- workloadType String
- The type of workload (Generic/ROW).
- availableQuantity string
- The quantity of resource currently available that the customer can request.
- catalogId string
- The OCID of the availability catalog.
- dateExpected stringCapacity Handover 
- The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
- dateFinal stringCustomer Order 
- The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
- demandedQuantity string
- The quantity of resource currently demanded by the customer.
- namespace string
- The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
- resourceName string
- The name of the resource that the customer can request.
- resourceType string
- The different types of resources against which customers can place capacity requests.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- totalAvailable stringQuantity 
- The total quantity of resource that the customer can request.
- unit string
- The unit in which the resource available is measured.
- workloadType string
- The type of workload (Generic/ROW).
- available_quantity str
- The quantity of resource currently available that the customer can request.
- catalog_id str
- The OCID of the availability catalog.
- date_expected_ strcapacity_ handover 
- The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
- date_final_ strcustomer_ order 
- The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
- demanded_quantity str
- The quantity of resource currently demanded by the customer.
- namespace str
- The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
- resource_name str
- The name of the resource that the customer can request.
- resource_type str
- The different types of resources against which customers can place capacity requests.
- 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_ strquantity 
- The total quantity of resource that the customer can request.
- unit str
- The unit in which the resource available is measured.
- workload_type str
- The type of workload (Generic/ROW).
- availableQuantity String
- The quantity of resource currently available that the customer can request.
- catalogId String
- The OCID of the availability catalog.
- dateExpected StringCapacity Handover 
- The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
- dateFinal StringCustomer Order 
- The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
- demandedQuantity String
- The quantity of resource currently demanded by the customer.
- namespace String
- The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
- resourceName String
- The name of the resource that the customer can request.
- resourceType String
- The different types of resources against which customers can place capacity requests.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- totalAvailable StringQuantity 
- The total quantity of resource that the customer can request.
- unit String
- The unit in which the resource available is measured.
- workloadType String
- The type of workload (Generic/ROW).
GetOccAvailabilityCatalogMetadataDetail     
- FormatVersion string
- The version for the format of the catalog file being uploaded.
- FormatVersion string
- The version for the format of the catalog file being uploaded.
- formatVersion String
- The version for the format of the catalog file being uploaded.
- formatVersion string
- The version for the format of the catalog file being uploaded.
- format_version str
- The version for the format of the catalog file being uploaded.
- formatVersion 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 ociTerraform Provider.