CreateRuntimeConfig¶
-
class
oci.functions.models.CreateRuntimeConfig(**kwargs)¶ Bases:
objectFunctionsRuntime configuration used to create a function.
Attributes
RUNTIME_CONFIG_TYPE_FUNCTION_UPDATEA constant which can be used with the runtime_config_type property of a CreateRuntimeConfig. RUNTIME_CONFIG_TYPE_MANUALA constant which can be used with the runtime_config_type property of a CreateRuntimeConfig. runtime_config_type[Required] Gets the runtime_config_type of this CreateRuntimeConfig. Methods
__init__(**kwargs)Initializes a new CreateRuntimeConfig 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 CreateRuntimeConfig. 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 CreateRuntimeConfig. This constant has a value of “MANUAL”
-
__init__(**kwargs)¶ Initializes a new CreateRuntimeConfig object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 CreateRuntimeConfig. Allowed values for this property are: “FUNCTION_UPDATE”, “MANUAL”
-
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 CreateRuntimeConfig. 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 CreateRuntimeConfig. Return type: str
-