/
AppServiceHttpSettings.cs
48 lines (42 loc) · 2.31 KB
/
AppServiceHttpSettings.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.AppService.Models
{
/// <summary> The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization. </summary>
public partial class AppServiceHttpSettings
{
/// <summary> Initializes a new instance of AppServiceHttpSettings. </summary>
public AppServiceHttpSettings()
{
}
/// <summary> Initializes a new instance of AppServiceHttpSettings. </summary>
/// <param name="isHttpsRequired"> <code>false</code> if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, <code>true</code>. </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>
internal AppServiceHttpSettings(bool? isHttpsRequired, AppServiceHttpSettingsRoutes routes, AppServiceForwardProxy forwardProxy)
{
IsHttpsRequired = isHttpsRequired;
Routes = routes;
ForwardProxy = forwardProxy;
}
/// <summary> <code>false</code> if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, <code>true</code>. </summary>
public bool? IsHttpsRequired { get; set; }
/// <summary> The configuration settings of the paths HTTP requests. </summary>
internal AppServiceHttpSettingsRoutes Routes { get; set; }
/// <summary> The prefix that should precede all the authentication/authorization paths. </summary>
public string RoutesApiPrefix
{
get => Routes is null ? default : Routes.ApiPrefix;
set
{
if (Routes is null)
Routes = new AppServiceHttpSettingsRoutes();
Routes.ApiPrefix = value;
}
}
/// <summary> The configuration settings of a forward proxy used to make the requests. </summary>
public AppServiceForwardProxy ForwardProxy { get; set; }
}
}