kubernetes_asyncio.client.models.v1_env_var module
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech
- class kubernetes_asyncio.client.models.v1_env_var.V1EnvVar(name=None, value=None, value_from=None, local_vars_configuration=None)
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
- attribute_map = {'name': 'name', 'value': 'value', 'value_from': 'valueFrom'}
- property name
Gets the name of this V1EnvVar. # noqa: E501
Name of the environment variable. May consist of any printable ASCII characters except ‘=’. # noqa: E501
- Returns:
The name of this V1EnvVar. # noqa: E501
- Return type:
str
- openapi_types = {'name': 'str', 'value': 'str', 'value_from': 'V1EnvVarSource'}
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
- property value
Gets the value of this V1EnvVar. # noqa: E501
Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. “$$(VAR_NAME)” will produce the string literal “$(VAR_NAME)”. Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to “”. # noqa: E501
- Returns:
The value of this V1EnvVar. # noqa: E501
- Return type:
str
- property value_from
Gets the value_from of this V1EnvVar. # noqa: E501
- Returns:
The value_from of this V1EnvVar. # noqa: E501
- Return type: