UpdateManualRuntimeConfig

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

Bases: UpdateRuntimeConfig

FunctionsRuntime configuration for updating a function with ‘MANUAL’ Runtime Update strategy.

Attributes:

RUNTIME_CONFIG_TYPE_FUNCTION_UPDATE

A constant which can be used with the runtime_config_type property of a UpdateRuntimeConfig.

RUNTIME_CONFIG_TYPE_MANUAL

A constant which can be used with the runtime_config_type property of a UpdateRuntimeConfig.

functions_runtime_name

Gets the functions_runtime_name of this UpdateManualRuntimeConfig.

functions_runtime_version_id

[Required] Gets the functions_runtime_version_id of this UpdateManualRuntimeConfig.

runtime_config_type

[Required] Gets the runtime_config_type of this UpdateRuntimeConfig.

Methods:

__init__(**kwargs)

Initializes a new UpdateManualRuntimeConfig object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

RUNTIME_CONFIG_TYPE_FUNCTION_UPDATE = 'FUNCTION_UPDATE'

A constant which can be used with the runtime_config_type property of a UpdateRuntimeConfig. This constant has a value of “FUNCTION_UPDATE”

RUNTIME_CONFIG_TYPE_MANUAL = 'MANUAL'

A constant which can be used with the runtime_config_type property of a UpdateRuntimeConfig. This constant has a value of “MANUAL”

__init__(**kwargs)

Initializes a new UpdateManualRuntimeConfig object with values from keyword arguments. The default value of the runtime_config_type attribute of this class is MANUAL and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • runtime_config_type (str) – The value to assign to the runtime_config_type property of this UpdateManualRuntimeConfig. Allowed values for this property are: “FUNCTION_UPDATE”, “MANUAL”

  • functions_runtime_name (str) – The value to assign to the functions_runtime_name property of this UpdateManualRuntimeConfig.

  • functions_runtime_version_id (str) – The value to assign to the functions_runtime_version_id property of this UpdateManualRuntimeConfig.

property functions_runtime_name

Gets the functions_runtime_name of this UpdateManualRuntimeConfig. The name of the FunctionsRuntime this function is to be associated with.

Returns

The functions_runtime_name of this UpdateManualRuntimeConfig.

Return type

str

property functions_runtime_version_id

[Required] Gets the functions_runtime_version_id of this UpdateManualRuntimeConfig. The OCID of the FunctionsRuntimeVersion to use for the Function in manual mode.

Returns

The functions_runtime_version_id of this UpdateManualRuntimeConfig.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property runtime_config_type

[Required] Gets the runtime_config_type of this UpdateRuntimeConfig. Type of the FunctionsRuntime Config. Possible values: FUNCTION_UPDATE and MANUAL.

Allowed values for this property are: “FUNCTION_UPDATE”, “MANUAL”

Returns

The runtime_config_type of this UpdateRuntimeConfig.

Return type

str