CreateOccAvailabilityCatalogDetails

class oci.capacity_management.models.CreateOccAvailabilityCatalogDetails(**kwargs)

Bases: object

Details about the create request for the availability catalog.

Attributes

NAMESPACE_COMPUTE A constant which can be used with the namespace property of a CreateOccAvailabilityCatalogDetails.
base64_encoded_catalog_details [Required] Gets the base64_encoded_catalog_details of this CreateOccAvailabilityCatalogDetails.
compartment_id [Required] Gets the compartment_id of this CreateOccAvailabilityCatalogDetails.
defined_tags Gets the defined_tags of this CreateOccAvailabilityCatalogDetails.
description Gets the description of this CreateOccAvailabilityCatalogDetails.
display_name [Required] Gets the display_name of this CreateOccAvailabilityCatalogDetails.
freeform_tags Gets the freeform_tags of this CreateOccAvailabilityCatalogDetails.
metadata_details Gets the metadata_details of this CreateOccAvailabilityCatalogDetails.
namespace [Required] Gets the namespace of this CreateOccAvailabilityCatalogDetails.
occ_customer_group_id [Required] Gets the occ_customer_group_id of this CreateOccAvailabilityCatalogDetails.

Methods

__init__(**kwargs) Initializes a new CreateOccAvailabilityCatalogDetails object with values from keyword arguments.
NAMESPACE_COMPUTE = 'COMPUTE'

A constant which can be used with the namespace property of a CreateOccAvailabilityCatalogDetails. This constant has a value of “COMPUTE”

__init__(**kwargs)

Initializes a new CreateOccAvailabilityCatalogDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • occ_customer_group_id (str) – The value to assign to the occ_customer_group_id property of this CreateOccAvailabilityCatalogDetails.
  • namespace (str) – The value to assign to the namespace property of this CreateOccAvailabilityCatalogDetails. Allowed values for this property are: “COMPUTE”
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateOccAvailabilityCatalogDetails.
  • base64_encoded_catalog_details (str) – The value to assign to the base64_encoded_catalog_details property of this CreateOccAvailabilityCatalogDetails.
  • metadata_details (oci.capacity_management.models.MetadataDetails) – The value to assign to the metadata_details property of this CreateOccAvailabilityCatalogDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateOccAvailabilityCatalogDetails.
  • description (str) – The value to assign to the description property of this CreateOccAvailabilityCatalogDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateOccAvailabilityCatalogDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateOccAvailabilityCatalogDetails.
base64_encoded_catalog_details

[Required] Gets the base64_encoded_catalog_details of this CreateOccAvailabilityCatalogDetails. The base 64 encoded string corresponding to the catalog file contents.

Returns:The base64_encoded_catalog_details of this CreateOccAvailabilityCatalogDetails.
Return type:str
compartment_id

[Required] Gets the compartment_id of this CreateOccAvailabilityCatalogDetails. Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.

Returns:The compartment_id of this CreateOccAvailabilityCatalogDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateOccAvailabilityCatalogDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this CreateOccAvailabilityCatalogDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateOccAvailabilityCatalogDetails. Additional information about the availability catalog.

Returns:The description of this CreateOccAvailabilityCatalogDetails.
Return type:str
display_name

[Required] Gets the display_name of this CreateOccAvailabilityCatalogDetails. The display name of the availability catalog.

Returns:The display_name of this CreateOccAvailabilityCatalogDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateOccAvailabilityCatalogDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this CreateOccAvailabilityCatalogDetails.
Return type:dict(str, str)
metadata_details

Gets the metadata_details of this CreateOccAvailabilityCatalogDetails.

Returns:The metadata_details of this CreateOccAvailabilityCatalogDetails.
Return type:oci.capacity_management.models.MetadataDetails
namespace

[Required] Gets the namespace of this CreateOccAvailabilityCatalogDetails. The name of the OCI service in consideration. For example, Compute, Exadata, and so on.

Allowed values for this property are: “COMPUTE”

Returns:The namespace of this CreateOccAvailabilityCatalogDetails.
Return type:str
occ_customer_group_id

[Required] Gets the occ_customer_group_id of this CreateOccAvailabilityCatalogDetails. The OCID of the customer group.

Returns:The occ_customer_group_id of this CreateOccAvailabilityCatalogDetails.
Return type:str