Sha256: b61d255dad5818e09fd7f5987853f8980da80b536e2e52a181cd213b2eb5d5bf

Contents?: true

Size: 1.7 KB

Versions: 1

Compression:

Stored size: 1.7 KB

Contents

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

module Azure::ARM::Compute
  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()
        {
          required: false,
          serialized_name: 'ContainerServiceWindowsProfile',
          type: {
            name: 'Composite',
            class_name: 'ContainerServiceWindowsProfile',
            model_properties: {
              admin_username: {
                required: true,
                serialized_name: 'adminUsername',
                constraints: {
                  Pattern: '^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$'
                },
                type: {
                  name: 'String'
                }
              },
              admin_password: {
                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

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.10.0 lib/generated/azure_mgmt_compute/models/container_service_windows_profile.rb