| | | 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 Microsoft.Rest; |
| | | 14 | | using Microsoft.Rest.Azure; |
| | | 15 | | using Newtonsoft.Json; |
| | | 16 | | using System.Linq; |
| | | 17 | | |
| | | 18 | | /// <summary> |
| | | 19 | | /// Describes a Shared Private Link Resource managed by the Azure Cognitive |
| | | 20 | | /// Search service. |
| | | 21 | | /// </summary> |
| | | 22 | | public partial class SharedPrivateLinkResource : IResource |
| | | 23 | | { |
| | | 24 | | /// <summary> |
| | | 25 | | /// Initializes a new instance of the SharedPrivateLinkResource class. |
| | | 26 | | /// </summary> |
| | 0 | 27 | | public SharedPrivateLinkResource() |
| | | 28 | | { |
| | | 29 | | CustomInit(); |
| | 0 | 30 | | } |
| | | 31 | | |
| | | 32 | | /// <summary> |
| | | 33 | | /// Initializes a new instance of the SharedPrivateLinkResource class. |
| | | 34 | | /// </summary> |
| | | 35 | | /// <param name="name">The name of the shared private link |
| | | 36 | | /// resource.</param> |
| | | 37 | | /// <param name="id">The ID of the shared private link |
| | | 38 | | /// resource.</param> |
| | | 39 | | /// <param name="type">The resource type.</param> |
| | | 40 | | /// <param name="properties">Describes the properties of a Shared |
| | | 41 | | /// Private Link Resource managed by the Azure Cognitive Search |
| | | 42 | | /// service.</param> |
| | 0 | 43 | | public SharedPrivateLinkResource(string name = default(string), string id = default(string), string type = defau |
| | | 44 | | { |
| | 0 | 45 | | Name = name; |
| | 0 | 46 | | Id = id; |
| | 0 | 47 | | Type = type; |
| | 0 | 48 | | Properties = properties; |
| | | 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 name of the shared private link resource. |
| | | 59 | | /// </summary> |
| | | 60 | | [JsonProperty(PropertyName = "name")] |
| | 0 | 61 | | public string Name { get; private set; } |
| | | 62 | | |
| | | 63 | | /// <summary> |
| | | 64 | | /// Gets the ID of the shared private link resource. |
| | | 65 | | /// </summary> |
| | | 66 | | [JsonProperty(PropertyName = "id")] |
| | 0 | 67 | | public string Id { get; private set; } |
| | | 68 | | |
| | | 69 | | /// <summary> |
| | | 70 | | /// Gets the resource type. |
| | | 71 | | /// </summary> |
| | | 72 | | [JsonProperty(PropertyName = "type")] |
| | 0 | 73 | | public string Type { get; private set; } |
| | | 74 | | |
| | | 75 | | /// <summary> |
| | | 76 | | /// Gets or sets describes the properties of a Shared Private Link |
| | | 77 | | /// Resource managed by the Azure Cognitive Search service. |
| | | 78 | | /// </summary> |
| | | 79 | | [JsonProperty(PropertyName = "properties")] |
| | 0 | 80 | | public SharedPrivateLinkResourceProperties Properties { get; set; } |
| | | 81 | | |
| | | 82 | | } |
| | | 83 | | } |