Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update codegen
  • Loading branch information
Han-msft committed Oct 9, 2024
commit 2a40cbaf41f4c555b3e3ffa8329905d3c15e7e20

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To create a large person group, you'll need `LargePersonGroupClient` object.
```C# Snippet:CreateLargePersonGroupClient
Uri endpoint = new Uri("<your endpoint>");
DefaultAzureCredential credential = new DefaultAzureCredential();
var client = new LargePersonGroupClient(endpoint, credential);
var groupClient = new LargePersonGroupClient(endpoint, credential);
```

Call `Create` to create a large person group. You need to provide the ID of the large person group you want to create with a name and optional user data.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To create a large person group, you'll need `LargePersonGroupClient` object.
```C# Snippet:CreateLargePersonGroupClient
Uri endpoint = new Uri("<your endpoint>");
DefaultAzureCredential credential = new DefaultAzureCredential();
var client = new LargePersonGroupClient(endpoint, credential);
var groupClient = new LargePersonGroupClient(endpoint, credential);
```

Call `CreateAsync` to create a large person group. You need to provide the ID of the large person group you want to create with a name and optional user data.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To create a large face list, you'll need `LargeFaceListClient` object.
```C# Snippet:CreateLargeFaceListClient
Uri endpoint = new Uri("<your endpoint>");
DefaultAzureCredential credential = new DefaultAzureCredential();
var client = new LargeFaceListClient(endpoint, credential);
var listClient = new LargeFaceListClient(endpoint, credential);
```

Call `Create` to create a large face list. You can specify the `name` and `userData` for the large face list.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To create a large face list, you'll need `LargeFaceListClient` object.
```C# Snippet:CreateLargeFaceListClient
Uri endpoint = new Uri("<your endpoint>");
DefaultAzureCredential credential = new DefaultAzureCredential();
var client = new LargeFaceListClient(endpoint, credential);
var listClient = new LargeFaceListClient(endpoint, credential);
```

Call `CreateAsync` to create a large face list. You can specify the `name` and `userData` for the large face list.
Expand Down
226 changes: 0 additions & 226 deletions sdk/face/Azure.AI.Vision.Face/src/Custom/FaceListClient.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public partial class FaceSessionClient
/// <exception cref="ArgumentNullException"> <paramref name="jsonContent"/> is null. </exception>
/// <remarks> Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/create-liveness-with-verify-session-with-verify-image for more details. </remarks>
[ForwardsClientCalls]
public virtual async Task<Response<CreateLivenessWithVerifySessionResult>> CreateLivenessWithVerifySessionAsync(CreateLivenessWithVerifySessionJsonContent jsonContent, Stream verifyImage, CancellationToken cancellationToken = default)
public virtual async Task<Response<CreateLivenessWithVerifySessionResult>> CreateLivenessWithVerifySessionAsync(CreateLivenessWithVerifySessionContent jsonContent, Stream verifyImage, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(jsonContent, nameof(jsonContent));

Expand All @@ -39,7 +39,7 @@ public virtual async Task<Response<CreateLivenessWithVerifySessionResult>> Creat
/// <exception cref="ArgumentNullException"> <paramref name="jsonContent"/> is null. </exception>
/// <remarks> Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/create-liveness-with-verify-session-with-verify-image for more details. </remarks>
[ForwardsClientCalls]
public virtual Response<CreateLivenessWithVerifySessionResult> CreateLivenessWithVerifySession(CreateLivenessWithVerifySessionJsonContent jsonContent, Stream verifyImage, CancellationToken cancellationToken = default)
public virtual Response<CreateLivenessWithVerifySessionResult> CreateLivenessWithVerifySession(CreateLivenessWithVerifySessionContent jsonContent, Stream verifyImage, CancellationToken cancellationToken = default)
{
Argument.AssertNotNull(jsonContent, nameof(jsonContent));

Expand Down
72 changes: 30 additions & 42 deletions sdk/face/Azure.AI.Vision.Face/src/Custom/LargeFaceListClient.cs

Large diffs are not rendered by default.

Large diffs are not rendered by default.

232 changes: 0 additions & 232 deletions sdk/face/Azure.AI.Vision.Face/src/Custom/PersonGroupClient.cs

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading