1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. CapacityManagement
  5. getOccAvailabilityCatalog
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.CapacityManagement.getOccAvailabilityCatalog

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 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,
    });
    
    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/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 GetOccAvailabilityCatalog(ctx *Context, args *GetOccAvailabilityCatalogArgs, opts ...InvokeOption) (*GetOccAvailabilityCatalogResult, error)
    func GetOccAvailabilityCatalogOutput(ctx *Context, args *GetOccAvailabilityCatalogOutputArgs, opts ...InvokeOption) GetOccAvailabilityCatalogResultOutput

    > 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)
    }
    public static CompletableFuture<GetOccAvailabilityCatalogResult> getOccAvailabilityCatalog(GetOccAvailabilityCatalogArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:CapacityManagement/getOccAvailabilityCatalog:getOccAvailabilityCatalog
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OccAvailabilityCatalogId string
    The OCID of the availability catalog.
    OccAvailabilityCatalogId string
    The OCID of the availability catalog.
    occAvailabilityCatalogId String
    The OCID of the availability catalog.
    occAvailabilityCatalogId string
    The OCID of the availability catalog.
    occ_availability_catalog_id str
    The OCID of the availability catalog.
    occAvailabilityCatalogId 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, object>
    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, object>
    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, object>
    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]interface{}
    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]interface{}
    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]interface{}
    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,Object>
    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,Object>
    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,Object>
    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]: any}
    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]: any}
    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]: any}
    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, Any]
    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, Any]
    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, Any]
    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<Any>
    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<Any>
    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<Any>
    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 available resource that the customer can request.
    CatalogId string
    The OCID of the availability catalog.
    DateExpectedCapacityHandover string
    The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    DateFinalCustomerOrder string
    The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
    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.
    Unit string
    The unit in which the resource available is measured.
    WorkloadType string
    The type of workload (Generic/ROW).
    AvailableQuantity string
    The quantity of available resource that the customer can request.
    CatalogId string
    The OCID of the availability catalog.
    DateExpectedCapacityHandover string
    The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    DateFinalCustomerOrder string
    The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
    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.
    Unit string
    The unit in which the resource available is measured.
    WorkloadType string
    The type of workload (Generic/ROW).
    availableQuantity String
    The quantity of available resource that the customer can request.
    catalogId String
    The OCID of the availability catalog.
    dateExpectedCapacityHandover String
    The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    dateFinalCustomerOrder String
    The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
    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.
    unit String
    The unit in which the resource available is measured.
    workloadType String
    The type of workload (Generic/ROW).
    availableQuantity string
    The quantity of available resource that the customer can request.
    catalogId string
    The OCID of the availability catalog.
    dateExpectedCapacityHandover string
    The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    dateFinalCustomerOrder string
    The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
    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.
    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 available resource that the customer can request.
    catalog_id str
    The OCID of the availability catalog.
    date_expected_capacity_handover str
    The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    date_final_customer_order str
    The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
    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.
    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 available resource that the customer can request.
    catalogId String
    The OCID of the availability catalog.
    dateExpectedCapacityHandover String
    The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
    dateFinalCustomerOrder String
    The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
    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.
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi