-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
MachineLearningCustomModelJobInput.cs
44 lines (37 loc) · 1.75 KB
/
MachineLearningCustomModelJobInput.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.ResourceManager.MachineLearning.Models
{
/// <summary> The MachineLearningCustomModelJobInput. </summary>
public partial class MachineLearningCustomModelJobInput : MachineLearningJobInput
{
/// <summary> Initializes a new instance of MachineLearningCustomModelJobInput. </summary>
/// <param name="uri"> [Required] Input Asset URI. </param>
/// <exception cref="ArgumentNullException"> <paramref name="uri"/> is null. </exception>
public MachineLearningCustomModelJobInput(Uri uri)
{
Argument.AssertNotNull(uri, nameof(uri));
Uri = uri;
JobInputType = JobInputType.CustomModel;
}
/// <summary> Initializes a new instance of MachineLearningCustomModelJobInput. </summary>
/// <param name="description"> Description for the input. </param>
/// <param name="jobInputType"> [Required] Specifies the type of job. </param>
/// <param name="mode"> Input Asset Delivery Mode. </param>
/// <param name="uri"> [Required] Input Asset URI. </param>
internal MachineLearningCustomModelJobInput(string description, JobInputType jobInputType, MachineLearningInputDeliveryMode? mode, Uri uri) : base(description, jobInputType)
{
Mode = mode;
Uri = uri;
JobInputType = jobInputType;
}
/// <summary> Input Asset Delivery Mode. </summary>
public MachineLearningInputDeliveryMode? Mode { get; set; }
/// <summary> [Required] Input Asset URI. </summary>
public Uri Uri { get; set; }
}
}