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.
defined_tags Gets the defined_tags of this TemplateSummary.
description Gets the description of this TemplateSummary.
display_name Gets the display_name of this TemplateSummary.
freeform_tags Gets the freeform_tags of this TemplateSummary.
id Gets the id of this TemplateSummary.
is_free_tier Gets the is_free_tier of this TemplateSummary.
lifecycle_state Gets the lifecycle_state of this TemplateSummary.
system_tags Gets the system_tags 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.
  • is_free_tier (bool) – The value to assign to the is_free_tier 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.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this TemplateSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this TemplateSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags 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
defined_tags

Gets the defined_tags of this TemplateSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this TemplateSummary.
Return type:dict(str, dict(str, object))
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. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

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

Gets the freeform_tags of this TemplateSummary. Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns:The freeform_tags of this TemplateSummary.
Return type:dict(str, str)
id

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

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

Gets the is_free_tier of this TemplateSummary. whether the template will work for free tier tenancy.

Returns:The is_free_tier of this TemplateSummary.
Return type:bool
lifecycle_state

Gets the lifecycle_state of this TemplateSummary. The current lifecycle state of the template.

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

Gets the system_tags of this TemplateSummary. The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

Returns:The system_tags of this TemplateSummary.
Return type:dict(str, dict(str, object))
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