Class: Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfiguration

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

Overview

P2SVpnServerConfiguration Resource.

Instance Attribute Summary collapse

Attributes inherited from SubResource

#id

Class Method Summary collapse

Instance Attribute Details

#etagString

the resource is updated.

Returns:

  • (String)

    Gets a unique read-only string that changes whenever


70
71
72
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/p2svpn_server_configuration.rb', line 70

def etag
  @etag
end

#nameString

resource group. This name can be used to access the resource.

Returns:

  • (String)

    The name of the resource that is unique within a


66
67
68
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/p2svpn_server_configuration.rb', line 66

def name
  @name
end

#p2svpn_gatewaysArray<SubResource>

Returns:


58
59
60
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/p2svpn_server_configuration.rb', line 58

def p2svpn_gateways
  @p2svpn_gateways
end

#p2svpn_server_config_radius_client_root_certificatesArray<P2SVpnServerConfigRadiusClientRootCertificate>

client root certificate of P2SVpnServerConfiguration.

Returns:


38
39
40
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/p2svpn_server_configuration.rb', line 38

def p2svpn_server_config_radius_client_root_certificates
  @p2svpn_server_config_radius_client_root_certificates
end

#p2svpn_server_config_radius_server_root_certificatesArray<P2SVpnServerConfigRadiusServerRootCertificate>

Server root certificate of P2SVpnServerConfiguration.

Returns:


34
35
36
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/p2svpn_server_configuration.rb', line 34

def p2svpn_server_config_radius_server_root_certificates
  @p2svpn_server_config_radius_server_root_certificates
end

#p2svpn_server_config_vpn_client_revoked_certificatesArray<P2SVpnServerConfigVpnClientRevokedCertificate>

client revoked certificate of P2SVpnServerConfiguration.


30
31
32
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/p2svpn_server_configuration.rb', line 30

def p2svpn_server_config_vpn_client_revoked_certificates
  @p2svpn_server_config_vpn_client_revoked_certificates
end

#p2svpn_server_config_vpn_client_root_certificatesArray<P2SVpnServerConfigVpnClientRootCertificate>

root certificate of P2SVpnServerConfiguration.

Returns:


26
27
28
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/p2svpn_server_configuration.rb', line 26

def p2svpn_server_config_vpn_client_root_certificates
  @p2svpn_server_config_vpn_client_root_certificates
end

#p2svpn_server_configuration_properties_etagString

resource is updated.

Returns:

  • (String)

    A unique read-only string that changes whenever the


62
63
64
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/p2svpn_server_configuration.rb', line 62

def p2svpn_server_configuration_properties_etag
  @p2svpn_server_configuration_properties_etag
end

#p2svpn_server_configuration_properties_nameString

unique within a VirtualWan in a resource group. This name can be used to access the resource along with Parent VirtualWan resource name.

Returns:

  • (String)

    The name of the P2SVpnServerConfiguration that is


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

def p2svpn_server_configuration_properties_name
  @p2svpn_server_configuration_properties_name
end

#provisioning_stateString

P2SVpnServerConfiguration resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.

Returns:

  • (String)

    The provisioning state of the


55
56
57
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/p2svpn_server_configuration.rb', line 55

def provisioning_state
  @provisioning_state
end

#radius_server_addressString

P2SVpnServerConfiguration resource for point to site client connection.

Returns:

  • (String)

    The radius server address property of the


46
47
48
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/p2svpn_server_configuration.rb', line 46

def radius_server_address
  @radius_server_address
end

#radius_server_secretString

P2SVpnServerConfiguration resource for point to site client connection.

Returns:

  • (String)

    The radius secret property of the


50
51
52
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/p2svpn_server_configuration.rb', line 50

def radius_server_secret
  @radius_server_secret
end

#vpn_client_ipsec_policiesArray<IpsecPolicy>

P2SVpnServerConfiguration.

Returns:


42
43
44
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/p2svpn_server_configuration.rb', line 42

def vpn_client_ipsec_policies
  @vpn_client_ipsec_policies
end

#vpn_protocolsArray<VpnGatewayTunnelingProtocol>

P2SVpnServerConfiguration.

Returns:


22
23
24
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/p2svpn_server_configuration.rb', line 22

def vpn_protocols
  @vpn_protocols
end

Class Method Details

.mapperObject

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


77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/p2svpn_server_configuration.rb', line 77

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'P2SVpnServerConfiguration',
    type: {
      name: 'Composite',
      class_name: 'P2SVpnServerConfiguration',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        p2svpn_server_configuration_properties_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.name',
          type: {
            name: 'String'
          }
        },
        vpn_protocols: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.vpnProtocols',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'VpnGatewayTunnelingProtocolElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        p2svpn_server_config_vpn_client_root_certificates: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.p2SVpnServerConfigVpnClientRootCertificates',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'P2SVpnServerConfigVpnClientRootCertificateElementType',
                type: {
                  name: 'Composite',
                  class_name: 'P2SVpnServerConfigVpnClientRootCertificate'
                }
            }
          }
        },
        p2svpn_server_config_vpn_client_revoked_certificates: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.p2SVpnServerConfigVpnClientRevokedCertificates',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'P2SVpnServerConfigVpnClientRevokedCertificateElementType',
                type: {
                  name: 'Composite',
                  class_name: 'P2SVpnServerConfigVpnClientRevokedCertificate'
                }
            }
          }
        },
        p2svpn_server_config_radius_server_root_certificates: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.p2SVpnServerConfigRadiusServerRootCertificates',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'P2SVpnServerConfigRadiusServerRootCertificateElementType',
                type: {
                  name: 'Composite',
                  class_name: 'P2SVpnServerConfigRadiusServerRootCertificate'
                }
            }
          }
        },
        p2svpn_server_config_radius_client_root_certificates: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.p2SVpnServerConfigRadiusClientRootCertificates',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'P2SVpnServerConfigRadiusClientRootCertificateElementType',
                type: {
                  name: 'Composite',
                  class_name: 'P2SVpnServerConfigRadiusClientRootCertificate'
                }
            }
          }
        },
        vpn_client_ipsec_policies: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.vpnClientIpsecPolicies',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'IpsecPolicyElementType',
                type: {
                  name: 'Composite',
                  class_name: 'IpsecPolicy'
                }
            }
          }
        },
        radius_server_address: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.radiusServerAddress',
          type: {
            name: 'String'
          }
        },
        radius_server_secret: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.radiusServerSecret',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        p2svpn_gateways: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.p2SVpnGateways',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'SubResourceElementType',
                type: {
                  name: 'Composite',
                  class_name: 'SubResource'
                }
            }
          }
        },
        p2svpn_server_configuration_properties_etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.etag',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end