Class: Azure::ContainerRegistry::Mgmt::V2018_02_01_preview::Models::PlatformProperties
- Inherits:
-
Object
- Object
- Azure::ContainerRegistry::Mgmt::V2018_02_01_preview::Models::PlatformProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/platform_properties.rb
Overview
The platform properties against which the build has to happen.
Instance Attribute Summary collapse
-
#cpu ⇒ Integer
required for the build.
-
#os_type ⇒ OsType
Possible values include: ‘Windows’, ‘Linux’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PlatformProperties class as Ruby Hash.
Instance Attribute Details
#cpu ⇒ Integer
required for the build.
21 22 23 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/platform_properties.rb', line 21 def cpu @cpu end |
#os_type ⇒ OsType
Possible values include: ‘Windows’, ‘Linux’
17 18 19 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/platform_properties.rb', line 17 def os_type @os_type end |
Class Method Details
.mapper ⇒ Object
Mapper for PlatformProperties class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/platform_properties.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PlatformProperties', type: { name: 'Composite', class_name: 'PlatformProperties', model_properties: { os_type: { client_side_validation: true, required: true, serialized_name: 'osType', type: { name: 'String' } }, cpu: { client_side_validation: true, required: false, serialized_name: 'cpu', type: { name: 'Number' } } } } } end |