Sha256: ea47c9b646ee8c8fac48327e2edf63219f537cdba9630abe083bb3e17d8ecf8a

Contents?: true

Size: 1.85 KB

Versions: 11

Compression:

Stored size: 1.85 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ContainerService::Mgmt::V2018_08_01_preview
  module Models
    #
    # Profile for Windows VMs in the container service cluster.
    #
    class ContainerServiceWindowsProfile

      include MsRestAzure

      # @return [String] The administrator username to use for Windows VMs.
      attr_accessor :admin_username

      # @return [String] The administrator password to use for Windows VMs.
      attr_accessor :admin_password


      #
      # Mapper for ContainerServiceWindowsProfile class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ContainerServiceWindowsProfile',
          type: {
            name: 'Composite',
            class_name: 'ContainerServiceWindowsProfile',
            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: true,
                serialized_name: 'adminPassword',
                constraints: {
                  Pattern: '^(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%\^&\*\(\)])[a-zA-Z\d!@#$%\^&\*\(\)]{12,123}$'
                },
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
azure_mgmt_container_service-0.22.0 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb
azure_mgmt_container_service-0.21.0 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb
azure_mgmt_container_service-0.20.4 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb
azure_mgmt_container_service-0.20.3 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb
azure_mgmt_container_service-0.20.2 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb
azure_mgmt_container_service-0.20.1 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb
azure_mgmt_container_service-0.20.0 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb
azure_mgmt_container_service-0.19.0 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb
azure_mgmt_container_service-0.18.5 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb
azure_mgmt_container_service-0.18.4 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb
azure_mgmt_container_service-0.18.3 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb