EnvironmentVariable

class oci.batch.models.EnvironmentVariable(**kwargs)

Bases: object

OS environment variable.

Methods:

__init__(**kwargs)

Initializes a new EnvironmentVariable object with values from keyword arguments.

Attributes:

name

[Required] Gets the name of this EnvironmentVariable.

value

[Required] Gets the value of this EnvironmentVariable.

__init__(**kwargs)

Initializes a new EnvironmentVariable object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • name (str) – The value to assign to the name property of this EnvironmentVariable.

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

property name

[Required] Gets the name of this EnvironmentVariable. The name of the environment variable.

Returns

The name of this EnvironmentVariable.

Return type

str

property value

[Required] Gets the value of this EnvironmentVariable. The value of the environment variable.

Returns

The value of this EnvironmentVariable.

Return type

str