/// <summary>
 /// Initializes a new instance of the HttpSettings class.
 /// </summary>
 /// <param name="id">Resource Id.</param>
 /// <param name="name">Resource Name.</param>
 /// <param name="kind">Kind of resource.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="requireHttps">&lt;code&gt;false&lt;/code&gt; if the
 /// authentication/authorization responses not having the HTTPS scheme
 /// are permissible; otherwise, &lt;code&gt;true&lt;/code&gt;.</param>
 /// <param name="routes">The configuration settings of the paths HTTP
 /// requests.</param>
 /// <param name="forwardProxy">The configuration settings of a forward
 /// proxy used to make the requests.</param>
 public HttpSettings(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool?requireHttps = default(bool?), HttpSettingsRoutes routes = default(HttpSettingsRoutes), ForwardProxy forwardProxy = default(ForwardProxy))
     : base(id, name, kind, type)
 {
     RequireHttps = requireHttps;
     Routes       = routes;
     ForwardProxy = forwardProxy;
     CustomInit();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the HttpSettings class.
 /// </summary>
 /// <param name="requireHttps">&lt;code&gt;false&lt;/code&gt; if the
 /// authentication/authorization responses not having the HTTPS scheme
 /// are permissible; otherwise, &lt;code&gt;true&lt;/code&gt;.</param>
 /// <param name="routes">The configuration settings of the paths HTTP
 /// requests.</param>
 /// <param name="forwardProxy">The configuration settings of a forward
 /// proxy used to make the requests.</param>
 public HttpSettings(bool?requireHttps = default(bool?), HttpSettingsRoutes routes = default(HttpSettingsRoutes), ForwardProxy forwardProxy = default(ForwardProxy))
 {
     RequireHttps = requireHttps;
     Routes       = routes;
     ForwardProxy = forwardProxy;
     CustomInit();
 }