Sha256: 6b2b5d393c428deea96941ce0014a4dc9703bcc2c5b251a7e3b2352ed0f256ba

Contents?: true

Size: 1.55 KB

Versions: 8

Compression:

Stored size: 1.55 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_02_01_preview
  module Models
    #
    # The start container exec request.
    #
    class ContainerExecRequest

      include MsRestAzure

      # @return [String] The command to be executed.
      attr_accessor :command

      # @return [ContainerExecRequestTerminalSize] The size of the terminal.
      attr_accessor :terminal_size


      #
      # Mapper for ContainerExecRequest class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ContainerExecRequest',
          type: {
            name: 'Composite',
            class_name: 'ContainerExecRequest',
            model_properties: {
              command: {
                client_side_validation: true,
                required: false,
                serialized_name: 'command',
                type: {
                  name: 'String'
                }
              },
              terminal_size: {
                client_side_validation: true,
                required: false,
                serialized_name: 'terminalSize',
                type: {
                  name: 'Composite',
                  class_name: 'ContainerExecRequestTerminalSize'
                }
              }
            }
          }
        }
      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-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request.rb
azure_mgmt_container_instance-0.17.6 lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request.rb
azure_mgmt_container_instance-0.17.5 lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request.rb
azure_mgmt_container_instance-0.17.4 lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request.rb
azure_mgmt_container_instance-0.17.3 lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request.rb
azure_mgmt_container_instance-0.17.2 lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request.rb
azure_mgmt_container_instance-0.17.1 lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request.rb
azure_mgmt_container_instance-0.17.0 lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request.rb