TemplateSummary

class oci.resource_manager.models.TemplateSummary(**kwargs)

Bases: object

Summary information for a template.

Methods

__init__(**kwargs) Initializes a new TemplateSummary object with values from keyword arguments.

Attributes

compartment_id Gets the compartment_id of this TemplateSummary.
description Gets the description of this TemplateSummary.
display_name Gets the display_name of this TemplateSummary.
id Gets the id of this TemplateSummary.
lifecycle_state Gets the lifecycle_state of this TemplateSummary.
time_created Gets the time_created of this TemplateSummary.
__init__(**kwargs)

Initializes a new TemplateSummary 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 TemplateSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this TemplateSummary.
  • display_name (str) – The value to assign to the display_name property of this TemplateSummary.
  • description (str) – The value to assign to the description property of this TemplateSummary.
  • time_created (datetime) – The value to assign to the time_created property of this TemplateSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this TemplateSummary.
compartment_id

Gets the compartment_id of this TemplateSummary. The OCID of the compartment containing this template.

Returns:The compartment_id of this TemplateSummary.
Return type:str
description

Gets the description of this TemplateSummary. Brief description of the template.

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

Gets the display_name of this TemplateSummary. Human-readable display name for the template.

Returns:The display_name of this TemplateSummary.
Return type:str
id

Gets the id of this TemplateSummary. Unique identifier of the specified template.

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

Gets the lifecycle_state of this TemplateSummary. The current lifecycle state of the template. Allowable values: - ACTIVE

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

Gets the time_created of this TemplateSummary. The date and time at which the template was created. Format is defined by RFC3339. Example: 2020-11-25T21:10:29.600Z

Returns:The time_created of this TemplateSummary.
Return type:datetime