Class: Azure::Compute::Mgmt::V2020_12_01::Models::WindowsConfiguration
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_12_01::Models::WindowsConfiguration
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb
Overview
Specifies Windows operating system settings on the virtual machine.
Instance Attribute Summary collapse
-
#additional_unattend_content ⇒ Array<AdditionalUnattendContent>
encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.
-
#enable_automatic_updates ⇒ Boolean
the Windows virtual machine.
-
#patch_settings ⇒ PatchSettings
VM Guest Patching on Windows.
-
#provision_vmagent ⇒ Boolean
provisioned on the virtual machine.
-
#time_zone ⇒ String
“Pacific Standard Time”.
-
#win_rm ⇒ WinRMConfiguration
listeners.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for WindowsConfiguration class as Ruby Hash.
Instance Attribute Details
#additional_unattend_content ⇒ Array<AdditionalUnattendContent>
encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.
38 39 40 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb', line 38 def additional_unattend_content @additional_unattend_content end |
#enable_automatic_updates ⇒ Boolean
the Windows virtual machine. Default value is true.
For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.
26 27 28 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb', line 26 def enable_automatic_updates @enable_automatic_updates end |
#patch_settings ⇒ PatchSettings
VM Guest Patching on Windows.
42 43 44 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb', line 42 def patch_settings @patch_settings end |
#provision_vmagent ⇒ Boolean
provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
20 21 22 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb', line 20 def provision_vmagent @provision_vmagent end |
#time_zone ⇒ String
“Pacific Standard Time”.
Possible values can be [TimeZoneInfo.Id](docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.getsystemtimezones).
33 34 35 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb', line 33 def time_zone @time_zone end |
#win_rm ⇒ WinRMConfiguration
listeners. This enables remote Windows PowerShell.
46 47 48 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb', line 46 def win_rm @win_rm end |
Class Method Details
.mapper ⇒ Object
Mapper for WindowsConfiguration class as Ruby Hash. This will be used for serialization/deserialization.
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 117 118 119 120 121 122 123 124 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb', line 53 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'WindowsConfiguration', type: { name: 'Composite', class_name: 'WindowsConfiguration', model_properties: { provision_vmagent: { client_side_validation: true, required: false, serialized_name: 'provisionVMAgent', type: { name: 'Boolean' } }, enable_automatic_updates: { client_side_validation: true, required: false, serialized_name: 'enableAutomaticUpdates', type: { name: 'Boolean' } }, time_zone: { client_side_validation: true, required: false, serialized_name: 'timeZone', type: { name: 'String' } }, additional_unattend_content: { client_side_validation: true, required: false, serialized_name: 'additionalUnattendContent', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContentElementType', type: { name: 'Composite', class_name: 'AdditionalUnattendContent' } } } }, patch_settings: { client_side_validation: true, required: false, serialized_name: 'patchSettings', type: { name: 'Composite', class_name: 'PatchSettings' } }, win_rm: { client_side_validation: true, required: false, serialized_name: 'winRM', type: { name: 'Composite', class_name: 'WinRMConfiguration' } } } } } end |