Sha256: b8c6658e457f548e3779e2d333f9a032aca31eb42e62e290a3e5db478b5b0d50

Contents?: true

Size: 1.44 KB

Versions: 8

Compression:

Stored size: 1.44 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::V2018_06_01
  module Models
    #
    # The container execution command, for liveness or readiness probe
    #
    class ContainerExec

      include MsRestAzure

      # @return [Array<String>] The commands to execute within the container.
      attr_accessor :command


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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
azure_mgmt_container_instance-0.18.0 lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec.rb
azure_mgmt_container_instance-0.17.6 lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec.rb
azure_mgmt_container_instance-0.17.5 lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec.rb
azure_mgmt_container_instance-0.17.4 lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec.rb
azure_mgmt_container_instance-0.17.3 lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec.rb
azure_mgmt_container_instance-0.17.2 lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec.rb
azure_mgmt_container_instance-0.17.1 lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec.rb
azure_mgmt_container_instance-0.17.0 lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec.rb