class Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeCapability
The maximum size limits for a database.
Attributes
limit[RW]
@return [Integer] The maximum size of the database (see 'unit' for the units).
status[RW]
@return [CapabilityStatus] The status of the maximum size capability. Possible values include: 'Visible', 'Available', 'Default', 'Disabled'
unit[RW]
@return [MaxSizeUnits] The units that the limit is expressed in. Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes'
Public Class Methods
mapper()
click to toggle source
Mapper for MaxSizeCapability
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2014-04-01/generated/azure_mgmt_sql/models/max_size_capability.rb, line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MaxSizeCapability', type: { name: 'Composite', class_name: 'MaxSizeCapability', model_properties: { limit: { client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', type: { name: 'Number' } }, unit: { client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', type: { name: 'Enum', module: 'MaxSizeUnits' } }, status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'status', type: { name: 'Enum', module: 'CapabilityStatus' } } } } } end