| | | 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.EventGrid.Models |
| | | 12 | | { |
| | | 13 | | using Newtonsoft.Json; |
| | | 14 | | using System.Linq; |
| | | 15 | | |
| | | 16 | | /// <summary> |
| | | 17 | | /// Schema of the Data property of an EventGridEvent for an |
| | | 18 | | /// Microsoft.MachineLearningServices.ModelDeployed event. |
| | | 19 | | /// </summary> |
| | | 20 | | public partial class MachineLearningServicesModelDeployedEventData |
| | | 21 | | { |
| | | 22 | | /// <summary> |
| | | 23 | | /// Initializes a new instance of the |
| | | 24 | | /// MachineLearningServicesModelDeployedEventData class. |
| | | 25 | | /// </summary> |
| | 1 | 26 | | public MachineLearningServicesModelDeployedEventData() |
| | | 27 | | { |
| | | 28 | | CustomInit(); |
| | 1 | 29 | | } |
| | | 30 | | |
| | | 31 | | /// <summary> |
| | | 32 | | /// Initializes a new instance of the |
| | | 33 | | /// MachineLearningServicesModelDeployedEventData class. |
| | | 34 | | /// </summary> |
| | | 35 | | /// <param name="serviceName">The name of the deployed service.</param> |
| | | 36 | | /// <param name="serviceComputeType">The compute type (e.g. ACI, AKS) |
| | | 37 | | /// of the deployed service.</param> |
| | | 38 | | /// <param name="modelIds">A common separated list of model IDs. The |
| | | 39 | | /// IDs of the models deployed in the service.</param> |
| | | 40 | | /// <param name="serviceTags">The tags of the deployed service.</param> |
| | | 41 | | /// <param name="serviceProperties">The properties of the deployed |
| | | 42 | | /// service.</param> |
| | 0 | 43 | | public MachineLearningServicesModelDeployedEventData(string serviceName = default(string), string serviceCompute |
| | | 44 | | { |
| | 0 | 45 | | ServiceName = serviceName; |
| | 0 | 46 | | ServiceComputeType = serviceComputeType; |
| | 0 | 47 | | ModelIds = modelIds; |
| | 0 | 48 | | ServiceTags = serviceTags; |
| | 0 | 49 | | ServiceProperties = serviceProperties; |
| | | 50 | | CustomInit(); |
| | 0 | 51 | | } |
| | | 52 | | |
| | | 53 | | /// <summary> |
| | | 54 | | /// An initialization method that performs custom operations like setting defaults |
| | | 55 | | /// </summary> |
| | | 56 | | partial void CustomInit(); |
| | | 57 | | |
| | | 58 | | /// <summary> |
| | | 59 | | /// Gets or sets the name of the deployed service. |
| | | 60 | | /// </summary> |
| | | 61 | | [JsonProperty(PropertyName = "serviceName")] |
| | 2 | 62 | | public string ServiceName { get; set; } |
| | | 63 | | |
| | | 64 | | /// <summary> |
| | | 65 | | /// Gets or sets the compute type (e.g. ACI, AKS) of the deployed |
| | | 66 | | /// service. |
| | | 67 | | /// </summary> |
| | | 68 | | [JsonProperty(PropertyName = "serviceComputeType")] |
| | 0 | 69 | | public string ServiceComputeType { get; set; } |
| | | 70 | | |
| | | 71 | | /// <summary> |
| | | 72 | | /// Gets or sets a common separated list of model IDs. The IDs of the |
| | | 73 | | /// models deployed in the service. |
| | | 74 | | /// </summary> |
| | | 75 | | [JsonProperty(PropertyName = "modelIds")] |
| | 2 | 76 | | public string ModelIds { get; set; } |
| | | 77 | | |
| | | 78 | | /// <summary> |
| | | 79 | | /// Gets or sets the tags of the deployed service. |
| | | 80 | | /// </summary> |
| | | 81 | | [JsonProperty(PropertyName = "serviceTags")] |
| | 2 | 82 | | public object ServiceTags { get; set; } |
| | | 83 | | |
| | | 84 | | /// <summary> |
| | | 85 | | /// Gets or sets the properties of the deployed service. |
| | | 86 | | /// </summary> |
| | | 87 | | [JsonProperty(PropertyName = "serviceProperties")] |
| | 2 | 88 | | public object ServiceProperties { get; set; } |
| | | 89 | | |
| | | 90 | | } |
| | | 91 | | } |