UpdateDefaultModelDeploymentEnvironmentConfigurationDetails

class oci.data_science.models.UpdateDefaultModelDeploymentEnvironmentConfigurationDetails(**kwargs)

Bases: UpdateModelDeploymentEnvironmentConfigurationDetails

The update environment configuration details object for managed container

Attributes:

ENVIRONMENT_CONFIGURATION_TYPE_DEFAULT

A constant which can be used with the environment_configuration_type property of a UpdateModelDeploymentEnvironmentConfigurationDetails.

ENVIRONMENT_CONFIGURATION_TYPE_OCIR_CONTAINER

A constant which can be used with the environment_configuration_type property of a UpdateModelDeploymentEnvironmentConfigurationDetails.

environment_configuration_type

[Required] Gets the environment_configuration_type of this UpdateModelDeploymentEnvironmentConfigurationDetails.

environment_variables

Gets the environment_variables of this UpdateDefaultModelDeploymentEnvironmentConfigurationDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateDefaultModelDeploymentEnvironmentConfigurationDetails 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.

ENVIRONMENT_CONFIGURATION_TYPE_DEFAULT = 'DEFAULT'

A constant which can be used with the environment_configuration_type property of a UpdateModelDeploymentEnvironmentConfigurationDetails. This constant has a value of “DEFAULT”

ENVIRONMENT_CONFIGURATION_TYPE_OCIR_CONTAINER = 'OCIR_CONTAINER'

A constant which can be used with the environment_configuration_type property of a UpdateModelDeploymentEnvironmentConfigurationDetails. This constant has a value of “OCIR_CONTAINER”

__init__(**kwargs)

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

Parameters
  • environment_configuration_type (str) – The value to assign to the environment_configuration_type property of this UpdateDefaultModelDeploymentEnvironmentConfigurationDetails. Allowed values for this property are: “DEFAULT”, “OCIR_CONTAINER”

  • environment_variables (dict(str, str)) – The value to assign to the environment_variables property of this UpdateDefaultModelDeploymentEnvironmentConfigurationDetails.

property environment_configuration_type

[Required] Gets the environment_configuration_type of this UpdateModelDeploymentEnvironmentConfigurationDetails. The environment configuration type

Allowed values for this property are: “DEFAULT”, “OCIR_CONTAINER”

Returns

The environment_configuration_type of this UpdateModelDeploymentEnvironmentConfigurationDetails.

Return type

str

property environment_variables

Gets the environment_variables of this UpdateDefaultModelDeploymentEnvironmentConfigurationDetails. Environment variables to set for the web server container. The size of envVars must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall environment variables is limited to 2048 bytes. Key can’t be reserved Model Deployment environment variables.

Returns

The environment_variables of this UpdateDefaultModelDeploymentEnvironmentConfigurationDetails.

Return type

dict(str, 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.