Sha256: b71c5df83f9f26a10c186d12e84cbcba99d1acf52a1255d05ea209282ad1d26f

Contents?: true

Size: 1.73 KB

Versions: 2

Compression:

Stored size: 1.73 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::StorageCache::Mgmt::V2020_10_01
  module Models
    #
    # Resource SKU location information.
    #
    class ResourceSkuLocationInfo

      include MsRestAzure

      # @return [String] Location where this SKU is available.
      attr_accessor :location

      # @return [Array<String>] Zones if any.
      attr_accessor :zones


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_storagecache-0.19.1 lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_sku_location_info.rb
azure_mgmt_storagecache-0.19.0 lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_sku_location_info.rb