public VerificationIPFlowParameters(string targetResourceId, Direction direction, IpFlowProtocol protocol, string localPort, string remotePort, string localIPAddress, string remoteIPAddress) { if (targetResourceId == null) { throw new ArgumentNullException(nameof(targetResourceId)); } if (localPort == null) { throw new ArgumentNullException(nameof(localPort)); } if (remotePort == null) { throw new ArgumentNullException(nameof(remotePort)); } if (localIPAddress == null) { throw new ArgumentNullException(nameof(localIPAddress)); } if (remoteIPAddress == null) { throw new ArgumentNullException(nameof(remoteIPAddress)); } TargetResourceId = targetResourceId; Direction = direction; Protocol = protocol; LocalPort = localPort; RemotePort = remotePort; LocalIPAddress = localIPAddress; RemoteIPAddress = remoteIPAddress; }
internal VerificationIPFlowParameters(string targetResourceId, Direction direction, IpFlowProtocol protocol, string localPort, string remotePort, string localIPAddress, string remoteIPAddress, string targetNicResourceId) { TargetResourceId = targetResourceId; Direction = direction; Protocol = protocol; LocalPort = localPort; RemotePort = remotePort; LocalIPAddress = localIPAddress; RemoteIPAddress = remoteIPAddress; TargetNicResourceId = targetNicResourceId; }