ServiceCatalog

class oci.service_catalog.models.ServiceCatalog(**kwargs)

Bases: object

The model for an Oracle Cloud Infrastructure Service Catalog.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a ServiceCatalog.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a ServiceCatalog.
compartment_id [Required] Gets the compartment_id of this ServiceCatalog.
defined_tags Gets the defined_tags of this ServiceCatalog.
display_name [Required] Gets the display_name of this ServiceCatalog.
freeform_tags Gets the freeform_tags of this ServiceCatalog.
id [Required] Gets the id of this ServiceCatalog.
lifecycle_state [Required] Gets the lifecycle_state of this ServiceCatalog.
time_created [Required] Gets the time_created of this ServiceCatalog.
time_updated Gets the time_updated of this ServiceCatalog.

Methods

__init__(**kwargs) Initializes a new ServiceCatalog object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a ServiceCatalog. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a ServiceCatalog. This constant has a value of “DELETED”

__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this ServiceCatalog.
  • compartment_id (str) – The value to assign to the compartment_id property of this ServiceCatalog.
  • display_name (str) – The value to assign to the display_name property of this ServiceCatalog.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ServiceCatalog. Allowed values for this property are: “ACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_created (datetime) – The value to assign to the time_created property of this ServiceCatalog.
  • time_updated (datetime) – The value to assign to the time_updated property of this ServiceCatalog.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ServiceCatalog.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ServiceCatalog.
compartment_id

[Required] Gets the compartment_id of this ServiceCatalog. The Compartment id where the service catalog exists

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

Gets the defined_tags of this ServiceCatalog. 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 ServiceCatalog.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this ServiceCatalog. The name of the service catalog.

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

Gets the freeform_tags of this ServiceCatalog. 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 ServiceCatalog.
Return type:dict(str, str)
id

[Required] Gets the id of this ServiceCatalog. The unique identifier for the Service catalog.

Returns:The id of this ServiceCatalog.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this ServiceCatalog. The lifecycle state of the service catalog.

Allowed values for this property are: “ACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this ServiceCatalog.
Return type:str
time_created

[Required] Gets the time_created of this ServiceCatalog. The date and time the service catalog was created, expressed in RFC 3339 timestamp format.

Example: 2021-05-26T21:10:29.600Z

Returns:The time_created of this ServiceCatalog.
Return type:datetime
time_updated

Gets the time_updated of this ServiceCatalog. The date and time the service catalog was last modified, expressed in RFC 3339 timestamp format.

Example: 2021-12-10T05:10:29.721Z

Returns:The time_updated of this ServiceCatalog.
Return type:datetime