class Azure::Web::Mgmt::V2018_02_01::Models::StampCapacity

Stamp capacity information.

Attributes

available_capacity[RW]

@return [Integer] Available capacity (# of machines, bytes of storage etc…).

compute_mode[RW]

@return [ComputeModeOptions] Shared/dedicated workers. Possible values include: 'Shared', 'Dedicated', 'Dynamic'

exclude_from_capacity_allocation[RW]

@return [Boolean] If true, it includes basic apps. Basic apps are not used for capacity allocation.

is_applicable_for_all_compute_modes[RW]

@return [Boolean] true if capacity is applicable for all apps; otherwise, false.

is_linux[RW]

@return [Boolean] Is this a linux stamp capacity

name[RW]

@return [String] Name of the stamp.

site_mode[RW]

@return [String] Shared or Dedicated.

total_capacity[RW]

@return [Integer] Total capacity (# of machines, bytes of storage etc…).

unit[RW]

@return [String] Name of the unit.

worker_size[RW]

@return [WorkerSizeOptions] Size of the machines. Possible values include: 'Small', 'Medium', 'Large', 'D1', 'D2', 'D3', 'Default'

worker_size_id[RW]

@return [Integer] Size ID of machines: 0 - Small 1 - Medium 2 - Large

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-02-01/generated/azure_mgmt_web/models/stamp_capacity.rb, line 62
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'StampCapacity',
    type: {
      name: 'Composite',
      class_name: 'StampCapacity',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        available_capacity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'availableCapacity',
          type: {
            name: 'Number'
          }
        },
        total_capacity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'totalCapacity',
          type: {
            name: 'Number'
          }
        },
        unit: {
          client_side_validation: true,
          required: false,
          serialized_name: 'unit',
          type: {
            name: 'String'
          }
        },
        compute_mode: {
          client_side_validation: true,
          required: false,
          serialized_name: 'computeMode',
          type: {
            name: 'Enum',
            module: 'ComputeModeOptions'
          }
        },
        worker_size: {
          client_side_validation: true,
          required: false,
          serialized_name: 'workerSize',
          type: {
            name: 'Enum',
            module: 'WorkerSizeOptions'
          }
        },
        worker_size_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'workerSizeId',
          type: {
            name: 'Number'
          }
        },
        exclude_from_capacity_allocation: {
          client_side_validation: true,
          required: false,
          serialized_name: 'excludeFromCapacityAllocation',
          type: {
            name: 'Boolean'
          }
        },
        is_applicable_for_all_compute_modes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isApplicableForAllComputeModes',
          type: {
            name: 'Boolean'
          }
        },
        site_mode: {
          client_side_validation: true,
          required: false,
          serialized_name: 'siteMode',
          type: {
            name: 'String'
          }
        },
        is_linux: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isLinux',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end