class Azure::ContainerService::Mgmt::V2020_07_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.

license_type[RW]

@return [LicenseType] The licenseType to use for Windows VMs. Windows_Server is used to enable Azure Hybrid User Benefits for Windows VMs. Possible values include: 'None', 'Windows_Server'

Public Class Methods

mapper() click to toggle source

Mapper for ManagedClusterWindowsProfile class as Ruby Hash. This will be used for serialization/deserialization.

# 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