| | 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.Collections; |
| | 15 | | using System.Collections.Generic; |
| | 16 | | using System.Linq; |
| | 17 | |
|
| | 18 | | /// <summary> |
| | 19 | | /// Describes the properties of a supported private link resource for the |
| | 20 | | /// Azure Cognitive Search service. For a given API version, this |
| | 21 | | /// represents the 'supported' groupIds when creating a shared private link |
| | 22 | | /// resource. |
| | 23 | | /// </summary> |
| | 24 | | public partial class PrivateLinkResourceProperties |
| | 25 | | { |
| | 26 | | /// <summary> |
| | 27 | | /// Initializes a new instance of the PrivateLinkResourceProperties |
| | 28 | | /// class. |
| | 29 | | /// </summary> |
| 0 | 30 | | public PrivateLinkResourceProperties() |
| | 31 | | { |
| | 32 | | CustomInit(); |
| 0 | 33 | | } |
| | 34 | |
|
| | 35 | | /// <summary> |
| | 36 | | /// Initializes a new instance of the PrivateLinkResourceProperties |
| | 37 | | /// class. |
| | 38 | | /// </summary> |
| | 39 | | /// <param name="groupId">The group ID of the private link |
| | 40 | | /// resource.</param> |
| | 41 | | /// <param name="requiredMembers">The list of required members of the |
| | 42 | | /// private link resource.</param> |
| | 43 | | /// <param name="requiredZoneNames">The list of required DNS zone names |
| | 44 | | /// of the private link resource.</param> |
| | 45 | | /// <param name="shareablePrivateLinkResourceTypes">The list of |
| | 46 | | /// resources that are onboarded to private link service, that are |
| | 47 | | /// supported by Azure Cognitive Search.</param> |
| 0 | 48 | | public PrivateLinkResourceProperties(string groupId = default(string), IList<string> requiredMembers = default(I |
| | 49 | | { |
| 0 | 50 | | GroupId = groupId; |
| 0 | 51 | | RequiredMembers = requiredMembers; |
| 0 | 52 | | RequiredZoneNames = requiredZoneNames; |
| 0 | 53 | | ShareablePrivateLinkResourceTypes = shareablePrivateLinkResourceTypes; |
| | 54 | | CustomInit(); |
| 0 | 55 | | } |
| | 56 | |
|
| | 57 | | /// <summary> |
| | 58 | | /// An initialization method that performs custom operations like setting defaults |
| | 59 | | /// </summary> |
| | 60 | | partial void CustomInit(); |
| | 61 | |
|
| | 62 | | /// <summary> |
| | 63 | | /// Gets the group ID of the private link resource. |
| | 64 | | /// </summary> |
| | 65 | | [JsonProperty(PropertyName = "groupId")] |
| 0 | 66 | | public string GroupId { get; private set; } |
| | 67 | |
|
| | 68 | | /// <summary> |
| | 69 | | /// Gets the list of required members of the private link resource. |
| | 70 | | /// </summary> |
| | 71 | | [JsonProperty(PropertyName = "requiredMembers")] |
| 0 | 72 | | public IList<string> RequiredMembers { get; private set; } |
| | 73 | |
|
| | 74 | | /// <summary> |
| | 75 | | /// Gets the list of required DNS zone names of the private link |
| | 76 | | /// resource. |
| | 77 | | /// </summary> |
| | 78 | | [JsonProperty(PropertyName = "requiredZoneNames")] |
| 0 | 79 | | public IList<string> RequiredZoneNames { get; private set; } |
| | 80 | |
|
| | 81 | | /// <summary> |
| | 82 | | /// Gets the list of resources that are onboarded to private link |
| | 83 | | /// service, that are supported by Azure Cognitive Search. |
| | 84 | | /// </summary> |
| | 85 | | [JsonProperty(PropertyName = "shareablePrivateLinkResourceTypes")] |
| 0 | 86 | | public IList<ShareablePrivateLinkResourceType> ShareablePrivateLinkResourceTypes { get; private set; } |
| | 87 | |
|
| | 88 | | } |
| | 89 | | } |