Template¶
- class oci.data_integration.models.Template(**kwargs)¶
Bases:
objectTemplate application.
Attributes:
A constant which can be used with the lifecycle_state property of a Template.
A constant which can be used with the lifecycle_state property of a Template.
A constant which can be used with the lifecycle_state property of a Template.
A constant which can be used with the lifecycle_state property of a Template.
A constant which can be used with the lifecycle_state property of a Template.
A constant which can be used with the lifecycle_state property of a Template.
Gets the application_version of this Template.
Gets the compartment_id of this Template.
Gets the defined_tags of this Template.
Gets the dependent_object_metadata of this Template.
Gets the description of this Template.
Gets the display_name of this Template.
Gets the freeform_tags of this Template.
Gets the id of this Template.
Gets the identifier of this Template.
Gets the key of this Template.
Gets the key_map of this Template.
Gets the lifecycle_state of this Template.
Gets the metadata of this Template.
Gets the model_type of this Template.
Gets the model_version of this Template.
Gets the name of this Template.
Gets the object_status of this Template.
Gets the object_version of this Template.
Gets the parent_ref of this Template.
Gets the published_object_metadata of this Template.
Gets the source_application_info of this Template.
Gets the time_created of this Template.
Gets the time_patched of this Template.
Gets the time_updated of this Template.
Methods:
__init__(**kwargs)Initializes a new Template object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a Template. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a Template. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a Template. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a Template. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a Template. This constant has a value of “FAILED”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a Template. This constant has a value of “UPDATING”
- __init__(**kwargs)¶
Initializes a new Template 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 Template.
model_type (str) – The value to assign to the model_type property of this Template.
model_version (str) – The value to assign to the model_version property of this Template.
name (str) – The value to assign to the name property of this Template.
description (str) – The value to assign to the description property of this Template.
application_version (int) – The value to assign to the application_version property of this Template.
object_status (int) – The value to assign to the object_status property of this Template.
identifier (str) – The value to assign to the identifier property of this Template.
parent_ref (oci.data_integration.models.ParentReference) – The value to assign to the parent_ref property of this Template.
object_version (int) – The value to assign to the object_version property of this Template.
dependent_object_metadata (list[oci.data_integration.models.PatchObjectMetadata]) – The value to assign to the dependent_object_metadata property of this Template.
published_object_metadata (dict(str, PatchObjectMetadata)) – The value to assign to the published_object_metadata property of this Template.
source_application_info (oci.data_integration.models.SourceApplicationInfo) – The value to assign to the source_application_info property of this Template.
time_patched (datetime) – The value to assign to the time_patched property of this Template.
id (str) – The value to assign to the id property of this Template.
compartment_id (str) – The value to assign to the compartment_id property of this Template.
display_name (str) – The value to assign to the display_name property of this Template.
time_created (datetime) – The value to assign to the time_created property of this Template.
time_updated (datetime) – The value to assign to the time_updated property of this Template.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this Template.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this Template.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this Template. Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
metadata (oci.data_integration.models.ObjectMetadata) – The value to assign to the metadata property of this Template.
key_map (dict(str, str)) – The value to assign to the key_map property of this Template.
- property application_version¶
Gets the application_version of this Template. The application’s version.
- Returns
The application_version of this Template.
- Return type
int
- property compartment_id¶
Gets the compartment_id of this Template. OCID of the compartment that this resource belongs to. Defaults to compartment of the Workspace.
- Returns
The compartment_id of this Template.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this Template. Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this Template.
- Return type
dict(str, dict(str, object))
- property dependent_object_metadata¶
Gets the dependent_object_metadata of this Template. A list of dependent objects in this patch.
- Returns
The dependent_object_metadata of this Template.
- Return type
- property description¶
Gets the description of this Template. Detailed description for the object.
- Returns
The description of this Template.
- Return type
str
- property display_name¶
Gets the display_name of this Template. Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
- Returns
The display_name of this Template.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this Template. 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 Template.
- Return type
dict(str, str)
- property id¶
Gets the id of this Template. OCID of the resource that is used to uniquely identify the application
- Returns
The id of this Template.
- Return type
str
- property identifier¶
Gets the identifier of this Template. Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
- Returns
The identifier of this Template.
- Return type
str
- property key¶
Gets the key of this Template. Generated key that can be used in API calls to identify application.
- Returns
The key of this Template.
- Return type
str
- property key_map¶
Gets the key_map of this Template. A key map. If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key.
- Returns
The key_map of this Template.
- Return type
dict(str, str)
- property lifecycle_state¶
Gets the lifecycle_state of this Template. The current state of the workspace.
Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this Template.
- Return type
str
- property metadata¶
Gets the metadata of this Template.
- Returns
The metadata of this Template.
- Return type
- property model_type¶
Gets the model_type of this Template. The object type.
- Returns
The model_type of this Template.
- Return type
str
- property model_version¶
Gets the model_version of this Template. The object’s model version.
- Returns
The model_version of this Template.
- Return type
str
- property name¶
Gets the name of this Template. Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
- Returns
The name of this Template.
- Return type
str
- property object_status¶
Gets the object_status of this Template. The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
- Returns
The object_status of this Template.
- Return type
int
- property object_version¶
Gets the object_version of this Template. The version of the object that is used to track changes in the object instance.
- Returns
The object_version of this Template.
- Return type
int
- property parent_ref¶
Gets the parent_ref of this Template.
- Returns
The parent_ref of this Template.
- Return type
- property published_object_metadata¶
Gets the published_object_metadata of this Template. A list of objects that are published or unpublished in this patch.
- Returns
The published_object_metadata of this Template.
- Return type
dict(str, PatchObjectMetadata)
- property source_application_info¶
Gets the source_application_info of this Template.
- Returns
The source_application_info of this Template.
- Return type
- property time_created¶
Gets the time_created of this Template. The date and time the application was created, in the timestamp format defined by RFC3339.
- Returns
The time_created of this Template.
- Return type
datetime
- property time_patched¶
Gets the time_patched of this Template. The date and time the application was patched, in the timestamp format defined by RFC3339.
- Returns
The time_patched of this Template.
- Return type
datetime
- property time_updated¶
Gets the time_updated of this Template. The date and time the application was updated, in the timestamp format defined by RFC3339. example: 2019-08-25T21:10:29.41Z
- Returns
The time_updated of this Template.
- Return type
datetime