# 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::NetApp::Mgmt::V2020_07_01 module Models # # Capacity pool patch resource # class CapacityPoolPatch include MsRestAzure # @return [String] Resource location attr_accessor :location # @return [String] Resource Id attr_accessor :id # @return [String] Resource name attr_accessor :name # @return [String] Resource type attr_accessor :type # @return [Hash{String => String}] Resource tags attr_accessor :tags # @return [Integer] size. Provisioned size of the pool (in bytes). # Allowed values are in 4TiB chunks (value must be multiply of # 4398046511104). Default value: 4398046511104 . attr_accessor :size # @return [QosType] qosType. The qos type of the pool. Possible values # include: 'Auto', 'Manual'. Default value: 'Auto' . attr_accessor :qos_type # # Mapper for CapacityPoolPatch class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'capacityPoolPatch', type: { name: 'Composite', class_name: 'CapacityPoolPatch', model_properties: { location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, size: { client_side_validation: true, required: false, serialized_name: 'properties.size', default_value: 4398046511104, constraints: { InclusiveMaximum: 549755813888000, InclusiveMinimum: 4398046511104 }, type: { name: 'Number' } }, qos_type: { client_side_validation: true, required: false, serialized_name: 'properties.qosType', default_value: 'Auto', type: { name: 'String' } } } } } end end end end