oci.CapacityManagement.OccAvailabilityCatalog
Explore with Pulumi AI
This resource provides the Occ Availability Catalog resource in Oracle Cloud Infrastructure Capacity Management service.
Create availability catalog
Example Usage
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 pulumi
import pulumi_oci as oci
test_occ_availability_catalog = oci.capacity_management.OccAvailabilityCatalog("test_occ_availability_catalog",
base64encoded_catalog_details=occ_availability_catalog_base64encoded_catalog_details,
compartment_id=compartment_id,
display_name=occ_availability_catalog_display_name,
namespace=occ_availability_catalog_namespace,
occ_customer_group_id=test_occ_customer_group["id"],
defined_tags={
"foo-namespace.bar-key": "value",
},
description=occ_availability_catalog_description,
freeform_tags={
"bar-key": "value",
},
metadata_details={
"format_version": occ_availability_catalog_metadata_details_format_version,
})
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.NewOccAvailabilityCatalog(ctx, "test_occ_availability_catalog", &CapacityManagement.OccAvailabilityCatalogArgs{
Base64encodedCatalogDetails: pulumi.Any(occAvailabilityCatalogBase64encodedCatalogDetails),
CompartmentId: pulumi.Any(compartmentId),
DisplayName: pulumi.Any(occAvailabilityCatalogDisplayName),
Namespace: pulumi.Any(occAvailabilityCatalogNamespace),
OccCustomerGroupId: pulumi.Any(testOccCustomerGroup.Id),
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
Description: pulumi.Any(occAvailabilityCatalogDescription),
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
MetadataDetails: &capacitymanagement.OccAvailabilityCatalogMetadataDetailsArgs{
FormatVersion: pulumi.Any(occAvailabilityCatalogMetadataDetailsFormatVersion),
},
})
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 = new Oci.CapacityManagement.OccAvailabilityCatalog("test_occ_availability_catalog", new()
{
Base64encodedCatalogDetails = occAvailabilityCatalogBase64encodedCatalogDetails,
CompartmentId = compartmentId,
DisplayName = occAvailabilityCatalogDisplayName,
Namespace = occAvailabilityCatalogNamespace,
OccCustomerGroupId = testOccCustomerGroup.Id,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
Description = occAvailabilityCatalogDescription,
FreeformTags =
{
{ "bar-key", "value" },
},
MetadataDetails = new Oci.CapacityManagement.Inputs.OccAvailabilityCatalogMetadataDetailsArgs
{
FormatVersion = occAvailabilityCatalogMetadataDetailsFormatVersion,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CapacityManagement.OccAvailabilityCatalog;
import com.pulumi.oci.CapacityManagement.OccAvailabilityCatalogArgs;
import com.pulumi.oci.CapacityManagement.inputs.OccAvailabilityCatalogMetadataDetailsArgs;
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) {
var testOccAvailabilityCatalog = new OccAvailabilityCatalog("testOccAvailabilityCatalog", OccAvailabilityCatalogArgs.builder()
.base64encodedCatalogDetails(occAvailabilityCatalogBase64encodedCatalogDetails)
.compartmentId(compartmentId)
.displayName(occAvailabilityCatalogDisplayName)
.namespace(occAvailabilityCatalogNamespace)
.occCustomerGroupId(testOccCustomerGroup.id())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.description(occAvailabilityCatalogDescription)
.freeformTags(Map.of("bar-key", "value"))
.metadataDetails(OccAvailabilityCatalogMetadataDetailsArgs.builder()
.formatVersion(occAvailabilityCatalogMetadataDetailsFormatVersion)
.build())
.build());
}
}
resources:
testOccAvailabilityCatalog:
type: oci:CapacityManagement:OccAvailabilityCatalog
name: test_occ_availability_catalog
properties:
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}
Create OccAvailabilityCatalog Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OccAvailabilityCatalog(name: string, args: OccAvailabilityCatalogArgs, opts?: CustomResourceOptions);
@overload
def OccAvailabilityCatalog(resource_name: str,
args: OccAvailabilityCatalogArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OccAvailabilityCatalog(resource_name: str,
opts: Optional[ResourceOptions] = None,
base64encoded_catalog_details: Optional[str] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
namespace: Optional[str] = None,
occ_customer_group_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
metadata_details: Optional[_capacitymanagement.OccAvailabilityCatalogMetadataDetailsArgs] = None)
func NewOccAvailabilityCatalog(ctx *Context, name string, args OccAvailabilityCatalogArgs, opts ...ResourceOption) (*OccAvailabilityCatalog, error)
public OccAvailabilityCatalog(string name, OccAvailabilityCatalogArgs args, CustomResourceOptions? opts = null)
public OccAvailabilityCatalog(String name, OccAvailabilityCatalogArgs args)
public OccAvailabilityCatalog(String name, OccAvailabilityCatalogArgs args, CustomResourceOptions options)
type: oci:CapacityManagement:OccAvailabilityCatalog
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args OccAvailabilityCatalogArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args OccAvailabilityCatalogArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OccAvailabilityCatalogArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OccAvailabilityCatalogArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OccAvailabilityCatalogArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var occAvailabilityCatalogResource = new Oci.CapacityManagement.OccAvailabilityCatalog("occAvailabilityCatalogResource", new()
{
Base64encodedCatalogDetails = "string",
CompartmentId = "string",
DisplayName = "string",
Namespace = "string",
OccCustomerGroupId = "string",
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
FreeformTags =
{
{ "string", "string" },
},
MetadataDetails = new Oci.CapacityManagement.Inputs.OccAvailabilityCatalogMetadataDetailsArgs
{
FormatVersion = "string",
},
});
example, err := CapacityManagement.NewOccAvailabilityCatalog(ctx, "occAvailabilityCatalogResource", &CapacityManagement.OccAvailabilityCatalogArgs{
Base64encodedCatalogDetails: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Namespace: pulumi.String("string"),
OccCustomerGroupId: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
MetadataDetails: &capacitymanagement.OccAvailabilityCatalogMetadataDetailsArgs{
FormatVersion: pulumi.String("string"),
},
})
var occAvailabilityCatalogResource = new OccAvailabilityCatalog("occAvailabilityCatalogResource", OccAvailabilityCatalogArgs.builder()
.base64encodedCatalogDetails("string")
.compartmentId("string")
.displayName("string")
.namespace("string")
.occCustomerGroupId("string")
.definedTags(Map.of("string", "string"))
.description("string")
.freeformTags(Map.of("string", "string"))
.metadataDetails(OccAvailabilityCatalogMetadataDetailsArgs.builder()
.formatVersion("string")
.build())
.build());
occ_availability_catalog_resource = oci.capacity_management.OccAvailabilityCatalog("occAvailabilityCatalogResource",
base64encoded_catalog_details="string",
compartment_id="string",
display_name="string",
namespace="string",
occ_customer_group_id="string",
defined_tags={
"string": "string",
},
description="string",
freeform_tags={
"string": "string",
},
metadata_details=oci.capacity_management.OccAvailabilityCatalogMetadataDetailsArgs(
format_version="string",
))
const occAvailabilityCatalogResource = new oci.capacitymanagement.OccAvailabilityCatalog("occAvailabilityCatalogResource", {
base64encodedCatalogDetails: "string",
compartmentId: "string",
displayName: "string",
namespace: "string",
occCustomerGroupId: "string",
definedTags: {
string: "string",
},
description: "string",
freeformTags: {
string: "string",
},
metadataDetails: {
formatVersion: "string",
},
});
type: oci:CapacityManagement:OccAvailabilityCatalog
properties:
base64encodedCatalogDetails: string
compartmentId: string
definedTags:
string: string
description: string
displayName: string
freeformTags:
string: string
metadataDetails:
formatVersion: string
namespace: string
occCustomerGroupId: string
OccAvailabilityCatalog Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The OccAvailabilityCatalog resource accepts the following input properties:
- Base64encoded
Catalog stringDetails - The base 64 encoded string corresponding to the catalog file contents.
- Compartment
Id string - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- Display
Name string - (Updatable) The display name of the availability catalog.
- Namespace string
- The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
- Occ
Customer stringGroup Id 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
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) Additional information about the availability catalog.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Metadata
Details OccAvailability Catalog Metadata Details - Used for representing the metadata of the catalog. This denotes the version and format of the CSV file for parsing.
- Base64encoded
Catalog stringDetails - The base 64 encoded string corresponding to the catalog file contents.
- Compartment
Id string - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- Display
Name string - (Updatable) The display name of the availability catalog.
- Namespace string
- The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
- Occ
Customer stringGroup Id 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
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) Additional information about the availability catalog.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Metadata
Details OccAvailability Catalog Metadata Details Args - Used for representing the metadata of the catalog. This denotes the version and format of the CSV file for parsing.
- base64encoded
Catalog StringDetails - The base 64 encoded string corresponding to the catalog file contents.
- compartment
Id String - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- display
Name String - (Updatable) The display name of the availability catalog.
- namespace String
- The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
- occ
Customer StringGroup Id 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
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) Additional information about the availability catalog.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- metadata
Details OccAvailability Catalog Metadata Details - Used for representing the metadata of the catalog. This denotes the version and format of the CSV file for parsing.
- base64encoded
Catalog stringDetails - The base 64 encoded string corresponding to the catalog file contents.
- compartment
Id string - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- display
Name string - (Updatable) The display name of the availability catalog.
- namespace string
- The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
- occ
Customer stringGroup Id 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
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) Additional information about the availability catalog.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- metadata
Details OccAvailability Catalog Metadata Details - Used for representing the metadata of the catalog. This denotes the version and format of the CSV file for parsing.
- base64encoded_
catalog_ strdetails - The base 64 encoded string corresponding to the catalog file contents.
- compartment_
id str - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- display_
name str - (Updatable) The display name of the availability catalog.
- namespace str
- The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
- occ_
customer_ strgroup_ id 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
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) Additional information about the availability catalog.
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- metadata_
details capacitymanagement.Occ Availability Catalog Metadata Details Args - Used for representing the metadata of the catalog. This denotes the version and format of the CSV file for parsing.
- base64encoded
Catalog StringDetails - The base 64 encoded string corresponding to the catalog file contents.
- compartment
Id String - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- display
Name String - (Updatable) The display name of the availability catalog.
- namespace String
- The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
- occ
Customer StringGroup Id 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
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) Additional information about the availability catalog.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- metadata
Details Property Map - Used for representing the metadata of the catalog. This denotes the version and format of the CSV file for parsing.
Outputs
All input properties are implicitly available as output properties. Additionally, the OccAvailabilityCatalog resource produces the following output properties:
- Catalog
State string - The different states associated with the availability catalog.
- Details
List<Occ
Availability Catalog Detail> - Details about capacity available for different resources in catalog.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- 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"}
- Time
Created string - The time when the availability catalog was created.
- Time
Updated string - The time when the availability catalog was last updated.
- Catalog
State string - The different states associated with the availability catalog.
- Details
[]Occ
Availability Catalog Detail - Details about capacity available for different resources in catalog.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- 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"}
- Time
Created string - The time when the availability catalog was created.
- Time
Updated string - The time when the availability catalog was last updated.
- catalog
State String - The different states associated with the availability catalog.
- details
List<Occ
Availability Catalog Detail> - Details about capacity available for different resources in catalog.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- 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"}
- time
Created String - The time when the availability catalog was created.
- time
Updated String - The time when the availability catalog was last updated.
- catalog
State string - The different states associated with the availability catalog.
- details
Occ
Availability Catalog Detail[] - Details about capacity available for different resources in catalog.
- id string
- The provider-assigned unique ID for this managed resource.
- 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.
- 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"}
- time
Created string - The time when the availability catalog was created.
- time
Updated string - The time when the availability catalog was last updated.
- catalog_
state str - The different states associated with the availability catalog.
- details
Sequence[capacitymanagement.
Occ Availability Catalog Detail] - Details about capacity available for different resources in catalog.
- id str
- The provider-assigned unique ID for this managed resource.
- 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.
- 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.
- catalog
State String - The different states associated with the availability catalog.
- details List<Property Map>
- Details about capacity available for different resources in catalog.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- 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"}
- time
Created String - The time when the availability catalog was created.
- time
Updated String - The time when the availability catalog was last updated.
Look up Existing OccAvailabilityCatalog Resource
Get an existing OccAvailabilityCatalog resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: OccAvailabilityCatalogState, opts?: CustomResourceOptions): OccAvailabilityCatalog
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
base64encoded_catalog_details: Optional[str] = None,
catalog_state: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
details: Optional[Sequence[_capacitymanagement.OccAvailabilityCatalogDetailArgs]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
lifecycle_details: Optional[str] = None,
metadata_details: Optional[_capacitymanagement.OccAvailabilityCatalogMetadataDetailsArgs] = None,
namespace: Optional[str] = None,
occ_customer_group_id: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> OccAvailabilityCatalog
func GetOccAvailabilityCatalog(ctx *Context, name string, id IDInput, state *OccAvailabilityCatalogState, opts ...ResourceOption) (*OccAvailabilityCatalog, error)
public static OccAvailabilityCatalog Get(string name, Input<string> id, OccAvailabilityCatalogState? state, CustomResourceOptions? opts = null)
public static OccAvailabilityCatalog get(String name, Output<String> id, OccAvailabilityCatalogState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Base64encoded
Catalog stringDetails - The base 64 encoded string corresponding to the catalog file contents.
- Catalog
State string - The different states associated with the availability catalog.
- Compartment
Id string - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) Additional information about the availability catalog.
- Details
List<Occ
Availability Catalog Detail> - Details about capacity available for different resources in catalog.
- Display
Name string - (Updatable) The display name of the availability catalog.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- 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 OccAvailability Catalog Metadata Details - 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
Customer stringGroup Id 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
- 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"}
- 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 - The base 64 encoded string corresponding to the catalog file contents.
- Catalog
State string - The different states associated with the availability catalog.
- Compartment
Id string - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) Additional information about the availability catalog.
- Details
[]Occ
Availability Catalog Detail Args - Details about capacity available for different resources in catalog.
- Display
Name string - (Updatable) The display name of the availability catalog.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- 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 OccAvailability Catalog Metadata Details Args - 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
Customer stringGroup Id 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
- 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"}
- 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 - The base 64 encoded string corresponding to the catalog file contents.
- catalog
State String - The different states associated with the availability catalog.
- compartment
Id String - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) Additional information about the availability catalog.
- details
List<Occ
Availability Catalog Detail> - Details about capacity available for different resources in catalog.
- display
Name String - (Updatable) The display name of the availability catalog.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- 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 OccAvailability Catalog Metadata Details - 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
Customer StringGroup Id 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
- 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"}
- 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 - The base 64 encoded string corresponding to the catalog file contents.
- catalog
State string - The different states associated with the availability catalog.
- compartment
Id string - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) Additional information about the availability catalog.
- details
Occ
Availability Catalog Detail[] - Details about capacity available for different resources in catalog.
- display
Name string - (Updatable) The display name of the availability catalog.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- 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 OccAvailability Catalog Metadata Details - 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
Customer stringGroup Id 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
- 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"}
- 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 - The base 64 encoded string corresponding to the catalog file contents.
- catalog_
state str - The different states associated with the availability catalog.
- compartment_
id str - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) Additional information about the availability catalog.
- details
Sequence[capacitymanagement.
Occ Availability Catalog Detail Args] - Details about capacity available for different resources in catalog.
- display_
name str - (Updatable) The display name of the availability catalog.
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- 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 capacitymanagement.Occ Availability Catalog Metadata Details Args - 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_
customer_ strgroup_ id 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
- 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.
- base64encoded
Catalog StringDetails - The base 64 encoded string corresponding to the catalog file contents.
- catalog
State String - The different states associated with the availability catalog.
- compartment
Id String - Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) Additional information about the availability catalog.
- details List<Property Map>
- Details about capacity available for different resources in catalog.
- display
Name String - (Updatable) The display name of the availability catalog.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- 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 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
Customer StringGroup Id 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
- 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"}
- 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
OccAvailabilityCatalogDetail, OccAvailabilityCatalogDetailArgs
- Available
Quantity string - The quantity of resource currently available 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.
- Demanded
Quantity 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.
- 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.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Total
Available stringQuantity - The total quantity of resource that the customer can request.
- 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 resource currently available 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.
- Demanded
Quantity 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.
- 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.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Total
Available stringQuantity - The total quantity of resource that the customer can request.
- 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 resource currently available 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.
- demanded
Quantity 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.
- 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.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- total
Available StringQuantity - The total quantity of resource that the customer can request.
- 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 resource currently available 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.
- demanded
Quantity 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.
- 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.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- total
Available stringQuantity - The total quantity of resource that the customer can request.
- 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 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).
- available
Quantity String - The quantity of resource currently available 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.
- demanded
Quantity 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.
- 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.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- total
Available StringQuantity - The total quantity of resource that the customer can request.
- unit String
- The unit in which the resource available is measured.
- workload
Type String - The type of workload (Generic/ROW).
OccAvailabilityCatalogMetadataDetails, OccAvailabilityCatalogMetadataDetailsArgs
- 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.
Import
OccAvailabilityCatalogs can be imported using the id
, e.g.
$ pulumi import oci:CapacityManagement/occAvailabilityCatalog:OccAvailabilityCatalog test_occ_availability_catalog "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.