class Azure::NetApp::Mgmt::V2019_06_01::Models::CapacityPoolPatch

Capacity pool patch resource

Attributes

id[RW]

@return [String] Resource Id

location[RW]

@return [String] Resource location

name[RW]

@return [String] Resource name

service_level[RW]

@return [ServiceLevel] serviceLevel. The service level of the file system. Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: 'Premium' .

size[RW]

@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 .

tags[RW]

@return Resource tags

type[RW]

@return [String] Resource type

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-06-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb, line 45
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: 'Object'
          }
        },
        size: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.size',
          default_value: 4398046511104,
          constraints: {
            InclusiveMaximum: 549755813888000,
            InclusiveMinimum: 4398046511104
          },
          type: {
            name: 'Number'
          }
        },
        service_level: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serviceLevel',
          default_value: 'Premium',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end