Class: Azure::ContainerService::Mgmt::V2020_07_01::Models::ManagedClusterWindowsProfile
- Inherits:
-
Object
- Object
- Azure::ContainerService::Mgmt::V2020_07_01::Models::ManagedClusterWindowsProfile
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-07-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb
Overview
Profile for Windows VMs in the container service cluster.
Instance Attribute Summary collapse
-
#admin_password ⇒ String
The administrator password to use for Windows VMs.
-
#admin_username ⇒ String
The administrator username to use for Windows VMs.
-
#license_type ⇒ LicenseType
Windows_Server is used to enable Azure Hybrid User Benefits for Windows VMs.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ManagedClusterWindowsProfile class as Ruby Hash.
Instance Attribute Details
#admin_password ⇒ String
Returns The administrator password to use for Windows VMs.
19 20 21 |
# File 'lib/2020-07-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb', line 19 def admin_password @admin_password end |
#admin_username ⇒ String
Returns The administrator username to use for Windows VMs.
16 17 18 |
# File 'lib/2020-07-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb', line 16 def admin_username @admin_username end |
#license_type ⇒ LicenseType
Windows_Server is used to enable Azure Hybrid User Benefits for Windows VMs. Possible values include: ‘None’, ‘Windows_Server’
24 25 26 |
# File 'lib/2020-07-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb', line 24 def license_type @license_type end |
Class Method Details
.mapper ⇒ Object
Mapper for ManagedClusterWindowsProfile class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 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 |
# File 'lib/2020-07-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ManagedClusterWindowsProfile', type: { name: 'Composite', class_name: 'ManagedClusterWindowsProfile', model_properties: { admin_username: { client_side_validation: true, required: true, serialized_name: 'adminUsername', constraints: { Pattern: '^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$' }, type: { name: 'String' } }, admin_password: { client_side_validation: true, required: false, serialized_name: 'adminPassword', constraints: { Pattern: '^(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%\^&\*\(\)])[a-zA-Z\d!@#$%\^&\*\(\)]{12,123}$' }, type: { name: 'String' } }, license_type: { client_side_validation: true, required: false, serialized_name: 'licenseType', type: { name: 'String' } } } } } end |