Class: Azure::Network::Mgmt::V2019_11_01::Models::VpnServerConfiguration

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

Overview

VpnServerConfiguration Resource.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #location, #name, #tags, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#aad_authentication_parametersAadAuthenticationParameters

parameters.

Returns:


57
58
59
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/vpn_server_configuration.rb', line 57

def aad_authentication_parameters
  @aad_authentication_parameters
end

#etagString

resource is updated.

Returns:

  • (String)

    A unique read-only string that changes whenever the


72
73
74
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/vpn_server_configuration.rb', line 72

def etag
  @etag
end

#p2svpn_gatewaysArray<P2SVpnGateway>

Returns List of references to P2SVpnGateways.

Returns:

  • (Array<P2SVpnGateway>)

    List of references to P2SVpnGateways.


64
65
66
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/vpn_server_configuration.rb', line 64

def p2svpn_gateways
  @p2svpn_gateways
end

#provisioning_stateString

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

Returns:

  • (String)

    The provisioning state of the VpnServerConfiguration


61
62
63
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/vpn_server_configuration.rb', line 61

def provisioning_state
  @provisioning_state
end

#radius_client_root_certificatesArray<VpnServerConfigRadiusClientRootCertificate>

client root certificate of VpnServerConfiguration.

Returns:


41
42
43
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/vpn_server_configuration.rb', line 41

def radius_client_root_certificates
  @radius_client_root_certificates
end

#radius_server_addressString

VpnServerConfiguration resource for point to site client connection.

Returns:

  • (String)

    The radius server address property of the


49
50
51
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/vpn_server_configuration.rb', line 49

def radius_server_address
  @radius_server_address
end

#radius_server_root_certificatesArray<VpnServerConfigRadiusServerRootCertificate>

Server root certificate of VpnServerConfiguration.

Returns:


37
38
39
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/vpn_server_configuration.rb', line 37

def radius_server_root_certificates
  @radius_server_root_certificates
end

#radius_server_secretString

VpnServerConfiguration resource for point to site client connection.

Returns:

  • (String)

    The radius secret property of the


53
54
55
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/vpn_server_configuration.rb', line 53

def radius_server_secret
  @radius_server_secret
end

#vpn_authentication_typesArray<VpnAuthenticationType>

VpnServerConfiguration.

Returns:


25
26
27
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/vpn_server_configuration.rb', line 25

def vpn_authentication_types
  @vpn_authentication_types
end

#vpn_client_ipsec_policiesArray<IpsecPolicy>

VpnServerConfiguration.

Returns:


45
46
47
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/vpn_server_configuration.rb', line 45

def vpn_client_ipsec_policies
  @vpn_client_ipsec_policies
end

#vpn_client_revoked_certificatesArray<VpnServerConfigVpnClientRevokedCertificate>

revoked certificate of VpnServerConfiguration.

Returns:


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

def vpn_client_revoked_certificates
  @vpn_client_revoked_certificates
end

#vpn_client_root_certificatesArray<VpnServerConfigVpnClientRootCertificate>

root certificate of VpnServerConfiguration.

Returns:


29
30
31
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/vpn_server_configuration.rb', line 29

def vpn_client_root_certificates
  @vpn_client_root_certificates
end

#vpn_protocolsArray<VpnGatewayTunnelingProtocol>

VpnServerConfiguration.

Returns:


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

def vpn_protocols
  @vpn_protocols
end

#vpn_server_configuration_nameString

within a resource group.

Returns:

  • (String)

    The name of the VpnServerConfiguration that is unique


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

def vpn_server_configuration_name
  @vpn_server_configuration_name
end

#vpn_server_configuration_properties_etagString

resource is updated.

Returns:

  • (String)

    A unique read-only string that changes whenever the


68
69
70
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/vpn_server_configuration.rb', line 68

def vpn_server_configuration_properties_etag
  @vpn_server_configuration_properties_etag
end

Class Method Details

.mapperObject

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


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
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/vpn_server_configuration.rb', line 79

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VpnServerConfiguration',
    type: {
      name: 'Composite',
      class_name: 'VpnServerConfiguration',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        vpn_server_configuration_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'
                }
            }
          }
        },
        vpn_authentication_types: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.vpnAuthenticationTypes',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'VpnAuthenticationTypeElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        vpn_client_root_certificates: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.vpnClientRootCertificates',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'VpnServerConfigVpnClientRootCertificateElementType',
                type: {
                  name: 'Composite',
                  class_name: 'VpnServerConfigVpnClientRootCertificate'
                }
            }
          }
        },
        vpn_client_revoked_certificates: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.vpnClientRevokedCertificates',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'VpnServerConfigVpnClientRevokedCertificateElementType',
                type: {
                  name: 'Composite',
                  class_name: 'VpnServerConfigVpnClientRevokedCertificate'
                }
            }
          }
        },
        radius_server_root_certificates: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.radiusServerRootCertificates',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'VpnServerConfigRadiusServerRootCertificateElementType',
                type: {
                  name: 'Composite',
                  class_name: 'VpnServerConfigRadiusServerRootCertificate'
                }
            }
          }
        },
        radius_client_root_certificates: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.radiusClientRootCertificates',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'VpnServerConfigRadiusClientRootCertificateElementType',
                type: {
                  name: 'Composite',
                  class_name: 'VpnServerConfigRadiusClientRootCertificate'
                }
            }
          }
        },
        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'
          }
        },
        aad_authentication_parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.aadAuthenticationParameters',
          type: {
            name: 'Composite',
            class_name: 'AadAuthenticationParameters'
          }
        },
        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: 'P2SVpnGatewayElementType',
                type: {
                  name: 'Composite',
                  class_name: 'P2SVpnGateway'
                }
            }
          }
        },
        vpn_server_configuration_properties_etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.etag',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end