Class: Azure::Network::Mgmt::V2016_12_01::Models::VpnClientConfiguration

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb

Overview

VpnClientConfiguration for P2S client.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#vpn_client_address_poolAddressSpace

which represents Address space for P2S VpnClient.

Returns:

  • (AddressSpace)

    The reference of the address space resource


17
18
19
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb', line 17

def vpn_client_address_pool
  @vpn_client_address_pool
end

#vpn_client_revoked_certificatesArray<VpnClientRevokedCertificate>

VpnClientRevokedCertificate for Virtual network gateway.

Returns:


25
26
27
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb', line 25

def vpn_client_revoked_certificates
  @vpn_client_revoked_certificates
end

#vpn_client_root_certificatesArray<VpnClientRootCertificate>

virtual network gateway.

Returns:


21
22
23
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb', line 21

def vpn_client_root_certificates
  @vpn_client_root_certificates
end

Class Method Details

.mapperObject

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


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
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
# File 'lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VpnClientConfiguration',
    type: {
      name: 'Composite',
      class_name: 'VpnClientConfiguration',
      model_properties: {
        vpn_client_address_pool: {
          client_side_validation: true,
          required: false,
          serialized_name: 'vpnClientAddressPool',
          type: {
            name: 'Composite',
            class_name: 'AddressSpace'
          }
        },
        vpn_client_root_certificates: {
          client_side_validation: true,
          required: false,
          serialized_name: 'vpnClientRootCertificates',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'VpnClientRootCertificateElementType',
                type: {
                  name: 'Composite',
                  class_name: 'VpnClientRootCertificate'
                }
            }
          }
        },
        vpn_client_revoked_certificates: {
          client_side_validation: true,
          required: false,
          serialized_name: 'vpnClientRevokedCertificates',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'VpnClientRevokedCertificateElementType',
                type: {
                  name: 'Composite',
                  class_name: 'VpnClientRevokedCertificate'
                }
            }
          }
        }
      }
    }
  }
end