Class: Azure::ARM::Compute::Models::VirtualMachineScaleSetOSProfile
- Inherits:
-
Object
- Object
- Azure::ARM::Compute::Models::VirtualMachineScaleSetOSProfile
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb
Overview
Describes a virtual machine scale set OS profile.
Instance Attribute Summary collapse
-
#admin_password ⇒ String
The admin user password.
-
#admin_username ⇒ String
The admin user name.
-
#computer_name_prefix ⇒ String
The computer name prefix.
-
#custom_data ⇒ String
A base-64 encoded string of custom data.
-
#linux_configuration ⇒ LinuxConfiguration
The Linux Configuration of the OS profile.
-
#secrets ⇒ Array<VaultSecretGroup>
addition to the VM.
-
#windows_configuration ⇒ WindowsConfiguration
profile.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualMachineScaleSetOSProfile class as Ruby Hash.
Instance Attribute Details
#admin_password ⇒ String
Returns the admin user password.
22 23 24 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb', line 22 def admin_password @admin_password end |
#admin_username ⇒ String
Returns the admin user name.
19 20 21 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb', line 19 def admin_username @admin_username end |
#computer_name_prefix ⇒ String
Returns the computer name prefix.
16 17 18 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb', line 16 def computer_name_prefix @computer_name_prefix end |
#custom_data ⇒ String
Returns a base-64 encoded string of custom data.
25 26 27 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb', line 25 def custom_data @custom_data end |
#linux_configuration ⇒ LinuxConfiguration
Returns the Linux Configuration of the OS profile.
32 33 34 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb', line 32 def linux_configuration @linux_configuration end |
#secrets ⇒ Array<VaultSecretGroup>
addition to the VM.
36 37 38 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb', line 36 def secrets @secrets end |
#windows_configuration ⇒ WindowsConfiguration
profile.
29 30 31 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb', line 29 def windows_configuration @windows_configuration end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualMachineScaleSetOSProfile class as Ruby Hash. This will be used for serialization/deserialization.
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 106 107 108 109 110 111 112 113 |
# File 'lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb', line 43 def self.mapper() { required: false, serialized_name: 'VirtualMachineScaleSetOSProfile', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetOSProfile', model_properties: { computer_name_prefix: { required: false, serialized_name: 'computerNamePrefix', type: { name: 'String' } }, admin_username: { required: false, serialized_name: 'adminUsername', type: { name: 'String' } }, admin_password: { required: false, serialized_name: 'adminPassword', type: { name: 'String' } }, custom_data: { required: false, serialized_name: 'customData', type: { name: 'String' } }, windows_configuration: { required: false, serialized_name: 'windowsConfiguration', type: { name: 'Composite', class_name: 'WindowsConfiguration' } }, linux_configuration: { required: false, serialized_name: 'linuxConfiguration', type: { name: 'Composite', class_name: 'LinuxConfiguration' } }, secrets: { required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { required: false, serialized_name: 'VaultSecretGroupElementType', type: { name: 'Composite', class_name: 'VaultSecretGroup' } } } } } } } end |