class Azure::NetApp::Mgmt::V2020_11_01::Models::CapacityPool

Capacity pool resource

Attributes

id[RW]

@return [String] Resource Id

location[RW]

@return [String] Resource location

name[RW]

@return [String] Resource name

pool_id[RW]

@return [String] poolId. UUID v4 used to identify the Pool

provisioning_state[RW]

@return [String] Azure lifecycle management

qos_type[RW]

@return [QosType] qosType. The qos type of the pool. Possible values include: 'Auto', 'Manual'. Default value: 'Auto' .

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

tags[RW]

@return [Hash{String => String}] Resource tags

total_throughput_mibps[RW]

@return [Float] Total throughput of pool in Mibps

type[RW]

@return [String] Resource type

utilized_throughput_mibps[RW]

@return [Float] Utilized throughput of pool in Mibps

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-11-01/generated/azure_mgmt_netapp/models/capacity_pool.rb, line 61
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'capacityPool',
    type: {
      name: 'Composite',
      class_name: 'CapacityPool',
      model_properties: {
        location: {
          client_side_validation: true,
          required: true,
          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'
                }
            }
          }
        },
        pool_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.poolId',
          constraints: {
            MaxLength: 36,
            MinLength: 36,
            Pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'
          },
          type: {
            name: 'String'
          }
        },
        size: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.size',
          constraints: {
            InclusiveMaximum: 549755813888000,
            InclusiveMinimum: 4398046511104
          },
          type: {
            name: 'Number'
          }
        },
        service_level: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.serviceLevel',
          default_value: 'Premium',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        total_throughput_mibps: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.totalThroughputMibps',
          type: {
            name: 'Double'
          }
        },
        utilized_throughput_mibps: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.utilizedThroughputMibps',
          type: {
            name: 'Double'
          }
        },
        qos_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.qosType',
          default_value: 'Auto',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end