# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Web::Mgmt::V2015_04_01 module Models # # Virtual Network information contract. # class VnetInfo < ProxyOnlyResource include MsRestAzure # @return [String] The Virtual Network's resource ID. attr_accessor :vnet_resource_id # @return [String] The client certificate thumbprint. attr_accessor :cert_thumbprint # @return [Array] A certificate file (.cer) blob containing the # public key of the private key used to authenticate a # Point-To-Site VPN connection. attr_accessor :cert_blob # @return [Array] The routes that this Virtual Network # connection uses. attr_accessor :routes # @return [Boolean] true if a resync is required; otherwise, # false. attr_accessor :resync_required # @return [String] DNS servers to be used by this Virtual Network. This # should be a comma-separated list of IP addresses. attr_accessor :dns_servers # # Mapper for VnetInfo class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VnetInfo', type: { name: 'Composite', class_name: 'VnetInfo', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, kind: { client_side_validation: true, required: false, serialized_name: 'kind', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, vnet_resource_id: { client_side_validation: true, required: false, serialized_name: 'properties.vnetResourceId', type: { name: 'String' } }, cert_thumbprint: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.certThumbprint', type: { name: 'String' } }, cert_blob: { client_side_validation: true, required: false, serialized_name: 'properties.certBlob', type: { name: 'ByteArray' } }, routes: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'VnetRouteElementType', type: { name: 'Composite', class_name: 'VnetRoute' } } } }, resync_required: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resyncRequired', type: { name: 'Boolean' } }, dns_servers: { client_side_validation: true, required: false, serialized_name: 'properties.dnsServers', type: { name: 'String' } } } } } end end end end