FunctionSummary

class oci.functions.models.FunctionSummary(**kwargs)

Bases: object

Summary of a function.

Attributes

SHAPE_GENERIC_ARM A constant which can be used with the shape property of a FunctionSummary.
SHAPE_GENERIC_X86 A constant which can be used with the shape property of a FunctionSummary.
SHAPE_GENERIC_X86_ARM A constant which can be used with the shape property of a FunctionSummary.
application_id Gets the application_id of this FunctionSummary.
compartment_id Gets the compartment_id of this FunctionSummary.
defined_tags Gets the defined_tags of this FunctionSummary.
detached_mode_timeout_in_seconds Gets the detached_mode_timeout_in_seconds of this FunctionSummary.
display_name Gets the display_name of this FunctionSummary.
failure_destination Gets the failure_destination of this FunctionSummary.
freeform_tags Gets the freeform_tags of this FunctionSummary.
id [Required] Gets the id of this FunctionSummary.
invoke_endpoint Gets the invoke_endpoint of this FunctionSummary.
lifecycle_state Gets the lifecycle_state of this FunctionSummary.
memory_in_mbs Gets the memory_in_mbs of this FunctionSummary.
provisioned_concurrency_config Gets the provisioned_concurrency_config of this FunctionSummary.
shape Gets the shape of this FunctionSummary.
source_details Gets the source_details of this FunctionSummary.
success_destination Gets the success_destination of this FunctionSummary.
time_created Gets the time_created of this FunctionSummary.
time_updated Gets the time_updated of this FunctionSummary.
timeout_in_seconds Gets the timeout_in_seconds of this FunctionSummary.
trace_config Gets the trace_config of this FunctionSummary.

Methods

__init__(**kwargs) Initializes a new FunctionSummary object with values from keyword arguments.
SHAPE_GENERIC_ARM = 'GENERIC_ARM'

A constant which can be used with the shape property of a FunctionSummary. This constant has a value of “GENERIC_ARM”

SHAPE_GENERIC_X86 = 'GENERIC_X86'

A constant which can be used with the shape property of a FunctionSummary. This constant has a value of “GENERIC_X86”

SHAPE_GENERIC_X86_ARM = 'GENERIC_X86_ARM'

A constant which can be used with the shape property of a FunctionSummary. This constant has a value of “GENERIC_X86_ARM”

__init__(**kwargs)

Initializes a new FunctionSummary 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 FunctionSummary.
  • display_name (str) – The value to assign to the display_name property of this FunctionSummary.
  • application_id (str) – The value to assign to the application_id property of this FunctionSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this FunctionSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this FunctionSummary.
  • source_details (oci.functions.models.FunctionSourceDetails) – The value to assign to the source_details property of this FunctionSummary.
  • shape (str) – The value to assign to the shape property of this FunctionSummary. Allowed values for this property are: “GENERIC_X86”, “GENERIC_ARM”, “GENERIC_X86_ARM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • memory_in_mbs (int) – The value to assign to the memory_in_mbs property of this FunctionSummary.
  • timeout_in_seconds (int) – The value to assign to the timeout_in_seconds property of this FunctionSummary.
  • provisioned_concurrency_config (oci.functions.models.FunctionProvisionedConcurrencyConfig) – The value to assign to the provisioned_concurrency_config property of this FunctionSummary.
  • detached_mode_timeout_in_seconds (int) – The value to assign to the detached_mode_timeout_in_seconds property of this FunctionSummary.
  • failure_destination (oci.functions.models.FailureDestinationDetails) – The value to assign to the failure_destination property of this FunctionSummary.
  • success_destination (oci.functions.models.SuccessDestinationDetails) – The value to assign to the success_destination property of this FunctionSummary.
  • trace_config (oci.functions.models.FunctionTraceConfig) – The value to assign to the trace_config property of this FunctionSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this FunctionSummary.
  • invoke_endpoint (str) – The value to assign to the invoke_endpoint property of this FunctionSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this FunctionSummary.
  • time_created (datetime) – The value to assign to the time_created property of this FunctionSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this FunctionSummary.
application_id

Gets the application_id of this FunctionSummary. The OCID of the application the function belongs to.

Returns:The application_id of this FunctionSummary.
Return type:str
compartment_id

Gets the compartment_id of this FunctionSummary. The OCID of the compartment that contains the function.

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

Gets the defined_tags of this FunctionSummary. 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 FunctionSummary.
Return type:dict(str, dict(str, object))
detached_mode_timeout_in_seconds

Gets the detached_mode_timeout_in_seconds of this FunctionSummary. Timeout for detached function invocations. Value in seconds.

Returns:The detached_mode_timeout_in_seconds of this FunctionSummary.
Return type:int
display_name

Gets the display_name of this FunctionSummary. The display name of the function. The display name is unique within the application containing the function.

Returns:The display_name of this FunctionSummary.
Return type:str
failure_destination

Gets the failure_destination of this FunctionSummary.

Returns:The failure_destination of this FunctionSummary.
Return type:oci.functions.models.FailureDestinationDetails
freeform_tags

Gets the freeform_tags of this FunctionSummary. 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 FunctionSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this FunctionSummary. The OCID of the function.

Returns:The id of this FunctionSummary.
Return type:str
invoke_endpoint

Gets the invoke_endpoint of this FunctionSummary. The base https invoke URL to set on a client in order to invoke a function. This URL will never change over the lifetime of the function and can be cached.

Returns:The invoke_endpoint of this FunctionSummary.
Return type:str
lifecycle_state

Gets the lifecycle_state of this FunctionSummary. The current state of the function.

Returns:The lifecycle_state of this FunctionSummary.
Return type:str
memory_in_mbs

Gets the memory_in_mbs of this FunctionSummary. Maximum usable memory for the function (MiB).

Returns:The memory_in_mbs of this FunctionSummary.
Return type:int
provisioned_concurrency_config

Gets the provisioned_concurrency_config of this FunctionSummary.

Returns:The provisioned_concurrency_config of this FunctionSummary.
Return type:oci.functions.models.FunctionProvisionedConcurrencyConfig
shape

Gets the shape of this FunctionSummary. The processor shape (GENERIC_X86/GENERIC_ARM) on which to run functions in the application, extracted from the image manifest.

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

Returns:The shape of this FunctionSummary.
Return type:str
source_details

Gets the source_details of this FunctionSummary.

Returns:The source_details of this FunctionSummary.
Return type:oci.functions.models.FunctionSourceDetails
success_destination

Gets the success_destination of this FunctionSummary.

Returns:The success_destination of this FunctionSummary.
Return type:oci.functions.models.SuccessDestinationDetails
time_created

Gets the time_created of this FunctionSummary. The time the function was created, expressed in RFC 3339 timestamp format.

Example: 2018-09-12T22:47:12.613Z

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

Gets the time_updated of this FunctionSummary. The time the function was updated, expressed in RFC 3339 timestamp format.

Example: 2018-09-12T22:47:12.613Z

Returns:The time_updated of this FunctionSummary.
Return type:datetime
timeout_in_seconds

Gets the timeout_in_seconds of this FunctionSummary. Timeout for executions of the function. Value in seconds.

Returns:The timeout_in_seconds of this FunctionSummary.
Return type:int
trace_config

Gets the trace_config of this FunctionSummary.

Returns:The trace_config of this FunctionSummary.
Return type:oci.functions.models.FunctionTraceConfig