| | 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 a resource type that has been onboarded to |
| | 18 | | /// private link service, supported by Azure Cognitive Search. |
| | 19 | | /// </summary> |
| | 20 | | public partial class ShareablePrivateLinkResourceProperties |
| | 21 | | { |
| | 22 | | /// <summary> |
| | 23 | | /// Initializes a new instance of the |
| | 24 | | /// ShareablePrivateLinkResourceProperties class. |
| | 25 | | /// </summary> |
| 0 | 26 | | public ShareablePrivateLinkResourceProperties() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 0 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the |
| | 33 | | /// ShareablePrivateLinkResourceProperties class. |
| | 34 | | /// </summary> |
| | 35 | | /// <param name="type">The resource provider type for the resource that |
| | 36 | | /// has been onboarded to private link service, supported by Azure |
| | 37 | | /// Cognitive Search.</param> |
| | 38 | | /// <param name="groupId">The resource provider group id for the |
| | 39 | | /// resource that has been onboarded to private link service, supported |
| | 40 | | /// by Azure Cognitive Search.</param> |
| | 41 | | /// <param name="description">The description of the resource type that |
| | 42 | | /// has been onboarded to private link service, supported by Azure |
| | 43 | | /// Cognitive Search.</param> |
| 0 | 44 | | public ShareablePrivateLinkResourceProperties(string type = default(string), string groupId = default(string), s |
| | 45 | | { |
| 0 | 46 | | Type = type; |
| 0 | 47 | | GroupId = groupId; |
| 0 | 48 | | Description = description; |
| | 49 | | CustomInit(); |
| 0 | 50 | | } |
| | 51 | |
|
| | 52 | | /// <summary> |
| | 53 | | /// An initialization method that performs custom operations like setting defaults |
| | 54 | | /// </summary> |
| | 55 | | partial void CustomInit(); |
| | 56 | |
|
| | 57 | | /// <summary> |
| | 58 | | /// Gets the resource provider type for the resource that has been |
| | 59 | | /// onboarded to private link service, supported by Azure Cognitive |
| | 60 | | /// Search. |
| | 61 | | /// </summary> |
| | 62 | | [JsonProperty(PropertyName = "type")] |
| 0 | 63 | | public string Type { get; private set; } |
| | 64 | |
|
| | 65 | | /// <summary> |
| | 66 | | /// Gets the resource provider group id for the resource that has been |
| | 67 | | /// onboarded to private link service, supported by Azure Cognitive |
| | 68 | | /// Search. |
| | 69 | | /// </summary> |
| | 70 | | [JsonProperty(PropertyName = "groupId")] |
| 0 | 71 | | public string GroupId { get; private set; } |
| | 72 | |
|
| | 73 | | /// <summary> |
| | 74 | | /// Gets the description of the resource type that has been onboarded |
| | 75 | | /// to private link service, supported by Azure Cognitive Search. |
| | 76 | | /// </summary> |
| | 77 | | [JsonProperty(PropertyName = "description")] |
| 0 | 78 | | public string Description { get; private set; } |
| | 79 | |
|
| | 80 | | } |
| | 81 | | } |