Sha256: af90ea0f23a26fda2689e02f062b7d5e85c5248c1e89045f66a487b409518b29

Contents?: true

Size: 1.47 KB

Versions: 9

Compression:

Stored size: 1.47 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ContainerInstance::Mgmt::V2017_12_01_preview
  module Models
    #
    # The environment variable to set within the container instance.
    #
    class EnvironmentVariable

      include MsRestAzure

      # @return [String] The name of the environment variable.
      attr_accessor :name

      # @return [String] The value of the environment variable.
      attr_accessor :value


      #
      # Mapper for EnvironmentVariable class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'EnvironmentVariable',
          type: {
            name: 'Composite',
            class_name: 'EnvironmentVariable',
            model_properties: {
              name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              value: {
                client_side_validation: true,
                required: true,
                serialized_name: 'value',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
azure_mgmt_container_instance-0.18.0 lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb
azure_mgmt_container_instance-0.17.6 lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb
azure_mgmt_container_instance-0.17.5 lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb
azure_mgmt_container_instance-0.17.4 lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb
azure_mgmt_container_instance-0.17.3 lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb
azure_mgmt_container_instance-0.17.2 lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb
azure_mgmt_container_instance-0.17.1 lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb
azure_mgmt_container_instance-0.17.0 lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb
azure_mgmt_container_instance-0.16.0 lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb