class Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::AgentProperties

The properties that determine the run agent configuration.

Attributes

cpu[RW]

@return [Integer] The CPU configuration in terms of number of cores required for the run.

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-09-01/generated/azure_mgmt_container_registry/models/agent_properties.rb, line 24
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AgentProperties',
    type: {
      name: 'Composite',
      class_name: 'AgentProperties',
      model_properties: {
        cpu: {
          client_side_validation: true,
          required: false,
          serialized_name: 'cpu',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end