/*
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

'use strict';

const models = require('./index');

/**
 * Virtual Network Tap resource
 *
 * @extends models['Resource']
 */
class VirtualNetworkTap extends models['Resource'] {
  /**
   * Create a VirtualNetworkTap.
   * @property {array} [networkInterfaceTapConfigurations] Specifies the list
   * of resource IDs for the network interface IP configuration that needs to
   * be tapped.
   * @property {string} [resourceGuid] The resourceGuid property of the virtual
   * network tap.
   * @property {string} [provisioningState] The provisioning state of the
   * virtual network tap. Possible values are: 'Updating', 'Deleting', and
   * 'Failed'.
   * @property {object} [destinationNetworkInterfaceIPConfiguration] The
   * reference to the private IP Address of the collector nic that will receive
   * the tap
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.virtualNetworkTaps] The
   * reference to Virtual Network Taps.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.applicationGatewayBackendAddressPools]
   * The reference of ApplicationGatewayBackendAddressPool resource.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.loadBalancerBackendAddressPools]
   * The reference of LoadBalancerBackendAddressPool resource.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.loadBalancerInboundNatRules] A
   * list of references of LoadBalancerInboundNatRules.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.privateIPAddress] Private IP
   * address of the IP configuration.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.privateIPAllocationMethod] The
   * private IP address allocation method. Possible values include: 'Static',
   * 'Dynamic'
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.privateIPAddressVersion]
   * Available from Api-Version 2016-03-30 onwards, it represents whether the
   * specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
   * Possible values include: 'IPv4', 'IPv6'
   * @property {object} [destinationNetworkInterfaceIPConfiguration.subnet]
   * Subnet bound to the IP configuration.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.subnet.addressPrefix] The
   * address prefix for the subnet.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.subnet.addressPrefixes] List
   * of  address prefixes for the subnet.
   * @property {object}
   * [destinationNetworkInterfaceIPConfiguration.subnet.networkSecurityGroup]
   * The reference of the NetworkSecurityGroup resource.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.subnet.networkSecurityGroup.securityRules]
   * A collection of security rules of the network security group.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.subnet.networkSecurityGroup.defaultSecurityRules]
   * The default security rules of network security group.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.subnet.networkSecurityGroup.networkInterfaces]
   * A collection of references to network interfaces.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.subnet.networkSecurityGroup.subnets]
   * A collection of references to subnets.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.subnet.networkSecurityGroup.resourceGuid]
   * The resource GUID property of the network security group resource.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.subnet.networkSecurityGroup.provisioningState]
   * The provisioning state of the public IP resource. Possible values are:
   * 'Updating', 'Deleting', and 'Failed'.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.subnet.networkSecurityGroup.etag]
   * A unique read-only string that changes whenever the resource is updated.
   * @property {object}
   * [destinationNetworkInterfaceIPConfiguration.subnet.routeTable] The
   * reference of the RouteTable resource.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.subnet.routeTable.routes]
   * Collection of routes contained within a route table.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.subnet.routeTable.subnets] A
   * collection of references to subnets.
   * @property {boolean}
   * [destinationNetworkInterfaceIPConfiguration.subnet.routeTable.disableBgpRoutePropagation]
   * Gets or sets whether to disable the routes learned by BGP on that route
   * table. True means disable.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.subnet.routeTable.provisioningState]
   * The provisioning state of the resource. Possible values are: 'Updating',
   * 'Deleting', and 'Failed'.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.subnet.routeTable.etag] Gets a
   * unique read-only string that changes whenever the resource is updated.
   * @property {object}
   * [destinationNetworkInterfaceIPConfiguration.subnet.natGateway] Nat gateway
   * associated with this subnet.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.subnet.natGateway.id] Resource
   * ID.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.subnet.serviceEndpoints] An
   * array of service endpoints.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.subnet.serviceEndpointPolicies]
   * An array of service endpoint policies.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.subnet.interfaceEndpoints] An
   * array of references to interface endpoints
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.subnet.ipConfigurations] Gets
   * an array of references to the network interface IP configurations using
   * subnet.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.subnet.ipConfigurationProfiles]
   * Array of IP configuration profiles which reference this subnet.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.subnet.resourceNavigationLinks]
   * Gets an array of references to the external resources using subnet.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.subnet.serviceAssociationLinks]
   * Gets an array of references to services injecting into this subnet.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.subnet.delegations] Gets an
   * array of references to the delegations on the subnet.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.subnet.purpose] A read-only
   * string identifying the intention of use for this subnet based on
   * delegations and other user-defined properties.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.subnet.provisioningState] The
   * provisioning state of the resource.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.subnet.name] The name of the
   * resource that is unique within a resource group. This name can be used to
   * access the resource.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.subnet.etag] A unique
   * read-only string that changes whenever the resource is updated.
   * @property {boolean} [destinationNetworkInterfaceIPConfiguration.primary]
   * Gets whether this is a primary customer address on the network interface.
   * @property {object}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress] Public IP
   * address bound to the IP configuration.
   * @property {object}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.sku] The
   * public IP address SKU.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.sku.name] Name
   * of a public IP address SKU. Possible values include: 'Basic', 'Standard'
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.publicIPAllocationMethod]
   * The public IP address allocation method. Possible values include:
   * 'Static', 'Dynamic'
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.publicIPAddressVersion]
   * The public IP address version. Possible values include: 'IPv4', 'IPv6'
   * @property {object}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration]
   * The IP configuration associated with the public IP address.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.privateIPAddress]
   * The private IP address of the IP configuration.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.privateIPAllocationMethod]
   * The private IP address allocation method. Possible values include:
   * 'Static', 'Dynamic'
   * @property {object}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet]
   * The reference of the subnet resource.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.addressPrefix]
   * The address prefix for the subnet.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.addressPrefixes]
   * List of  address prefixes for the subnet.
   * @property {object}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup]
   * The reference of the NetworkSecurityGroup resource.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.securityRules]
   * A collection of security rules of the network security group.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.defaultSecurityRules]
   * The default security rules of network security group.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.networkInterfaces]
   * A collection of references to network interfaces.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.subnets]
   * A collection of references to subnets.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.resourceGuid]
   * The resource GUID property of the network security group resource.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.provisioningState]
   * The provisioning state of the public IP resource. Possible values are:
   * 'Updating', 'Deleting', and 'Failed'.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.etag]
   * A unique read-only string that changes whenever the resource is updated.
   * @property {object}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.routeTable]
   * The reference of the RouteTable resource.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.routeTable.routes]
   * Collection of routes contained within a route table.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.routeTable.subnets]
   * A collection of references to subnets.
   * @property {boolean}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.routeTable.disableBgpRoutePropagation]
   * Gets or sets whether to disable the routes learned by BGP on that route
   * table. True means disable.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.routeTable.provisioningState]
   * The provisioning state of the resource. Possible values are: 'Updating',
   * 'Deleting', and 'Failed'.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.routeTable.etag]
   * Gets a unique read-only string that changes whenever the resource is
   * updated.
   * @property {object}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.natGateway]
   * Nat gateway associated with this subnet.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.natGateway.id]
   * Resource ID.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.serviceEndpoints]
   * An array of service endpoints.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.serviceEndpointPolicies]
   * An array of service endpoint policies.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.interfaceEndpoints]
   * An array of references to interface endpoints
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.ipConfigurations]
   * Gets an array of references to the network interface IP configurations
   * using subnet.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.ipConfigurationProfiles]
   * Array of IP configuration profiles which reference this subnet.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.resourceNavigationLinks]
   * Gets an array of references to the external resources using subnet.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.serviceAssociationLinks]
   * Gets an array of references to services injecting into this subnet.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.delegations]
   * Gets an array of references to the delegations on the subnet.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.purpose]
   * A read-only string identifying the intention of use for this subnet based
   * on delegations and other user-defined properties.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.provisioningState]
   * The provisioning state of the resource.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.name]
   * The name of the resource that is unique within a resource group. This name
   * can be used to access the resource.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.subnet.etag]
   * A unique read-only string that changes whenever the resource is updated.
   * @property {object}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.publicIPAddress]
   * The reference of the public IP resource.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.provisioningState]
   * Gets the provisioning state of the public IP resource. Possible values
   * are: 'Updating', 'Deleting', and 'Failed'.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.name]
   * The name of the resource that is unique within a resource group. This name
   * can be used to access the resource.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipConfiguration.etag]
   * A unique read-only string that changes whenever the resource is updated.
   * @property {object}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.dnsSettings]
   * The FQDN of the DNS record associated with the public IP address.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.dnsSettings.domainNameLabel]
   * Gets or sets the Domain name label.The concatenation of the domain name
   * label and the regionalized DNS zone make up the fully qualified domain
   * name associated with the public IP address. If a domain name label is
   * specified, an A DNS record is created for the public IP in the Microsoft
   * Azure DNS system.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.dnsSettings.fqdn]
   * Gets the FQDN, Fully qualified domain name of the A DNS record associated
   * with the public IP. This is the concatenation of the domainNameLabel and
   * the regionalized DNS zone.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.dnsSettings.reverseFqdn]
   * Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name
   * that resolves to this public IP address. If the reverseFqdn is specified,
   * then a PTR DNS record is created pointing from the IP address in the
   * in-addr.arpa domain to the reverse FQDN.
   * @property {object}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ddosSettings]
   * The DDoS protection custom policy associated with the public IP address.
   * @property {object}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy]
   * The DDoS custom policy associated with the public IP.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy.id]
   * Resource ID.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage]
   * The DDoS protection policy customizability of the public IP. Only standard
   * coverage will have the ability to be customized. Possible values include:
   * 'Basic', 'Standard'
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipTags] The
   * list of tags associated with the public IP address.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.ipAddress] The
   * IP address associated with the public IP address resource.
   * @property {object}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.publicIPPrefix]
   * The Public IP Prefix this Public IP Address should be allocated from.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.publicIPPrefix.id]
   * Resource ID.
   * @property {number}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.idleTimeoutInMinutes]
   * The idle timeout of the public IP address.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.resourceGuid]
   * The resource GUID property of the public IP resource.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.provisioningState]
   * The provisioning state of the PublicIP resource. Possible values are:
   * 'Updating', 'Deleting', and 'Failed'.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.etag] A unique
   * read-only string that changes whenever the resource is updated.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.publicIPAddress.zones] A list
   * of availability zones denoting the IP allocated for the resource needs to
   * come from.
   * @property {array}
   * [destinationNetworkInterfaceIPConfiguration.applicationSecurityGroups]
   * Application security groups in which the IP configuration is included.
   * @property {string}
   * [destinationNetworkInterfaceIPConfiguration.provisioningState] The
   * provisioning state of the network interface IP configuration. Possible
   * values are: 'Updating', 'Deleting', and 'Failed'.
   * @property {string} [destinationNetworkInterfaceIPConfiguration.name] The
   * name of the resource that is unique within a resource group. This name can
   * be used to access the resource.
   * @property {string} [destinationNetworkInterfaceIPConfiguration.etag] A
   * unique read-only string that changes whenever the resource is updated.
   * @property {object} [destinationLoadBalancerFrontEndIPConfiguration] The
   * reference to the private IP address on the internal Load Balancer that
   * will receive the tap
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.inboundNatRules] Read
   * only. Inbound rules URIs that use this frontend IP.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.inboundNatPools] Read
   * only. Inbound pools URIs that use this frontend IP.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.outboundRules] Read only.
   * Outbound rules URIs that use this frontend IP.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.loadBalancingRules] Gets
   * load balancing rules URIs that use this frontend IP.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.privateIPAddress] The
   * private IP address of the IP configuration.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.privateIPAllocationMethod]
   * The Private IP allocation method. Possible values include: 'Static',
   * 'Dynamic'
   * @property {object} [destinationLoadBalancerFrontEndIPConfiguration.subnet]
   * The reference of the subnet resource.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.addressPrefix] The
   * address prefix for the subnet.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.addressPrefixes]
   * List of  address prefixes for the subnet.
   * @property {object}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.networkSecurityGroup]
   * The reference of the NetworkSecurityGroup resource.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.networkSecurityGroup.securityRules]
   * A collection of security rules of the network security group.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.networkSecurityGroup.defaultSecurityRules]
   * The default security rules of network security group.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.networkSecurityGroup.networkInterfaces]
   * A collection of references to network interfaces.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.networkSecurityGroup.subnets]
   * A collection of references to subnets.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.networkSecurityGroup.resourceGuid]
   * The resource GUID property of the network security group resource.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.networkSecurityGroup.provisioningState]
   * The provisioning state of the public IP resource. Possible values are:
   * 'Updating', 'Deleting', and 'Failed'.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.networkSecurityGroup.etag]
   * A unique read-only string that changes whenever the resource is updated.
   * @property {object}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.routeTable] The
   * reference of the RouteTable resource.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.routeTable.routes]
   * Collection of routes contained within a route table.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.routeTable.subnets]
   * A collection of references to subnets.
   * @property {boolean}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.routeTable.disableBgpRoutePropagation]
   * Gets or sets whether to disable the routes learned by BGP on that route
   * table. True means disable.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.routeTable.provisioningState]
   * The provisioning state of the resource. Possible values are: 'Updating',
   * 'Deleting', and 'Failed'.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.routeTable.etag]
   * Gets a unique read-only string that changes whenever the resource is
   * updated.
   * @property {object}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.natGateway] Nat
   * gateway associated with this subnet.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.natGateway.id]
   * Resource ID.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.serviceEndpoints]
   * An array of service endpoints.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.serviceEndpointPolicies]
   * An array of service endpoint policies.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.interfaceEndpoints]
   * An array of references to interface endpoints
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.ipConfigurations]
   * Gets an array of references to the network interface IP configurations
   * using subnet.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.ipConfigurationProfiles]
   * Array of IP configuration profiles which reference this subnet.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.resourceNavigationLinks]
   * Gets an array of references to the external resources using subnet.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.serviceAssociationLinks]
   * Gets an array of references to services injecting into this subnet.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.delegations] Gets
   * an array of references to the delegations on the subnet.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.purpose] A
   * read-only string identifying the intention of use for this subnet based on
   * delegations and other user-defined properties.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.provisioningState]
   * The provisioning state of the resource.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.name] The name of
   * the resource that is unique within a resource group. This name can be used
   * to access the resource.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.subnet.etag] A unique
   * read-only string that changes whenever the resource is updated.
   * @property {object}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress] The
   * reference of the Public IP resource.
   * @property {object}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.sku] The
   * public IP address SKU.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.sku.name]
   * Name of a public IP address SKU. Possible values include: 'Basic',
   * 'Standard'
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.publicIPAllocationMethod]
   * The public IP address allocation method. Possible values include:
   * 'Static', 'Dynamic'
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.publicIPAddressVersion]
   * The public IP address version. Possible values include: 'IPv4', 'IPv6'
   * @property {object}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration]
   * The IP configuration associated with the public IP address.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.privateIPAddress]
   * The private IP address of the IP configuration.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.privateIPAllocationMethod]
   * The private IP address allocation method. Possible values include:
   * 'Static', 'Dynamic'
   * @property {object}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet]
   * The reference of the subnet resource.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.addressPrefix]
   * The address prefix for the subnet.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.addressPrefixes]
   * List of  address prefixes for the subnet.
   * @property {object}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup]
   * The reference of the NetworkSecurityGroup resource.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.securityRules]
   * A collection of security rules of the network security group.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.defaultSecurityRules]
   * The default security rules of network security group.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.networkInterfaces]
   * A collection of references to network interfaces.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.subnets]
   * A collection of references to subnets.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.resourceGuid]
   * The resource GUID property of the network security group resource.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.provisioningState]
   * The provisioning state of the public IP resource. Possible values are:
   * 'Updating', 'Deleting', and 'Failed'.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.etag]
   * A unique read-only string that changes whenever the resource is updated.
   * @property {object}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.routeTable]
   * The reference of the RouteTable resource.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.routeTable.routes]
   * Collection of routes contained within a route table.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.routeTable.subnets]
   * A collection of references to subnets.
   * @property {boolean}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.routeTable.disableBgpRoutePropagation]
   * Gets or sets whether to disable the routes learned by BGP on that route
   * table. True means disable.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.routeTable.provisioningState]
   * The provisioning state of the resource. Possible values are: 'Updating',
   * 'Deleting', and 'Failed'.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.routeTable.etag]
   * Gets a unique read-only string that changes whenever the resource is
   * updated.
   * @property {object}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.natGateway]
   * Nat gateway associated with this subnet.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.natGateway.id]
   * Resource ID.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.serviceEndpoints]
   * An array of service endpoints.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.serviceEndpointPolicies]
   * An array of service endpoint policies.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.interfaceEndpoints]
   * An array of references to interface endpoints
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.ipConfigurations]
   * Gets an array of references to the network interface IP configurations
   * using subnet.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.ipConfigurationProfiles]
   * Array of IP configuration profiles which reference this subnet.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.resourceNavigationLinks]
   * Gets an array of references to the external resources using subnet.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.serviceAssociationLinks]
   * Gets an array of references to services injecting into this subnet.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.delegations]
   * Gets an array of references to the delegations on the subnet.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.purpose]
   * A read-only string identifying the intention of use for this subnet based
   * on delegations and other user-defined properties.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.provisioningState]
   * The provisioning state of the resource.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.name]
   * The name of the resource that is unique within a resource group. This name
   * can be used to access the resource.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.subnet.etag]
   * A unique read-only string that changes whenever the resource is updated.
   * @property {object}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.publicIPAddress]
   * The reference of the public IP resource.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.provisioningState]
   * Gets the provisioning state of the public IP resource. Possible values
   * are: 'Updating', 'Deleting', and 'Failed'.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.name]
   * The name of the resource that is unique within a resource group. This name
   * can be used to access the resource.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipConfiguration.etag]
   * A unique read-only string that changes whenever the resource is updated.
   * @property {object}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.dnsSettings]
   * The FQDN of the DNS record associated with the public IP address.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.dnsSettings.domainNameLabel]
   * Gets or sets the Domain name label.The concatenation of the domain name
   * label and the regionalized DNS zone make up the fully qualified domain
   * name associated with the public IP address. If a domain name label is
   * specified, an A DNS record is created for the public IP in the Microsoft
   * Azure DNS system.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.dnsSettings.fqdn]
   * Gets the FQDN, Fully qualified domain name of the A DNS record associated
   * with the public IP. This is the concatenation of the domainNameLabel and
   * the regionalized DNS zone.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.dnsSettings.reverseFqdn]
   * Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name
   * that resolves to this public IP address. If the reverseFqdn is specified,
   * then a PTR DNS record is created pointing from the IP address in the
   * in-addr.arpa domain to the reverse FQDN.
   * @property {object}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings]
   * The DDoS protection custom policy associated with the public IP address.
   * @property {object}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy]
   * The DDoS custom policy associated with the public IP.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy.id]
   * Resource ID.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ddosSettings.protectionCoverage]
   * The DDoS protection policy customizability of the public IP. Only standard
   * coverage will have the ability to be customized. Possible values include:
   * 'Basic', 'Standard'
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipTags]
   * The list of tags associated with the public IP address.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.ipAddress]
   * The IP address associated with the public IP address resource.
   * @property {object}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.publicIPPrefix]
   * The Public IP Prefix this Public IP Address should be allocated from.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.publicIPPrefix.id]
   * Resource ID.
   * @property {number}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.idleTimeoutInMinutes]
   * The idle timeout of the public IP address.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.resourceGuid]
   * The resource GUID property of the public IP resource.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.provisioningState]
   * The provisioning state of the PublicIP resource. Possible values are:
   * 'Updating', 'Deleting', and 'Failed'.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.etag] A
   * unique read-only string that changes whenever the resource is updated.
   * @property {array}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPAddress.zones] A
   * list of availability zones denoting the IP allocated for the resource
   * needs to come from.
   * @property {object}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPPrefix] The
   * reference of the Public IP Prefix resource.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.publicIPPrefix.id]
   * Resource ID.
   * @property {string}
   * [destinationLoadBalancerFrontEndIPConfiguration.provisioningState] Gets
   * the provisioning state of the public IP resource. Possible values are:
   * 'Updating', 'Deleting', and 'Failed'.
   * @property {string} [destinationLoadBalancerFrontEndIPConfiguration.name]
   * The name of the resource that is unique within a resource group. This name
   * can be used to access the resource.
   * @property {string} [destinationLoadBalancerFrontEndIPConfiguration.etag] A
   * unique read-only string that changes whenever the resource is updated.
   * @property {array} [destinationLoadBalancerFrontEndIPConfiguration.zones] A
   * list of availability zones denoting the IP allocated for the resource
   * needs to come from.
   * @property {number} [destinationPort] The VXLAN destination port that will
   * receive the tapped traffic.
   * @property {string} [etag] Gets a unique read-only string that changes
   * whenever the resource is updated.
   */
  constructor() {
    super();
  }

  /**
   * Defines the metadata of VirtualNetworkTap
   *
   * @returns {object} metadata of VirtualNetworkTap
   *
   */
  mapper() {
    return {
      required: false,
      serializedName: 'VirtualNetworkTap',
      type: {
        name: 'Composite',
        className: 'VirtualNetworkTap',
        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'
                  }
              }
            }
          },
          networkInterfaceTapConfigurations: {
            required: false,
            readOnly: true,
            serializedName: 'properties.networkInterfaceTapConfigurations',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'NetworkInterfaceTapConfigurationElementType',
                  type: {
                    name: 'Composite',
                    className: 'NetworkInterfaceTapConfiguration'
                  }
              }
            }
          },
          resourceGuid: {
            required: false,
            readOnly: true,
            serializedName: 'properties.resourceGuid',
            type: {
              name: 'String'
            }
          },
          provisioningState: {
            required: false,
            readOnly: true,
            serializedName: 'properties.provisioningState',
            type: {
              name: 'String'
            }
          },
          destinationNetworkInterfaceIPConfiguration: {
            required: false,
            serializedName: 'properties.destinationNetworkInterfaceIPConfiguration',
            type: {
              name: 'Composite',
              className: 'NetworkInterfaceIPConfiguration'
            }
          },
          destinationLoadBalancerFrontEndIPConfiguration: {
            required: false,
            serializedName: 'properties.destinationLoadBalancerFrontEndIPConfiguration',
            type: {
              name: 'Composite',
              className: 'FrontendIPConfiguration'
            }
          },
          destinationPort: {
            required: false,
            serializedName: 'properties.destinationPort',
            type: {
              name: 'Number'
            }
          },
          etag: {
            required: false,
            serializedName: 'etag',
            type: {
              name: 'String'
            }
          }
        }
      }
    };
  }
}

module.exports = VirtualNetworkTap;
