Class: Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterWindowsProfile
- Inherits:
-
Object
- Object
- Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterWindowsProfile
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-12-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
Minimum-length: 8 characters
Max-length: 123 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [W_])
**Disallowed values:** “abc@123”, “P@$$w0rd”, “P@ssw0rd”, “P@ssword123”, “Pa$$word”, “pass@word1”, “Password!”, “Password1”, “Password22”, “iloveyou!”. -
#admin_username ⇒ String
restriction: Cannot end in “.”
**Disallowed values:** “administrator”, “admin”, “user”, “user1”, “test”, “user2”, “test1”, “user3”, “admin1”, “1”, “123”, “a”, “actuser”, “adm”, “admin2”, “aspnet”, “backup”, “console”, “david”, “guest”, “john”, “owner”, “root”, “server”, “sql”, “support”, “support_388945a0”, “sys”, “test2”, “test3”, “user4”, “user5”. -
#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
Minimum-length: 8 characters
Max-length: 123 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [W_])
**Disallowed values:** “abc@123”, “P@$$w0rd”, “P@ssw0rd”, “P@ssword123”, “Pa$$word”, “pass@word1”, “Password!”, “Password1”, “Password22”, “iloveyou!”
33 34 35 |
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb', line 33 def admin_password @admin_password end |
#admin_username ⇒ String
restriction: Cannot end in “.”
**Disallowed values:** “administrator”, “admin”, “user”, “user1”, “test”, “user2”, “test1”, “user3”, “admin1”, “1”, “123”, “a”, “actuser”, “adm”, “admin2”, “aspnet”, “backup”, “console”, “david”, “guest”, “john”, “owner”, “root”, “server”, “sql”, “support”, “support_388945a0”, “sys”, “test2”, “test3”, “user4”, “user5”.
Minimum-length: 1 character
Max-length: 20 characters
23 24 25 |
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb', line 23 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’
38 39 40 |
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb', line 38 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.
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 |
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb', line 45 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', type: { name: 'String' } }, admin_password: { client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { name: 'String' } }, license_type: { client_side_validation: true, required: false, serialized_name: 'licenseType', type: { name: 'String' } } } } } end |