| | | 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 an resource type that has been onboarded to private link |
| | | 18 | | /// service, supported by Azure Cognitive Search. |
| | | 19 | | /// </summary> |
| | | 20 | | public partial class ShareablePrivateLinkResourceType |
| | | 21 | | { |
| | | 22 | | /// <summary> |
| | | 23 | | /// Initializes a new instance of the ShareablePrivateLinkResourceType |
| | | 24 | | /// class. |
| | | 25 | | /// </summary> |
| | 0 | 26 | | public ShareablePrivateLinkResourceType() |
| | | 27 | | { |
| | | 28 | | CustomInit(); |
| | 0 | 29 | | } |
| | | 30 | | |
| | | 31 | | /// <summary> |
| | | 32 | | /// Initializes a new instance of the ShareablePrivateLinkResourceType |
| | | 33 | | /// class. |
| | | 34 | | /// </summary> |
| | | 35 | | /// <param name="name">The name of the resource type that has been |
| | | 36 | | /// onboarded to private link service, supported by Azure Cognitive |
| | | 37 | | /// Search.</param> |
| | | 38 | | /// <param name="properties">Describes the properties of a resource |
| | | 39 | | /// type that has been onboarded to private link service, supported by |
| | | 40 | | /// Azure Cognitive Search.</param> |
| | 0 | 41 | | public ShareablePrivateLinkResourceType(string name = default(string), ShareablePrivateLinkResourceProperties pr |
| | | 42 | | { |
| | 0 | 43 | | Name = name; |
| | 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 name of the resource type that has been onboarded to |
| | | 55 | | /// private link service, supported by Azure Cognitive Search. |
| | | 56 | | /// </summary> |
| | | 57 | | [JsonProperty(PropertyName = "name")] |
| | 0 | 58 | | public string Name { get; private set; } |
| | | 59 | | |
| | | 60 | | /// <summary> |
| | | 61 | | /// Gets describes the properties of a resource type that has been |
| | | 62 | | /// onboarded to private link service, supported by Azure Cognitive |
| | | 63 | | /// Search. |
| | | 64 | | /// </summary> |
| | | 65 | | [JsonProperty(PropertyName = "properties")] |
| | 0 | 66 | | public ShareablePrivateLinkResourceProperties Properties { get; private set; } |
| | | 67 | | |
| | | 68 | | } |
| | | 69 | | } |