class Azure::ContainerService::Mgmt::V2019_06_01::Models::ManagedClusterWindowsProfile
Profile for Windows VMs in the container service cluster.
Attributes
admin_password[RW]
@return [String] The administrator password to use for Windows VMs.
admin_username[RW]
@return [String] The administrator username to use for Windows VMs.
Public Class Methods
mapper()
click to toggle source
Mapper for ManagedClusterWindowsProfile
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-06-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb, line 26 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' } } } } } end