< Summary

Class:Microsoft.Azure.EventGrid.Models.MachineLearningServicesModelDeployedEventData
Assembly:Microsoft.Azure.EventGrid
File(s):C:\Git\azure-sdk-for-net\sdk\eventgrid\Microsoft.Azure.EventGrid\src\Generated\Models\MachineLearningServicesModelDeployedEventData.cs
Covered lines:6
Uncovered lines:8
Coverable lines:14
Total lines:91
Line coverage:42.8% (6 of 14)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_ServiceName()-100%100%
get_ServiceComputeType()-0%100%
get_ModelIds()-100%100%
get_ServiceTags()-100%100%
get_ServiceProperties()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\eventgrid\Microsoft.Azure.EventGrid\src\Generated\Models\MachineLearningServicesModelDeployedEventData.cs

#LineLine coverage
 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
 11namespace 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>
 126        public MachineLearningServicesModelDeployedEventData()
 27        {
 28            CustomInit();
 129        }
 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>
 043        public MachineLearningServicesModelDeployedEventData(string serviceName = default(string), string serviceCompute
 44        {
 045            ServiceName = serviceName;
 046            ServiceComputeType = serviceComputeType;
 047            ModelIds = modelIds;
 048            ServiceTags = serviceTags;
 049            ServiceProperties = serviceProperties;
 50            CustomInit();
 051        }
 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")]
 262        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")]
 069        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")]
 276        public string ModelIds { get; set; }
 77
 78        /// <summary>
 79        /// Gets or sets the tags of the deployed service.
 80        /// </summary>
 81        [JsonProperty(PropertyName = "serviceTags")]
 282        public object ServiceTags { get; set; }
 83
 84        /// <summary>
 85        /// Gets or sets the properties of the deployed service.
 86        /// </summary>
 87        [JsonProperty(PropertyName = "serviceProperties")]
 288        public object ServiceProperties { get; set; }
 89
 90    }
 91}