UpdateApplicationDetails

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

Bases: object

Properties to update an application.

Methods

__init__(**kwargs) Initializes a new UpdateApplicationDetails object with values from keyword arguments.

Attributes

config Gets the config of this UpdateApplicationDetails.
defined_tags Gets the defined_tags of this UpdateApplicationDetails.
freeform_tags Gets the freeform_tags of this UpdateApplicationDetails.
syslog_url Gets the syslog_url of this UpdateApplicationDetails.
__init__(**kwargs)

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

Parameters:
  • config (dict(str, str)) – The value to assign to the config property of this UpdateApplicationDetails.
  • syslog_url (str) – The value to assign to the syslog_url property of this UpdateApplicationDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateApplicationDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateApplicationDetails.
config

Gets the config of this UpdateApplicationDetails. Application configuration. These values are passed on to the function as environment variables, functions may override application configuration. 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 UpdateApplicationDetails.
Return type:dict(str, str)
defined_tags

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

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

Gets the syslog_url of this UpdateApplicationDetails. A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls. The syslog URL must be reachable from all of the subnets configured for the application. Note: If you enable the OCI Logging service for this application, the syslogUrl value is ignored. Function logs are sent to the OCI Logging service, and not to the syslog URL.

Example: tcp://logserver.myserver:1234

Returns:The syslog_url of this UpdateApplicationDetails.
Return type:str