lib/services/networkManagement2/lib/models/vpnConnection.js
/**
   * Defines the metadata of VpnConnection
   *
   * @returns {object} metadata of VpnConnection
   *
   */
Defines the metadata of VpnConnection
@returns {object} metadata of VpnConnection
Defines the metadata of VpnConnection @returns { object } metadata of VpnConnection
mapper() {
    return {
      required: false,
      serializedName: 'VpnConnection',
      type: {
        name: 'Composite',
        className: 'VpnConnection',
        modelProperties: {
          id: {
            required: false,
            serializedName: 'id',
            type: {
              name: 'String'
            }
          },
          name: {
            required: false,
            readOnly: true,
            serializedName: 'name',
            type: {
              name: 'String'
            }
          },
          type: {
            required: false,
            readOnly: true,
            serializedName: 'type',
            type: {
              name: 'String'
            }
          },
          location: {
            required: false,
            serializedName: 'location',
            type: {
              name: 'String'
            }
          },
          tags: {
            required: false,
            serializedName: 'tags',
            type: {
              name: 'Dictionary',
              value: {
                  required: false,
                  serializedName: 'StringElementType',
                  type: {
                    name: 'String'
                  }
              }
            }
          },
          remoteVpnSite: {
            required: false,
            serializedName: 'properties.remoteVpnSite',
            type: {
              name: 'Composite',
              className: 'SubResource'
            }
          },
          routingWeight: {
            required: false,
            serializedName: 'properties.routingWeight',
            type: {
              name: 'Number'
            }
          },
          connectionStatus: {
            required: false,
            serializedName: 'properties.connectionStatus',
            type: {
              name: 'String'
            }
          },
          ingressBytesTransferred: {
            required: false,
            readOnly: true,
            serializedName: 'properties.ingressBytesTransferred',
            type: {
              name: 'Number'
            }
          },
          egressBytesTransferred: {
            required: false,
            readOnly: true,
            serializedName: 'properties.egressBytesTransferred',
            type: {
              name: 'Number'
            }
          },
          connectionBandwidthInMbps: {
            required: false,
            readOnly: true,
            serializedName: 'properties.connectionBandwidthInMbps',
            type: {
              name: 'Number'
            }
          },
          sharedKey: {
            required: false,
            serializedName: 'properties.sharedKey',
            type: {
              name: 'String'
            }
          },
          enableBgp: {
            required: false,
            serializedName: 'properties.enableBgp',
            type: {
              name: 'Boolean'
            }
          },
          ipsecPolicies: {
            required: false,
            serializedName: 'properties.ipsecPolicies',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'IpsecPolicyElementType',
                  type: {
                    name: 'Composite',
                    className: 'IpsecPolicy'
                  }
              }
            }
          },
          provisioningState: {
            required: false,
            serializedName: 'properties.provisioningState',
            type: {
              name: 'String'
            }
          },
          etag: {
            required: false,
            readOnly: true,
            serializedName: 'etag',
            type: {
              name: 'String'
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'VpnConnection' , type : { name : 'Composite' , className : 'VpnConnection' , modelProperties : { id : { required : false , serializedName : 'id' , type : { name : 'String' } } , name : { required : false , readOnly : true , serializedName : 'name' , type : { name : 'String' } } , type : { required : false , readOnly : true , serializedName : 'type' , type : { name : 'String' } } , location : { required : false , serializedName : 'location' , type : { name : 'String' } } , tags : { required : false , serializedName : 'tags' , type : { name : 'Dictionary' , value : { required : false , serializedName : 'StringElementType' , type : { name : 'String' } } } } , remoteVpnSite : { required : false , serializedName : 'properties.remoteVpnSite' , type : { name : 'Composite' , className : 'SubResource' } } , routingWeight : { required : false , serializedName : 'properties.routingWeight' , type : { name : 'Number' } } , connectionStatus : { required : false , serializedName : 'properties.connectionStatus' , type : { name : 'String' } } , ingressBytesTransferred : { required : false , readOnly : true , serializedName : 'properties.ingressBytesTransferred' , type : { name : 'Number' } } , egressBytesTransferred : { required : false , readOnly : true , serializedName : 'properties.egressBytesTransferred' , type : { name : 'Number' } } , connectionBandwidthInMbps : { required : false , readOnly : true , serializedName : 'properties.connectionBandwidthInMbps' , type : { name : 'Number' } } , sharedKey : { required : false , serializedName : 'properties.sharedKey' , type : { name : 'String' } } , enableBgp : { required : false , serializedName : 'properties.enableBgp' , type : { name : 'Boolean' } } , ipsecPolicies : { required : false , serializedName : 'properties.ipsecPolicies' , type : { name : 'Sequence' , element : { required : false , serializedName : 'IpsecPolicyElementType' , type : { name : 'Composite' , className : 'IpsecPolicy' } } } } , provisioningState : { required : false , serializedName : 'properties.provisioningState' , type : { name : 'String' } } , etag : { required : false , readOnly : true , serializedName : 'etag' , type : { name : 'String' } } } } } ; }
Defines the metadata of VpnConnection
 @returns {object} metadata of VpnConnection
Defines the metadata of VpnConnection @returns { object } metadata of VpnConnection