Sha256: 796947406645236b22c451568b7de118101b0e3f828bcfecd7f335b018490a21

Contents?: true

Size: 1.67 KB

Versions: 2

Compression:

Stored size: 1.67 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_08_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()
        {
          required: false,
          serialized_name: 'VolumeMount',
          type: {
            name: 'Composite',
            class_name: 'VolumeMount',
            model_properties: {
              name: {
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              mount_path: {
                required: true,
                serialized_name: 'mountPath',
                type: {
                  name: 'String'
                }
              },
              read_only: {
                required: false,
                serialized_name: 'readOnly',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_container_instance-0.15.1 lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb
azure_mgmt_container_instance-0.15.0 lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb