Class: Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::PlatformUpdateParameters
- Inherits:
-
Object
- Object
- Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::PlatformUpdateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-09-01/generated/azure_mgmt_container_registry/models/platform_update_parameters.rb
Overview
The properties for updating the platform configuration.
Instance Attribute Summary collapse
-
#architecture ⇒ Architecture
‘amd64’, ‘x86’, ‘arm’.
-
#os ⇒ OS
values include: ‘Windows’, ‘Linux’.
-
#variant ⇒ Variant
‘v7’, ‘v8’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PlatformUpdateParameters class as Ruby Hash.
Instance Attribute Details
#architecture ⇒ Architecture
‘amd64’, ‘x86’, ‘arm’
21 22 23 |
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/platform_update_parameters.rb', line 21 def architecture @architecture end |
#os ⇒ OS
values include: ‘Windows’, ‘Linux’
17 18 19 |
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/platform_update_parameters.rb', line 17 def os @os end |
#variant ⇒ Variant
‘v7’, ‘v8’
25 26 27 |
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/platform_update_parameters.rb', line 25 def variant @variant end |
Class Method Details
.mapper ⇒ Object
Mapper for PlatformUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.
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 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'lib/2018-09-01/generated/azure_mgmt_container_registry/models/platform_update_parameters.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PlatformUpdateParameters', type: { name: 'Composite', class_name: 'PlatformUpdateParameters', model_properties: { os: { client_side_validation: true, required: false, 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 |