FunctionsRuntime

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

Bases: object

FunctionsRuntime resources provide details about the available runtimes for consumption by the user. This resource contains details about the runtimes supported language and os etc.

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a FunctionsRuntime.

LIFECYCLE_STATE_INACTIVE

A constant which can be used with the lifecycle_state property of a FunctionsRuntime.

current_functions_runtime_version_id

[Required] Gets the current_functions_runtime_version_id of this FunctionsRuntime.

defined_tags

Gets the defined_tags of this FunctionsRuntime.

freeform_tags

Gets the freeform_tags of this FunctionsRuntime.

id

[Required] Gets the id of this FunctionsRuntime.

language

[Required] Gets the language of this FunctionsRuntime.

lifecycle_state

[Required] Gets the lifecycle_state of this FunctionsRuntime.

metadata

Gets the metadata of this FunctionsRuntime.

name

[Required] Gets the name of this FunctionsRuntime. A brief descriptive name for the FunctionsRuntime. The FunctionsRuntime name must be unique, and not match any existing FunctionsRuntime.

os

[Required] Gets the os of this FunctionsRuntime.

system_tags

Gets the system_tags of this FunctionsRuntime.

time_created

[Required] Gets the time_created of this FunctionsRuntime.

time_decommissioned

[Required] Gets the time_decommissioned of this FunctionsRuntime.

time_deprecated

[Required] Gets the time_deprecated of this FunctionsRuntime.

time_updated

[Required] Gets the time_updated of this FunctionsRuntime.

Methods:

__init__(**kwargs)

Initializes a new FunctionsRuntime object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

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

__init__(**kwargs)

Initializes a new FunctionsRuntime 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 FunctionsRuntime.

  • name (str) – The value to assign to the name property of this FunctionsRuntime.

  • os (str) – The value to assign to the os property of this FunctionsRuntime.

  • language (str) – The value to assign to the language property of this FunctionsRuntime.

  • time_deprecated (datetime) – The value to assign to the time_deprecated property of this FunctionsRuntime.

  • time_decommissioned (datetime) – The value to assign to the time_decommissioned property of this FunctionsRuntime.

  • metadata (str) – The value to assign to the metadata property of this FunctionsRuntime.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this FunctionsRuntime. Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • current_functions_runtime_version_id (str) – The value to assign to the current_functions_runtime_version_id property of this FunctionsRuntime.

  • time_created (datetime) – The value to assign to the time_created property of this FunctionsRuntime.

  • time_updated (datetime) – The value to assign to the time_updated property of this FunctionsRuntime.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this FunctionsRuntime.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this FunctionsRuntime.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this FunctionsRuntime.

property current_functions_runtime_version_id

[Required] Gets the current_functions_runtime_version_id of this FunctionsRuntime. The OCID of the current FunctionsRuntimeVersion for this FunctionsRuntime.

Returns

The current_functions_runtime_version_id of this FunctionsRuntime.

Return type

str

property defined_tags

Gets the defined_tags of this FunctionsRuntime. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this FunctionsRuntime.

Return type

dict(str, dict(str, object))

property freeform_tags

Gets the freeform_tags of this FunctionsRuntime. 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 FunctionsRuntime.

Return type

dict(str, str)

property id

[Required] Gets the id of this FunctionsRuntime. The OCID of the FunctionsRuntime that is immutable on creation.

Returns

The id of this FunctionsRuntime.

Return type

str

property language

[Required] Gets the language of this FunctionsRuntime. The programming language of the FunctionsRuntime. This is the language that the FunctionsRuntime provides for execution of customer payloads.

Returns

The language of this FunctionsRuntime.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this FunctionsRuntime. The current state of the FunctionsRuntime resource. - ACTIVE: The resource is currently active and operational. - INACTIVE: The resource is currently inactive and not operational.

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

Returns

The lifecycle_state of this FunctionsRuntime.

Return type

str

property metadata

Gets the metadata of this FunctionsRuntime. Metadata for the FunctionsRuntime Resource.

Returns

The metadata of this FunctionsRuntime.

Return type

str

property name

[Required] Gets the name of this FunctionsRuntime. A brief descriptive name for the FunctionsRuntime. The FunctionsRuntime name must be unique, and not match any existing

FunctionsRuntime.

Returns

The name of this FunctionsRuntime.

Return type

str

property os

[Required] Gets the os of this FunctionsRuntime. The operating system of the FunctionsRuntime. This is the OS that the FunctionsRuntime provides for execution of customer payloads.

Returns

The os of this FunctionsRuntime.

Return type

str

property system_tags

Gets the system_tags of this FunctionsRuntime. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this FunctionsRuntime.

Return type

dict(str, dict(str, object))

property time_created

[Required] Gets the time_created of this FunctionsRuntime. The time when the FunctionsRuntime was created. An RFC3339 formatted datetime string.

Returns

The time_created of this FunctionsRuntime.

Return type

datetime

property time_decommissioned

[Required] Gets the time_decommissioned of this FunctionsRuntime. The time when the FunctionsRuntime will be decommissioned. An RFC3339 formatted datetime string.

Returns

The time_decommissioned of this FunctionsRuntime.

Return type

datetime

property time_deprecated

[Required] Gets the time_deprecated of this FunctionsRuntime. The time when the FunctionsRuntime will be deprecated. An RFC3339 formatted datetime string.

Returns

The time_deprecated of this FunctionsRuntime.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this FunctionsRuntime. The time when the FunctionsRuntime was updated. An RFC3339 formatted datetime string.

Returns

The time_updated of this FunctionsRuntime.

Return type

datetime