Class: Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnProfileParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-08-01/generated/azure_mgmt_network/models/p2svpn_profile_parameters.rb

Overview

Vpn Client Parameters for package generation

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#authentication_methodAuthenticationMethod

Possible values are: 'EAPTLS' and 'EAPMSCHAPv2'. Possible values include: 'EAPTLS', 'EAPMSCHAPv2'

Returns:


18
19
20
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/p2svpn_profile_parameters.rb', line 18

def authentication_method
  @authentication_method
end

Class Method Details

.mapperObject

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


25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/p2svpn_profile_parameters.rb', line 25

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'P2SVpnProfileParameters',
    type: {
      name: 'Composite',
      class_name: 'P2SVpnProfileParameters',
      model_properties: {
        authentication_method: {
          client_side_validation: true,
          required: false,
          serialized_name: 'authenticationMethod',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end