Class: Azure::Compute::Mgmt::V2019_03_01::Models::WindowsConfiguration
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2019_03_01::Models::WindowsConfiguration
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-03-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.
-
#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.
35 36 37 |
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/windows_configuration.rb', line 35 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/2019-03-01/generated/azure_mgmt_compute/models/windows_configuration.rb', line 26 def enable_automatic_updates @enable_automatic_updates 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/2019-03-01/generated/azure_mgmt_compute/models/windows_configuration.rb', line 20 def provision_vmagent @provision_vmagent end |
#time_zone ⇒ String
“Pacific Standard Time”
30 31 32 |
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/windows_configuration.rb', line 30 def time_zone @time_zone end |
#win_rm ⇒ WinRMConfiguration
listeners. This enables remote Windows PowerShell.
39 40 41 |
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/windows_configuration.rb', line 39 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.
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 |
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/windows_configuration.rb', line 46 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' } } } }, win_rm: { client_side_validation: true, required: false, serialized_name: 'winRM', type: { name: 'Composite', class_name: 'WinRMConfiguration' } } } } } end |