class Azure::ContainerInstance::Mgmt::V2020_11_01::Models::CachedImages

The cached image and OS type.

Attributes

image[RW]

@return [String] The cached image name.

os_type[RW]

@return [String] The OS type of the cached image.

Private Class Methods

mapper() click to toggle source

Mapper for CachedImages class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-11-01/generated/azure_mgmt_container_instance/models/cached_images.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'cachedImages',
    type: {
      name: 'Composite',
      class_name: 'CachedImages',
      model_properties: {
        os_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'osType',
          type: {
            name: 'String'
          }
        },
        image: {
          client_side_validation: true,
          required: true,
          serialized_name: 'image',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end