class Azure::ARM::Insights::Models::ScaleCapacity

The number of instances that can be used during this profile.

Attributes

default[RW]

@return [String] the number of instances that will be set if metrics are not available for evaluation. The default is only used if the current instance count is lower than the default.

maximum[RW]

@return [String] the maximum number of instances for the resource. The actual maximum number of instances is limited by the cores that are available in the subscription.

minimum[RW]

@return [String] the minimum number of instances for the resource.

Public Class Methods

mapper() click to toggle source

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

# File lib/generated/azure_mgmt_insights/models/scale_capacity.rb, line 33
def self.mapper()
  {
    required: false,
    serialized_name: 'ScaleCapacity',
    type: {
      name: 'Composite',
      class_name: 'ScaleCapacity',
      model_properties: {
        minimum: {
          required: true,
          serialized_name: 'minimum',
          type: {
            name: 'String'
          }
        },
        maximum: {
          required: true,
          serialized_name: 'maximum',
          type: {
            name: 'String'
          }
        },
        default: {
          required: true,
          serialized_name: 'default',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end