import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Occ Availability Catalog resource in Oracle Cloud Infrastructure Capacity Management service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/occcm/latest/OccAvailabilityCatalog * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/capacity_management * * Create availability catalog * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOccAvailabilityCatalog = new oci.capacitymanagement.OccAvailabilityCatalog("test_occ_availability_catalog", { * base64encodedCatalogDetails: occAvailabilityCatalogBase64encodedCatalogDetails, * compartmentId: compartmentId, * displayName: occAvailabilityCatalogDisplayName, * namespace: occAvailabilityCatalogNamespace, * occCustomerGroupId: testOccCustomerGroup.id, * definedTags: { * "foo-namespace.bar-key": "value", * }, * description: occAvailabilityCatalogDescription, * freeformTags: { * "bar-key": "value", * }, * metadataDetails: { * formatVersion: occAvailabilityCatalogMetadataDetailsFormatVersion, * }, * }); * ``` * * ## Import * * OccAvailabilityCatalogs can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:CapacityManagement/occAvailabilityCatalog:OccAvailabilityCatalog test_occ_availability_catalog "id" * ``` */ export declare class OccAvailabilityCatalog extends pulumi.CustomResource { /** * Get an existing OccAvailabilityCatalog resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: OccAvailabilityCatalogState, opts?: pulumi.CustomResourceOptions): OccAvailabilityCatalog; /** * Returns true if the given object is an instance of OccAvailabilityCatalog. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is OccAvailabilityCatalog; /** * The base 64 encoded string corresponding to the catalog file contents. */ readonly base64encodedCatalogDetails: pulumi.Output; /** * The different states associated with the availability catalog. */ readonly catalogState: pulumi.Output; /** * Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Additional information about the availability catalog. */ readonly description: pulumi.Output; /** * Details about capacity available for different resources in catalog. */ readonly details: pulumi.Output; /** * (Updatable) The display name of the availability catalog. */ readonly displayName: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: 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. */ readonly lifecycleDetails: pulumi.Output; /** * Used for representing the metadata of the catalog. This denotes the version and format of the CSV file for parsing. */ readonly metadataDetails: pulumi.Output; /** * The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on. */ readonly namespace: pulumi.Output; /** * The OCID of the customer group. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly occCustomerGroupId: pulumi.Output; /** * The current lifecycle state of the resource. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time when the availability catalog was created. */ readonly timeCreated: pulumi.Output; /** * The time when the availability catalog was last updated. */ readonly timeUpdated: pulumi.Output; /** * Create a OccAvailabilityCatalog resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: OccAvailabilityCatalogArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OccAvailabilityCatalog resources. */ export interface OccAvailabilityCatalogState { /** * The base 64 encoded string corresponding to the catalog file contents. */ base64encodedCatalogDetails?: pulumi.Input; /** * The different states associated with the availability catalog. */ catalogState?: pulumi.Input; /** * Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Additional information about the availability catalog. */ description?: pulumi.Input; /** * Details about capacity available for different resources in catalog. */ details?: pulumi.Input[] | undefined>; /** * (Updatable) The display name of the availability catalog. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * 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. */ lifecycleDetails?: pulumi.Input; /** * Used for representing the metadata of the catalog. This denotes the version and format of the CSV file for parsing. */ metadataDetails?: pulumi.Input; /** * The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on. */ namespace?: pulumi.Input; /** * The OCID of the customer group. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ occCustomerGroupId?: pulumi.Input; /** * The current lifecycle state of the resource. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time when the availability catalog was created. */ timeCreated?: pulumi.Input; /** * The time when the availability catalog was last updated. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a OccAvailabilityCatalog resource. */ export interface OccAvailabilityCatalogArgs { /** * The base 64 encoded string corresponding to the catalog file contents. */ base64encodedCatalogDetails: pulumi.Input; /** * Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Additional information about the availability catalog. */ description?: pulumi.Input; /** * (Updatable) The display name of the availability catalog. */ displayName: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Used for representing the metadata of the catalog. This denotes the version and format of the CSV file for parsing. */ metadataDetails?: pulumi.Input; /** * The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on. */ namespace: pulumi.Input; /** * The OCID of the customer group. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ occCustomerGroupId: pulumi.Input; } //# sourceMappingURL=occAvailabilityCatalog.d.ts.map