| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | // <auto-generated/> |
| | | 5 | | |
| | | 6 | | #nullable disable |
| | | 7 | | |
| | | 8 | | using System.Collections.Generic; |
| | | 9 | | |
| | | 10 | | namespace Azure.ResourceManager.Network.Models |
| | | 11 | | { |
| | | 12 | | /// <summary> HTTP configuration of the connectivity check. </summary> |
| | | 13 | | public partial class HttpConfiguration |
| | | 14 | | { |
| | | 15 | | /// <summary> Initializes a new instance of HttpConfiguration. </summary> |
| | 0 | 16 | | public HttpConfiguration() |
| | | 17 | | { |
| | 0 | 18 | | Method = "Get"; |
| | 0 | 19 | | } |
| | | 20 | | |
| | | 21 | | /// <summary> Initializes a new instance of HttpConfiguration. </summary> |
| | | 22 | | /// <param name="method"> HTTP method. </param> |
| | | 23 | | /// <param name="headers"> List of HTTP headers. </param> |
| | | 24 | | /// <param name="validStatusCodes"> Valid status codes. </param> |
| | 0 | 25 | | internal HttpConfiguration(string method, IList<HttpHeader> headers, IList<int> validStatusCodes) |
| | | 26 | | { |
| | 0 | 27 | | Method = method; |
| | 0 | 28 | | Headers = headers; |
| | 0 | 29 | | ValidStatusCodes = validStatusCodes; |
| | 0 | 30 | | } |
| | | 31 | | |
| | | 32 | | /// <summary> HTTP method. </summary> |
| | 0 | 33 | | public string Method { get; set; } |
| | | 34 | | /// <summary> List of HTTP headers. </summary> |
| | 0 | 35 | | public IList<HttpHeader> Headers { get; set; } |
| | | 36 | | /// <summary> Valid status codes. </summary> |
| | 0 | 37 | | public IList<int> ValidStatusCodes { get; set; } |
| | | 38 | | } |
| | | 39 | | } |