Class: Azure::Network::Mgmt::V2019_11_01::Models::VpnClientParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb

Overview

Vpn Client Parameters for package generation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#authentication_methodAuthenticationMethod

Possible values include: 'EAPTLS', 'EAPMSCHAPv2'

Returns:


21
22
23
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb', line 21

def authentication_method
  @authentication_method
end

#client_root_certificatesArray<String>

certificate data encoded as Base-64 strings. Optional parameter for external radius based authentication with EAPTLS.

Returns:

  • (Array<String>)

    A list of client root certificates public


32
33
34
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb', line 32

def client_root_certificates
  @client_root_certificates
end

#processor_architectureProcessorArchitecture

Possible values include: 'Amd64', 'X86'

Returns:


17
18
19
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb', line 17

def processor_architecture
  @processor_architecture
end

#radius_server_auth_certificateString

authentication certificate as a Base-64 encoded string. Required only if external radius authentication has been configured with EAPTLS authentication.

Returns:

  • (String)

    The public certificate data for the radius server


27
28
29
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb', line 27

def radius_server_auth_certificate
  @radius_server_auth_certificate
end

Class Method Details

.mapperObject

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


39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VpnClientParameters',
    type: {
      name: 'Composite',
      class_name: 'VpnClientParameters',
      model_properties: {
        processor_architecture: {
          client_side_validation: true,
          required: false,
          serialized_name: 'processorArchitecture',
          type: {
            name: 'String'
          }
        },
        authentication_method: {
          client_side_validation: true,
          required: false,
          serialized_name: 'authenticationMethod',
          type: {
            name: 'String'
          }
        },
        radius_server_auth_certificate: {
          client_side_validation: true,
          required: false,
          serialized_name: 'radiusServerAuthCertificate',
          type: {
            name: 'String'
          }
        },
        client_root_certificates: {
          client_side_validation: true,
          required: false,
          serialized_name: 'clientRootCertificates',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end