Skip to content

Commit 2a40cba

Browse files
committed
Update codegen
1 parent f0cc52f commit 2a40cba

File tree

80 files changed

+1707
-17686
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+1707
-17686
lines changed

sdk/face/Azure.AI.Vision.Face/api/Azure.AI.Vision.Face.netstandard2.0.cs

Lines changed: 85 additions & 85 deletions
Large diffs are not rendered by default.

sdk/face/Azure.AI.Vision.Face/samples/Sample5_LargePersonGroup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To create a large person group, you'll need `LargePersonGroupClient` object.
1111
```C# Snippet:CreateLargePersonGroupClient
1212
Uri endpoint = new Uri("<your endpoint>");
1313
DefaultAzureCredential credential = new DefaultAzureCredential();
14-
var client = new LargePersonGroupClient(endpoint, credential);
14+
var groupClient = new LargePersonGroupClient(endpoint, credential);
1515
```
1616

1717
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.

sdk/face/Azure.AI.Vision.Face/samples/Sample5_LargePersonGroupAsync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To create a large person group, you'll need `LargePersonGroupClient` object.
1111
```C# Snippet:CreateLargePersonGroupClient
1212
Uri endpoint = new Uri("<your endpoint>");
1313
DefaultAzureCredential credential = new DefaultAzureCredential();
14-
var client = new LargePersonGroupClient(endpoint, credential);
14+
var groupClient = new LargePersonGroupClient(endpoint, credential);
1515
```
1616

1717
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.

sdk/face/Azure.AI.Vision.Face/samples/Sample6_LargeFaceList.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To create a large face list, you'll need `LargeFaceListClient` object.
1111
```C# Snippet:CreateLargeFaceListClient
1212
Uri endpoint = new Uri("<your endpoint>");
1313
DefaultAzureCredential credential = new DefaultAzureCredential();
14-
var client = new LargeFaceListClient(endpoint, credential);
14+
var listClient = new LargeFaceListClient(endpoint, credential);
1515
```
1616

1717
Call `Create` to create a large face list. You can specify the `name` and `userData` for the large face list.

sdk/face/Azure.AI.Vision.Face/samples/Sample6_LargeFaceListAsync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To create a large face list, you'll need `LargeFaceListClient` object.
1111
```C# Snippet:CreateLargeFaceListClient
1212
Uri endpoint = new Uri("<your endpoint>");
1313
DefaultAzureCredential credential = new DefaultAzureCredential();
14-
var client = new LargeFaceListClient(endpoint, credential);
14+
var listClient = new LargeFaceListClient(endpoint, credential);
1515
```
1616

1717
Call `CreateAsync` to create a large face list. You can specify the `name` and `userData` for the large face list.

sdk/face/Azure.AI.Vision.Face/src/Custom/FaceListClient.cs

Lines changed: 0 additions & 226 deletions
This file was deleted.

sdk/face/Azure.AI.Vision.Face/src/Custom/FaceSessionClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public partial class FaceSessionClient
1919
/// <exception cref="ArgumentNullException"> <paramref name="jsonContent"/> is null. </exception>
2020
/// <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>
2121
[ForwardsClientCalls]
22-
public virtual async Task<Response<CreateLivenessWithVerifySessionResult>> CreateLivenessWithVerifySessionAsync(CreateLivenessWithVerifySessionJsonContent jsonContent, Stream verifyImage, CancellationToken cancellationToken = default)
22+
public virtual async Task<Response<CreateLivenessWithVerifySessionResult>> CreateLivenessWithVerifySessionAsync(CreateLivenessWithVerifySessionContent jsonContent, Stream verifyImage, CancellationToken cancellationToken = default)
2323
{
2424
Argument.AssertNotNull(jsonContent, nameof(jsonContent));
2525

@@ -39,7 +39,7 @@ public virtual async Task<Response<CreateLivenessWithVerifySessionResult>> Creat
3939
/// <exception cref="ArgumentNullException"> <paramref name="jsonContent"/> is null. </exception>
4040
/// <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>
4141
[ForwardsClientCalls]
42-
public virtual Response<CreateLivenessWithVerifySessionResult> CreateLivenessWithVerifySession(CreateLivenessWithVerifySessionJsonContent jsonContent, Stream verifyImage, CancellationToken cancellationToken = default)
42+
public virtual Response<CreateLivenessWithVerifySessionResult> CreateLivenessWithVerifySession(CreateLivenessWithVerifySessionContent jsonContent, Stream verifyImage, CancellationToken cancellationToken = default)
4343
{
4444
Argument.AssertNotNull(jsonContent, nameof(jsonContent));
4545

sdk/face/Azure.AI.Vision.Face/src/Custom/LargeFaceListClient.cs

Lines changed: 30 additions & 42 deletions
Large diffs are not rendered by default.

sdk/face/Azure.AI.Vision.Face/src/Custom/LargePersonGroupClient.cs

Lines changed: 30 additions & 42 deletions
Large diffs are not rendered by default.

sdk/face/Azure.AI.Vision.Face/src/Custom/PersonGroupClient.cs

Lines changed: 0 additions & 232 deletions
This file was deleted.

0 commit comments

Comments
 (0)