class Azure::ContainerRegistry::Mgmt::V2018_02_01_preview::Models::PlatformProperties

The platform properties against which the build has to happen.

Attributes

cpu[RW]

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

os_type[RW]

@return [OsType] The operating system type required for the build. Possible values include: 'Windows', 'Linux'

Public Class Methods

mapper() click to toggle source

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

# 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