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.

image_policy_config

Gets the image_policy_config of this UpdateApplicationDetails.

logging

Gets the logging of this UpdateApplicationDetails.

network_security_group_ids

Gets the network_security_group_ids of this UpdateApplicationDetails. The `OCID`__s of the Network Security Groups to add the application to.

security_attributes

Gets the security_attributes of this UpdateApplicationDetails.

syslog_url

Gets the syslog_url of this UpdateApplicationDetails.

trace_config

Gets the trace_config 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.

  • network_security_group_ids (list[str]) – The value to assign to the network_security_group_ids property of this UpdateApplicationDetails.

  • syslog_url (str) – The value to assign to the syslog_url property of this UpdateApplicationDetails.

  • trace_config (oci.functions.models.ApplicationTraceConfig) – The value to assign to the trace_config property of this UpdateApplicationDetails.

  • logging (oci.functions.models.ApplicationLoggingConfig) – The value to assign to the logging 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.

  • image_policy_config (oci.functions.models.ImagePolicyConfig) – The value to assign to the image_policy_config property of this UpdateApplicationDetails.

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

property 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)

property 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))

property 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)

property image_policy_config

Gets the image_policy_config of this UpdateApplicationDetails.

Returns

The image_policy_config of this UpdateApplicationDetails.

Return type

oci.functions.models.ImagePolicyConfig

property logging

Gets the logging of this UpdateApplicationDetails.

Returns

The logging of this UpdateApplicationDetails.

Return type

oci.functions.models.ApplicationLoggingConfig

property network_security_group_ids

Gets the network_security_group_ids of this UpdateApplicationDetails. The `OCID`__s of the Network Security Groups to add the application to.

Returns

The network_security_group_ids of this UpdateApplicationDetails.

Return type

list[str]

property security_attributes

Gets the security_attributes of this UpdateApplicationDetails. Security attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__.

Example: {“Oracle-ZPR”: {“MaxEgressCount”: {“value”: “42”, “mode”: “enforce”}}}

Returns

The security_attributes of this UpdateApplicationDetails.

Return type

dict(str, dict(str, object))

property 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

property trace_config

Gets the trace_config of this UpdateApplicationDetails.

Returns

The trace_config of this UpdateApplicationDetails.

Return type

oci.functions.models.ApplicationTraceConfig