/// <summary> /// Initializes a new instance of the VirtualNetworkTap class. /// </summary> /// <param name="id">Resource ID.</param> /// <param name="name">Resource name.</param> /// <param name="type">Resource type.</param> /// <param name="location">Resource location.</param> /// <param name="tags">Resource tags.</param> /// <param name="networkInterfaceTapConfigurations">Specifies the list /// of resource IDs for the network interface IP configuration that /// needs to be tapped.</param> /// <param name="resourceGuid">The resource GUID property of the /// virtual network tap resource.</param> /// <param name="provisioningState">The provisioning state of the /// virtual network tap resource. Possible values include: 'Succeeded', /// 'Updating', 'Deleting', 'Failed'</param> /// <param name="destinationNetworkInterfaceIPConfiguration">The /// reference to the private IP Address of the collector nic that will /// receive the tap.</param> /// <param name="destinationLoadBalancerFrontEndIPConfiguration">The /// reference to the private IP address on the internal Load Balancer /// that will receive the tap.</param> /// <param name="destinationPort">The VXLAN destination port that will /// receive the tapped traffic.</param> /// <param name="etag">A unique read-only string that changes whenever /// the resource is updated.</param> public VirtualNetworkTap(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), IList <NetworkInterfaceTapConfiguration> networkInterfaceTapConfigurations = default(IList <NetworkInterfaceTapConfiguration>), string resourceGuid = default(string), string provisioningState = default(string), NetworkInterfaceIPConfiguration destinationNetworkInterfaceIPConfiguration = default(NetworkInterfaceIPConfiguration), FrontendIPConfiguration destinationLoadBalancerFrontEndIPConfiguration = default(FrontendIPConfiguration), int?destinationPort = default(int?), string etag = default(string)) : base(id, name, type, location, tags) { NetworkInterfaceTapConfigurations = networkInterfaceTapConfigurations; ResourceGuid = resourceGuid; ProvisioningState = provisioningState; DestinationNetworkInterfaceIPConfiguration = destinationNetworkInterfaceIPConfiguration; DestinationLoadBalancerFrontEndIPConfiguration = destinationLoadBalancerFrontEndIPConfiguration; DestinationPort = destinationPort; Etag = etag; CustomInit(); }
/// <summary> /// Initializes a new instance of the InboundNatRule class. /// </summary> /// <param name="id">Resource ID.</param> /// <param name="frontendIPConfiguration">A reference to frontend IP /// addresses.</param> /// <param name="backendIPConfiguration">A reference to a private IP /// address defined on a network interface of a VM. Traffic sent to the /// frontend port of each of the frontend IP configurations is /// forwarded to the backend IP.</param> /// <param name="protocol">The reference to the transport protocol used /// by the load balancing rule. Possible values include: 'Udp', 'Tcp', /// 'All'</param> /// <param name="frontendPort">The port for the external endpoint. Port /// numbers for each rule must be unique within the Load Balancer. /// Acceptable values range from 1 to 65534.</param> /// <param name="backendPort">The port used for the internal endpoint. /// Acceptable values range from 1 to 65535.</param> /// <param name="idleTimeoutInMinutes">The timeout for the TCP idle /// connection. The value can be set between 4 and 30 minutes. The /// default value is 4 minutes. This element is only used when the /// protocol is set to TCP.</param> /// <param name="enableFloatingIP">Configures a virtual machine's /// endpoint for the floating IP capability required to configure a SQL /// AlwaysOn Availability Group. This setting is required when using /// the SQL AlwaysOn Availability Groups in SQL server. This setting /// can't be changed after you create the endpoint.</param> /// <param name="enableTcpReset">Receive bidirectional TCP Reset on TCP /// flow idle timeout or unexpected connection termination. This /// element is only used when the protocol is set to TCP.</param> /// <param name="provisioningState">The provisioning state of the /// inbound NAT rule resource. Possible values include: 'Succeeded', /// 'Updating', 'Deleting', 'Failed'</param> /// <param name="name">The name of the resource that is unique within /// the set of inbound NAT rules used by the load balancer. This name /// can be used to access the resource.</param> /// <param name="etag">A unique read-only string that changes whenever /// the resource is updated.</param> /// <param name="type">Type of the resource.</param> public InboundNatRule(string id = default(string), SubResource frontendIPConfiguration = default(SubResource), NetworkInterfaceIPConfiguration backendIPConfiguration = default(NetworkInterfaceIPConfiguration), string protocol = default(string), int?frontendPort = default(int?), int?backendPort = default(int?), int?idleTimeoutInMinutes = default(int?), bool?enableFloatingIP = default(bool?), bool?enableTcpReset = default(bool?), string provisioningState = default(string), string name = default(string), string etag = default(string), string type = default(string)) : base(id) { FrontendIPConfiguration = frontendIPConfiguration; BackendIPConfiguration = backendIPConfiguration; Protocol = protocol; FrontendPort = frontendPort; BackendPort = backendPort; IdleTimeoutInMinutes = idleTimeoutInMinutes; EnableFloatingIP = enableFloatingIP; EnableTcpReset = enableTcpReset; ProvisioningState = provisioningState; Name = name; Etag = etag; Type = type; CustomInit(); }