Sha256: 55c93a6cd8e8356c0e904d09d0208994bf74379ec1755c231396209b7ed563fa

Contents?: true

Size: 1.84 KB

Versions: 9

Compression:

Stored size: 1.84 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 properties of the volume mount.
    #
    class VolumeMount

      include MsRestAzure

      # @return [String] The name of the volume mount.
      attr_accessor :name

      # @return [String] The path within the container where the volume should
      # be mounted. Must not contain colon (:).
      attr_accessor :mount_path

      # @return [Boolean] The flag indicating whether the volume mount is
      # read-only.
      attr_accessor :read_only


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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
azure_mgmt_container_instance-0.18.0 lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb
azure_mgmt_container_instance-0.17.6 lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb
azure_mgmt_container_instance-0.17.5 lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb
azure_mgmt_container_instance-0.17.4 lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb
azure_mgmt_container_instance-0.17.3 lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb
azure_mgmt_container_instance-0.17.2 lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb
azure_mgmt_container_instance-0.17.1 lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb
azure_mgmt_container_instance-0.17.0 lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb
azure_mgmt_container_instance-0.16.0 lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb