Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.CapacityManagement.getOccAvailabilityCatalog
Explore with Pulumi AI
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:
- Occ
Availability stringCatalog Id - The OCID of the availability catalog.
- Occ
Availability stringCatalog Id - The OCID of the availability catalog.
- occ
Availability StringCatalog Id - The OCID of the availability catalog.
- occ
Availability stringCatalog Id - The OCID of the availability catalog.
- occ_
availability_ strcatalog_ id - The OCID of the availability catalog.
- occ
Availability StringCatalog Id - The OCID of the availability catalog.
getOccAvailabilityCatalog Result
The following output properties are available:
- Base64encoded
Catalog stringDetails - Catalog
State string - The different states associated with the availability catalog.
- Compartment
Id string - The OCID of the tenancy where the availability catalog resides.
- 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<Get
Occ Availability Catalog Detail> - Details about capacity available for different resources in catalog.
- Display
Name string - A user-friendly name for the availability catalog.
- 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.
- Lifecycle
Details 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.
- Metadata
Details 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.
- Occ
Availability stringCatalog Id - Occ
Customer stringGroup Id - The customer group OCID to which the availability catalog belongs.
- State string
- The current lifecycle state of the resource.
- Dictionary<string, object>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when the availability catalog was created.
- Time
Updated string - The time when the availability catalog was last updated.
- Base64encoded
Catalog stringDetails - Catalog
State string - The different states associated with the availability catalog.
- Compartment
Id string - The OCID of the tenancy where the availability catalog resides.
- 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
[]Get
Occ Availability Catalog Detail - Details about capacity available for different resources in catalog.
- Display
Name string - A user-friendly name for the availability catalog.
- 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.
- Lifecycle
Details 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.
- Metadata
Details []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.
- Occ
Availability stringCatalog Id - Occ
Customer stringGroup Id - The customer group OCID to which the availability catalog belongs.
- State string
- The current lifecycle state of the resource.
- map[string]interface{}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when the availability catalog was created.
- Time
Updated string - The time when the availability catalog was last updated.
- base64encoded
Catalog StringDetails - catalog
State String - The different states associated with the availability catalog.
- compartment
Id String - The OCID of the tenancy where the availability catalog resides.
- 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<Get
Occ Availability Catalog Detail> - Details about capacity available for different resources in catalog.
- display
Name String - A user-friendly name for the availability catalog.
- 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.
- lifecycle
Details 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.
- metadata
Details 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.
- occ
Availability StringCatalog Id - occ
Customer StringGroup Id - The customer group OCID to which the availability catalog belongs.
- state String
- The current lifecycle state of the resource.
- Map<String,Object>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when the availability catalog was created.
- time
Updated String - The time when the availability catalog was last updated.
- base64encoded
Catalog stringDetails - catalog
State string - The different states associated with the availability catalog.
- compartment
Id string - The OCID of the tenancy where the availability catalog resides.
- {[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
Get
Occ Availability Catalog Detail[] - Details about capacity available for different resources in catalog.
- display
Name string - A user-friendly name for the availability catalog.
- {[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.
- lifecycle
Details 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.
- metadata
Details 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.
- occ
Availability stringCatalog Id - occ
Customer stringGroup Id - The customer group OCID to which the availability catalog belongs.
- state string
- The current lifecycle state of the resource.
- {[key: string]: any}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time when the availability catalog was created.
- time
Updated 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, 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.
Get Occ 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, 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.Get Occ 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, 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.
- base64encoded
Catalog StringDetails - catalog
State String - The different states associated with the availability catalog.
- compartment
Id String - The OCID of the tenancy where the availability catalog resides.
- 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.
- display
Name String - A user-friendly name for the availability catalog.
- 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.
- lifecycle
Details 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.
- metadata
Details 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.
- occ
Availability StringCatalog Id - occ
Customer StringGroup Id - The customer group OCID to which the availability catalog belongs.
- state String
- The current lifecycle state of the resource.
- Map<Any>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when the availability catalog was created.
- time
Updated String - The time when the availability catalog was last updated.
Supporting Types
GetOccAvailabilityCatalogDetail
- Available
Quantity string - The quantity of available resource that the customer can request.
- Catalog
Id string - The OCID of the availability catalog.
- Date
Expected stringCapacity Handover - The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
- Date
Final stringCustomer Order - 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.
- Resource
Name string - The name of the resource that the customer can request.
- Resource
Type string - The different types of resources against which customers can place capacity requests.
- Unit string
- The unit in which the resource available is measured.
- Workload
Type string - The type of workload (Generic/ROW).
- Available
Quantity string - The quantity of available resource that the customer can request.
- Catalog
Id string - The OCID of the availability catalog.
- Date
Expected stringCapacity Handover - The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
- Date
Final stringCustomer Order - 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.
- Resource
Name string - The name of the resource that the customer can request.
- Resource
Type string - The different types of resources against which customers can place capacity requests.
- Unit string
- The unit in which the resource available is measured.
- Workload
Type string - The type of workload (Generic/ROW).
- available
Quantity String - The quantity of available resource that the customer can request.
- catalog
Id String - The OCID of the availability catalog.
- date
Expected StringCapacity Handover - The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
- date
Final StringCustomer Order - 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.
- resource
Name String - The name of the resource that the customer can request.
- resource
Type String - The different types of resources against which customers can place capacity requests.
- unit String
- The unit in which the resource available is measured.
- workload
Type String - The type of workload (Generic/ROW).
- available
Quantity string - The quantity of available resource that the customer can request.
- catalog
Id string - The OCID of the availability catalog.
- date
Expected stringCapacity Handover - The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
- date
Final stringCustomer Order - 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.
- resource
Name string - The name of the resource that the customer can request.
- resource
Type string - The different types of resources against which customers can place capacity requests.
- unit string
- The unit in which the resource available is measured.
- workload
Type 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_ 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.
- 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).
- available
Quantity String - The quantity of available resource that the customer can request.
- catalog
Id String - The OCID of the availability catalog.
- date
Expected StringCapacity Handover - The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
- date
Final StringCustomer Order - 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.
- resource
Name String - The name of the resource that the customer can request.
- resource
Type String - The different types of resources against which customers can place capacity requests.
- unit String
- The unit in which the resource available is measured.
- workload
Type String - The type of workload (Generic/ROW).
GetOccAvailabilityCatalogMetadataDetail
- Format
Version string - The version for the format of the catalog file being uploaded.
- Format
Version string - The version for the format of the catalog file being uploaded.
- format
Version String - The version for the format of the catalog file being uploaded.
- format
Version 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.
- format
Version 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 v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi