Class: Azure::ARM::Compute::Models::ContainerServiceWindowsProfile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_compute/models/container_service_windows_profile.rb

Overview

Profile for Windows VMs in the container service cluster.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#admin_passwordString

Returns The administrator password to use for Windows VMs.

Returns:

  • (String)

    The administrator password to use for Windows VMs.



19
20
21
# File 'lib/generated/azure_mgmt_compute/models/container_service_windows_profile.rb', line 19

def admin_password
  @admin_password
end

#admin_usernameString

Returns The administrator user name to use for Windows VMs.

Returns:

  • (String)

    The administrator user name to use for Windows VMs.



16
17
18
# File 'lib/generated/azure_mgmt_compute/models/container_service_windows_profile.rb', line 16

def admin_username
  @admin_username
end

Class Method Details

.mapperObject

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



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/generated/azure_mgmt_compute/models/container_service_windows_profile.rb', line 26

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