| | 1 | | // <auto-generated> |
| | 2 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 3 | | // Licensed under the MIT License. See License.txt in the project root for |
| | 4 | | // license information. |
| | 5 | | // |
| | 6 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 7 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 8 | | // regenerated. |
| | 9 | | // </auto-generated> |
| | 10 | |
|
| | 11 | | namespace Microsoft.Azure.Management.Search.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Linq; |
| | 15 | |
|
| | 16 | | /// <summary> |
| | 17 | | /// Describes the current state of an existing Private Link Service |
| | 18 | | /// connection to the Azure Private Endpoint. |
| | 19 | | /// </summary> |
| | 20 | | public partial class PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState |
| | 21 | | { |
| | 22 | | /// <summary> |
| | 23 | | /// Initializes a new instance of the |
| | 24 | | /// PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState |
| | 25 | | /// class. |
| | 26 | | /// </summary> |
| 0 | 27 | | public PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState() |
| | 28 | | { |
| | 29 | | CustomInit(); |
| 0 | 30 | | } |
| | 31 | |
|
| | 32 | | /// <summary> |
| | 33 | | /// Initializes a new instance of the |
| | 34 | | /// PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState |
| | 35 | | /// class. |
| | 36 | | /// </summary> |
| | 37 | | /// <param name="status">Status of the the private link service |
| | 38 | | /// connection. Can be Pending, Approved, Rejected, or Disconnected. |
| | 39 | | /// Possible values include: 'Pending', 'Approved', 'Rejected', |
| | 40 | | /// 'Disconnected'</param> |
| | 41 | | /// <param name="description">The description for the private link |
| | 42 | | /// service connection state.</param> |
| | 43 | | /// <param name="actionsRequired">A description of any extra actions |
| | 44 | | /// that may be required.</param> |
| 0 | 45 | | public PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionStatus? |
| | 46 | | { |
| 0 | 47 | | Status = status; |
| 0 | 48 | | Description = description; |
| 0 | 49 | | ActionsRequired = actionsRequired; |
| | 50 | | CustomInit(); |
| 0 | 51 | | } |
| | 52 | |
|
| | 53 | | /// <summary> |
| | 54 | | /// An initialization method that performs custom operations like setting defaults |
| | 55 | | /// </summary> |
| | 56 | | partial void CustomInit(); |
| | 57 | |
|
| | 58 | | /// <summary> |
| | 59 | | /// Gets or sets status of the the private link service connection. Can |
| | 60 | | /// be Pending, Approved, Rejected, or Disconnected. Possible values |
| | 61 | | /// include: 'Pending', 'Approved', 'Rejected', 'Disconnected' |
| | 62 | | /// </summary> |
| | 63 | | [JsonProperty(PropertyName = "status")] |
| 0 | 64 | | public PrivateLinkServiceConnectionStatus? Status { get; set; } |
| | 65 | |
|
| | 66 | | /// <summary> |
| | 67 | | /// Gets or sets the description for the private link service |
| | 68 | | /// connection state. |
| | 69 | | /// </summary> |
| | 70 | | [JsonProperty(PropertyName = "description")] |
| 0 | 71 | | public string Description { get; set; } |
| | 72 | |
|
| | 73 | | /// <summary> |
| | 74 | | /// Gets or sets a description of any extra actions that may be |
| | 75 | | /// required. |
| | 76 | | /// </summary> |
| | 77 | | [JsonProperty(PropertyName = "actionsRequired")] |
| 0 | 78 | | public string ActionsRequired { get; set; } |
| | 79 | |
|
| | 80 | | } |
| | 81 | | } |