UpdateFunctionDetails¶
- class oci.functions.models.UpdateFunctionDetails(**kwargs)¶
Bases:
objectUpdates attributes of a function.
Methods:
__init__(**kwargs)Initializes a new UpdateFunctionDetails object with values from keyword arguments.
Attributes:
Gets the config of this UpdateFunctionDetails.
Gets the defined_tags of this UpdateFunctionDetails.
Gets the detached_mode_timeout_in_seconds of this UpdateFunctionDetails.
Gets the failure_destination of this UpdateFunctionDetails.
Gets the freeform_tags of this UpdateFunctionDetails.
Gets the memory_in_mbs of this UpdateFunctionDetails.
Gets the provisioned_concurrency_config of this UpdateFunctionDetails.
Gets the source_details of this UpdateFunctionDetails.
Gets the success_destination of this UpdateFunctionDetails.
Gets the timeout_in_seconds of this UpdateFunctionDetails.
Gets the trace_config of this UpdateFunctionDetails.
- __init__(**kwargs)¶
Initializes a new UpdateFunctionDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
memory_in_mbs (int) – The value to assign to the memory_in_mbs property of this UpdateFunctionDetails.
config (dict(str, str)) – The value to assign to the config property of this UpdateFunctionDetails.
timeout_in_seconds (int) – The value to assign to the timeout_in_seconds property of this UpdateFunctionDetails.
provisioned_concurrency_config (oci.functions.models.FunctionProvisionedConcurrencyConfig) – The value to assign to the provisioned_concurrency_config property of this UpdateFunctionDetails.
detached_mode_timeout_in_seconds (int) – The value to assign to the detached_mode_timeout_in_seconds property of this UpdateFunctionDetails.
failure_destination (oci.functions.models.FailureDestinationDetails) – The value to assign to the failure_destination property of this UpdateFunctionDetails.
success_destination (oci.functions.models.SuccessDestinationDetails) – The value to assign to the success_destination property of this UpdateFunctionDetails.
trace_config (oci.functions.models.FunctionTraceConfig) – The value to assign to the trace_config property of this UpdateFunctionDetails.
source_details (oci.functions.models.UpdateFunctionSourceDetails) – The value to assign to the source_details property of this UpdateFunctionDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateFunctionDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateFunctionDetails.
- property config¶
Gets the config of this UpdateFunctionDetails. Function configuration. These values are passed on to the function as environment variables, this overrides application configuration values. Keys must be ASCII strings consisting solely of letters, digits, and the ‘_’ (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters.
Example: {“MY_FUNCTION_CONFIG”: “ConfVal”}
The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.
- Returns
The config of this UpdateFunctionDetails.
- Return type
dict(str, str)
- property defined_tags¶
Gets the defined_tags of this UpdateFunctionDetails. 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 UpdateFunctionDetails.
- Return type
dict(str, dict(str, object))
- property detached_mode_timeout_in_seconds¶
Gets the detached_mode_timeout_in_seconds of this UpdateFunctionDetails. Timeout for detached function invocations. Value in seconds.
- Returns
The detached_mode_timeout_in_seconds of this UpdateFunctionDetails.
- Return type
int
- property failure_destination¶
Gets the failure_destination of this UpdateFunctionDetails.
- Returns
The failure_destination of this UpdateFunctionDetails.
- Return type
- property freeform_tags¶
Gets the freeform_tags of this UpdateFunctionDetails. 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 UpdateFunctionDetails.
- Return type
dict(str, str)
- property memory_in_mbs¶
Gets the memory_in_mbs of this UpdateFunctionDetails. Maximum usable memory for the function (MiB).
- Returns
The memory_in_mbs of this UpdateFunctionDetails.
- Return type
int
- property provisioned_concurrency_config¶
Gets the provisioned_concurrency_config of this UpdateFunctionDetails.
- Returns
The provisioned_concurrency_config of this UpdateFunctionDetails.
- Return type
- property source_details¶
Gets the source_details of this UpdateFunctionDetails.
- Returns
The source_details of this UpdateFunctionDetails.
- Return type
- property success_destination¶
Gets the success_destination of this UpdateFunctionDetails.
- Returns
The success_destination of this UpdateFunctionDetails.
- Return type
- property timeout_in_seconds¶
Gets the timeout_in_seconds of this UpdateFunctionDetails. Timeout for executions of the function. Value in seconds.
- Returns
The timeout_in_seconds of this UpdateFunctionDetails.
- Return type
int
- property trace_config¶
Gets the trace_config of this UpdateFunctionDetails.
- Returns
The trace_config of this UpdateFunctionDetails.
- Return type