/// <summary> /// Initializes a new instance of the EndpointBase class. /// </summary> /// <param name="credentials">Credentials to be presented to the /// endpoint.</param> /// <param name="url">The endpoint URL for Video Analyzer to connect /// to.</param> /// <param name="tunnel">Describes the tunnel through which Video /// Analyzer can connect to the endpoint URL. This is an optional /// property, typically used when the endpoint is behind a /// firewall.</param> public EndpointBase(CredentialsBase credentials, string url, TunnelBase tunnel = default(TunnelBase)) { Credentials = credentials; Url = url; Tunnel = tunnel; CustomInit(); }
/// <summary> /// Initializes a new instance of the TlsEndpoint class. /// </summary> /// <param name="credentials">Credentials to be presented to the /// endpoint.</param> /// <param name="url">The endpoint URL for Video Analyzer to connect /// to.</param> /// <param name="tunnel">Describes the tunnel through which Video /// Analyzer can connect to the endpoint URL. This is an optional /// property, typically used when the endpoint is behind a /// firewall.</param> /// <param name="trustedCertificates">List of trusted certificate /// authorities when authenticating a TLS connection. A null list /// designates that Azure Video Analyzer's list of trusted authorities /// should be used.</param> /// <param name="validationOptions">Validation options to use when /// authenticating a TLS connection. By default, strict validation is /// used.</param> public TlsEndpoint(CredentialsBase credentials, string url, TunnelBase tunnel = default(TunnelBase), CertificateSource trustedCertificates = default(CertificateSource), TlsValidationOptions validationOptions = default(TlsValidationOptions)) : base(credentials, url, tunnel) { TrustedCertificates = trustedCertificates; ValidationOptions = validationOptions; CustomInit(); }
/// <summary> /// Initializes a new instance of the UnsecuredEndpoint class. /// </summary> /// <param name="credentials">Credentials to be presented to the /// endpoint.</param> /// <param name="url">The endpoint URL for Video Analyzer to connect /// to.</param> /// <param name="tunnel">Describes the tunnel through which Video /// Analyzer can connect to the endpoint URL. This is an optional /// property, typically used when the endpoint is behind a /// firewall.</param> public UnsecuredEndpoint(CredentialsBase credentials, string url, TunnelBase tunnel = default(TunnelBase)) : base(credentials, url, tunnel) { CustomInit(); }