Class: Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::AgentProperties
- Inherits:
-
Object
- Object
- Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::AgentProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-09-01/generated/azure_mgmt_container_registry/models/agent_properties.rb
Overview
The properties that determine the run agent configuration.
Instance Attribute Summary collapse
-
#cpu ⇒ Integer
required for the run.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AgentProperties class as Ruby Hash.
Instance Attribute Details
#cpu ⇒ Integer
required for the run.
17 18 19 |
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/agent_properties.rb', line 17 def cpu @cpu end |
Class Method Details
.mapper ⇒ Object
Mapper for AgentProperties class as Ruby Hash. This will be used for serialization/deserialization.
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# 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 |