class Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::PlatformProperties

The platform properties against which the run has to happen.

Attributes

architecture[RW]

@return [Architecture] The OS architecture. Possible values include: 'amd64', 'x86', '386', 'arm', 'arm64'

os[RW]

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

variant[RW]

@return [Variant] Variant of the CPU. Possible values include: 'v6', 'v7', 'v8'

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/platform_properties.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PlatformProperties',
    type: {
      name: 'Composite',
      class_name: 'PlatformProperties',
      model_properties: {
        os: {
          client_side_validation: true,
          required: true,
          serialized_name: 'os',
          type: {
            name: 'String'
          }
        },
        architecture: {
          client_side_validation: true,
          required: false,
          serialized_name: 'architecture',
          type: {
            name: 'String'
          }
        },
        variant: {
          client_side_validation: true,
          required: false,
          serialized_name: 'variant',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end