-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Azure.AI.Projects] Fix Inference endpoint construction and expose Co…
…nnection types (#47219) * [Azure.AI.Projects] Fix Inference Endpoint Construction and Expose Connection Types
- Loading branch information
1 parent
b2ca234
commit d42ecc8
Showing
29 changed files
with
375 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 60 additions & 20 deletions
80
sdk/ai/Azure.AI.Projects/api/Azure.AI.Projects.netstandard2.0.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
sdk/ai/Azure.AI.Projects/src/Custom/Connection/ConnectionProperties.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
using Azure.Core; | ||
|
||
namespace Azure.AI.Projects | ||
{ | ||
[CodeGenModel("InternalConnectionProperties")] | ||
public abstract partial class ConnectionProperties | ||
{ | ||
/// <summary> Authentication type of the connection target. </summary> | ||
public AuthenticationType AuthType { get; set; } | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
sdk/ai/Azure.AI.Projects/src/Custom/Connection/ConnectionPropertiesApiKeyAuth.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
using Azure.Core; | ||
|
||
namespace Azure.AI.Projects | ||
{ | ||
[CodeGenModel("InternalConnectionPropertiesApiKeyAuth")] | ||
public partial class ConnectionPropertiesApiKeyAuth : ConnectionProperties | ||
{ | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
sdk/ai/Azure.AI.Projects/src/Custom/Connection/ConnectionResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using Azure.Core; | ||
|
||
namespace Azure.AI.Projects | ||
{ | ||
/// <summary> Response from the listSecrets operation. </summary> | ||
[CodeGenModel("GetConnectionResponse")] | ||
public partial class ConnectionResponse | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
sdk/ai/Azure.AI.Projects/src/Custom/Connection/CredentialsApiKeyAuth.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
namespace Azure.AI.Projects | ||
{ | ||
/// <summary> The credentials needed for API key authentication. </summary> | ||
public partial class CredentialsApiKeyAuth | ||
{ | ||
} | ||
} |
19 changes: 0 additions & 19 deletions
19
sdk/ai/Azure.AI.Projects/src/Custom/Connection/GetConnectionResponse.cs
This file was deleted.
Oops, something went wrong.
45 changes: 43 additions & 2 deletions
45
sdk/ai/Azure.AI.Projects/src/Generated/AIProjectsModelFactory.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.