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.

STATUS_ACTIVE

A constant which can be used with the status property of a ServiceCatalog.

STATUS_INACTIVE

A constant which can be used with the status 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.

status

Gets the status of this ServiceCatalog.

system_tags

Gets the system_tags 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”

STATUS_ACTIVE = 'ACTIVE'

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

STATUS_INACTIVE = 'INACTIVE'

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

__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.

  • status (str) – The value to assign to the status property of this ServiceCatalog. Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • 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.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ServiceCatalog.

property 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

property 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))

property 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

property 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)

property id

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

Returns

The id of this ServiceCatalog.

Return type

str

property 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

property status

Gets the status of this ServiceCatalog. The status of a service catalog.

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

Returns

The status of this ServiceCatalog.

Return type

str

property system_tags

Gets the system_tags of this ServiceCatalog. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this ServiceCatalog.

Return type

dict(str, dict(str, object))

property 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

property 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