class Azure::ServiceFabric::V7_0_0_42::Models::EnvironmentVariable
Describes an environment variable for the container.
Attributes
name[RW]
@return [String] The name of the environment variable.
type[RW]
@return [EnvironmentVariableType] The type of the environment variable being given in value. Possible values include: 'ClearText', 'KeyVaultReference', 'SecretValueReference'. Default value: 'ClearText' .
value[RW]
@return [String] The value of the environment variable, will be processed based on the type provided.
Private Class Methods
mapper()
click to toggle source
Mapper for EnvironmentVariable
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/7.0.0.42/generated/azure_service_fabric/models/environment_variable.rb, line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EnvironmentVariable', type: { name: 'Composite', class_name: 'EnvironmentVariable', model_properties: { type: { client_side_validation: true, required: false, serialized_name: 'type', default_value: 'ClearText', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, value: { client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'String' } } } } } end