Class: Azure::Compute::Mgmt::V2015_06_15::Models::OSProfile
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2015_06_15::Models::OSProfile
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb
Overview
Describes an OS profile.
Instance Attribute Summary collapse
-
#admin_password ⇒ String
Specifies the password of the administrator account.
-
#admin_username ⇒ String
Specifies the name of the administrator account.
-
#computer_name ⇒ String
Specifies the host OS name of the virtual machine.
-
#custom_data ⇒ String
base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine.
-
#linux_configuration ⇒ LinuxConfiguration
The Linux configuration of the OS profile.
-
#secrets ⇒ Array<VaultSecretGroup>
to the VM.
-
#windows_configuration ⇒ WindowsConfiguration
profile.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for OSProfile class as Ruby Hash.
Instance Attribute Details
#admin_password ⇒ String
Returns Specifies the password of the administrator account.
22 23 24 |
# File 'lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb', line 22 def admin_password @admin_password end |
#admin_username ⇒ String
Returns Specifies the name of the administrator account.
19 20 21 |
# File 'lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb', line 19 def admin_username @admin_username end |
#computer_name ⇒ String
Returns Specifies the host OS name of the virtual machine.
16 17 18 |
# File 'lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb', line 16 def computer_name @computer_name end |
#custom_data ⇒ String
base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes
28 29 30 |
# File 'lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb', line 28 def custom_data @custom_data end |
#linux_configuration ⇒ LinuxConfiguration
Returns The Linux configuration of the OS profile.
35 36 37 |
# File 'lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb', line 35 def linux_configuration @linux_configuration end |
#secrets ⇒ Array<VaultSecretGroup>
to the VM.
39 40 41 |
# File 'lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb', line 39 def secrets @secrets end |
#windows_configuration ⇒ WindowsConfiguration
profile.
32 33 34 |
# File 'lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb', line 32 def windows_configuration @windows_configuration end |
Class Method Details
.mapper ⇒ Object
Mapper for OSProfile class as Ruby Hash. This will be used for serialization/deserialization.
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 114 115 116 |
# File 'lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb', line 46 def self.mapper() { required: false, serialized_name: 'OSProfile', type: { name: 'Composite', class_name: 'OSProfile', model_properties: { computer_name: { required: false, serialized_name: 'computerName', 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 |