Class: Azure::Labservices::Mgmt::V2018_10_15::Models::ResourceSettingCreationParameters
- Inherits:
-
Object
- Object
- Azure::Labservices::Mgmt::V2018_10_15::Models::ResourceSettingCreationParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_setting_creation_parameters.rb
Overview
Represents resource specific settings
Instance Attribute Summary collapse
-
#gallery_image_resource_id ⇒ String
the virtual machine.
-
#location ⇒ String
The location where the virtual machine will live.
-
#name ⇒ String
The name of the resource setting.
-
#reference_vm_creation_parameters ⇒ ReferenceVmCreationParameters
Reference Vm.
-
#size ⇒ ManagedLabVmSize
values include: ‘Basic’, ‘Standard’, ‘Performance’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ResourceSettingCreationParameters class as Ruby Hash.
Instance Attribute Details
#gallery_image_resource_id ⇒ String
the virtual machine
23 24 25 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_setting_creation_parameters.rb', line 23 def gallery_image_resource_id @gallery_image_resource_id end |
#location ⇒ String
Returns The location where the virtual machine will live.
16 17 18 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_setting_creation_parameters.rb', line 16 def location @location end |
#name ⇒ String
Returns The name of the resource setting.
19 20 21 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_setting_creation_parameters.rb', line 19 def name @name end |
#reference_vm_creation_parameters ⇒ ReferenceVmCreationParameters
Reference Vm
31 32 33 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_setting_creation_parameters.rb', line 31 def reference_vm_creation_parameters @reference_vm_creation_parameters end |
#size ⇒ ManagedLabVmSize
values include: ‘Basic’, ‘Standard’, ‘Performance’
27 28 29 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_setting_creation_parameters.rb', line 27 def size @size end |
Class Method Details
.mapper ⇒ Object
Mapper for ResourceSettingCreationParameters class as Ruby Hash. This will be used for serialization/deserialization.
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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/resource_setting_creation_parameters.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ResourceSettingCreationParameters', type: { name: 'Composite', class_name: 'ResourceSettingCreationParameters', model_properties: { location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, gallery_image_resource_id: { client_side_validation: true, required: true, serialized_name: 'galleryImageResourceId', type: { name: 'String' } }, size: { client_side_validation: true, required: false, serialized_name: 'size', type: { name: 'String' } }, reference_vm_creation_parameters: { client_side_validation: true, required: true, serialized_name: 'referenceVmCreationParameters', type: { name: 'Composite', class_name: 'ReferenceVmCreationParameters' } } } } } end |