ManualRuntimeConfig¶
-
class
oci.functions.models.ManualRuntimeConfig(**kwargs)¶ Bases:
oci.functions.models.runtime_config.RuntimeConfigFunctionsRuntime configuration for a function with ‘MANUAL’ Runtime Update strategy.
Attributes
RUNTIME_CONFIG_TYPE_FUNCTION_UPDATEstr(object=’’) -> str RUNTIME_CONFIG_TYPE_MANUALstr(object=’’) -> str functions_runtime_name[Required] Gets the functions_runtime_name of this ManualRuntimeConfig. functions_runtime_version_idGets the functions_runtime_version_id of this ManualRuntimeConfig. runtime_config_type[Required] Gets the runtime_config_type of this RuntimeConfig. Methods
__init__(**kwargs)Initializes a new ManualRuntimeConfig 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'¶
-
RUNTIME_CONFIG_TYPE_MANUAL= 'MANUAL'¶
-
__init__(**kwargs)¶ Initializes a new ManualRuntimeConfig object with values from keyword arguments. The default value of the
runtime_config_typeattribute of this class isMANUALand 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 ManualRuntimeConfig. 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 ManualRuntimeConfig.
- functions_runtime_version_id (str) – The value to assign to the functions_runtime_version_id property of this ManualRuntimeConfig.
-
functions_runtime_name¶ [Required] Gets the functions_runtime_name of this ManualRuntimeConfig. The name of the FunctionsRuntime this function is to be associated with.
Returns: The functions_runtime_name of this ManualRuntimeConfig. Return type: str
-
functions_runtime_version_id¶ Gets the functions_runtime_version_id of this ManualRuntimeConfig. The OCID of the FunctionsRuntimeVersion that is currently in use for the function.
Returns: The functions_runtime_version_id of this ManualRuntimeConfig. 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.
-
runtime_config_type¶ [Required] Gets the runtime_config_type of this RuntimeConfig. Type of the FunctionsRuntime Config. Possible values: FUNCTION_UPDATE and MANUAL.
Allowed values for this property are: “FUNCTION_UPDATE”, “MANUAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The runtime_config_type of this RuntimeConfig. Return type: str
-