| | 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 properties of an existing Shared Private Link Resource |
| | 18 | | /// managed by the Azure Cognitive Search service. |
| | 19 | | /// </summary> |
| | 20 | | public partial class SharedPrivateLinkResourceProperties |
| | 21 | | { |
| | 22 | | /// <summary> |
| | 23 | | /// Initializes a new instance of the |
| | 24 | | /// SharedPrivateLinkResourceProperties class. |
| | 25 | | /// </summary> |
| 0 | 26 | | public SharedPrivateLinkResourceProperties() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 0 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the |
| | 33 | | /// SharedPrivateLinkResourceProperties class. |
| | 34 | | /// </summary> |
| | 35 | | /// <param name="privateLinkResourceId">The resource id of the resource |
| | 36 | | /// the shared private link resource is for.</param> |
| | 37 | | /// <param name="groupId">The group id from the provider of resource |
| | 38 | | /// the shared private link resource is for.</param> |
| | 39 | | /// <param name="requestMessage">The request message for requesting |
| | 40 | | /// approval of the shared private link resource.</param> |
| | 41 | | /// <param name="status">Status of the shared private link resource. |
| | 42 | | /// Can be Pending, Approved, Rejected, Disconnected, or Timeout. |
| | 43 | | /// Possible values include: 'Pending', 'Approved', 'Rejected', |
| | 44 | | /// 'Disconnected', 'Timeout'</param> |
| 0 | 45 | | public SharedPrivateLinkResourceProperties(string privateLinkResourceId = default(string), string groupId = defa |
| | 46 | | { |
| 0 | 47 | | PrivateLinkResourceId = privateLinkResourceId; |
| 0 | 48 | | GroupId = groupId; |
| 0 | 49 | | RequestMessage = requestMessage; |
| 0 | 50 | | Status = status; |
| | 51 | | CustomInit(); |
| 0 | 52 | | } |
| | 53 | |
|
| | 54 | | /// <summary> |
| | 55 | | /// An initialization method that performs custom operations like setting defaults |
| | 56 | | /// </summary> |
| | 57 | | partial void CustomInit(); |
| | 58 | |
|
| | 59 | | /// <summary> |
| | 60 | | /// Gets or sets the resource id of the resource the shared private |
| | 61 | | /// link resource is for. |
| | 62 | | /// </summary> |
| | 63 | | [JsonProperty(PropertyName = "privateLinkResourceId")] |
| 0 | 64 | | public string PrivateLinkResourceId { get; set; } |
| | 65 | |
|
| | 66 | | /// <summary> |
| | 67 | | /// Gets or sets the group id from the provider of resource the shared |
| | 68 | | /// private link resource is for. |
| | 69 | | /// </summary> |
| | 70 | | [JsonProperty(PropertyName = "groupId")] |
| 0 | 71 | | public string GroupId { get; set; } |
| | 72 | |
|
| | 73 | | /// <summary> |
| | 74 | | /// Gets or sets the request message for requesting approval of the |
| | 75 | | /// shared private link resource. |
| | 76 | | /// </summary> |
| | 77 | | [JsonProperty(PropertyName = "requestMessage")] |
| 0 | 78 | | public string RequestMessage { get; set; } |
| | 79 | |
|
| | 80 | | /// <summary> |
| | 81 | | /// Gets or sets status of the shared private link resource. Can be |
| | 82 | | /// Pending, Approved, Rejected, Disconnected, or Timeout. Possible |
| | 83 | | /// values include: 'Pending', 'Approved', 'Rejected', 'Disconnected', |
| | 84 | | /// 'Timeout' |
| | 85 | | /// </summary> |
| | 86 | | [JsonProperty(PropertyName = "status")] |
| 0 | 87 | | public SharedPrivateLinkResourceStatus? Status { get; set; } |
| | 88 | |
|
| | 89 | | } |
| | 90 | | } |