NamespaceSummary¶
-
class
oci.data_catalog.models.NamespaceSummary(**kwargs)¶ Bases:
objectSummary of a namespace
Attributes
LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a NamespaceSummary. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a NamespaceSummary. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a NamespaceSummary. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a NamespaceSummary. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a NamespaceSummary. LIFECYCLE_STATE_INACTIVEA constant which can be used with the lifecycle_state property of a NamespaceSummary. LIFECYCLE_STATE_MOVINGA constant which can be used with the lifecycle_state property of a NamespaceSummary. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a NamespaceSummary. descriptionGets the description of this NamespaceSummary. display_nameGets the display_name of this NamespaceSummary. is_service_definedGets the is_service_defined of this NamespaceSummary. key[Required] Gets the key of this NamespaceSummary. lifecycle_stateGets the lifecycle_state of this NamespaceSummary. time_createdGets the time_created of this NamespaceSummary. Methods
__init__(**kwargs)Initializes a new NamespaceSummary object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a NamespaceSummary. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a NamespaceSummary. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a NamespaceSummary. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a NamespaceSummary. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a NamespaceSummary. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_INACTIVE= 'INACTIVE'¶ A constant which can be used with the lifecycle_state property of a NamespaceSummary. This constant has a value of “INACTIVE”
-
LIFECYCLE_STATE_MOVING= 'MOVING'¶ A constant which can be used with the lifecycle_state property of a NamespaceSummary. This constant has a value of “MOVING”
-
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a NamespaceSummary. This constant has a value of “UPDATING”
-
__init__(**kwargs)¶ Initializes a new NamespaceSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - key (str) – The value to assign to the key property of this NamespaceSummary.
- display_name (str) – The value to assign to the display_name property of this NamespaceSummary.
- description (str) – The value to assign to the description property of this NamespaceSummary.
- is_service_defined (bool) – The value to assign to the is_service_defined property of this NamespaceSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this NamespaceSummary. Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, “MOVING”, ‘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 NamespaceSummary.
-
description¶ Gets the description of this NamespaceSummary. Detailed description of the namespace.
Returns: The description of this NamespaceSummary. Return type: str
-
display_name¶ Gets the display_name of this NamespaceSummary. Name of the namespace
Returns: The display_name of this NamespaceSummary. Return type: str
-
is_service_defined¶ Gets the is_service_defined of this NamespaceSummary. If this field is defined by service or by a user
Returns: The is_service_defined of this NamespaceSummary. Return type: bool
-
key¶ [Required] Gets the key of this NamespaceSummary. Unique namespace key that is immutable.
Returns: The key of this NamespaceSummary. Return type: str
-
lifecycle_state¶ Gets the lifecycle_state of this NamespaceSummary. The current state of the namespace.
Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, “MOVING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this NamespaceSummary. Return type: str
-