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