FunctionsRuntimeVersion¶
-
class
oci.functions.models.FunctionsRuntimeVersion(**kwargs)¶ Bases:
objectThis represents a version of a FunctionsRuntime. Each new functional update to a FunctionsRuntime from the Functions team will change the image that will result in the creation of new FunctionsRuntimeVersion resource creation. This is a sub-resource of a FunctionsRuntime.
Attributes
LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a FunctionsRuntimeVersion. LIFECYCLE_STATE_INACTIVEA constant which can be used with the lifecycle_state property of a FunctionsRuntimeVersion. SUPPORTED_ARCHITECTURES_ARMA constant which can be used with the supported_architectures property of a FunctionsRuntimeVersion. SUPPORTED_ARCHITECTURES_X86A constant which can be used with the supported_architectures property of a FunctionsRuntimeVersion. defined_tagsGets the defined_tags of this FunctionsRuntimeVersion. display_name[Required] Gets the display_name of this FunctionsRuntimeVersion. freeform_tagsGets the freeform_tags of this FunctionsRuntimeVersion. functions_runtime_id[Required] Gets the functions_runtime_id of this FunctionsRuntimeVersion. id[Required] Gets the id of this FunctionsRuntimeVersion. language_version[Required] Gets the language_version of this FunctionsRuntimeVersion. lifecycle_state[Required] Gets the lifecycle_state of this FunctionsRuntimeVersion. metadata[Required] Gets the metadata of this FunctionsRuntimeVersion. os_version[Required] Gets the os_version of this FunctionsRuntimeVersion. supported_architectures[Required] Gets the supported_architectures of this FunctionsRuntimeVersion. system_tagsGets the system_tags of this FunctionsRuntimeVersion. time_created[Required] Gets the time_created of this FunctionsRuntimeVersion. time_updated[Required] Gets the time_updated of this FunctionsRuntimeVersion. Methods
__init__(**kwargs)Initializes a new FunctionsRuntimeVersion object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a FunctionsRuntimeVersion. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_INACTIVE= 'INACTIVE'¶ A constant which can be used with the lifecycle_state property of a FunctionsRuntimeVersion. This constant has a value of “INACTIVE”
-
SUPPORTED_ARCHITECTURES_ARM= 'ARM'¶ A constant which can be used with the supported_architectures property of a FunctionsRuntimeVersion. This constant has a value of “ARM”
-
SUPPORTED_ARCHITECTURES_X86= 'X86'¶ A constant which can be used with the supported_architectures property of a FunctionsRuntimeVersion. This constant has a value of “X86”
-
__init__(**kwargs)¶ Initializes a new FunctionsRuntimeVersion 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 FunctionsRuntimeVersion.
- functions_runtime_id (str) – The value to assign to the functions_runtime_id property of this FunctionsRuntimeVersion.
- display_name (str) – The value to assign to the display_name property of this FunctionsRuntimeVersion.
- os_version (str) – The value to assign to the os_version property of this FunctionsRuntimeVersion.
- language_version (str) – The value to assign to the language_version property of this FunctionsRuntimeVersion.
- supported_architectures (list[str]) – The value to assign to the supported_architectures property of this FunctionsRuntimeVersion. Allowed values for items in this list are: “ARM”, “X86”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- metadata (str) – The value to assign to the metadata property of this FunctionsRuntimeVersion.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this FunctionsRuntimeVersion. 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’.
- time_created (datetime) – The value to assign to the time_created property of this FunctionsRuntimeVersion.
- time_updated (datetime) – The value to assign to the time_updated property of this FunctionsRuntimeVersion.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this FunctionsRuntimeVersion.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this FunctionsRuntimeVersion.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this FunctionsRuntimeVersion.
Gets the defined_tags of this FunctionsRuntimeVersion. 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 FunctionsRuntimeVersion. Return type: dict(str, dict(str, object))
-
display_name¶ [Required] Gets the display_name of this FunctionsRuntimeVersion. The display name of the FunctionsRuntimeVersion.
Returns: The display_name of this FunctionsRuntimeVersion. Return type: str
Gets the freeform_tags of this FunctionsRuntimeVersion. 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 FunctionsRuntimeVersion. Return type: dict(str, str)
-
functions_runtime_id¶ [Required] Gets the functions_runtime_id of this FunctionsRuntimeVersion. The OCID of the FunctionsRuntime this resource version belongs to.
Returns: The functions_runtime_id of this FunctionsRuntimeVersion. Return type: str
-
id¶ [Required] Gets the id of this FunctionsRuntimeVersion. The OCID of the FunctionsRuntimeVersion that is immutable on creation.
Returns: The id of this FunctionsRuntimeVersion. Return type: str
-
language_version¶ [Required] Gets the language_version of this FunctionsRuntimeVersion. The version of the programming language of the FunctionsRuntime. This is the language version that the FunctionsRuntime provides for execution of customer payloads.
Returns: The language_version of this FunctionsRuntimeVersion. Return type: str
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this FunctionsRuntimeVersion. The current state of the FunctionsRuntimeVersion 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 FunctionsRuntimeVersion. Return type: str
-
metadata¶ [Required] Gets the metadata of this FunctionsRuntimeVersion. Details of the change in the FunctionsRuntimeVersion of the FunctionsRuntime.
Returns: The metadata of this FunctionsRuntimeVersion. Return type: str
-
os_version¶ [Required] Gets the os_version of this FunctionsRuntimeVersion. The version of the operating system of the FunctionsRuntime. This is the OS version that the FunctionsRuntime provides for execution of customer payloads.
Returns: The os_version of this FunctionsRuntimeVersion. Return type: str
-
supported_architectures¶ [Required] Gets the supported_architectures of this FunctionsRuntimeVersion. The list of supported architectures for the FunctionsRuntimeVersion.
Allowed values for items in this list are: “ARM”, “X86”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The supported_architectures of this FunctionsRuntimeVersion. Return type: list[str]
Gets the system_tags of this FunctionsRuntimeVersion. 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 FunctionsRuntimeVersion. Return type: dict(str, dict(str, object))
-
time_created¶ [Required] Gets the time_created of this FunctionsRuntimeVersion. The time when the FunctionsRuntimeVersion was created. An RFC3339 formatted datetime string.
Returns: The time_created of this FunctionsRuntimeVersion. Return type: datetime
-
time_updated¶ [Required] Gets the time_updated of this FunctionsRuntimeVersion. The time when the FunctionsRuntimeVersion was updated. An RFC3339 formatted datetime string.
Returns: The time_updated of this FunctionsRuntimeVersion. Return type: datetime
-