ApplicationSummary

class oci.data_flow.models.ApplicationSummary(**kwargs)

Bases: object

A Data Flow application object used in bulk listings.

Attributes

LANGUAGE_JAVA A constant which can be used with the language property of a ApplicationSummary.
LANGUAGE_PYTHON A constant which can be used with the language property of a ApplicationSummary.
LANGUAGE_SCALA A constant which can be used with the language property of a ApplicationSummary.
LANGUAGE_SQL A constant which can be used with the language property of a ApplicationSummary.
LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a ApplicationSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a ApplicationSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a ApplicationSummary.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a ApplicationSummary.
TYPE_BATCH A constant which can be used with the type property of a ApplicationSummary.
TYPE_SESSION A constant which can be used with the type property of a ApplicationSummary.
TYPE_STREAMING A constant which can be used with the type property of a ApplicationSummary.
compartment_id [Required] Gets the compartment_id of this ApplicationSummary.
defined_tags [Required] Gets the defined_tags of this ApplicationSummary.
display_name [Required] Gets the display_name of this ApplicationSummary.
freeform_tags [Required] Gets the freeform_tags of this ApplicationSummary.
id [Required] Gets the id of this ApplicationSummary.
language [Required] Gets the language of this ApplicationSummary.
lifecycle_state [Required] Gets the lifecycle_state of this ApplicationSummary.
owner_principal_id [Required] Gets the owner_principal_id of this ApplicationSummary.
owner_user_name Gets the owner_user_name of this ApplicationSummary.
pool_id Gets the pool_id of this ApplicationSummary.
spark_version [Required] Gets the spark_version of this ApplicationSummary.
time_created [Required] Gets the time_created of this ApplicationSummary.
time_updated [Required] Gets the time_updated of this ApplicationSummary.
type Gets the type of this ApplicationSummary.

Methods

__init__(**kwargs) Initializes a new ApplicationSummary object with values from keyword arguments.
LANGUAGE_JAVA = 'JAVA'

A constant which can be used with the language property of a ApplicationSummary. This constant has a value of “JAVA”

LANGUAGE_PYTHON = 'PYTHON'

A constant which can be used with the language property of a ApplicationSummary. This constant has a value of “PYTHON”

LANGUAGE_SCALA = 'SCALA'

A constant which can be used with the language property of a ApplicationSummary. This constant has a value of “SCALA”

LANGUAGE_SQL = 'SQL'

A constant which can be used with the language property of a ApplicationSummary. This constant has a value of “SQL”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a ApplicationSummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a ApplicationSummary. This constant has a value of “DELETING”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

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

TYPE_BATCH = 'BATCH'

A constant which can be used with the type property of a ApplicationSummary. This constant has a value of “BATCH”

TYPE_SESSION = 'SESSION'

A constant which can be used with the type property of a ApplicationSummary. This constant has a value of “SESSION”

TYPE_STREAMING = 'STREAMING'

A constant which can be used with the type property of a ApplicationSummary. This constant has a value of “STREAMING”

__init__(**kwargs)

Initializes a new ApplicationSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this ApplicationSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ApplicationSummary.
  • display_name (str) – The value to assign to the display_name property of this ApplicationSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ApplicationSummary.
  • id (str) – The value to assign to the id property of this ApplicationSummary.
  • language (str) – The value to assign to the language property of this ApplicationSummary. Allowed values for this property are: “SCALA”, “JAVA”, “PYTHON”, “SQL”, ‘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 ApplicationSummary. Allowed values for this property are: “ACTIVE”, “DELETING”, “DELETED”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • owner_principal_id (str) – The value to assign to the owner_principal_id property of this ApplicationSummary.
  • owner_user_name (str) – The value to assign to the owner_user_name property of this ApplicationSummary.
  • pool_id (str) – The value to assign to the pool_id property of this ApplicationSummary.
  • spark_version (str) – The value to assign to the spark_version property of this ApplicationSummary.
  • time_created (datetime) – The value to assign to the time_created property of this ApplicationSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this ApplicationSummary.
  • type (str) – The value to assign to the type property of this ApplicationSummary. Allowed values for this property are: “BATCH”, “STREAMING”, “SESSION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
compartment_id

[Required] Gets the compartment_id of this ApplicationSummary. The OCID of a compartment.

Returns:The compartment_id of this ApplicationSummary.
Return type:str
defined_tags

[Required] Gets the defined_tags of this ApplicationSummary. 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 ApplicationSummary.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this ApplicationSummary. A user-friendly name. This name is not necessarily unique.

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

[Required] Gets the freeform_tags of this ApplicationSummary. Free-form tags for this resource. Each tag is a simple 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 ApplicationSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this ApplicationSummary. The application ID.

Returns:The id of this ApplicationSummary.
Return type:str
language

[Required] Gets the language of this ApplicationSummary. The Spark language.

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

Returns:The language of this ApplicationSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this ApplicationSummary. The current state of this application.

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

Returns:The lifecycle_state of this ApplicationSummary.
Return type:str
owner_principal_id

[Required] Gets the owner_principal_id of this ApplicationSummary. The OCID of the user who created the resource.

Returns:The owner_principal_id of this ApplicationSummary.
Return type:str
owner_user_name

Gets the owner_user_name of this ApplicationSummary. The username of the user who created the resource. If the username of the owner does not exist, null will be returned and the caller should refer to the ownerPrincipalId value instead.

Returns:The owner_user_name of this ApplicationSummary.
Return type:str
pool_id

Gets the pool_id of this ApplicationSummary. The OCID of a pool. Unique Id to indentify a dataflow pool resource.

Returns:The pool_id of this ApplicationSummary.
Return type:str
spark_version

[Required] Gets the spark_version of this ApplicationSummary. The Spark version utilized to run the application.

Returns:The spark_version of this ApplicationSummary.
Return type:str
time_created

[Required] Gets the time_created of this ApplicationSummary. The date and time the resource was created, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z

Returns:The time_created of this ApplicationSummary.
Return type:datetime
time_updated

[Required] Gets the time_updated of this ApplicationSummary. The date and time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z

Returns:The time_updated of this ApplicationSummary.
Return type:datetime
type

Gets the type of this ApplicationSummary. The Spark application processing type.

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

Returns:The type of this ApplicationSummary.
Return type:str