-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
CognitiveServicesAccount.cs
31 lines (27 loc) · 1.57 KB
/
CognitiveServicesAccount.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.Search.Documents.Indexes.Models
{
/// <summary>
/// Base type for describing any Azure AI service resource attached to a skillset.
/// Please note <see cref="CognitiveServicesAccount"/> is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.
/// The available derived classes include <see cref="CognitiveServicesAccountKey"/> and <see cref="DefaultCognitiveServicesAccount"/>.
/// </summary>
public partial class CognitiveServicesAccount
{
/// <summary> Initializes a new instance of <see cref="CognitiveServicesAccount"/>. </summary>
/// <param name="oDataType"> A URI fragment specifying the type of Azure AI service resource attached to a skillset. </param>
/// <param name="description"> Description of the Azure AI service resource attached to a skillset. </param>
internal CognitiveServicesAccount(string oDataType, string description)
{
ODataType = oDataType;
Description = description;
}
/// <summary> A URI fragment specifying the type of Azure AI service resource attached to a skillset. </summary>
internal string ODataType { get; set; }
/// <summary> Description of the Azure AI service resource attached to a skillset. </summary>
public string Description { get; set; }
}
}