Class: Azure::Labservices::Mgmt::V2018_10_15::Models::ResourceSettings
- Inherits:
-
Object
- Object
- Azure::Labservices::Mgmt::V2018_10_15::Models::ResourceSettings
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_settings.rb
Overview
Represents resource specific settings
Instance Attribute Summary collapse
-
#cores ⇒ Integer
The translated compute cores of the virtual machine.
-
#gallery_image_resource_id ⇒ String
the virtual machine.
-
#id ⇒ String
The unique id of the resource setting.
-
#image_name ⇒ String
setting.
-
#reference_vm ⇒ ReferenceVm
Details specific to Reference Vm.
-
#size ⇒ ManagedLabVmSize
values include: ‘Basic’, ‘Standard’, ‘Performance’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ResourceSettings class as Ruby Hash.
Instance Attribute Details
#cores ⇒ Integer
Returns The translated compute cores of the virtual machine.
31 32 33 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_settings.rb', line 31 def cores @cores end |
#gallery_image_resource_id ⇒ String
the virtual machine
20 21 22 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_settings.rb', line 20 def gallery_image_resource_id @gallery_image_resource_id end |
#id ⇒ String
Returns The unique id of the resource setting.
16 17 18 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_settings.rb', line 16 def id @id end |
#image_name ⇒ String
setting
24 25 26 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_settings.rb', line 24 def image_name @image_name end |
#reference_vm ⇒ ReferenceVm
Returns Details specific to Reference Vm.
34 35 36 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_settings.rb', line 34 def reference_vm @reference_vm end |
#size ⇒ ManagedLabVmSize
values include: ‘Basic’, ‘Standard’, ‘Performance’
28 29 30 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_settings.rb', line 28 def size @size end |
Class Method Details
.mapper ⇒ Object
Mapper for ResourceSettings class as Ruby Hash. This will be used for serialization/deserialization.
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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_settings.rb', line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ResourceSettings', type: { name: 'Composite', class_name: 'ResourceSettings', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, gallery_image_resource_id: { client_side_validation: true, required: false, serialized_name: 'galleryImageResourceId', type: { name: 'String' } }, image_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'imageName', type: { name: 'String' } }, size: { client_side_validation: true, required: false, serialized_name: 'size', type: { name: 'String' } }, cores: { client_side_validation: true, required: false, read_only: true, serialized_name: 'cores', type: { name: 'Number' } }, reference_vm: { client_side_validation: true, required: true, serialized_name: 'referenceVm', type: { name: 'Composite', class_name: 'ReferenceVm' } } } } } end |