diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index f80f11bd68f97..af791ece308a5 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -226,7 +226,7 @@ All should have PrivateAssets="All" set so they don't become package dependencies --> - + diff --git a/eng/emitter-package-lock.json b/eng/emitter-package-lock.json index a071be113dd33..c8e923c612a90 100644 --- a/eng/emitter-package-lock.json +++ b/eng/emitter-package-lock.json @@ -5,14 +5,14 @@ "packages": { "": { "dependencies": { - "@azure-tools/typespec-csharp": "0.2.0-beta.20240707.1" + "@azure-tools/typespec-csharp": "0.2.0-beta.20240710.2" }, "devDependencies": { "@azure-tools/typespec-autorest": "0.43.0", "@azure-tools/typespec-azure-core": "0.43.0", "@azure-tools/typespec-azure-resource-manager": "0.43.0", "@azure-tools/typespec-azure-rulesets": "0.43.0", - "@azure-tools/typespec-client-generator-core": "0.43.1", + "@azure-tools/typespec-client-generator-core": "0.43.2", "@typespec/compiler": "0.57.0", "@typespec/http": "0.57.0", "@typespec/openapi": "0.57.0", @@ -22,9 +22,9 @@ } }, "node_modules/@autorest/csharp": { - "version": "3.0.0-beta.20240707.1", - "resolved": "https://registry.npmjs.org/@autorest/csharp/-/csharp-3.0.0-beta.20240707.1.tgz", - "integrity": "sha512-MjvNBR5H1Yzg3NvsBswDkTj8WXT2rcYPyNIgG6apwgEqUni+HXIUFMgTYFzpoS4A7uTHo+saPH7j4IBYADkpiQ==" + "version": "3.0.0-beta.20240710.2", + "resolved": "https://registry.npmjs.org/@autorest/csharp/-/csharp-3.0.0-beta.20240710.2.tgz", + "integrity": "sha512-xFYWQjVKkid9PZRYPmch16S6SQqx094CFqMWS5T7/A3kPtXcu5IIPoyyhupaDxAZEHlEpQ70qaE/mNOlPX/acQ==" }, "node_modules/@azure-tools/typespec-autorest": { "version": "0.43.0", @@ -96,9 +96,9 @@ } }, "node_modules/@azure-tools/typespec-client-generator-core": { - "version": "0.43.1", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.43.1.tgz", - "integrity": "sha512-NwNN/fIOcjOU/8o6ViCuEAAQl6zmu2X1QKPuXxeSy8ssDwrTiX9Ho2X/7IZM4XmOArKTtgmTkNcSnnmuj5dsGg==", + "version": "0.43.2", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.43.2.tgz", + "integrity": "sha512-UAVV30BtTQBiXmBoQ3SyvmiuBDYoqWFIn7G96hjojpwXpE6D5ba0y5LascMuF1b65eAhGnnf974DElJE9DGepQ==", "dev": true, "dependencies": { "change-case": "~5.4.4", @@ -112,16 +112,15 @@ "@typespec/compiler": "~0.57.0", "@typespec/http": "~0.57.0", "@typespec/rest": "~0.57.0", - "@typespec/versioning": "~0.57.0", - "@typespec/xml": "~0.57.0" + "@typespec/versioning": "~0.57.0" } }, "node_modules/@azure-tools/typespec-csharp": { - "version": "0.2.0-beta.20240707.1", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-beta.20240707.1.tgz", - "integrity": "sha512-jYm+W5pLlqeKIRoOPGRQLoEhK6SG8eG1qhrBS8QEV8s12GyngVx1qxChjviArKlCM3xfqX82zLOkrG8iJ5hh6w==", + "version": "0.2.0-beta.20240710.2", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-beta.20240710.2.tgz", + "integrity": "sha512-LYSWJ+vuvCjlahcGKPwrJR4uTRcJxzT7715LqDDSDQyH6RcPNVyIGOjjmlfj2AHBYI8bPnq6UgkjfecsUR2Drg==", "dependencies": { - "@autorest/csharp": "3.0.0-beta.20240707.1", + "@autorest/csharp": "3.0.0-beta.20240710.2", "json-serialize-refs": "0.1.0-0" }, "peerDependencies": { diff --git a/eng/emitter-package.json b/eng/emitter-package.json index 5005c065b59b2..bfe498b005d83 100644 --- a/eng/emitter-package.json +++ b/eng/emitter-package.json @@ -1,14 +1,14 @@ { "main": "dist/src/index.js", "dependencies": { - "@azure-tools/typespec-csharp": "0.2.0-beta.20240707.1" + "@azure-tools/typespec-csharp": "0.2.0-beta.20240710.2" }, "devDependencies": { "@azure-tools/typespec-autorest": "0.43.0", "@azure-tools/typespec-azure-core": "0.43.0", "@azure-tools/typespec-azure-resource-manager": "0.43.0", "@azure-tools/typespec-azure-rulesets": "0.43.0", - "@azure-tools/typespec-client-generator-core": "0.43.1", + "@azure-tools/typespec-client-generator-core": "0.43.2", "@typespec/compiler": "0.57.0", "@typespec/http": "0.57.0", "@typespec/openapi": "0.57.0", diff --git a/sdk/communication/Azure.Communication.Messages/src/Generated/tspCodeModel.json b/sdk/communication/Azure.Communication.Messages/src/Generated/tspCodeModel.json index fec6b442d4485..fc12a52cfd2af 100644 --- a/sdk/communication/Azure.Communication.Messages/src/Generated/tspCodeModel.json +++ b/sdk/communication/Azure.Communication.Messages/src/Generated/tspCodeModel.json @@ -1483,8 +1483,8 @@ }, { "$id": "198", - "Name": "NotificationContent", - "NameInRequest": "NotificationContent", + "Name": "notificationContent", + "NameInRequest": "body", "Description": "Details of the message to send.", "Type": { "$ref": "38" diff --git a/sdk/communication/Azure.Communication.Messages/tsp-location.yaml b/sdk/communication/Azure.Communication.Messages/tsp-location.yaml index e85d7a27d9272..01b9db9a86ed6 100644 --- a/sdk/communication/Azure.Communication.Messages/tsp-location.yaml +++ b/sdk/communication/Azure.Communication.Messages/tsp-location.yaml @@ -1,4 +1,4 @@ -commit: 44cbf51b9eee8a2dbf55ced61a61032aaed0148b +commit: b8ec3841224e5a9a27c128e588b1c387baef6a99 directory: specification/communication/Communication.Messages additionalDirectories: [] -repo: Azure/azure-rest-api-specs \ No newline at end of file +repo: Azure/azure-rest-api-specs diff --git a/sdk/communication/Azure.Communication.ProgrammableConnectivity/api/Azure.Communication.ProgrammableConnectivity.netstandard2.0.cs b/sdk/communication/Azure.Communication.ProgrammableConnectivity/api/Azure.Communication.ProgrammableConnectivity.netstandard2.0.cs index dca4e2bad4c91..35957a1c4567a 100644 --- a/sdk/communication/Azure.Communication.ProgrammableConnectivity/api/Azure.Communication.ProgrammableConnectivity.netstandard2.0.cs +++ b/sdk/communication/Azure.Communication.ProgrammableConnectivity/api/Azure.Communication.ProgrammableConnectivity.netstandard2.0.cs @@ -15,9 +15,9 @@ public partial class DeviceLocation { protected DeviceLocation() { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response Verify(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.DeviceLocationVerificationContent deviceLocationVerificationContent, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Verify(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.DeviceLocationVerificationContent body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Verify(string apcGatewayId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> VerifyAsync(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.DeviceLocationVerificationContent deviceLocationVerificationContent, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> VerifyAsync(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.DeviceLocationVerificationContent body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task VerifyAsync(string apcGatewayId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } } public partial class DeviceLocationVerificationContent : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel @@ -48,9 +48,9 @@ public partial class DeviceNetwork { protected DeviceNetwork() { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response Retrieve(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.NetworkIdentifier networkIdentifier, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Retrieve(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.NetworkIdentifier body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Retrieve(string apcGatewayId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> RetrieveAsync(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.NetworkIdentifier networkIdentifier, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> RetrieveAsync(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.NetworkIdentifier body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task RetrieveAsync(string apcGatewayId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } } public partial class Ipv4Address : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel @@ -113,9 +113,9 @@ public partial class NumberVerification { protected NumberVerification() { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response VerifyWithCode(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.NumberVerificationWithCodeContent numberVerificationWithCodeContent, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response VerifyWithCode(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.NumberVerificationWithCodeContent body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response VerifyWithCode(string apcGatewayId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> VerifyWithCodeAsync(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.NumberVerificationWithCodeContent numberVerificationWithCodeContent, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> VerifyWithCodeAsync(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.NumberVerificationWithCodeContent body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task VerifyWithCodeAsync(string apcGatewayId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response VerifyWithoutCode(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.NumberVerificationWithoutCodeContent numberVerificationWithoutCodeContent, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response VerifyWithoutCode(string apcGatewayId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } @@ -178,13 +178,13 @@ public partial class SimSwap { protected SimSwap() { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response Retrieve(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.SimSwapRetrievalContent simSwapRetrievalContent, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Retrieve(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.SimSwapRetrievalContent body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Retrieve(string apcGatewayId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> RetrieveAsync(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.SimSwapRetrievalContent simSwapRetrievalContent, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> RetrieveAsync(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.SimSwapRetrievalContent body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task RetrieveAsync(string apcGatewayId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response Verify(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.SimSwapVerificationContent simSwapVerificationContent, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Verify(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.SimSwapVerificationContent body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Verify(string apcGatewayId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> VerifyAsync(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.SimSwapVerificationContent simSwapVerificationContent, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> VerifyAsync(string apcGatewayId, Azure.Communication.ProgrammableConnectivity.SimSwapVerificationContent body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task VerifyAsync(string apcGatewayId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } } public partial class SimSwapRetrievalContent : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel diff --git a/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/DeviceLocation.cs b/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/DeviceLocation.cs index f9bad5389fc28..927683a9c7ada 100644 --- a/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/DeviceLocation.cs +++ b/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/DeviceLocation.cs @@ -51,16 +51,16 @@ internal DeviceLocation(ClientDiagnostics clientDiagnostics, HttpPipeline pipeli /// Verifies whether a device is within a specified location area, defined as an accuracy (radius) around a point, specified by longitude and latitude. /// The identifier of the APC Gateway resource which should handle this request. - /// Request to verify Location. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// - public virtual async Task> VerifyAsync(string apcGatewayId, DeviceLocationVerificationContent deviceLocationVerificationContent, CancellationToken cancellationToken = default) + public virtual async Task> VerifyAsync(string apcGatewayId, DeviceLocationVerificationContent body, CancellationToken cancellationToken = default) { Argument.AssertNotNull(apcGatewayId, nameof(apcGatewayId)); - Argument.AssertNotNull(deviceLocationVerificationContent, nameof(deviceLocationVerificationContent)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = deviceLocationVerificationContent.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await VerifyAsync(apcGatewayId, content, context).ConfigureAwait(false); return Response.FromValue(DeviceLocationVerificationResult.FromResponse(response), response); @@ -68,16 +68,16 @@ public virtual async Task> VerifyAsyn /// Verifies whether a device is within a specified location area, defined as an accuracy (radius) around a point, specified by longitude and latitude. /// The identifier of the APC Gateway resource which should handle this request. - /// Request to verify Location. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// - public virtual Response Verify(string apcGatewayId, DeviceLocationVerificationContent deviceLocationVerificationContent, CancellationToken cancellationToken = default) + public virtual Response Verify(string apcGatewayId, DeviceLocationVerificationContent body, CancellationToken cancellationToken = default) { Argument.AssertNotNull(apcGatewayId, nameof(apcGatewayId)); - Argument.AssertNotNull(deviceLocationVerificationContent, nameof(deviceLocationVerificationContent)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = deviceLocationVerificationContent.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = Verify(apcGatewayId, content, context); return Response.FromValue(DeviceLocationVerificationResult.FromResponse(response), response); diff --git a/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/DeviceNetwork.cs b/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/DeviceNetwork.cs index 5e7bcc3e2b0f9..d2c1e51dee071 100644 --- a/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/DeviceNetwork.cs +++ b/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/DeviceNetwork.cs @@ -51,16 +51,16 @@ internal DeviceNetwork(ClientDiagnostics clientDiagnostics, HttpPipeline pipelin /// Retrieves the network a given device is on. Returns network in a networkCode format that can be used for other APIs. /// The identifier of the APC Gateway resource which should handle this request. - /// Identifier for the network to be queried. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// - public virtual async Task> RetrieveAsync(string apcGatewayId, NetworkIdentifier networkIdentifier, CancellationToken cancellationToken = default) + public virtual async Task> RetrieveAsync(string apcGatewayId, NetworkIdentifier body, CancellationToken cancellationToken = default) { Argument.AssertNotNull(apcGatewayId, nameof(apcGatewayId)); - Argument.AssertNotNull(networkIdentifier, nameof(networkIdentifier)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = networkIdentifier.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await RetrieveAsync(apcGatewayId, content, context).ConfigureAwait(false); return Response.FromValue(NetworkRetrievalResult.FromResponse(response), response); @@ -68,16 +68,16 @@ public virtual async Task> RetrieveAsync(string /// Retrieves the network a given device is on. Returns network in a networkCode format that can be used for other APIs. /// The identifier of the APC Gateway resource which should handle this request. - /// Identifier for the network to be queried. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// - public virtual Response Retrieve(string apcGatewayId, NetworkIdentifier networkIdentifier, CancellationToken cancellationToken = default) + public virtual Response Retrieve(string apcGatewayId, NetworkIdentifier body, CancellationToken cancellationToken = default) { Argument.AssertNotNull(apcGatewayId, nameof(apcGatewayId)); - Argument.AssertNotNull(networkIdentifier, nameof(networkIdentifier)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = networkIdentifier.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = Retrieve(apcGatewayId, content, context); return Response.FromValue(NetworkRetrievalResult.FromResponse(response), response); diff --git a/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/Docs/DeviceLocation.xml b/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/Docs/DeviceLocation.xml index e33d286eac284..78861d2d14d83 100644 --- a/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/Docs/DeviceLocation.xml +++ b/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/Docs/DeviceLocation.xml @@ -9,8 +9,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); DeviceLocation client = new ProgrammableConnectivityClient(endpoint, credential).GetDeviceLocationClient(apiVersion: "2024-02-09-preview"); -DeviceLocationVerificationContent deviceLocationVerificationContent = new DeviceLocationVerificationContent(new NetworkIdentifier("", ""), 123.45, 123.45, 1234, new LocationDevice()); -Response response = await client.VerifyAsync("", deviceLocationVerificationContent); +DeviceLocationVerificationContent body = new DeviceLocationVerificationContent(new NetworkIdentifier("", ""), 123.45, 123.45, 1234, new LocationDevice()); +Response response = await client.VerifyAsync("", body); ]]> This sample shows how to call VerifyAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); DeviceLocation client = new ProgrammableConnectivityClient(endpoint, credential).GetDeviceLocationClient(apiVersion: "2024-02-09-preview"); -DeviceLocationVerificationContent deviceLocationVerificationContent = new DeviceLocationVerificationContent(new NetworkIdentifier("", ""), 123.45, 123.45, 1234, new LocationDevice +DeviceLocationVerificationContent body = new DeviceLocationVerificationContent(new NetworkIdentifier("", ""), 123.45, 123.45, 1234, new LocationDevice { NetworkAccessIdentifier = "", PhoneNumber = "", Ipv4Address = new Ipv4Address("", 1234), Ipv6Address = new Ipv6Address("", 1234), }); -Response response = await client.VerifyAsync("", deviceLocationVerificationContent); +Response response = await client.VerifyAsync("", body); ]]> @@ -36,8 +36,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); DeviceLocation client = new ProgrammableConnectivityClient(endpoint, credential).GetDeviceLocationClient(apiVersion: "2024-02-09-preview"); -DeviceLocationVerificationContent deviceLocationVerificationContent = new DeviceLocationVerificationContent(new NetworkIdentifier("", ""), 123.45, 123.45, 1234, new LocationDevice()); -Response response = client.Verify("", deviceLocationVerificationContent); +DeviceLocationVerificationContent body = new DeviceLocationVerificationContent(new NetworkIdentifier("", ""), 123.45, 123.45, 1234, new LocationDevice()); +Response response = client.Verify("", body); ]]> This sample shows how to call Verify with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); DeviceLocation client = new ProgrammableConnectivityClient(endpoint, credential).GetDeviceLocationClient(apiVersion: "2024-02-09-preview"); -DeviceLocationVerificationContent deviceLocationVerificationContent = new DeviceLocationVerificationContent(new NetworkIdentifier("", ""), 123.45, 123.45, 1234, new LocationDevice +DeviceLocationVerificationContent body = new DeviceLocationVerificationContent(new NetworkIdentifier("", ""), 123.45, 123.45, 1234, new LocationDevice { NetworkAccessIdentifier = "", PhoneNumber = "", Ipv4Address = new Ipv4Address("", 1234), Ipv6Address = new Ipv6Address("", 1234), }); -Response response = client.Verify("", deviceLocationVerificationContent); +Response response = client.Verify("", body); ]]> diff --git a/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/Docs/DeviceNetwork.xml b/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/Docs/DeviceNetwork.xml index 23ee4b5876d8e..1f977fef38cb3 100644 --- a/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/Docs/DeviceNetwork.xml +++ b/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/Docs/DeviceNetwork.xml @@ -9,8 +9,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); DeviceNetwork client = new ProgrammableConnectivityClient(endpoint, credential).GetDeviceNetworkClient(apiVersion: "2024-02-09-preview"); -NetworkIdentifier networkIdentifier = new NetworkIdentifier("", ""); -Response response = await client.RetrieveAsync("", networkIdentifier); +NetworkIdentifier body = new NetworkIdentifier("", ""); +Response response = await client.RetrieveAsync("", body); ]]> This sample shows how to call RetrieveAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); DeviceNetwork client = new ProgrammableConnectivityClient(endpoint, credential).GetDeviceNetworkClient(apiVersion: "2024-02-09-preview"); -NetworkIdentifier networkIdentifier = new NetworkIdentifier("", ""); -Response response = await client.RetrieveAsync("", networkIdentifier); +NetworkIdentifier body = new NetworkIdentifier("", ""); +Response response = await client.RetrieveAsync("", body); ]]> @@ -30,8 +30,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); DeviceNetwork client = new ProgrammableConnectivityClient(endpoint, credential).GetDeviceNetworkClient(apiVersion: "2024-02-09-preview"); -NetworkIdentifier networkIdentifier = new NetworkIdentifier("", ""); -Response response = client.Retrieve("", networkIdentifier); +NetworkIdentifier body = new NetworkIdentifier("", ""); +Response response = client.Retrieve("", body); ]]> This sample shows how to call Retrieve with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); DeviceNetwork client = new ProgrammableConnectivityClient(endpoint, credential).GetDeviceNetworkClient(apiVersion: "2024-02-09-preview"); -NetworkIdentifier networkIdentifier = new NetworkIdentifier("", ""); -Response response = client.Retrieve("", networkIdentifier); +NetworkIdentifier body = new NetworkIdentifier("", ""); +Response response = client.Retrieve("", body); ]]> diff --git a/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/Docs/NumberVerification.xml b/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/Docs/NumberVerification.xml index c5dbe4f6ca5bf..d4e2d4703591f 100644 --- a/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/Docs/NumberVerification.xml +++ b/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/Docs/NumberVerification.xml @@ -9,8 +9,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); NumberVerification client = new ProgrammableConnectivityClient(endpoint, credential).GetNumberVerificationClient(apiVersion: "2024-02-09-preview"); -NumberVerificationWithoutCodeContent numberVerificationWithoutCodeContent = new NumberVerificationWithoutCodeContent(new NetworkIdentifier("", ""), new Uri("http://localhost:3000")); -Response response = await client.VerifyWithoutCodeAsync("", numberVerificationWithoutCodeContent); +NumberVerificationWithoutCodeContent body = new NumberVerificationWithoutCodeContent(new NetworkIdentifier("", ""), new Uri("http://localhost:3000")); +Response response = await client.VerifyWithoutCodeAsync("", body); ]]> This sample shows how to call VerifyWithoutCodeAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); NumberVerification client = new ProgrammableConnectivityClient(endpoint, credential).GetNumberVerificationClient(apiVersion: "2024-02-09-preview"); -NumberVerificationWithoutCodeContent numberVerificationWithoutCodeContent = new NumberVerificationWithoutCodeContent(new NetworkIdentifier("", ""), new Uri("http://localhost:3000")) +NumberVerificationWithoutCodeContent body = new NumberVerificationWithoutCodeContent(new NetworkIdentifier("", ""), new Uri("http://localhost:3000")) { PhoneNumber = "", HashedPhoneNumber = "", }; -Response response = await client.VerifyWithoutCodeAsync("", numberVerificationWithoutCodeContent); +Response response = await client.VerifyWithoutCodeAsync("", body); ]]> @@ -34,8 +34,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); NumberVerification client = new ProgrammableConnectivityClient(endpoint, credential).GetNumberVerificationClient(apiVersion: "2024-02-09-preview"); -NumberVerificationWithoutCodeContent numberVerificationWithoutCodeContent = new NumberVerificationWithoutCodeContent(new NetworkIdentifier("", ""), new Uri("http://localhost:3000")); -Response response = client.VerifyWithoutCode("", numberVerificationWithoutCodeContent); +NumberVerificationWithoutCodeContent body = new NumberVerificationWithoutCodeContent(new NetworkIdentifier("", ""), new Uri("http://localhost:3000")); +Response response = client.VerifyWithoutCode("", body); ]]> This sample shows how to call VerifyWithoutCode with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); NumberVerification client = new ProgrammableConnectivityClient(endpoint, credential).GetNumberVerificationClient(apiVersion: "2024-02-09-preview"); -NumberVerificationWithoutCodeContent numberVerificationWithoutCodeContent = new NumberVerificationWithoutCodeContent(new NetworkIdentifier("", ""), new Uri("http://localhost:3000")) +NumberVerificationWithoutCodeContent body = new NumberVerificationWithoutCodeContent(new NetworkIdentifier("", ""), new Uri("http://localhost:3000")) { PhoneNumber = "", HashedPhoneNumber = "", }; -Response response = client.VerifyWithoutCode("", numberVerificationWithoutCodeContent); +Response response = client.VerifyWithoutCode("", body); ]]> @@ -145,8 +145,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); NumberVerification client = new ProgrammableConnectivityClient(endpoint, credential).GetNumberVerificationClient(apiVersion: "2024-02-09-preview"); -NumberVerificationWithCodeContent numberVerificationWithCodeContent = new NumberVerificationWithCodeContent(""); -Response response = await client.VerifyWithCodeAsync("", numberVerificationWithCodeContent); +NumberVerificationWithCodeContent body = new NumberVerificationWithCodeContent(""); +Response response = await client.VerifyWithCodeAsync("", body); ]]> This sample shows how to call VerifyWithCodeAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); NumberVerification client = new ProgrammableConnectivityClient(endpoint, credential).GetNumberVerificationClient(apiVersion: "2024-02-09-preview"); -NumberVerificationWithCodeContent numberVerificationWithCodeContent = new NumberVerificationWithCodeContent(""); -Response response = await client.VerifyWithCodeAsync("", numberVerificationWithCodeContent); +NumberVerificationWithCodeContent body = new NumberVerificationWithCodeContent(""); +Response response = await client.VerifyWithCodeAsync("", body); ]]> @@ -166,8 +166,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); NumberVerification client = new ProgrammableConnectivityClient(endpoint, credential).GetNumberVerificationClient(apiVersion: "2024-02-09-preview"); -NumberVerificationWithCodeContent numberVerificationWithCodeContent = new NumberVerificationWithCodeContent(""); -Response response = client.VerifyWithCode("", numberVerificationWithCodeContent); +NumberVerificationWithCodeContent body = new NumberVerificationWithCodeContent(""); +Response response = client.VerifyWithCode("", body); ]]> This sample shows how to call VerifyWithCode with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); NumberVerification client = new ProgrammableConnectivityClient(endpoint, credential).GetNumberVerificationClient(apiVersion: "2024-02-09-preview"); -NumberVerificationWithCodeContent numberVerificationWithCodeContent = new NumberVerificationWithCodeContent(""); -Response response = client.VerifyWithCode("", numberVerificationWithCodeContent); +NumberVerificationWithCodeContent body = new NumberVerificationWithCodeContent(""); +Response response = client.VerifyWithCode("", body); ]]> diff --git a/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/Docs/SimSwap.xml b/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/Docs/SimSwap.xml index 336bb16785a6c..83bbc5ad2cc1f 100644 --- a/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/Docs/SimSwap.xml +++ b/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/Docs/SimSwap.xml @@ -9,8 +9,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); SimSwap client = new ProgrammableConnectivityClient(endpoint, credential).GetSimSwapClient(apiVersion: "2024-02-09-preview"); -SimSwapRetrievalContent simSwapRetrievalContent = new SimSwapRetrievalContent(new NetworkIdentifier("", "")); -Response response = await client.RetrieveAsync("", simSwapRetrievalContent); +SimSwapRetrievalContent body = new SimSwapRetrievalContent(new NetworkIdentifier("", "")); +Response response = await client.RetrieveAsync("", body); ]]> This sample shows how to call RetrieveAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); SimSwap client = new ProgrammableConnectivityClient(endpoint, credential).GetSimSwapClient(apiVersion: "2024-02-09-preview"); -SimSwapRetrievalContent simSwapRetrievalContent = new SimSwapRetrievalContent(new NetworkIdentifier("", "")) +SimSwapRetrievalContent body = new SimSwapRetrievalContent(new NetworkIdentifier("", "")) { PhoneNumber = "", }; -Response response = await client.RetrieveAsync("", simSwapRetrievalContent); +Response response = await client.RetrieveAsync("", body); ]]> @@ -33,8 +33,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); SimSwap client = new ProgrammableConnectivityClient(endpoint, credential).GetSimSwapClient(apiVersion: "2024-02-09-preview"); -SimSwapRetrievalContent simSwapRetrievalContent = new SimSwapRetrievalContent(new NetworkIdentifier("", "")); -Response response = client.Retrieve("", simSwapRetrievalContent); +SimSwapRetrievalContent body = new SimSwapRetrievalContent(new NetworkIdentifier("", "")); +Response response = client.Retrieve("", body); ]]> This sample shows how to call Retrieve with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); SimSwap client = new ProgrammableConnectivityClient(endpoint, credential).GetSimSwapClient(apiVersion: "2024-02-09-preview"); -SimSwapRetrievalContent simSwapRetrievalContent = new SimSwapRetrievalContent(new NetworkIdentifier("", "")) +SimSwapRetrievalContent body = new SimSwapRetrievalContent(new NetworkIdentifier("", "")) { PhoneNumber = "", }; -Response response = client.Retrieve("", simSwapRetrievalContent); +Response response = client.Retrieve("", body); ]]> @@ -141,8 +141,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); SimSwap client = new ProgrammableConnectivityClient(endpoint, credential).GetSimSwapClient(apiVersion: "2024-02-09-preview"); -SimSwapVerificationContent simSwapVerificationContent = new SimSwapVerificationContent(new NetworkIdentifier("", "")); -Response response = await client.VerifyAsync("", simSwapVerificationContent); +SimSwapVerificationContent body = new SimSwapVerificationContent(new NetworkIdentifier("", "")); +Response response = await client.VerifyAsync("", body); ]]> This sample shows how to call VerifyAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); SimSwap client = new ProgrammableConnectivityClient(endpoint, credential).GetSimSwapClient(apiVersion: "2024-02-09-preview"); -SimSwapVerificationContent simSwapVerificationContent = new SimSwapVerificationContent(new NetworkIdentifier("", "")) +SimSwapVerificationContent body = new SimSwapVerificationContent(new NetworkIdentifier("", "")) { PhoneNumber = "", MaxAgeHours = 1234, }; -Response response = await client.VerifyAsync("", simSwapVerificationContent); +Response response = await client.VerifyAsync("", body); ]]> @@ -166,8 +166,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); SimSwap client = new ProgrammableConnectivityClient(endpoint, credential).GetSimSwapClient(apiVersion: "2024-02-09-preview"); -SimSwapVerificationContent simSwapVerificationContent = new SimSwapVerificationContent(new NetworkIdentifier("", "")); -Response response = client.Verify("", simSwapVerificationContent); +SimSwapVerificationContent body = new SimSwapVerificationContent(new NetworkIdentifier("", "")); +Response response = client.Verify("", body); ]]> This sample shows how to call Verify with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); SimSwap client = new ProgrammableConnectivityClient(endpoint, credential).GetSimSwapClient(apiVersion: "2024-02-09-preview"); -SimSwapVerificationContent simSwapVerificationContent = new SimSwapVerificationContent(new NetworkIdentifier("", "")) +SimSwapVerificationContent body = new SimSwapVerificationContent(new NetworkIdentifier("", "")) { PhoneNumber = "", MaxAgeHours = 1234, }; -Response response = client.Verify("", simSwapVerificationContent); +Response response = client.Verify("", body); ]]> diff --git a/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/NumberVerification.cs b/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/NumberVerification.cs index def53355be57f..e50a5823df633 100644 --- a/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/NumberVerification.cs +++ b/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/NumberVerification.cs @@ -62,16 +62,16 @@ internal NumberVerification(ClientDiagnostics clientDiagnostics, HttpPipeline pi /// Verifies the phone number (MSISDN) associated with a device. /// The identifier of the APC Gateway resource which should handle this request. - /// Request to verify number of device - second call. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// - public virtual async Task> VerifyWithCodeAsync(string apcGatewayId, NumberVerificationWithCodeContent numberVerificationWithCodeContent, CancellationToken cancellationToken = default) + public virtual async Task> VerifyWithCodeAsync(string apcGatewayId, NumberVerificationWithCodeContent body, CancellationToken cancellationToken = default) { Argument.AssertNotNull(apcGatewayId, nameof(apcGatewayId)); - Argument.AssertNotNull(numberVerificationWithCodeContent, nameof(numberVerificationWithCodeContent)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = numberVerificationWithCodeContent.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await VerifyWithCodeAsync(apcGatewayId, content, context).ConfigureAwait(false); return Response.FromValue(NumberVerificationResult.FromResponse(response), response); @@ -79,16 +79,16 @@ public virtual async Task> VerifyWithCodeAsyn /// Verifies the phone number (MSISDN) associated with a device. /// The identifier of the APC Gateway resource which should handle this request. - /// Request to verify number of device - second call. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// - public virtual Response VerifyWithCode(string apcGatewayId, NumberVerificationWithCodeContent numberVerificationWithCodeContent, CancellationToken cancellationToken = default) + public virtual Response VerifyWithCode(string apcGatewayId, NumberVerificationWithCodeContent body, CancellationToken cancellationToken = default) { Argument.AssertNotNull(apcGatewayId, nameof(apcGatewayId)); - Argument.AssertNotNull(numberVerificationWithCodeContent, nameof(numberVerificationWithCodeContent)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = numberVerificationWithCodeContent.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = VerifyWithCode(apcGatewayId, content, context); return Response.FromValue(NumberVerificationResult.FromResponse(response), response); diff --git a/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/SimSwap.cs b/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/SimSwap.cs index 545f342cfd762..c8696bdccb133 100644 --- a/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/SimSwap.cs +++ b/sdk/communication/Azure.Communication.ProgrammableConnectivity/src/Generated/SimSwap.cs @@ -51,16 +51,16 @@ internal SimSwap(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Tok /// Provides timestamp of latest SIM swap. /// The identifier of the APC Gateway resource which should handle this request. - /// Request to retrieve SimSwap date. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// - public virtual async Task> RetrieveAsync(string apcGatewayId, SimSwapRetrievalContent simSwapRetrievalContent, CancellationToken cancellationToken = default) + public virtual async Task> RetrieveAsync(string apcGatewayId, SimSwapRetrievalContent body, CancellationToken cancellationToken = default) { Argument.AssertNotNull(apcGatewayId, nameof(apcGatewayId)); - Argument.AssertNotNull(simSwapRetrievalContent, nameof(simSwapRetrievalContent)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = simSwapRetrievalContent.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await RetrieveAsync(apcGatewayId, content, context).ConfigureAwait(false); return Response.FromValue(SimSwapRetrievalResult.FromResponse(response), response); @@ -68,16 +68,16 @@ public virtual async Task> RetrieveAsync(string /// Provides timestamp of latest SIM swap. /// The identifier of the APC Gateway resource which should handle this request. - /// Request to retrieve SimSwap date. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// - public virtual Response Retrieve(string apcGatewayId, SimSwapRetrievalContent simSwapRetrievalContent, CancellationToken cancellationToken = default) + public virtual Response Retrieve(string apcGatewayId, SimSwapRetrievalContent body, CancellationToken cancellationToken = default) { Argument.AssertNotNull(apcGatewayId, nameof(apcGatewayId)); - Argument.AssertNotNull(simSwapRetrievalContent, nameof(simSwapRetrievalContent)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = simSwapRetrievalContent.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = Retrieve(apcGatewayId, content, context); return Response.FromValue(SimSwapRetrievalResult.FromResponse(response), response); @@ -167,16 +167,16 @@ public virtual Response Retrieve(string apcGatewayId, RequestContent content, Re /// Verifies if a SIM swap has been performed during a past period (defined in the request with 'maxAgeHours' attribute). Returns 'True' if a SIM swap has occured. /// The identifier of the APC Gateway resource which should handle this request. - /// Request to verify SimSwap in period. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// - public virtual async Task> VerifyAsync(string apcGatewayId, SimSwapVerificationContent simSwapVerificationContent, CancellationToken cancellationToken = default) + public virtual async Task> VerifyAsync(string apcGatewayId, SimSwapVerificationContent body, CancellationToken cancellationToken = default) { Argument.AssertNotNull(apcGatewayId, nameof(apcGatewayId)); - Argument.AssertNotNull(simSwapVerificationContent, nameof(simSwapVerificationContent)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = simSwapVerificationContent.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await VerifyAsync(apcGatewayId, content, context).ConfigureAwait(false); return Response.FromValue(SimSwapVerificationResult.FromResponse(response), response); @@ -184,16 +184,16 @@ public virtual async Task> VerifyAsync(strin /// Verifies if a SIM swap has been performed during a past period (defined in the request with 'maxAgeHours' attribute). Returns 'True' if a SIM swap has occured. /// The identifier of the APC Gateway resource which should handle this request. - /// Request to verify SimSwap in period. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// - public virtual Response Verify(string apcGatewayId, SimSwapVerificationContent simSwapVerificationContent, CancellationToken cancellationToken = default) + public virtual Response Verify(string apcGatewayId, SimSwapVerificationContent body, CancellationToken cancellationToken = default) { Argument.AssertNotNull(apcGatewayId, nameof(apcGatewayId)); - Argument.AssertNotNull(simSwapVerificationContent, nameof(simSwapVerificationContent)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = simSwapVerificationContent.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = Verify(apcGatewayId, content, context); return Response.FromValue(SimSwapVerificationResult.FromResponse(response), response); diff --git a/sdk/communication/Azure.Communication.ProgrammableConnectivity/tests/Generated/Samples/Samples_DeviceLocation.cs b/sdk/communication/Azure.Communication.ProgrammableConnectivity/tests/Generated/Samples/Samples_DeviceLocation.cs index a8de526052c46..36d8d907213ab 100644 --- a/sdk/communication/Azure.Communication.ProgrammableConnectivity/tests/Generated/Samples/Samples_DeviceLocation.cs +++ b/sdk/communication/Azure.Communication.ProgrammableConnectivity/tests/Generated/Samples/Samples_DeviceLocation.cs @@ -76,8 +76,8 @@ public void Example_DeviceLocation_Verify_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); DeviceLocation client = new ProgrammableConnectivityClient(endpoint, credential).GetDeviceLocationClient(apiVersion: "2024-02-09-preview"); - DeviceLocationVerificationContent deviceLocationVerificationContent = new DeviceLocationVerificationContent(new NetworkIdentifier("", ""), 123.45, 123.45, 1234, new LocationDevice()); - Response response = client.Verify("", deviceLocationVerificationContent); + DeviceLocationVerificationContent body = new DeviceLocationVerificationContent(new NetworkIdentifier("", ""), 123.45, 123.45, 1234, new LocationDevice()); + Response response = client.Verify("", body); } [Test] @@ -88,8 +88,8 @@ public async Task Example_DeviceLocation_Verify_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); DeviceLocation client = new ProgrammableConnectivityClient(endpoint, credential).GetDeviceLocationClient(apiVersion: "2024-02-09-preview"); - DeviceLocationVerificationContent deviceLocationVerificationContent = new DeviceLocationVerificationContent(new NetworkIdentifier("", ""), 123.45, 123.45, 1234, new LocationDevice()); - Response response = await client.VerifyAsync("", deviceLocationVerificationContent); + DeviceLocationVerificationContent body = new DeviceLocationVerificationContent(new NetworkIdentifier("", ""), 123.45, 123.45, 1234, new LocationDevice()); + Response response = await client.VerifyAsync("", body); } [Test] @@ -180,14 +180,14 @@ public void Example_DeviceLocation_Verify_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); DeviceLocation client = new ProgrammableConnectivityClient(endpoint, credential).GetDeviceLocationClient(apiVersion: "2024-02-09-preview"); - DeviceLocationVerificationContent deviceLocationVerificationContent = new DeviceLocationVerificationContent(new NetworkIdentifier("", ""), 123.45, 123.45, 1234, new LocationDevice + DeviceLocationVerificationContent body = new DeviceLocationVerificationContent(new NetworkIdentifier("", ""), 123.45, 123.45, 1234, new LocationDevice { NetworkAccessIdentifier = "", PhoneNumber = "", Ipv4Address = new Ipv4Address("", 1234), Ipv6Address = new Ipv6Address("", 1234), }); - Response response = client.Verify("", deviceLocationVerificationContent); + Response response = client.Verify("", body); } [Test] @@ -198,14 +198,14 @@ public async Task Example_DeviceLocation_Verify_AllParameters_Convenience_Async( TokenCredential credential = new DefaultAzureCredential(); DeviceLocation client = new ProgrammableConnectivityClient(endpoint, credential).GetDeviceLocationClient(apiVersion: "2024-02-09-preview"); - DeviceLocationVerificationContent deviceLocationVerificationContent = new DeviceLocationVerificationContent(new NetworkIdentifier("", ""), 123.45, 123.45, 1234, new LocationDevice + DeviceLocationVerificationContent body = new DeviceLocationVerificationContent(new NetworkIdentifier("", ""), 123.45, 123.45, 1234, new LocationDevice { NetworkAccessIdentifier = "", PhoneNumber = "", Ipv4Address = new Ipv4Address("", 1234), Ipv6Address = new Ipv6Address("", 1234), }); - Response response = await client.VerifyAsync("", deviceLocationVerificationContent); + Response response = await client.VerifyAsync("", body); } } } diff --git a/sdk/communication/Azure.Communication.ProgrammableConnectivity/tests/Generated/Samples/Samples_DeviceNetwork.cs b/sdk/communication/Azure.Communication.ProgrammableConnectivity/tests/Generated/Samples/Samples_DeviceNetwork.cs index b35c63682cc1c..e034a64c0be7a 100644 --- a/sdk/communication/Azure.Communication.ProgrammableConnectivity/tests/Generated/Samples/Samples_DeviceNetwork.cs +++ b/sdk/communication/Azure.Communication.ProgrammableConnectivity/tests/Generated/Samples/Samples_DeviceNetwork.cs @@ -62,8 +62,8 @@ public void Example_DeviceNetwork_Retrieve_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); DeviceNetwork client = new ProgrammableConnectivityClient(endpoint, credential).GetDeviceNetworkClient(apiVersion: "2024-02-09-preview"); - NetworkIdentifier networkIdentifier = new NetworkIdentifier("", ""); - Response response = client.Retrieve("", networkIdentifier); + NetworkIdentifier body = new NetworkIdentifier("", ""); + Response response = client.Retrieve("", body); } [Test] @@ -74,8 +74,8 @@ public async Task Example_DeviceNetwork_Retrieve_ShortVersion_Convenience_Async( TokenCredential credential = new DefaultAzureCredential(); DeviceNetwork client = new ProgrammableConnectivityClient(endpoint, credential).GetDeviceNetworkClient(apiVersion: "2024-02-09-preview"); - NetworkIdentifier networkIdentifier = new NetworkIdentifier("", ""); - Response response = await client.RetrieveAsync("", networkIdentifier); + NetworkIdentifier body = new NetworkIdentifier("", ""); + Response response = await client.RetrieveAsync("", body); } [Test] @@ -124,8 +124,8 @@ public void Example_DeviceNetwork_Retrieve_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); DeviceNetwork client = new ProgrammableConnectivityClient(endpoint, credential).GetDeviceNetworkClient(apiVersion: "2024-02-09-preview"); - NetworkIdentifier networkIdentifier = new NetworkIdentifier("", ""); - Response response = client.Retrieve("", networkIdentifier); + NetworkIdentifier body = new NetworkIdentifier("", ""); + Response response = client.Retrieve("", body); } [Test] @@ -136,8 +136,8 @@ public async Task Example_DeviceNetwork_Retrieve_AllParameters_Convenience_Async TokenCredential credential = new DefaultAzureCredential(); DeviceNetwork client = new ProgrammableConnectivityClient(endpoint, credential).GetDeviceNetworkClient(apiVersion: "2024-02-09-preview"); - NetworkIdentifier networkIdentifier = new NetworkIdentifier("", ""); - Response response = await client.RetrieveAsync("", networkIdentifier); + NetworkIdentifier body = new NetworkIdentifier("", ""); + Response response = await client.RetrieveAsync("", body); } } } diff --git a/sdk/communication/Azure.Communication.ProgrammableConnectivity/tests/Generated/Samples/Samples_NumberVerification.cs b/sdk/communication/Azure.Communication.ProgrammableConnectivity/tests/Generated/Samples/Samples_NumberVerification.cs index 70087620b06ab..8f0abc9e94dcc 100644 --- a/sdk/communication/Azure.Communication.ProgrammableConnectivity/tests/Generated/Samples/Samples_NumberVerification.cs +++ b/sdk/communication/Azure.Communication.ProgrammableConnectivity/tests/Generated/Samples/Samples_NumberVerification.cs @@ -68,8 +68,8 @@ public void Example_NumberVerification_VerifyWithoutCode_ShortVersion_Convenienc TokenCredential credential = new DefaultAzureCredential(); NumberVerification client = new ProgrammableConnectivityClient(endpoint, credential).GetNumberVerificationClient(apiVersion: "2024-02-09-preview"); - NumberVerificationWithoutCodeContent numberVerificationWithoutCodeContent = new NumberVerificationWithoutCodeContent(new NetworkIdentifier("", ""), new Uri("http://localhost:3000")); - Response response = client.VerifyWithoutCode("", numberVerificationWithoutCodeContent); + NumberVerificationWithoutCodeContent body = new NumberVerificationWithoutCodeContent(new NetworkIdentifier("", ""), new Uri("http://localhost:3000")); + Response response = client.VerifyWithoutCode("", body); } [Test] @@ -80,8 +80,8 @@ public async Task Example_NumberVerification_VerifyWithoutCode_ShortVersion_Conv TokenCredential credential = new DefaultAzureCredential(); NumberVerification client = new ProgrammableConnectivityClient(endpoint, credential).GetNumberVerificationClient(apiVersion: "2024-02-09-preview"); - NumberVerificationWithoutCodeContent numberVerificationWithoutCodeContent = new NumberVerificationWithoutCodeContent(new NetworkIdentifier("", ""), new Uri("http://localhost:3000")); - Response response = await client.VerifyWithoutCodeAsync("", numberVerificationWithoutCodeContent); + NumberVerificationWithoutCodeContent body = new NumberVerificationWithoutCodeContent(new NetworkIdentifier("", ""), new Uri("http://localhost:3000")); + Response response = await client.VerifyWithoutCodeAsync("", body); } [Test] @@ -140,12 +140,12 @@ public void Example_NumberVerification_VerifyWithoutCode_AllParameters_Convenien TokenCredential credential = new DefaultAzureCredential(); NumberVerification client = new ProgrammableConnectivityClient(endpoint, credential).GetNumberVerificationClient(apiVersion: "2024-02-09-preview"); - NumberVerificationWithoutCodeContent numberVerificationWithoutCodeContent = new NumberVerificationWithoutCodeContent(new NetworkIdentifier("", ""), new Uri("http://localhost:3000")) + NumberVerificationWithoutCodeContent body = new NumberVerificationWithoutCodeContent(new NetworkIdentifier("", ""), new Uri("http://localhost:3000")) { PhoneNumber = "", HashedPhoneNumber = "", }; - Response response = client.VerifyWithoutCode("", numberVerificationWithoutCodeContent); + Response response = client.VerifyWithoutCode("", body); } [Test] @@ -156,12 +156,12 @@ public async Task Example_NumberVerification_VerifyWithoutCode_AllParameters_Con TokenCredential credential = new DefaultAzureCredential(); NumberVerification client = new ProgrammableConnectivityClient(endpoint, credential).GetNumberVerificationClient(apiVersion: "2024-02-09-preview"); - NumberVerificationWithoutCodeContent numberVerificationWithoutCodeContent = new NumberVerificationWithoutCodeContent(new NetworkIdentifier("", ""), new Uri("http://localhost:3000")) + NumberVerificationWithoutCodeContent body = new NumberVerificationWithoutCodeContent(new NetworkIdentifier("", ""), new Uri("http://localhost:3000")) { PhoneNumber = "", HashedPhoneNumber = "", }; - Response response = await client.VerifyWithoutCodeAsync("", numberVerificationWithoutCodeContent); + Response response = await client.VerifyWithoutCodeAsync("", body); } [Test] @@ -208,8 +208,8 @@ public void Example_NumberVerification_VerifyWithCode_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); NumberVerification client = new ProgrammableConnectivityClient(endpoint, credential).GetNumberVerificationClient(apiVersion: "2024-02-09-preview"); - NumberVerificationWithCodeContent numberVerificationWithCodeContent = new NumberVerificationWithCodeContent(""); - Response response = client.VerifyWithCode("", numberVerificationWithCodeContent); + NumberVerificationWithCodeContent body = new NumberVerificationWithCodeContent(""); + Response response = client.VerifyWithCode("", body); } [Test] @@ -220,8 +220,8 @@ public async Task Example_NumberVerification_VerifyWithCode_ShortVersion_Conveni TokenCredential credential = new DefaultAzureCredential(); NumberVerification client = new ProgrammableConnectivityClient(endpoint, credential).GetNumberVerificationClient(apiVersion: "2024-02-09-preview"); - NumberVerificationWithCodeContent numberVerificationWithCodeContent = new NumberVerificationWithCodeContent(""); - Response response = await client.VerifyWithCodeAsync("", numberVerificationWithCodeContent); + NumberVerificationWithCodeContent body = new NumberVerificationWithCodeContent(""); + Response response = await client.VerifyWithCodeAsync("", body); } [Test] @@ -268,8 +268,8 @@ public void Example_NumberVerification_VerifyWithCode_AllParameters_Convenience( TokenCredential credential = new DefaultAzureCredential(); NumberVerification client = new ProgrammableConnectivityClient(endpoint, credential).GetNumberVerificationClient(apiVersion: "2024-02-09-preview"); - NumberVerificationWithCodeContent numberVerificationWithCodeContent = new NumberVerificationWithCodeContent(""); - Response response = client.VerifyWithCode("", numberVerificationWithCodeContent); + NumberVerificationWithCodeContent body = new NumberVerificationWithCodeContent(""); + Response response = client.VerifyWithCode("", body); } [Test] @@ -280,8 +280,8 @@ public async Task Example_NumberVerification_VerifyWithCode_AllParameters_Conven TokenCredential credential = new DefaultAzureCredential(); NumberVerification client = new ProgrammableConnectivityClient(endpoint, credential).GetNumberVerificationClient(apiVersion: "2024-02-09-preview"); - NumberVerificationWithCodeContent numberVerificationWithCodeContent = new NumberVerificationWithCodeContent(""); - Response response = await client.VerifyWithCodeAsync("", numberVerificationWithCodeContent); + NumberVerificationWithCodeContent body = new NumberVerificationWithCodeContent(""); + Response response = await client.VerifyWithCodeAsync("", body); } } } diff --git a/sdk/communication/Azure.Communication.ProgrammableConnectivity/tests/Generated/Samples/Samples_SimSwap.cs b/sdk/communication/Azure.Communication.ProgrammableConnectivity/tests/Generated/Samples/Samples_SimSwap.cs index ed60c0336e32c..d43346eac1ac4 100644 --- a/sdk/communication/Azure.Communication.ProgrammableConnectivity/tests/Generated/Samples/Samples_SimSwap.cs +++ b/sdk/communication/Azure.Communication.ProgrammableConnectivity/tests/Generated/Samples/Samples_SimSwap.cs @@ -68,8 +68,8 @@ public void Example_SimSwap_Retrieve_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); SimSwap client = new ProgrammableConnectivityClient(endpoint, credential).GetSimSwapClient(apiVersion: "2024-02-09-preview"); - SimSwapRetrievalContent simSwapRetrievalContent = new SimSwapRetrievalContent(new NetworkIdentifier("", "")); - Response response = client.Retrieve("", simSwapRetrievalContent); + SimSwapRetrievalContent body = new SimSwapRetrievalContent(new NetworkIdentifier("", "")); + Response response = client.Retrieve("", body); } [Test] @@ -80,8 +80,8 @@ public async Task Example_SimSwap_Retrieve_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); SimSwap client = new ProgrammableConnectivityClient(endpoint, credential).GetSimSwapClient(apiVersion: "2024-02-09-preview"); - SimSwapRetrievalContent simSwapRetrievalContent = new SimSwapRetrievalContent(new NetworkIdentifier("", "")); - Response response = await client.RetrieveAsync("", simSwapRetrievalContent); + SimSwapRetrievalContent body = new SimSwapRetrievalContent(new NetworkIdentifier("", "")); + Response response = await client.RetrieveAsync("", body); } [Test] @@ -138,11 +138,11 @@ public void Example_SimSwap_Retrieve_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); SimSwap client = new ProgrammableConnectivityClient(endpoint, credential).GetSimSwapClient(apiVersion: "2024-02-09-preview"); - SimSwapRetrievalContent simSwapRetrievalContent = new SimSwapRetrievalContent(new NetworkIdentifier("", "")) + SimSwapRetrievalContent body = new SimSwapRetrievalContent(new NetworkIdentifier("", "")) { PhoneNumber = "", }; - Response response = client.Retrieve("", simSwapRetrievalContent); + Response response = client.Retrieve("", body); } [Test] @@ -153,11 +153,11 @@ public async Task Example_SimSwap_Retrieve_AllParameters_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); SimSwap client = new ProgrammableConnectivityClient(endpoint, credential).GetSimSwapClient(apiVersion: "2024-02-09-preview"); - SimSwapRetrievalContent simSwapRetrievalContent = new SimSwapRetrievalContent(new NetworkIdentifier("", "")) + SimSwapRetrievalContent body = new SimSwapRetrievalContent(new NetworkIdentifier("", "")) { PhoneNumber = "", }; - Response response = await client.RetrieveAsync("", simSwapRetrievalContent); + Response response = await client.RetrieveAsync("", body); } [Test] @@ -212,8 +212,8 @@ public void Example_SimSwap_Verify_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); SimSwap client = new ProgrammableConnectivityClient(endpoint, credential).GetSimSwapClient(apiVersion: "2024-02-09-preview"); - SimSwapVerificationContent simSwapVerificationContent = new SimSwapVerificationContent(new NetworkIdentifier("", "")); - Response response = client.Verify("", simSwapVerificationContent); + SimSwapVerificationContent body = new SimSwapVerificationContent(new NetworkIdentifier("", "")); + Response response = client.Verify("", body); } [Test] @@ -224,8 +224,8 @@ public async Task Example_SimSwap_Verify_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); SimSwap client = new ProgrammableConnectivityClient(endpoint, credential).GetSimSwapClient(apiVersion: "2024-02-09-preview"); - SimSwapVerificationContent simSwapVerificationContent = new SimSwapVerificationContent(new NetworkIdentifier("", "")); - Response response = await client.VerifyAsync("", simSwapVerificationContent); + SimSwapVerificationContent body = new SimSwapVerificationContent(new NetworkIdentifier("", "")); + Response response = await client.VerifyAsync("", body); } [Test] @@ -284,12 +284,12 @@ public void Example_SimSwap_Verify_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); SimSwap client = new ProgrammableConnectivityClient(endpoint, credential).GetSimSwapClient(apiVersion: "2024-02-09-preview"); - SimSwapVerificationContent simSwapVerificationContent = new SimSwapVerificationContent(new NetworkIdentifier("", "")) + SimSwapVerificationContent body = new SimSwapVerificationContent(new NetworkIdentifier("", "")) { PhoneNumber = "", MaxAgeHours = 1234, }; - Response response = client.Verify("", simSwapVerificationContent); + Response response = client.Verify("", body); } [Test] @@ -300,12 +300,12 @@ public async Task Example_SimSwap_Verify_AllParameters_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); SimSwap client = new ProgrammableConnectivityClient(endpoint, credential).GetSimSwapClient(apiVersion: "2024-02-09-preview"); - SimSwapVerificationContent simSwapVerificationContent = new SimSwapVerificationContent(new NetworkIdentifier("", "")) + SimSwapVerificationContent body = new SimSwapVerificationContent(new NetworkIdentifier("", "")) { PhoneNumber = "", MaxAgeHours = 1234, }; - Response response = await client.VerifyAsync("", simSwapVerificationContent); + Response response = await client.VerifyAsync("", body); } } } diff --git a/sdk/communication/Azure.Communication.ProgrammableConnectivity/tsp-location.yaml b/sdk/communication/Azure.Communication.ProgrammableConnectivity/tsp-location.yaml index a3194647b4a84..984bcf4b206ce 100644 --- a/sdk/communication/Azure.Communication.ProgrammableConnectivity/tsp-location.yaml +++ b/sdk/communication/Azure.Communication.ProgrammableConnectivity/tsp-location.yaml @@ -1,4 +1,4 @@ -commit: 018899cb32a2ccb87953beff95d0a21ad62b53c8 +commit: c28640102e994513192bc17863eec5968b0057d5 repo: Azure/azure-rest-api-specs directory: specification/programmableconnectivity/Azure.ProgrammableConnectivity diff --git a/sdk/easm/Azure.Analytics.Defender.Easm/api/Azure.Analytics.Defender.Easm.netstandard2.0.cs b/sdk/easm/Azure.Analytics.Defender.Easm/api/Azure.Analytics.Defender.Easm.netstandard2.0.cs index ff9626d8f8d00..0e4565a4d11aa 100644 --- a/sdk/easm/Azure.Analytics.Defender.Easm/api/Azure.Analytics.Defender.Easm.netstandard2.0.cs +++ b/sdk/easm/Azure.Analytics.Defender.Easm/api/Azure.Analytics.Defender.Easm.netstandard2.0.cs @@ -791,17 +791,17 @@ public EasmClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Az public virtual Azure.Response CancelTask(string taskId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CancelTaskAsync(string taskId, Azure.RequestContext context) { throw null; } public virtual System.Threading.Tasks.Task> CancelTaskAsync(string taskId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CreateOrReplaceDataConnection(string dataConnectionName, Azure.Analytics.Defender.Easm.DataConnectionPayload dataConnectionPayload, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CreateOrReplaceDataConnection(string dataConnectionName, Azure.Analytics.Defender.Easm.DataConnectionPayload body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateOrReplaceDataConnection(string dataConnectionName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> CreateOrReplaceDataConnectionAsync(string dataConnectionName, Azure.Analytics.Defender.Easm.DataConnectionPayload dataConnectionPayload, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateOrReplaceDataConnectionAsync(string dataConnectionName, Azure.Analytics.Defender.Easm.DataConnectionPayload body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateOrReplaceDataConnectionAsync(string dataConnectionName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response CreateOrReplaceDiscoveryGroup(string groupName, Azure.Analytics.Defender.Easm.DiscoveryGroupPayload discoveryGroupPayload, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CreateOrReplaceDiscoveryGroup(string groupName, Azure.Analytics.Defender.Easm.DiscoveryGroupPayload body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateOrReplaceDiscoveryGroup(string groupName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> CreateOrReplaceDiscoveryGroupAsync(string groupName, Azure.Analytics.Defender.Easm.DiscoveryGroupPayload discoveryGroupPayload, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateOrReplaceDiscoveryGroupAsync(string groupName, Azure.Analytics.Defender.Easm.DiscoveryGroupPayload body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateOrReplaceDiscoveryGroupAsync(string groupName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response CreateOrReplaceSavedFilter(string filterName, Azure.Analytics.Defender.Easm.SavedFilterPayload savedFilterPayload, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CreateOrReplaceSavedFilter(string filterName, Azure.Analytics.Defender.Easm.SavedFilterPayload body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateOrReplaceSavedFilter(string filterName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> CreateOrReplaceSavedFilterAsync(string filterName, Azure.Analytics.Defender.Easm.SavedFilterPayload savedFilterPayload, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateOrReplaceSavedFilterAsync(string filterName, Azure.Analytics.Defender.Easm.SavedFilterPayload body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateOrReplaceSavedFilterAsync(string filterName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response DeleteDataConnection(string dataConnectionName, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task DeleteDataConnectionAsync(string dataConnectionName, Azure.RequestContext context = null) { throw null; } @@ -855,13 +855,13 @@ public EasmClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Az public virtual Azure.Pageable GetSavedFilters(string filter = null, int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetSavedFiltersAsync(string filter, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } public virtual Azure.AsyncPageable GetSavedFiltersAsync(string filter = null, int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetSnapshot(Azure.Analytics.Defender.Easm.ReportAssetSnapshotPayload reportAssetSnapshotPayload, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetSnapshot(Azure.Analytics.Defender.Easm.ReportAssetSnapshotPayload body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetSnapshot(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> GetSnapshotAsync(Azure.Analytics.Defender.Easm.ReportAssetSnapshotPayload reportAssetSnapshotPayload, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetSnapshotAsync(Azure.Analytics.Defender.Easm.ReportAssetSnapshotPayload body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetSnapshotAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response GetSummary(Azure.Analytics.Defender.Easm.ReportAssetSummaryPayload reportAssetSummaryPayload, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetSummary(Azure.Analytics.Defender.Easm.ReportAssetSummaryPayload body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetSummary(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> GetSummaryAsync(Azure.Analytics.Defender.Easm.ReportAssetSummaryPayload reportAssetSummaryPayload, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetSummaryAsync(Azure.Analytics.Defender.Easm.ReportAssetSummaryPayload body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetSummaryAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response GetTask(string taskId, Azure.RequestContext context) { throw null; } public virtual Azure.Response GetTask(string taskId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -873,17 +873,17 @@ public EasmClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Az public virtual Azure.AsyncPageable GetTasksAsync(string filter = null, string orderby = null, int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response RunDiscoveryGroup(string groupName, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task RunDiscoveryGroupAsync(string groupName, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response UpdateAssets(string filter, Azure.Analytics.Defender.Easm.AssetUpdatePayload assetUpdatePayload, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateAssets(string filter, Azure.Analytics.Defender.Easm.AssetUpdatePayload body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response UpdateAssets(string filter, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateAssetsAsync(string filter, Azure.Analytics.Defender.Easm.AssetUpdatePayload assetUpdatePayload, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateAssetsAsync(string filter, Azure.Analytics.Defender.Easm.AssetUpdatePayload body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UpdateAssetsAsync(string filter, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response ValidateDataConnection(Azure.Analytics.Defender.Easm.DataConnectionPayload dataConnectionPayload, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response ValidateDataConnection(Azure.Analytics.Defender.Easm.DataConnectionPayload body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response ValidateDataConnection(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> ValidateDataConnectionAsync(Azure.Analytics.Defender.Easm.DataConnectionPayload dataConnectionPayload, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ValidateDataConnectionAsync(Azure.Analytics.Defender.Easm.DataConnectionPayload body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task ValidateDataConnectionAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response ValidateDiscoveryGroup(Azure.Analytics.Defender.Easm.DiscoveryGroupPayload discoveryGroupPayload, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response ValidateDiscoveryGroup(Azure.Analytics.Defender.Easm.DiscoveryGroupPayload body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response ValidateDiscoveryGroup(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> ValidateDiscoveryGroupAsync(Azure.Analytics.Defender.Easm.DiscoveryGroupPayload discoveryGroupPayload, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ValidateDiscoveryGroupAsync(Azure.Analytics.Defender.Easm.DiscoveryGroupPayload body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task ValidateDiscoveryGroupAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } } public partial class EasmClientOptions : Azure.Core.ClientOptions diff --git a/sdk/easm/Azure.Analytics.Defender.Easm/src/Generated/Docs/EasmClient.xml b/sdk/easm/Azure.Analytics.Defender.Easm/src/Generated/Docs/EasmClient.xml index 0852b588dd9ef..d9a2e7040be41 100644 --- a/sdk/easm/Azure.Analytics.Defender.Easm/src/Generated/Docs/EasmClient.xml +++ b/sdk/easm/Azure.Analytics.Defender.Easm/src/Generated/Docs/EasmClient.xml @@ -9,8 +9,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -AssetUpdatePayload assetUpdatePayload = new AssetUpdatePayload(); -Response response = await client.UpdateAssetsAsync("", assetUpdatePayload); +AssetUpdatePayload body = new AssetUpdatePayload(); +Response response = await client.UpdateAssetsAsync("", body); ]]> This sample shows how to call UpdateAssetsAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -AssetUpdatePayload assetUpdatePayload = new AssetUpdatePayload +AssetUpdatePayload body = new AssetUpdatePayload { State = AssetUpdateState.Candidate, ExternalId = "", @@ -28,7 +28,7 @@ AssetUpdatePayload assetUpdatePayload = new AssetUpdatePayload }, Transfers = AssetUpdateTransfers.As, }; -Response response = await client.UpdateAssetsAsync("", assetUpdatePayload); +Response response = await client.UpdateAssetsAsync("", body); ]]> @@ -39,8 +39,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -AssetUpdatePayload assetUpdatePayload = new AssetUpdatePayload(); -Response response = client.UpdateAssets("", assetUpdatePayload); +AssetUpdatePayload body = new AssetUpdatePayload(); +Response response = client.UpdateAssets("", body); ]]> This sample shows how to call UpdateAssets with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -AssetUpdatePayload assetUpdatePayload = new AssetUpdatePayload +AssetUpdatePayload body = new AssetUpdatePayload { State = AssetUpdateState.Candidate, ExternalId = "", @@ -58,7 +58,7 @@ AssetUpdatePayload assetUpdatePayload = new AssetUpdatePayload }, Transfers = AssetUpdateTransfers.As, }; -Response response = client.UpdateAssets("", assetUpdatePayload); +Response response = client.UpdateAssets("", body); ]]> @@ -279,8 +279,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -DataConnectionPayload dataConnectionPayload = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties()); -Response response = await client.ValidateDataConnectionAsync(dataConnectionPayload); +DataConnectionPayload body = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties()); +Response response = await client.ValidateDataConnectionAsync(body); ]]> This sample shows how to call ValidateDataConnectionAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -DataConnectionPayload dataConnectionPayload = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties +DataConnectionPayload body = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties { ApiKey = "", WorkspaceId = "", @@ -299,7 +299,7 @@ DataConnectionPayload dataConnectionPayload = new LogAnalyticsDataConnectionPayl Frequency = DataConnectionFrequency.Daily, FrequencyOffset = 1234, }; -Response response = await client.ValidateDataConnectionAsync(dataConnectionPayload); +Response response = await client.ValidateDataConnectionAsync(body); ]]> @@ -310,8 +310,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -DataConnectionPayload dataConnectionPayload = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties()); -Response response = client.ValidateDataConnection(dataConnectionPayload); +DataConnectionPayload body = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties()); +Response response = client.ValidateDataConnection(body); ]]> This sample shows how to call ValidateDataConnection with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -DataConnectionPayload dataConnectionPayload = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties +DataConnectionPayload body = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties { ApiKey = "", WorkspaceId = "", @@ -330,7 +330,7 @@ DataConnectionPayload dataConnectionPayload = new LogAnalyticsDataConnectionPayl Frequency = DataConnectionFrequency.Daily, FrequencyOffset = 1234, }; -Response response = client.ValidateDataConnection(dataConnectionPayload); +Response response = client.ValidateDataConnection(body); ]]> @@ -547,8 +547,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -DataConnectionPayload dataConnectionPayload = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties()); -Response response = await client.CreateOrReplaceDataConnectionAsync("", dataConnectionPayload); +DataConnectionPayload body = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties()); +Response response = await client.CreateOrReplaceDataConnectionAsync("", body); ]]> This sample shows how to call CreateOrReplaceDataConnectionAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -DataConnectionPayload dataConnectionPayload = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties +DataConnectionPayload body = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties { ApiKey = "", WorkspaceId = "", @@ -567,7 +567,7 @@ DataConnectionPayload dataConnectionPayload = new LogAnalyticsDataConnectionPayl Frequency = DataConnectionFrequency.Daily, FrequencyOffset = 1234, }; -Response response = await client.CreateOrReplaceDataConnectionAsync("", dataConnectionPayload); +Response response = await client.CreateOrReplaceDataConnectionAsync("", body); ]]> @@ -578,8 +578,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -DataConnectionPayload dataConnectionPayload = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties()); -Response response = client.CreateOrReplaceDataConnection("", dataConnectionPayload); +DataConnectionPayload body = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties()); +Response response = client.CreateOrReplaceDataConnection("", body); ]]> This sample shows how to call CreateOrReplaceDataConnection with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -DataConnectionPayload dataConnectionPayload = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties +DataConnectionPayload body = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties { ApiKey = "", WorkspaceId = "", @@ -598,7 +598,7 @@ DataConnectionPayload dataConnectionPayload = new LogAnalyticsDataConnectionPayl Frequency = DataConnectionFrequency.Daily, FrequencyOffset = 1234, }; -Response response = client.CreateOrReplaceDataConnection("", dataConnectionPayload); +Response response = client.CreateOrReplaceDataConnection("", body); ]]> @@ -765,8 +765,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -DiscoveryGroupPayload discoveryGroupPayload = new DiscoveryGroupPayload(); -Response response = await client.ValidateDiscoveryGroupAsync(discoveryGroupPayload); +DiscoveryGroupPayload body = new DiscoveryGroupPayload(); +Response response = await client.ValidateDiscoveryGroupAsync(body); ]]> This sample shows how to call ValidateDiscoveryGroupAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -DiscoveryGroupPayload discoveryGroupPayload = new DiscoveryGroupPayload +DiscoveryGroupPayload body = new DiscoveryGroupPayload { Name = "", Description = "", @@ -789,7 +789,7 @@ DiscoveryGroupPayload discoveryGroupPayload = new DiscoveryGroupPayload Excludes = { default }, TemplateId = "", }; -Response response = await client.ValidateDiscoveryGroupAsync(discoveryGroupPayload); +Response response = await client.ValidateDiscoveryGroupAsync(body); ]]> @@ -800,8 +800,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -DiscoveryGroupPayload discoveryGroupPayload = new DiscoveryGroupPayload(); -Response response = client.ValidateDiscoveryGroup(discoveryGroupPayload); +DiscoveryGroupPayload body = new DiscoveryGroupPayload(); +Response response = client.ValidateDiscoveryGroup(body); ]]> This sample shows how to call ValidateDiscoveryGroup with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -DiscoveryGroupPayload discoveryGroupPayload = new DiscoveryGroupPayload +DiscoveryGroupPayload body = new DiscoveryGroupPayload { Name = "", Description = "", @@ -824,7 +824,7 @@ DiscoveryGroupPayload discoveryGroupPayload = new DiscoveryGroupPayload Excludes = { default }, TemplateId = "", }; -Response response = client.ValidateDiscoveryGroup(discoveryGroupPayload); +Response response = client.ValidateDiscoveryGroup(body); ]]> @@ -1077,8 +1077,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -DiscoveryGroupPayload discoveryGroupPayload = new DiscoveryGroupPayload(); -Response response = await client.CreateOrReplaceDiscoveryGroupAsync("", discoveryGroupPayload); +DiscoveryGroupPayload body = new DiscoveryGroupPayload(); +Response response = await client.CreateOrReplaceDiscoveryGroupAsync("", body); ]]> This sample shows how to call CreateOrReplaceDiscoveryGroupAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -DiscoveryGroupPayload discoveryGroupPayload = new DiscoveryGroupPayload +DiscoveryGroupPayload body = new DiscoveryGroupPayload { Name = "", Description = "", @@ -1101,7 +1101,7 @@ DiscoveryGroupPayload discoveryGroupPayload = new DiscoveryGroupPayload Excludes = { default }, TemplateId = "", }; -Response response = await client.CreateOrReplaceDiscoveryGroupAsync("", discoveryGroupPayload); +Response response = await client.CreateOrReplaceDiscoveryGroupAsync("", body); ]]> @@ -1112,8 +1112,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -DiscoveryGroupPayload discoveryGroupPayload = new DiscoveryGroupPayload(); -Response response = client.CreateOrReplaceDiscoveryGroup("", discoveryGroupPayload); +DiscoveryGroupPayload body = new DiscoveryGroupPayload(); +Response response = client.CreateOrReplaceDiscoveryGroup("", body); ]]> This sample shows how to call CreateOrReplaceDiscoveryGroup with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -DiscoveryGroupPayload discoveryGroupPayload = new DiscoveryGroupPayload +DiscoveryGroupPayload body = new DiscoveryGroupPayload { Name = "", Description = "", @@ -1136,7 +1136,7 @@ DiscoveryGroupPayload discoveryGroupPayload = new DiscoveryGroupPayload Excludes = { default }, TemplateId = "", }; -Response response = client.CreateOrReplaceDiscoveryGroup("", discoveryGroupPayload); +Response response = client.CreateOrReplaceDiscoveryGroup("", body); ]]> @@ -1541,8 +1541,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -ReportAssetSnapshotPayload reportAssetSnapshotPayload = new ReportAssetSnapshotPayload(); -Response response = await client.GetSnapshotAsync(reportAssetSnapshotPayload); +ReportAssetSnapshotPayload body = new ReportAssetSnapshotPayload(); +Response response = await client.GetSnapshotAsync(body); ]]> This sample shows how to call GetSnapshotAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -ReportAssetSnapshotPayload reportAssetSnapshotPayload = new ReportAssetSnapshotPayload +ReportAssetSnapshotPayload body = new ReportAssetSnapshotPayload { Metric = "", LabelName = "", Size = 1234, Page = 1234, }; -Response response = await client.GetSnapshotAsync(reportAssetSnapshotPayload); +Response response = await client.GetSnapshotAsync(body); ]]> @@ -1568,8 +1568,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -ReportAssetSnapshotPayload reportAssetSnapshotPayload = new ReportAssetSnapshotPayload(); -Response response = client.GetSnapshot(reportAssetSnapshotPayload); +ReportAssetSnapshotPayload body = new ReportAssetSnapshotPayload(); +Response response = client.GetSnapshot(body); ]]> This sample shows how to call GetSnapshot with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -ReportAssetSnapshotPayload reportAssetSnapshotPayload = new ReportAssetSnapshotPayload +ReportAssetSnapshotPayload body = new ReportAssetSnapshotPayload { Metric = "", LabelName = "", Size = 1234, Page = 1234, }; -Response response = client.GetSnapshot(reportAssetSnapshotPayload); +Response response = client.GetSnapshot(body); ]]> @@ -1711,8 +1711,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -ReportAssetSummaryPayload reportAssetSummaryPayload = new ReportAssetSummaryPayload(); -Response response = await client.GetSummaryAsync(reportAssetSummaryPayload); +ReportAssetSummaryPayload body = new ReportAssetSummaryPayload(); +Response response = await client.GetSummaryAsync(body); ]]> This sample shows how to call GetSummaryAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -ReportAssetSummaryPayload reportAssetSummaryPayload = new ReportAssetSummaryPayload +ReportAssetSummaryPayload body = new ReportAssetSummaryPayload { MetricCategories = { "" }, Metrics = { "" }, @@ -1729,7 +1729,7 @@ ReportAssetSummaryPayload reportAssetSummaryPayload = new ReportAssetSummaryPayl SegmentBy = "", LabelName = "", }; -Response response = await client.GetSummaryAsync(reportAssetSummaryPayload); +Response response = await client.GetSummaryAsync(body); ]]> @@ -1740,8 +1740,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -ReportAssetSummaryPayload reportAssetSummaryPayload = new ReportAssetSummaryPayload(); -Response response = client.GetSummary(reportAssetSummaryPayload); +ReportAssetSummaryPayload body = new ReportAssetSummaryPayload(); +Response response = client.GetSummary(body); ]]> This sample shows how to call GetSummary with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -ReportAssetSummaryPayload reportAssetSummaryPayload = new ReportAssetSummaryPayload +ReportAssetSummaryPayload body = new ReportAssetSummaryPayload { MetricCategories = { "" }, Metrics = { "" }, @@ -1758,7 +1758,7 @@ ReportAssetSummaryPayload reportAssetSummaryPayload = new ReportAssetSummaryPayl SegmentBy = "", LabelName = "", }; -Response response = client.GetSummary(reportAssetSummaryPayload); +Response response = client.GetSummary(body); ]]> @@ -1969,8 +1969,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -SavedFilterPayload savedFilterPayload = new SavedFilterPayload("", ""); -Response response = await client.CreateOrReplaceSavedFilterAsync("", savedFilterPayload); +SavedFilterPayload body = new SavedFilterPayload("", ""); +Response response = await client.CreateOrReplaceSavedFilterAsync("", body); ]]> This sample shows how to call CreateOrReplaceSavedFilterAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -SavedFilterPayload savedFilterPayload = new SavedFilterPayload("", ""); -Response response = await client.CreateOrReplaceSavedFilterAsync("", savedFilterPayload); +SavedFilterPayload body = new SavedFilterPayload("", ""); +Response response = await client.CreateOrReplaceSavedFilterAsync("", body); ]]> @@ -1990,8 +1990,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -SavedFilterPayload savedFilterPayload = new SavedFilterPayload("", ""); -Response response = client.CreateOrReplaceSavedFilter("", savedFilterPayload); +SavedFilterPayload body = new SavedFilterPayload("", ""); +Response response = client.CreateOrReplaceSavedFilter("", body); ]]> This sample shows how to call CreateOrReplaceSavedFilter with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); -SavedFilterPayload savedFilterPayload = new SavedFilterPayload("", ""); -Response response = client.CreateOrReplaceSavedFilter("", savedFilterPayload); +SavedFilterPayload body = new SavedFilterPayload("", ""); +Response response = client.CreateOrReplaceSavedFilter("", body); ]]> diff --git a/sdk/easm/Azure.Analytics.Defender.Easm/src/Generated/EasmClient.cs b/sdk/easm/Azure.Analytics.Defender.Easm/src/Generated/EasmClient.cs index 44df688206fea..3a076e236d9cc 100644 --- a/sdk/easm/Azure.Analytics.Defender.Easm/src/Generated/EasmClient.cs +++ b/sdk/easm/Azure.Analytics.Defender.Easm/src/Generated/EasmClient.cs @@ -63,16 +63,16 @@ public EasmClient(Uri endpoint, TokenCredential credential, EasmClientOptions op /// Update labels on assets matching the provided filter. /// An expression on the resource type that selects the resources to be returned. - /// A request body used to update an asset. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// - public virtual async Task> UpdateAssetsAsync(string filter, AssetUpdatePayload assetUpdatePayload, CancellationToken cancellationToken = default) + public virtual async Task> UpdateAssetsAsync(string filter, AssetUpdatePayload body, CancellationToken cancellationToken = default) { Argument.AssertNotNull(filter, nameof(filter)); - Argument.AssertNotNull(assetUpdatePayload, nameof(assetUpdatePayload)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = assetUpdatePayload.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await UpdateAssetsAsync(filter, content, context).ConfigureAwait(false); return Response.FromValue(TaskResource.FromResponse(response), response); @@ -80,16 +80,16 @@ public virtual async Task> UpdateAssetsAsync(string filte /// Update labels on assets matching the provided filter. /// An expression on the resource type that selects the resources to be returned. - /// A request body used to update an asset. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// - public virtual Response UpdateAssets(string filter, AssetUpdatePayload assetUpdatePayload, CancellationToken cancellationToken = default) + public virtual Response UpdateAssets(string filter, AssetUpdatePayload body, CancellationToken cancellationToken = default) { Argument.AssertNotNull(filter, nameof(filter)); - Argument.AssertNotNull(assetUpdatePayload, nameof(assetUpdatePayload)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = assetUpdatePayload.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = UpdateAssets(filter, content, context); return Response.FromValue(TaskResource.FromResponse(response), response); @@ -288,30 +288,30 @@ public virtual Response GetAssetResource(string assetId, RequestContext context) } /// Validate a data connection with a given dataConnectionName. - /// The to use. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> ValidateDataConnectionAsync(DataConnectionPayload dataConnectionPayload, CancellationToken cancellationToken = default) + public virtual async Task> ValidateDataConnectionAsync(DataConnectionPayload body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(dataConnectionPayload, nameof(dataConnectionPayload)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = dataConnectionPayload.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await ValidateDataConnectionAsync(content, context).ConfigureAwait(false); return Response.FromValue(ValidateResult.FromResponse(response), response); } /// Validate a data connection with a given dataConnectionName. - /// The to use. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response ValidateDataConnection(DataConnectionPayload dataConnectionPayload, CancellationToken cancellationToken = default) + public virtual Response ValidateDataConnection(DataConnectionPayload body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(dataConnectionPayload, nameof(dataConnectionPayload)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = dataConnectionPayload.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = ValidateDataConnection(content, context); return Response.FromValue(ValidateResult.FromResponse(response), response); @@ -507,17 +507,17 @@ public virtual Response GetDataConnection(string dataConnectionName, RequestCont /// Create or replace a data connection with a given dataConnectionName. /// The caller provided unique name for the resource. - /// The to use. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual async Task> CreateOrReplaceDataConnectionAsync(string dataConnectionName, DataConnectionPayload dataConnectionPayload, CancellationToken cancellationToken = default) + public virtual async Task> CreateOrReplaceDataConnectionAsync(string dataConnectionName, DataConnectionPayload body, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(dataConnectionName, nameof(dataConnectionName)); - Argument.AssertNotNull(dataConnectionPayload, nameof(dataConnectionPayload)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = dataConnectionPayload.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await CreateOrReplaceDataConnectionAsync(dataConnectionName, content, context).ConfigureAwait(false); return Response.FromValue(DataConnection.FromResponse(response), response); @@ -525,17 +525,17 @@ public virtual async Task> CreateOrReplaceDataConnectio /// Create or replace a data connection with a given dataConnectionName. /// The caller provided unique name for the resource. - /// The to use. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual Response CreateOrReplaceDataConnection(string dataConnectionName, DataConnectionPayload dataConnectionPayload, CancellationToken cancellationToken = default) + public virtual Response CreateOrReplaceDataConnection(string dataConnectionName, DataConnectionPayload body, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(dataConnectionName, nameof(dataConnectionName)); - Argument.AssertNotNull(dataConnectionPayload, nameof(dataConnectionPayload)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = dataConnectionPayload.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = CreateOrReplaceDataConnection(dataConnectionName, content, context); return Response.FromValue(DataConnection.FromResponse(response), response); @@ -698,30 +698,30 @@ public virtual Response DeleteDataConnection(string dataConnectionName, RequestC } /// Validate a discovery group with a given groupName. - /// A request body used to create a discovery group. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> ValidateDiscoveryGroupAsync(DiscoveryGroupPayload discoveryGroupPayload, CancellationToken cancellationToken = default) + public virtual async Task> ValidateDiscoveryGroupAsync(DiscoveryGroupPayload body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(discoveryGroupPayload, nameof(discoveryGroupPayload)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = discoveryGroupPayload.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await ValidateDiscoveryGroupAsync(content, context).ConfigureAwait(false); return Response.FromValue(ValidateResult.FromResponse(response), response); } /// Validate a discovery group with a given groupName. - /// A request body used to create a discovery group. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response ValidateDiscoveryGroup(DiscoveryGroupPayload discoveryGroupPayload, CancellationToken cancellationToken = default) + public virtual Response ValidateDiscoveryGroup(DiscoveryGroupPayload body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(discoveryGroupPayload, nameof(discoveryGroupPayload)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = discoveryGroupPayload.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = ValidateDiscoveryGroup(content, context); return Response.FromValue(ValidateResult.FromResponse(response), response); @@ -917,17 +917,17 @@ public virtual Response GetDiscoveryGroup(string groupName, RequestContext conte /// Create a discovery group with a given groupName. /// The caller provided unique name for the resource. - /// A request body used to create a discovery group. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual async Task> CreateOrReplaceDiscoveryGroupAsync(string groupName, DiscoveryGroupPayload discoveryGroupPayload, CancellationToken cancellationToken = default) + public virtual async Task> CreateOrReplaceDiscoveryGroupAsync(string groupName, DiscoveryGroupPayload body, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(groupName, nameof(groupName)); - Argument.AssertNotNull(discoveryGroupPayload, nameof(discoveryGroupPayload)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = discoveryGroupPayload.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await CreateOrReplaceDiscoveryGroupAsync(groupName, content, context).ConfigureAwait(false); return Response.FromValue(DiscoveryGroup.FromResponse(response), response); @@ -935,17 +935,17 @@ public virtual async Task> CreateOrReplaceDiscoveryGrou /// Create a discovery group with a given groupName. /// The caller provided unique name for the resource. - /// A request body used to create a discovery group. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual Response CreateOrReplaceDiscoveryGroup(string groupName, DiscoveryGroupPayload discoveryGroupPayload, CancellationToken cancellationToken = default) + public virtual Response CreateOrReplaceDiscoveryGroup(string groupName, DiscoveryGroupPayload body, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(groupName, nameof(groupName)); - Argument.AssertNotNull(discoveryGroupPayload, nameof(discoveryGroupPayload)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = discoveryGroupPayload.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = CreateOrReplaceDiscoveryGroup(groupName, content, context); return Response.FromValue(DiscoveryGroup.FromResponse(response), response); @@ -1308,30 +1308,30 @@ public virtual Response GetBillable(RequestContext context) } /// Get the most recent snapshot of asset summary values for the snapshot request. - /// A request body used to retrieve an asset report snapshot. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> GetSnapshotAsync(ReportAssetSnapshotPayload reportAssetSnapshotPayload, CancellationToken cancellationToken = default) + public virtual async Task> GetSnapshotAsync(ReportAssetSnapshotPayload body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(reportAssetSnapshotPayload, nameof(reportAssetSnapshotPayload)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = reportAssetSnapshotPayload.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await GetSnapshotAsync(content, context).ConfigureAwait(false); return Response.FromValue(ReportAssetSnapshotResult.FromResponse(response), response); } /// Get the most recent snapshot of asset summary values for the snapshot request. - /// A request body used to retrieve an asset report snapshot. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response GetSnapshot(ReportAssetSnapshotPayload reportAssetSnapshotPayload, CancellationToken cancellationToken = default) + public virtual Response GetSnapshot(ReportAssetSnapshotPayload body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(reportAssetSnapshotPayload, nameof(reportAssetSnapshotPayload)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = reportAssetSnapshotPayload.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = GetSnapshot(content, context); return Response.FromValue(ReportAssetSnapshotResult.FromResponse(response), response); @@ -1416,30 +1416,30 @@ public virtual Response GetSnapshot(RequestContent content, RequestContext conte } /// Get asset summary details for the summary request. - /// A request body used to retrieve summary asset information. One and only one collection of summary identifiers must be provided: filters, metrics, or metricCategories. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> GetSummaryAsync(ReportAssetSummaryPayload reportAssetSummaryPayload, CancellationToken cancellationToken = default) + public virtual async Task> GetSummaryAsync(ReportAssetSummaryPayload body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(reportAssetSummaryPayload, nameof(reportAssetSummaryPayload)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = reportAssetSummaryPayload.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await GetSummaryAsync(content, context).ConfigureAwait(false); return Response.FromValue(ReportAssetSummaryResult.FromResponse(response), response); } /// Get asset summary details for the summary request. - /// A request body used to retrieve summary asset information. One and only one collection of summary identifiers must be provided: filters, metrics, or metricCategories. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response GetSummary(ReportAssetSummaryPayload reportAssetSummaryPayload, CancellationToken cancellationToken = default) + public virtual Response GetSummary(ReportAssetSummaryPayload body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(reportAssetSummaryPayload, nameof(reportAssetSummaryPayload)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = reportAssetSummaryPayload.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = GetSummary(content, context); return Response.FromValue(ReportAssetSummaryResult.FromResponse(response), response); @@ -1635,17 +1635,17 @@ public virtual Response GetSavedFilter(string filterName, RequestContext context /// Create or replace a saved filter with a given filterName. /// The caller provided unique name for the resource. - /// A request body used to create a saved filter. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual async Task> CreateOrReplaceSavedFilterAsync(string filterName, SavedFilterPayload savedFilterPayload, CancellationToken cancellationToken = default) + public virtual async Task> CreateOrReplaceSavedFilterAsync(string filterName, SavedFilterPayload body, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(filterName, nameof(filterName)); - Argument.AssertNotNull(savedFilterPayload, nameof(savedFilterPayload)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = savedFilterPayload.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await CreateOrReplaceSavedFilterAsync(filterName, content, context).ConfigureAwait(false); return Response.FromValue(SavedFilter.FromResponse(response), response); @@ -1653,17 +1653,17 @@ public virtual async Task> CreateOrReplaceSavedFilterAsync /// Create or replace a saved filter with a given filterName. /// The caller provided unique name for the resource. - /// A request body used to create a saved filter. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual Response CreateOrReplaceSavedFilter(string filterName, SavedFilterPayload savedFilterPayload, CancellationToken cancellationToken = default) + public virtual Response CreateOrReplaceSavedFilter(string filterName, SavedFilterPayload body, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(filterName, nameof(filterName)); - Argument.AssertNotNull(savedFilterPayload, nameof(savedFilterPayload)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = savedFilterPayload.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = CreateOrReplaceSavedFilter(filterName, content, context); return Response.FromValue(SavedFilter.FromResponse(response), response); diff --git a/sdk/easm/Azure.Analytics.Defender.Easm/tests/Generated/Samples/Samples_EasmClient.cs b/sdk/easm/Azure.Analytics.Defender.Easm/tests/Generated/Samples/Samples_EasmClient.cs index 2bac73e1e7030..be6ad717bd457 100644 --- a/sdk/easm/Azure.Analytics.Defender.Easm/tests/Generated/Samples/Samples_EasmClient.cs +++ b/sdk/easm/Azure.Analytics.Defender.Easm/tests/Generated/Samples/Samples_EasmClient.cs @@ -54,8 +54,8 @@ public void Example_AssetResource_UpdateAssets_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - AssetUpdatePayload assetUpdatePayload = new AssetUpdatePayload(); - Response response = client.UpdateAssets("", assetUpdatePayload); + AssetUpdatePayload body = new AssetUpdatePayload(); + Response response = client.UpdateAssets("", body); } [Test] @@ -66,8 +66,8 @@ public async Task Example_AssetResource_UpdateAssets_ShortVersion_Convenience_As TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - AssetUpdatePayload assetUpdatePayload = new AssetUpdatePayload(); - Response response = await client.UpdateAssetsAsync("", assetUpdatePayload); + AssetUpdatePayload body = new AssetUpdatePayload(); + Response response = await client.UpdateAssetsAsync("", body); } [Test] @@ -140,7 +140,7 @@ public void Example_AssetResource_UpdateAssets_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - AssetUpdatePayload assetUpdatePayload = new AssetUpdatePayload + AssetUpdatePayload body = new AssetUpdatePayload { State = AssetUpdateState.Candidate, ExternalId = "", @@ -150,7 +150,7 @@ public void Example_AssetResource_UpdateAssets_AllParameters_Convenience() }, Transfers = AssetUpdateTransfers.As, }; - Response response = client.UpdateAssets("", assetUpdatePayload); + Response response = client.UpdateAssets("", body); } [Test] @@ -161,7 +161,7 @@ public async Task Example_AssetResource_UpdateAssets_AllParameters_Convenience_A TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - AssetUpdatePayload assetUpdatePayload = new AssetUpdatePayload + AssetUpdatePayload body = new AssetUpdatePayload { State = AssetUpdateState.Candidate, ExternalId = "", @@ -171,7 +171,7 @@ public async Task Example_AssetResource_UpdateAssets_AllParameters_Convenience_A }, Transfers = AssetUpdateTransfers.As, }; - Response response = await client.UpdateAssetsAsync("", assetUpdatePayload); + Response response = await client.UpdateAssetsAsync("", body); } [Test] @@ -356,8 +356,8 @@ public void Example_EasmClient_ValidateDataConnection_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - DataConnectionPayload dataConnectionPayload = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties()); - Response response = client.ValidateDataConnection(dataConnectionPayload); + DataConnectionPayload body = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties()); + Response response = client.ValidateDataConnection(body); } [Test] @@ -368,8 +368,8 @@ public async Task Example_EasmClient_ValidateDataConnection_ShortVersion_Conveni TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - DataConnectionPayload dataConnectionPayload = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties()); - Response response = await client.ValidateDataConnectionAsync(dataConnectionPayload); + DataConnectionPayload body = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties()); + Response response = await client.ValidateDataConnectionAsync(body); } [Test] @@ -442,7 +442,7 @@ public void Example_EasmClient_ValidateDataConnection_AllParameters_Convenience( TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - DataConnectionPayload dataConnectionPayload = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties + DataConnectionPayload body = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties { ApiKey = "", WorkspaceId = "", @@ -453,7 +453,7 @@ public void Example_EasmClient_ValidateDataConnection_AllParameters_Convenience( Frequency = DataConnectionFrequency.Daily, FrequencyOffset = 1234, }; - Response response = client.ValidateDataConnection(dataConnectionPayload); + Response response = client.ValidateDataConnection(body); } [Test] @@ -464,7 +464,7 @@ public async Task Example_EasmClient_ValidateDataConnection_AllParameters_Conven TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - DataConnectionPayload dataConnectionPayload = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties + DataConnectionPayload body = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties { ApiKey = "", WorkspaceId = "", @@ -475,7 +475,7 @@ public async Task Example_EasmClient_ValidateDataConnection_AllParameters_Conven Frequency = DataConnectionFrequency.Daily, FrequencyOffset = 1234, }; - Response response = await client.ValidateDataConnectionAsync(dataConnectionPayload); + Response response = await client.ValidateDataConnectionAsync(body); } [Test] @@ -650,8 +650,8 @@ public void Example_DataConnection_CreateOrReplaceDataConnection_ShortVersion_Co TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - DataConnectionPayload dataConnectionPayload = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties()); - Response response = client.CreateOrReplaceDataConnection("", dataConnectionPayload); + DataConnectionPayload body = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties()); + Response response = client.CreateOrReplaceDataConnection("", body); } [Test] @@ -662,8 +662,8 @@ public async Task Example_DataConnection_CreateOrReplaceDataConnection_ShortVers TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - DataConnectionPayload dataConnectionPayload = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties()); - Response response = await client.CreateOrReplaceDataConnectionAsync("", dataConnectionPayload); + DataConnectionPayload body = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties()); + Response response = await client.CreateOrReplaceDataConnectionAsync("", body); } [Test] @@ -750,7 +750,7 @@ public void Example_DataConnection_CreateOrReplaceDataConnection_AllParameters_C TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - DataConnectionPayload dataConnectionPayload = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties + DataConnectionPayload body = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties { ApiKey = "", WorkspaceId = "", @@ -761,7 +761,7 @@ public void Example_DataConnection_CreateOrReplaceDataConnection_AllParameters_C Frequency = DataConnectionFrequency.Daily, FrequencyOffset = 1234, }; - Response response = client.CreateOrReplaceDataConnection("", dataConnectionPayload); + Response response = client.CreateOrReplaceDataConnection("", body); } [Test] @@ -772,7 +772,7 @@ public async Task Example_DataConnection_CreateOrReplaceDataConnection_AllParame TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - DataConnectionPayload dataConnectionPayload = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties + DataConnectionPayload body = new LogAnalyticsDataConnectionPayload(new LogAnalyticsDataConnectionProperties { ApiKey = "", WorkspaceId = "", @@ -783,7 +783,7 @@ public async Task Example_DataConnection_CreateOrReplaceDataConnection_AllParame Frequency = DataConnectionFrequency.Daily, FrequencyOffset = 1234, }; - Response response = await client.CreateOrReplaceDataConnectionAsync("", dataConnectionPayload); + Response response = await client.CreateOrReplaceDataConnectionAsync("", body); } [Test] @@ -876,8 +876,8 @@ public void Example_EasmClient_ValidateDiscoveryGroup_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - DiscoveryGroupPayload discoveryGroupPayload = new DiscoveryGroupPayload(); - Response response = client.ValidateDiscoveryGroup(discoveryGroupPayload); + DiscoveryGroupPayload body = new DiscoveryGroupPayload(); + Response response = client.ValidateDiscoveryGroup(body); } [Test] @@ -888,8 +888,8 @@ public async Task Example_EasmClient_ValidateDiscoveryGroup_ShortVersion_Conveni TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - DiscoveryGroupPayload discoveryGroupPayload = new DiscoveryGroupPayload(); - Response response = await client.ValidateDiscoveryGroupAsync(discoveryGroupPayload); + DiscoveryGroupPayload body = new DiscoveryGroupPayload(); + Response response = await client.ValidateDiscoveryGroupAsync(body); } [Test] @@ -984,7 +984,7 @@ public void Example_EasmClient_ValidateDiscoveryGroup_AllParameters_Convenience( TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - DiscoveryGroupPayload discoveryGroupPayload = new DiscoveryGroupPayload + DiscoveryGroupPayload body = new DiscoveryGroupPayload { Name = "", Description = "", @@ -999,7 +999,7 @@ public void Example_EasmClient_ValidateDiscoveryGroup_AllParameters_Convenience( Excludes = { default }, TemplateId = "", }; - Response response = client.ValidateDiscoveryGroup(discoveryGroupPayload); + Response response = client.ValidateDiscoveryGroup(body); } [Test] @@ -1010,7 +1010,7 @@ public async Task Example_EasmClient_ValidateDiscoveryGroup_AllParameters_Conven TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - DiscoveryGroupPayload discoveryGroupPayload = new DiscoveryGroupPayload + DiscoveryGroupPayload body = new DiscoveryGroupPayload { Name = "", Description = "", @@ -1025,7 +1025,7 @@ public async Task Example_EasmClient_ValidateDiscoveryGroup_AllParameters_Conven Excludes = { default }, TemplateId = "", }; - Response response = await client.ValidateDiscoveryGroupAsync(discoveryGroupPayload); + Response response = await client.ValidateDiscoveryGroupAsync(body); } [Test] @@ -1212,8 +1212,8 @@ public void Example_DiscoGroup_CreateOrReplaceDiscoveryGroup_ShortVersion_Conven TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - DiscoveryGroupPayload discoveryGroupPayload = new DiscoveryGroupPayload(); - Response response = client.CreateOrReplaceDiscoveryGroup("", discoveryGroupPayload); + DiscoveryGroupPayload body = new DiscoveryGroupPayload(); + Response response = client.CreateOrReplaceDiscoveryGroup("", body); } [Test] @@ -1224,8 +1224,8 @@ public async Task Example_DiscoGroup_CreateOrReplaceDiscoveryGroup_ShortVersion_ TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - DiscoveryGroupPayload discoveryGroupPayload = new DiscoveryGroupPayload(); - Response response = await client.CreateOrReplaceDiscoveryGroupAsync("", discoveryGroupPayload); + DiscoveryGroupPayload body = new DiscoveryGroupPayload(); + Response response = await client.CreateOrReplaceDiscoveryGroupAsync("", body); } [Test] @@ -1358,7 +1358,7 @@ public void Example_DiscoGroup_CreateOrReplaceDiscoveryGroup_AllParameters_Conve TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - DiscoveryGroupPayload discoveryGroupPayload = new DiscoveryGroupPayload + DiscoveryGroupPayload body = new DiscoveryGroupPayload { Name = "", Description = "", @@ -1373,7 +1373,7 @@ public void Example_DiscoGroup_CreateOrReplaceDiscoveryGroup_AllParameters_Conve Excludes = { default }, TemplateId = "", }; - Response response = client.CreateOrReplaceDiscoveryGroup("", discoveryGroupPayload); + Response response = client.CreateOrReplaceDiscoveryGroup("", body); } [Test] @@ -1384,7 +1384,7 @@ public async Task Example_DiscoGroup_CreateOrReplaceDiscoveryGroup_AllParameters TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - DiscoveryGroupPayload discoveryGroupPayload = new DiscoveryGroupPayload + DiscoveryGroupPayload body = new DiscoveryGroupPayload { Name = "", Description = "", @@ -1399,7 +1399,7 @@ public async Task Example_DiscoGroup_CreateOrReplaceDiscoveryGroup_AllParameters Excludes = { default }, TemplateId = "", }; - Response response = await client.CreateOrReplaceDiscoveryGroupAsync("", discoveryGroupPayload); + Response response = await client.CreateOrReplaceDiscoveryGroupAsync("", body); } [Test] @@ -1718,8 +1718,8 @@ public void Example_EasmClient_GetSnapshot_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - ReportAssetSnapshotPayload reportAssetSnapshotPayload = new ReportAssetSnapshotPayload(); - Response response = client.GetSnapshot(reportAssetSnapshotPayload); + ReportAssetSnapshotPayload body = new ReportAssetSnapshotPayload(); + Response response = client.GetSnapshot(body); } [Test] @@ -1730,8 +1730,8 @@ public async Task Example_EasmClient_GetSnapshot_ShortVersion_Convenience_Async( TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - ReportAssetSnapshotPayload reportAssetSnapshotPayload = new ReportAssetSnapshotPayload(); - Response response = await client.GetSnapshotAsync(reportAssetSnapshotPayload); + ReportAssetSnapshotPayload body = new ReportAssetSnapshotPayload(); + Response response = await client.GetSnapshotAsync(body); } [Test] @@ -1834,14 +1834,14 @@ public void Example_EasmClient_GetSnapshot_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - ReportAssetSnapshotPayload reportAssetSnapshotPayload = new ReportAssetSnapshotPayload + ReportAssetSnapshotPayload body = new ReportAssetSnapshotPayload { Metric = "", LabelName = "", Size = 1234, Page = 1234, }; - Response response = client.GetSnapshot(reportAssetSnapshotPayload); + Response response = client.GetSnapshot(body); } [Test] @@ -1852,14 +1852,14 @@ public async Task Example_EasmClient_GetSnapshot_AllParameters_Convenience_Async TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - ReportAssetSnapshotPayload reportAssetSnapshotPayload = new ReportAssetSnapshotPayload + ReportAssetSnapshotPayload body = new ReportAssetSnapshotPayload { Metric = "", LabelName = "", Size = 1234, Page = 1234, }; - Response response = await client.GetSnapshotAsync(reportAssetSnapshotPayload); + Response response = await client.GetSnapshotAsync(body); } [Test] @@ -1900,8 +1900,8 @@ public void Example_EasmClient_GetSummary_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - ReportAssetSummaryPayload reportAssetSummaryPayload = new ReportAssetSummaryPayload(); - Response response = client.GetSummary(reportAssetSummaryPayload); + ReportAssetSummaryPayload body = new ReportAssetSummaryPayload(); + Response response = client.GetSummary(body); } [Test] @@ -1912,8 +1912,8 @@ public async Task Example_EasmClient_GetSummary_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - ReportAssetSummaryPayload reportAssetSummaryPayload = new ReportAssetSummaryPayload(); - Response response = await client.GetSummaryAsync(reportAssetSummaryPayload); + ReportAssetSummaryPayload body = new ReportAssetSummaryPayload(); + Response response = await client.GetSummaryAsync(body); } [Test] @@ -2004,7 +2004,7 @@ public void Example_EasmClient_GetSummary_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - ReportAssetSummaryPayload reportAssetSummaryPayload = new ReportAssetSummaryPayload + ReportAssetSummaryPayload body = new ReportAssetSummaryPayload { MetricCategories = { "" }, Metrics = { "" }, @@ -2013,7 +2013,7 @@ public void Example_EasmClient_GetSummary_AllParameters_Convenience() SegmentBy = "", LabelName = "", }; - Response response = client.GetSummary(reportAssetSummaryPayload); + Response response = client.GetSummary(body); } [Test] @@ -2024,7 +2024,7 @@ public async Task Example_EasmClient_GetSummary_AllParameters_Convenience_Async( TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - ReportAssetSummaryPayload reportAssetSummaryPayload = new ReportAssetSummaryPayload + ReportAssetSummaryPayload body = new ReportAssetSummaryPayload { MetricCategories = { "" }, Metrics = { "" }, @@ -2033,7 +2033,7 @@ public async Task Example_EasmClient_GetSummary_AllParameters_Convenience_Async( SegmentBy = "", LabelName = "", }; - Response response = await client.GetSummaryAsync(reportAssetSummaryPayload); + Response response = await client.GetSummaryAsync(body); } [Test] @@ -2190,8 +2190,8 @@ public void Example_SavedFilter_CreateOrReplaceSavedFilter_ShortVersion_Convenie TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - SavedFilterPayload savedFilterPayload = new SavedFilterPayload("", ""); - Response response = client.CreateOrReplaceSavedFilter("", savedFilterPayload); + SavedFilterPayload body = new SavedFilterPayload("", ""); + Response response = client.CreateOrReplaceSavedFilter("", body); } [Test] @@ -2202,8 +2202,8 @@ public async Task Example_SavedFilter_CreateOrReplaceSavedFilter_ShortVersion_Co TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - SavedFilterPayload savedFilterPayload = new SavedFilterPayload("", ""); - Response response = await client.CreateOrReplaceSavedFilterAsync("", savedFilterPayload); + SavedFilterPayload body = new SavedFilterPayload("", ""); + Response response = await client.CreateOrReplaceSavedFilterAsync("", body); } [Test] @@ -2260,8 +2260,8 @@ public void Example_SavedFilter_CreateOrReplaceSavedFilter_AllParameters_Conveni TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - SavedFilterPayload savedFilterPayload = new SavedFilterPayload("", ""); - Response response = client.CreateOrReplaceSavedFilter("", savedFilterPayload); + SavedFilterPayload body = new SavedFilterPayload("", ""); + Response response = client.CreateOrReplaceSavedFilter("", body); } [Test] @@ -2272,8 +2272,8 @@ public async Task Example_SavedFilter_CreateOrReplaceSavedFilter_AllParameters_C TokenCredential credential = new DefaultAzureCredential(); EasmClient client = new EasmClient(endpoint, credential); - SavedFilterPayload savedFilterPayload = new SavedFilterPayload("", ""); - Response response = await client.CreateOrReplaceSavedFilterAsync("", savedFilterPayload); + SavedFilterPayload body = new SavedFilterPayload("", ""); + Response response = await client.CreateOrReplaceSavedFilterAsync("", body); } [Test] diff --git a/sdk/easm/Azure.Analytics.Defender.Easm/tsp-location.yaml b/sdk/easm/Azure.Analytics.Defender.Easm/tsp-location.yaml index 2844a868f8f8f..506ec154280a5 100644 --- a/sdk/easm/Azure.Analytics.Defender.Easm/tsp-location.yaml +++ b/sdk/easm/Azure.Analytics.Defender.Easm/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/riskiq/Easm -commit: 1fe785dc9b49c48088a9d11db023eee07dd168e7 +commit: 823fa0c70ae5dc9d4693f65dde6b5e943e8183b4 repo: Azure/azure-rest-api-specs diff --git a/sdk/face/Azure.AI.Vision.Face/api/Azure.AI.Vision.Face.netstandard2.0.cs b/sdk/face/Azure.AI.Vision.Face/api/Azure.AI.Vision.Face.netstandard2.0.cs new file mode 100644 index 0000000000000..b437cafe7b630 --- /dev/null +++ b/sdk/face/Azure.AI.Vision.Face/api/Azure.AI.Vision.Face.netstandard2.0.cs @@ -0,0 +1,917 @@ +namespace Azure.AI.Vision.Face +{ + public partial class AccessoryItem : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal AccessoryItem() { } + public float Confidence { get { throw null; } } + public Azure.AI.Vision.Face.AccessoryType Type { get { throw null; } } + Azure.AI.Vision.Face.AccessoryItem System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.AccessoryItem System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct AccessoryType : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public AccessoryType(string value) { throw null; } + public static Azure.AI.Vision.Face.AccessoryType Glasses { get { throw null; } } + public static Azure.AI.Vision.Face.AccessoryType Headwear { get { throw null; } } + public static Azure.AI.Vision.Face.AccessoryType Mask { get { throw null; } } + public bool Equals(Azure.AI.Vision.Face.AccessoryType other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.AI.Vision.Face.AccessoryType left, Azure.AI.Vision.Face.AccessoryType right) { throw null; } + public static implicit operator Azure.AI.Vision.Face.AccessoryType (string value) { throw null; } + public static bool operator !=(Azure.AI.Vision.Face.AccessoryType left, Azure.AI.Vision.Face.AccessoryType right) { throw null; } + public override string ToString() { throw null; } + } + public static partial class AIVisionFaceModelFactory + { + public static Azure.AI.Vision.Face.AccessoryItem AccessoryItem(Azure.AI.Vision.Face.AccessoryType type = default(Azure.AI.Vision.Face.AccessoryType), float confidence = 0f) { throw null; } + public static Azure.AI.Vision.Face.AuditLivenessResponseInfo AuditLivenessResponseInfo(Azure.AI.Vision.Face.LivenessResponseBody body = null, int statusCode = 0, long latencyInMilliseconds = (long)0) { throw null; } + public static Azure.AI.Vision.Face.AuditRequestInfo AuditRequestInfo(string url = null, string method = null, long? contentLength = default(long?), string contentType = null, string userAgent = null) { throw null; } + public static Azure.AI.Vision.Face.BlurProperties BlurProperties(Azure.AI.Vision.Face.BlurLevel blurLevel = default(Azure.AI.Vision.Face.BlurLevel), float value = 0f) { throw null; } + public static Azure.AI.Vision.Face.CreateLivenessSessionContent CreateLivenessSessionContent(Azure.AI.Vision.Face.LivenessOperationMode livenessOperationMode = default(Azure.AI.Vision.Face.LivenessOperationMode), bool? sendResultsToClient = default(bool?), bool? deviceCorrelationIdSetInClient = default(bool?), string deviceCorrelationId = null, int? authTokenTimeToLiveInSeconds = default(int?)) { throw null; } + public static Azure.AI.Vision.Face.CreateLivenessSessionResult CreateLivenessSessionResult(string sessionId = null, string authToken = null) { throw null; } + public static Azure.AI.Vision.Face.CreateLivenessWithVerifySessionResult CreateLivenessWithVerifySessionResult(string sessionId = null, string authToken = null, Azure.AI.Vision.Face.LivenessWithVerifyImage verifyImage = null) { throw null; } + public static Azure.AI.Vision.Face.ExposureProperties ExposureProperties(Azure.AI.Vision.Face.ExposureLevel exposureLevel = default(Azure.AI.Vision.Face.ExposureLevel), float value = 0f) { throw null; } + public static Azure.AI.Vision.Face.FaceAttributes FaceAttributes(float? age = default(float?), float? smile = default(float?), Azure.AI.Vision.Face.FacialHair facialHair = null, Azure.AI.Vision.Face.GlassesType? glasses = default(Azure.AI.Vision.Face.GlassesType?), Azure.AI.Vision.Face.HeadPose headPose = null, Azure.AI.Vision.Face.HairProperties hair = null, Azure.AI.Vision.Face.OcclusionProperties occlusion = null, System.Collections.Generic.IEnumerable accessories = null, Azure.AI.Vision.Face.BlurProperties blur = null, Azure.AI.Vision.Face.ExposureProperties exposure = null, Azure.AI.Vision.Face.NoiseProperties noise = null, Azure.AI.Vision.Face.MaskProperties mask = null, Azure.AI.Vision.Face.QualityForRecognition? qualityForRecognition = default(Azure.AI.Vision.Face.QualityForRecognition?)) { throw null; } + public static Azure.AI.Vision.Face.FaceDetectionResult FaceDetectionResult(System.Guid? faceId = default(System.Guid?), Azure.AI.Vision.Face.FaceRecognitionModel? recognitionModel = default(Azure.AI.Vision.Face.FaceRecognitionModel?), Azure.AI.Vision.Face.FaceRectangle faceRectangle = null, Azure.AI.Vision.Face.FaceLandmarks faceLandmarks = null, Azure.AI.Vision.Face.FaceAttributes faceAttributes = null) { throw null; } + public static Azure.AI.Vision.Face.FaceFindSimilarResult FaceFindSimilarResult(float confidence = 0f, System.Guid? faceId = default(System.Guid?), System.Guid? persistedFaceId = default(System.Guid?)) { throw null; } + public static Azure.AI.Vision.Face.FaceGroupingResult FaceGroupingResult(System.Collections.Generic.IEnumerable> groups = null, System.Collections.Generic.IEnumerable messyGroup = null) { throw null; } + public static Azure.AI.Vision.Face.FaceLandmarks FaceLandmarks(Azure.AI.Vision.Face.LandmarkCoordinate pupilLeft = null, Azure.AI.Vision.Face.LandmarkCoordinate pupilRight = null, Azure.AI.Vision.Face.LandmarkCoordinate noseTip = null, Azure.AI.Vision.Face.LandmarkCoordinate mouthLeft = null, Azure.AI.Vision.Face.LandmarkCoordinate mouthRight = null, Azure.AI.Vision.Face.LandmarkCoordinate eyebrowLeftOuter = null, Azure.AI.Vision.Face.LandmarkCoordinate eyebrowLeftInner = null, Azure.AI.Vision.Face.LandmarkCoordinate eyeLeftOuter = null, Azure.AI.Vision.Face.LandmarkCoordinate eyeLeftTop = null, Azure.AI.Vision.Face.LandmarkCoordinate eyeLeftBottom = null, Azure.AI.Vision.Face.LandmarkCoordinate eyeLeftInner = null, Azure.AI.Vision.Face.LandmarkCoordinate eyebrowRightInner = null, Azure.AI.Vision.Face.LandmarkCoordinate eyebrowRightOuter = null, Azure.AI.Vision.Face.LandmarkCoordinate eyeRightInner = null, Azure.AI.Vision.Face.LandmarkCoordinate eyeRightTop = null, Azure.AI.Vision.Face.LandmarkCoordinate eyeRightBottom = null, Azure.AI.Vision.Face.LandmarkCoordinate eyeRightOuter = null, Azure.AI.Vision.Face.LandmarkCoordinate noseRootLeft = null, Azure.AI.Vision.Face.LandmarkCoordinate noseRootRight = null, Azure.AI.Vision.Face.LandmarkCoordinate noseLeftAlarTop = null, Azure.AI.Vision.Face.LandmarkCoordinate noseRightAlarTop = null, Azure.AI.Vision.Face.LandmarkCoordinate noseLeftAlarOutTip = null, Azure.AI.Vision.Face.LandmarkCoordinate noseRightAlarOutTip = null, Azure.AI.Vision.Face.LandmarkCoordinate upperLipTop = null, Azure.AI.Vision.Face.LandmarkCoordinate upperLipBottom = null, Azure.AI.Vision.Face.LandmarkCoordinate underLipTop = null, Azure.AI.Vision.Face.LandmarkCoordinate underLipBottom = null) { throw null; } + public static Azure.AI.Vision.Face.FaceRectangle FaceRectangle(int top = 0, int left = 0, int width = 0, int height = 0) { throw null; } + public static Azure.AI.Vision.Face.FaceVerificationResult FaceVerificationResult(bool isIdentical = false, float confidence = 0f) { throw null; } + public static Azure.AI.Vision.Face.FacialHair FacialHair(float moustache = 0f, float beard = 0f, float sideburns = 0f) { throw null; } + public static Azure.AI.Vision.Face.HairColor HairColor(Azure.AI.Vision.Face.HairColorType color = default(Azure.AI.Vision.Face.HairColorType), float confidence = 0f) { throw null; } + public static Azure.AI.Vision.Face.HairProperties HairProperties(float bald = 0f, bool invisible = false, System.Collections.Generic.IEnumerable hairColor = null) { throw null; } + public static Azure.AI.Vision.Face.HeadPose HeadPose(float pitch = 0f, float roll = 0f, float yaw = 0f) { throw null; } + public static Azure.AI.Vision.Face.LandmarkCoordinate LandmarkCoordinate(float x = 0f, float y = 0f) { throw null; } + public static Azure.AI.Vision.Face.LivenessOutputsTarget LivenessOutputsTarget(Azure.AI.Vision.Face.FaceRectangle faceRectangle = null, string fileName = null, int timeOffsetWithinFile = 0, Azure.AI.Vision.Face.FaceImageType imageType = default(Azure.AI.Vision.Face.FaceImageType)) { throw null; } + public static Azure.AI.Vision.Face.LivenessResponseBody LivenessResponseBody(Azure.AI.Vision.Face.FaceLivenessDecision? livenessDecision = default(Azure.AI.Vision.Face.FaceLivenessDecision?), Azure.AI.Vision.Face.LivenessOutputsTarget target = null, Azure.AI.Vision.Face.LivenessModel? modelVersionUsed = default(Azure.AI.Vision.Face.LivenessModel?), Azure.AI.Vision.Face.LivenessWithVerifyOutputs verifyResult = null, System.Collections.Generic.IReadOnlyDictionary additionalProperties = null) { throw null; } + public static Azure.AI.Vision.Face.LivenessSession LivenessSession(string id = null, System.DateTimeOffset createdDateTime = default(System.DateTimeOffset), System.DateTimeOffset? sessionStartDateTime = default(System.DateTimeOffset?), bool sessionExpired = false, string deviceCorrelationId = null, int? authTokenTimeToLiveInSeconds = default(int?), Azure.AI.Vision.Face.FaceSessionStatus status = default(Azure.AI.Vision.Face.FaceSessionStatus), Azure.AI.Vision.Face.LivenessSessionAuditEntry result = null) { throw null; } + public static Azure.AI.Vision.Face.LivenessSessionAuditEntry LivenessSessionAuditEntry(long id = (long)0, string sessionId = null, string requestId = null, string clientRequestId = null, System.DateTimeOffset receivedDateTime = default(System.DateTimeOffset), Azure.AI.Vision.Face.AuditRequestInfo request = null, Azure.AI.Vision.Face.AuditLivenessResponseInfo response = null, string digest = null) { throw null; } + public static Azure.AI.Vision.Face.LivenessSessionItem LivenessSessionItem(string id = null, System.DateTimeOffset createdDateTime = default(System.DateTimeOffset), System.DateTimeOffset? sessionStartDateTime = default(System.DateTimeOffset?), bool sessionExpired = false, string deviceCorrelationId = null, int? authTokenTimeToLiveInSeconds = default(int?)) { throw null; } + public static Azure.AI.Vision.Face.LivenessWithVerifyImage LivenessWithVerifyImage(Azure.AI.Vision.Face.FaceRectangle faceRectangle = null, Azure.AI.Vision.Face.QualityForRecognition qualityForRecognition = default(Azure.AI.Vision.Face.QualityForRecognition)) { throw null; } + public static Azure.AI.Vision.Face.LivenessWithVerifyOutputs LivenessWithVerifyOutputs(Azure.AI.Vision.Face.LivenessWithVerifyImage verifyImage = null, float matchConfidence = 0f, bool isIdentical = false) { throw null; } + public static Azure.AI.Vision.Face.LivenessWithVerifySession LivenessWithVerifySession(string id = null, System.DateTimeOffset createdDateTime = default(System.DateTimeOffset), System.DateTimeOffset? sessionStartDateTime = default(System.DateTimeOffset?), bool sessionExpired = false, string deviceCorrelationId = null, int? authTokenTimeToLiveInSeconds = default(int?), Azure.AI.Vision.Face.FaceSessionStatus status = default(Azure.AI.Vision.Face.FaceSessionStatus), Azure.AI.Vision.Face.LivenessSessionAuditEntry result = null) { throw null; } + public static Azure.AI.Vision.Face.MaskProperties MaskProperties(bool noseAndMouthCovered = false, Azure.AI.Vision.Face.MaskType type = default(Azure.AI.Vision.Face.MaskType)) { throw null; } + public static Azure.AI.Vision.Face.NoiseProperties NoiseProperties(Azure.AI.Vision.Face.NoiseLevel noiseLevel = default(Azure.AI.Vision.Face.NoiseLevel), float value = 0f) { throw null; } + public static Azure.AI.Vision.Face.OcclusionProperties OcclusionProperties(bool foreheadOccluded = false, bool eyeOccluded = false, bool mouthOccluded = false) { throw null; } + } + public partial class AuditLivenessResponseInfo : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal AuditLivenessResponseInfo() { } + public Azure.AI.Vision.Face.LivenessResponseBody Body { get { throw null; } } + public long LatencyInMilliseconds { get { throw null; } } + public int StatusCode { get { throw null; } } + Azure.AI.Vision.Face.AuditLivenessResponseInfo System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.AuditLivenessResponseInfo System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class AuditRequestInfo : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal AuditRequestInfo() { } + public long? ContentLength { get { throw null; } } + public string ContentType { get { throw null; } } + public string Method { get { throw null; } } + public string Url { get { throw null; } } + public string UserAgent { get { throw null; } } + Azure.AI.Vision.Face.AuditRequestInfo System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.AuditRequestInfo System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class AzureAIVisionFaceClientOptions : Azure.Core.ClientOptions + { + public AzureAIVisionFaceClientOptions(Azure.AI.Vision.Face.AzureAIVisionFaceClientOptions.ServiceVersion version = Azure.AI.Vision.Face.AzureAIVisionFaceClientOptions.ServiceVersion.V1_1_Preview_1) { } + public enum ServiceVersion + { + V1_1_Preview_1 = 1, + } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct BlurLevel : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlurLevel(string value) { throw null; } + public static Azure.AI.Vision.Face.BlurLevel High { get { throw null; } } + public static Azure.AI.Vision.Face.BlurLevel Low { get { throw null; } } + public static Azure.AI.Vision.Face.BlurLevel Medium { get { throw null; } } + public bool Equals(Azure.AI.Vision.Face.BlurLevel other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.AI.Vision.Face.BlurLevel left, Azure.AI.Vision.Face.BlurLevel right) { throw null; } + public static implicit operator Azure.AI.Vision.Face.BlurLevel (string value) { throw null; } + public static bool operator !=(Azure.AI.Vision.Face.BlurLevel left, Azure.AI.Vision.Face.BlurLevel right) { throw null; } + public override string ToString() { throw null; } + } + public partial class BlurProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal BlurProperties() { } + public Azure.AI.Vision.Face.BlurLevel BlurLevel { get { throw null; } } + public float Value { get { throw null; } } + Azure.AI.Vision.Face.BlurProperties System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.BlurProperties System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class CreateLivenessSessionContent : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public CreateLivenessSessionContent(Azure.AI.Vision.Face.LivenessOperationMode livenessOperationMode) { } + public int? AuthTokenTimeToLiveInSeconds { get { throw null; } set { } } + public string DeviceCorrelationId { get { throw null; } set { } } + public bool? DeviceCorrelationIdSetInClient { get { throw null; } set { } } + public Azure.AI.Vision.Face.LivenessOperationMode LivenessOperationMode { get { throw null; } } + public bool? SendResultsToClient { get { throw null; } set { } } + Azure.AI.Vision.Face.CreateLivenessSessionContent System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.CreateLivenessSessionContent System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class CreateLivenessSessionResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal CreateLivenessSessionResult() { } + public string AuthToken { get { throw null; } } + public string SessionId { get { throw null; } } + Azure.AI.Vision.Face.CreateLivenessSessionResult System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.CreateLivenessSessionResult System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class CreateLivenessWithVerifySessionResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal CreateLivenessWithVerifySessionResult() { } + public string AuthToken { get { throw null; } } + public string SessionId { get { throw null; } } + public Azure.AI.Vision.Face.LivenessWithVerifyImage VerifyImage { get { throw null; } } + Azure.AI.Vision.Face.CreateLivenessWithVerifySessionResult System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.CreateLivenessWithVerifySessionResult System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct ExposureLevel : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ExposureLevel(string value) { throw null; } + public static Azure.AI.Vision.Face.ExposureLevel GoodExposure { get { throw null; } } + public static Azure.AI.Vision.Face.ExposureLevel OverExposure { get { throw null; } } + public static Azure.AI.Vision.Face.ExposureLevel UnderExposure { get { throw null; } } + public bool Equals(Azure.AI.Vision.Face.ExposureLevel other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.AI.Vision.Face.ExposureLevel left, Azure.AI.Vision.Face.ExposureLevel right) { throw null; } + public static implicit operator Azure.AI.Vision.Face.ExposureLevel (string value) { throw null; } + public static bool operator !=(Azure.AI.Vision.Face.ExposureLevel left, Azure.AI.Vision.Face.ExposureLevel right) { throw null; } + public override string ToString() { throw null; } + } + public partial class ExposureProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ExposureProperties() { } + public Azure.AI.Vision.Face.ExposureLevel ExposureLevel { get { throw null; } } + public float Value { get { throw null; } } + Azure.AI.Vision.Face.ExposureProperties System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.ExposureProperties System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class FaceAttributes : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal FaceAttributes() { } + public System.Collections.Generic.IReadOnlyList Accessories { get { throw null; } } + public float? Age { get { throw null; } } + public Azure.AI.Vision.Face.BlurProperties Blur { get { throw null; } } + public Azure.AI.Vision.Face.ExposureProperties Exposure { get { throw null; } } + public Azure.AI.Vision.Face.FacialHair FacialHair { get { throw null; } } + public Azure.AI.Vision.Face.GlassesType? Glasses { get { throw null; } } + public Azure.AI.Vision.Face.HairProperties Hair { get { throw null; } } + public Azure.AI.Vision.Face.HeadPose HeadPose { get { throw null; } } + public Azure.AI.Vision.Face.MaskProperties Mask { get { throw null; } } + public Azure.AI.Vision.Face.NoiseProperties Noise { get { throw null; } } + public Azure.AI.Vision.Face.OcclusionProperties Occlusion { get { throw null; } } + public Azure.AI.Vision.Face.QualityForRecognition? QualityForRecognition { get { throw null; } } + public float? Smile { get { throw null; } } + Azure.AI.Vision.Face.FaceAttributes System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.FaceAttributes System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct FaceAttributeType : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FaceAttributeType(string value) { throw null; } + public static Azure.AI.Vision.Face.FaceAttributeType Accessories { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType Age { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType Blur { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType Exposure { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType FacialHair { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType Glasses { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType Hair { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType HeadPose { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType Mask { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType Noise { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType Occlusion { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType QualityForRecognition { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType Smile { get { throw null; } } + public bool Equals(Azure.AI.Vision.Face.FaceAttributeType other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.AI.Vision.Face.FaceAttributeType left, Azure.AI.Vision.Face.FaceAttributeType right) { throw null; } + public static implicit operator Azure.AI.Vision.Face.FaceAttributeType (string value) { throw null; } + public static bool operator !=(Azure.AI.Vision.Face.FaceAttributeType left, Azure.AI.Vision.Face.FaceAttributeType right) { throw null; } + public override string ToString() { throw null; } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential, Size=1)] + public partial struct Detection01 + { + public static Azure.AI.Vision.Face.FaceAttributeType Accessories { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType Blur { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType Exposure { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType Glasses { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType HeadPose { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType Mask { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType Noise { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType Occlusion { get { throw null; } } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential, Size=1)] + public partial struct Detection03 + { + public static Azure.AI.Vision.Face.FaceAttributeType Blur { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType HeadPose { get { throw null; } } + public static Azure.AI.Vision.Face.FaceAttributeType Mask { get { throw null; } } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential, Size=1)] + public partial struct Recognition03 + { + public static Azure.AI.Vision.Face.FaceAttributeType QualityForRecognition { get { throw null; } } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential, Size=1)] + public partial struct Recognition04 + { + public static Azure.AI.Vision.Face.FaceAttributeType QualityForRecognition { get { throw null; } } + } + } + public partial class FaceClient + { + protected FaceClient() { } + public FaceClient(System.Uri endpoint, Azure.AzureKeyCredential credential) { } + public FaceClient(System.Uri endpoint, Azure.AzureKeyCredential credential, Azure.AI.Vision.Face.AzureAIVisionFaceClientOptions options) { } + public FaceClient(System.Uri endpoint, Azure.Core.TokenCredential credential) { } + public FaceClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.AI.Vision.Face.AzureAIVisionFaceClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response> Detect(System.BinaryData imageContent, Azure.AI.Vision.Face.FaceDetectionModel detectionModel, Azure.AI.Vision.Face.FaceRecognitionModel recognitionModel, bool returnFaceId, System.Collections.Generic.IEnumerable returnFaceAttributes = null, bool? returnFaceLandmarks = default(bool?), bool? returnRecognitionModel = default(bool?), int? faceIdTimeToLive = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response> Detect(System.Uri url, Azure.AI.Vision.Face.FaceDetectionModel detectionModel, Azure.AI.Vision.Face.FaceRecognitionModel recognitionModel, bool returnFaceId, System.Collections.Generic.IEnumerable returnFaceAttributes = null, bool? returnFaceLandmarks = default(bool?), bool? returnRecognitionModel = default(bool?), int? faceIdTimeToLive = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task>> DetectAsync(System.BinaryData imageContent, Azure.AI.Vision.Face.FaceDetectionModel detectionModel, Azure.AI.Vision.Face.FaceRecognitionModel recognitionModel, bool returnFaceId, System.Collections.Generic.IEnumerable returnFaceAttributes = null, bool? returnFaceLandmarks = default(bool?), bool? returnRecognitionModel = default(bool?), int? faceIdTimeToLive = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task>> DetectAsync(System.Uri url, Azure.AI.Vision.Face.FaceDetectionModel detectionModel, Azure.AI.Vision.Face.FaceRecognitionModel recognitionModel, bool returnFaceId, System.Collections.Generic.IEnumerable returnFaceAttributes = null, bool? returnFaceLandmarks = default(bool?), bool? returnRecognitionModel = default(bool?), int? faceIdTimeToLive = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response FindSimilar(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response> FindSimilar(System.Guid faceId, System.Collections.Generic.IEnumerable faceIds, int? maxNumOfCandidatesReturned = default(int?), Azure.AI.Vision.Face.FindSimilarMatchMode? mode = default(Azure.AI.Vision.Face.FindSimilarMatchMode?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task FindSimilarAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task>> FindSimilarAsync(System.Guid faceId, System.Collections.Generic.IEnumerable faceIds, int? maxNumOfCandidatesReturned = default(int?), Azure.AI.Vision.Face.FindSimilarMatchMode? mode = default(Azure.AI.Vision.Face.FindSimilarMatchMode?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Group(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response Group(System.Collections.Generic.IEnumerable faceIds, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task GroupAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task> GroupAsync(System.Collections.Generic.IEnumerable faceIds, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response VerifyFaceToFace(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response VerifyFaceToFace(System.Guid faceId1, System.Guid faceId2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task VerifyFaceToFaceAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task> VerifyFaceToFaceAsync(System.Guid faceId1, System.Guid faceId2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct FaceDetectionModel : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FaceDetectionModel(string value) { throw null; } + public static Azure.AI.Vision.Face.FaceDetectionModel Detection01 { get { throw null; } } + public static Azure.AI.Vision.Face.FaceDetectionModel Detection02 { get { throw null; } } + public static Azure.AI.Vision.Face.FaceDetectionModel Detection03 { get { throw null; } } + public bool Equals(Azure.AI.Vision.Face.FaceDetectionModel other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.AI.Vision.Face.FaceDetectionModel left, Azure.AI.Vision.Face.FaceDetectionModel right) { throw null; } + public static implicit operator Azure.AI.Vision.Face.FaceDetectionModel (string value) { throw null; } + public static bool operator !=(Azure.AI.Vision.Face.FaceDetectionModel left, Azure.AI.Vision.Face.FaceDetectionModel right) { throw null; } + public override string ToString() { throw null; } + } + public partial class FaceDetectionResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal FaceDetectionResult() { } + public Azure.AI.Vision.Face.FaceAttributes FaceAttributes { get { throw null; } } + public System.Guid? FaceId { get { throw null; } } + public Azure.AI.Vision.Face.FaceLandmarks FaceLandmarks { get { throw null; } } + public Azure.AI.Vision.Face.FaceRectangle FaceRectangle { get { throw null; } } + public Azure.AI.Vision.Face.FaceRecognitionModel? RecognitionModel { get { throw null; } } + Azure.AI.Vision.Face.FaceDetectionResult System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.FaceDetectionResult System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class FaceFindSimilarResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal FaceFindSimilarResult() { } + public float Confidence { get { throw null; } } + public System.Guid? FaceId { get { throw null; } } + public System.Guid? PersistedFaceId { get { throw null; } } + Azure.AI.Vision.Face.FaceFindSimilarResult System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.FaceFindSimilarResult System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class FaceGroupingResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal FaceGroupingResult() { } + public System.Collections.Generic.IReadOnlyList> Groups { get { throw null; } } + public System.Collections.Generic.IReadOnlyList MessyGroup { get { throw null; } } + Azure.AI.Vision.Face.FaceGroupingResult System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.FaceGroupingResult System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct FaceImageType : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FaceImageType(string value) { throw null; } + public static Azure.AI.Vision.Face.FaceImageType Color { get { throw null; } } + public static Azure.AI.Vision.Face.FaceImageType Depth { get { throw null; } } + public static Azure.AI.Vision.Face.FaceImageType Infrared { get { throw null; } } + public bool Equals(Azure.AI.Vision.Face.FaceImageType other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.AI.Vision.Face.FaceImageType left, Azure.AI.Vision.Face.FaceImageType right) { throw null; } + public static implicit operator Azure.AI.Vision.Face.FaceImageType (string value) { throw null; } + public static bool operator !=(Azure.AI.Vision.Face.FaceImageType left, Azure.AI.Vision.Face.FaceImageType right) { throw null; } + public override string ToString() { throw null; } + } + public partial class FaceLandmarks : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal FaceLandmarks() { } + public Azure.AI.Vision.Face.LandmarkCoordinate EyebrowLeftInner { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate EyebrowLeftOuter { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate EyebrowRightInner { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate EyebrowRightOuter { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate EyeLeftBottom { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate EyeLeftInner { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate EyeLeftOuter { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate EyeLeftTop { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate EyeRightBottom { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate EyeRightInner { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate EyeRightOuter { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate EyeRightTop { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate MouthLeft { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate MouthRight { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate NoseLeftAlarOutTip { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate NoseLeftAlarTop { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate NoseRightAlarOutTip { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate NoseRightAlarTop { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate NoseRootLeft { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate NoseRootRight { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate NoseTip { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate PupilLeft { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate PupilRight { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate UnderLipBottom { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate UnderLipTop { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate UpperLipBottom { get { throw null; } } + public Azure.AI.Vision.Face.LandmarkCoordinate UpperLipTop { get { throw null; } } + Azure.AI.Vision.Face.FaceLandmarks System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.FaceLandmarks System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct FaceLivenessDecision : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FaceLivenessDecision(string value) { throw null; } + public static Azure.AI.Vision.Face.FaceLivenessDecision RealFace { get { throw null; } } + public static Azure.AI.Vision.Face.FaceLivenessDecision SpoofFace { get { throw null; } } + public static Azure.AI.Vision.Face.FaceLivenessDecision Uncertain { get { throw null; } } + public bool Equals(Azure.AI.Vision.Face.FaceLivenessDecision other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.AI.Vision.Face.FaceLivenessDecision left, Azure.AI.Vision.Face.FaceLivenessDecision right) { throw null; } + public static implicit operator Azure.AI.Vision.Face.FaceLivenessDecision (string value) { throw null; } + public static bool operator !=(Azure.AI.Vision.Face.FaceLivenessDecision left, Azure.AI.Vision.Face.FaceLivenessDecision right) { throw null; } + public override string ToString() { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct FaceRecognitionModel : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FaceRecognitionModel(string value) { throw null; } + public static Azure.AI.Vision.Face.FaceRecognitionModel Recognition01 { get { throw null; } } + public static Azure.AI.Vision.Face.FaceRecognitionModel Recognition02 { get { throw null; } } + public static Azure.AI.Vision.Face.FaceRecognitionModel Recognition03 { get { throw null; } } + public static Azure.AI.Vision.Face.FaceRecognitionModel Recognition04 { get { throw null; } } + public bool Equals(Azure.AI.Vision.Face.FaceRecognitionModel other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.AI.Vision.Face.FaceRecognitionModel left, Azure.AI.Vision.Face.FaceRecognitionModel right) { throw null; } + public static implicit operator Azure.AI.Vision.Face.FaceRecognitionModel (string value) { throw null; } + public static bool operator !=(Azure.AI.Vision.Face.FaceRecognitionModel left, Azure.AI.Vision.Face.FaceRecognitionModel right) { throw null; } + public override string ToString() { throw null; } + } + public partial class FaceRectangle : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal FaceRectangle() { } + public int Height { get { throw null; } } + public int Left { get { throw null; } } + public int Top { get { throw null; } } + public int Width { get { throw null; } } + Azure.AI.Vision.Face.FaceRectangle System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.FaceRectangle System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class FaceSessionClient + { + protected FaceSessionClient() { } + public FaceSessionClient(System.Uri endpoint, Azure.AzureKeyCredential credential) { } + public FaceSessionClient(System.Uri endpoint, Azure.AzureKeyCredential credential, Azure.AI.Vision.Face.AzureAIVisionFaceClientOptions options) { } + public FaceSessionClient(System.Uri endpoint, Azure.Core.TokenCredential credential) { } + public FaceSessionClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.AI.Vision.Face.AzureAIVisionFaceClientOptions options) { } + public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + public virtual Azure.Response CreateLivenessSession(Azure.AI.Vision.Face.CreateLivenessSessionContent body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CreateLivenessSession(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task> CreateLivenessSessionAsync(Azure.AI.Vision.Face.CreateLivenessSessionContent body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CreateLivenessSessionAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response CreateLivenessWithVerifySession(Azure.AI.Vision.Face.CreateLivenessSessionContent createLivenessSessionContent, System.IO.Stream verifyImage, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateLivenessWithVerifySessionAsync(Azure.AI.Vision.Face.CreateLivenessSessionContent createLivenessSessionContent, System.IO.Stream verifyImage, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response DeleteLivenessSession(string sessionId, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteLivenessSessionAsync(string sessionId, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response DeleteLivenessWithVerifySession(string sessionId, Azure.RequestContext context = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteLivenessWithVerifySessionAsync(string sessionId, Azure.RequestContext context = null) { throw null; } + public virtual Azure.Response GetLivenessSessionAuditEntries(string sessionId, string start, int? top, Azure.RequestContext context) { throw null; } + public virtual Azure.Response> GetLivenessSessionAuditEntries(string sessionId, string start = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task GetLivenessSessionAuditEntriesAsync(string sessionId, string start, int? top, Azure.RequestContext context) { throw null; } + public virtual System.Threading.Tasks.Task>> GetLivenessSessionAuditEntriesAsync(string sessionId, string start = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetLivenessSessionResult(string sessionId, Azure.RequestContext context) { throw null; } + public virtual Azure.Response GetLivenessSessionResult(string sessionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task GetLivenessSessionResultAsync(string sessionId, Azure.RequestContext context) { throw null; } + public virtual System.Threading.Tasks.Task> GetLivenessSessionResultAsync(string sessionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetLivenessSessions(string start, int? top, Azure.RequestContext context) { throw null; } + public virtual Azure.Response> GetLivenessSessions(string start = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task GetLivenessSessionsAsync(string start, int? top, Azure.RequestContext context) { throw null; } + public virtual System.Threading.Tasks.Task>> GetLivenessSessionsAsync(string start = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetLivenessWithVerifySessionAuditEntries(string sessionId, string start, int? top, Azure.RequestContext context) { throw null; } + public virtual Azure.Response> GetLivenessWithVerifySessionAuditEntries(string sessionId, string start = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task GetLivenessWithVerifySessionAuditEntriesAsync(string sessionId, string start, int? top, Azure.RequestContext context) { throw null; } + public virtual System.Threading.Tasks.Task>> GetLivenessWithVerifySessionAuditEntriesAsync(string sessionId, string start = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetLivenessWithVerifySessionResult(string sessionId, Azure.RequestContext context) { throw null; } + public virtual Azure.Response GetLivenessWithVerifySessionResult(string sessionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task GetLivenessWithVerifySessionResultAsync(string sessionId, Azure.RequestContext context) { throw null; } + public virtual System.Threading.Tasks.Task> GetLivenessWithVerifySessionResultAsync(string sessionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetLivenessWithVerifySessions(string start, int? top, Azure.RequestContext context) { throw null; } + public virtual Azure.Response> GetLivenessWithVerifySessions(string start = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task GetLivenessWithVerifySessionsAsync(string start, int? top, Azure.RequestContext context) { throw null; } + public virtual System.Threading.Tasks.Task>> GetLivenessWithVerifySessionsAsync(string start = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct FaceSessionStatus : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FaceSessionStatus(string value) { throw null; } + public static Azure.AI.Vision.Face.FaceSessionStatus NotStarted { get { throw null; } } + public static Azure.AI.Vision.Face.FaceSessionStatus ResultAvailable { get { throw null; } } + public static Azure.AI.Vision.Face.FaceSessionStatus Started { get { throw null; } } + public bool Equals(Azure.AI.Vision.Face.FaceSessionStatus other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.AI.Vision.Face.FaceSessionStatus left, Azure.AI.Vision.Face.FaceSessionStatus right) { throw null; } + public static implicit operator Azure.AI.Vision.Face.FaceSessionStatus (string value) { throw null; } + public static bool operator !=(Azure.AI.Vision.Face.FaceSessionStatus left, Azure.AI.Vision.Face.FaceSessionStatus right) { throw null; } + public override string ToString() { throw null; } + } + public partial class FaceVerificationResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal FaceVerificationResult() { } + public float Confidence { get { throw null; } } + public bool IsIdentical { get { throw null; } } + Azure.AI.Vision.Face.FaceVerificationResult System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.FaceVerificationResult System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class FacialHair : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal FacialHair() { } + public float Beard { get { throw null; } } + public float Moustache { get { throw null; } } + public float Sideburns { get { throw null; } } + Azure.AI.Vision.Face.FacialHair System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.FacialHair System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct FindSimilarMatchMode : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FindSimilarMatchMode(string value) { throw null; } + public static Azure.AI.Vision.Face.FindSimilarMatchMode MatchFace { get { throw null; } } + public static Azure.AI.Vision.Face.FindSimilarMatchMode MatchPerson { get { throw null; } } + public bool Equals(Azure.AI.Vision.Face.FindSimilarMatchMode other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.AI.Vision.Face.FindSimilarMatchMode left, Azure.AI.Vision.Face.FindSimilarMatchMode right) { throw null; } + public static implicit operator Azure.AI.Vision.Face.FindSimilarMatchMode (string value) { throw null; } + public static bool operator !=(Azure.AI.Vision.Face.FindSimilarMatchMode left, Azure.AI.Vision.Face.FindSimilarMatchMode right) { throw null; } + public override string ToString() { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct GlassesType : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GlassesType(string value) { throw null; } + public static Azure.AI.Vision.Face.GlassesType NoGlasses { get { throw null; } } + public static Azure.AI.Vision.Face.GlassesType ReadingGlasses { get { throw null; } } + public static Azure.AI.Vision.Face.GlassesType Sunglasses { get { throw null; } } + public static Azure.AI.Vision.Face.GlassesType SwimmingGoggles { get { throw null; } } + public bool Equals(Azure.AI.Vision.Face.GlassesType other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.AI.Vision.Face.GlassesType left, Azure.AI.Vision.Face.GlassesType right) { throw null; } + public static implicit operator Azure.AI.Vision.Face.GlassesType (string value) { throw null; } + public static bool operator !=(Azure.AI.Vision.Face.GlassesType left, Azure.AI.Vision.Face.GlassesType right) { throw null; } + public override string ToString() { throw null; } + } + public partial class HairColor : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal HairColor() { } + public Azure.AI.Vision.Face.HairColorType Color { get { throw null; } } + public float Confidence { get { throw null; } } + Azure.AI.Vision.Face.HairColor System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.HairColor System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct HairColorType : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public HairColorType(string value) { throw null; } + public static Azure.AI.Vision.Face.HairColorType Black { get { throw null; } } + public static Azure.AI.Vision.Face.HairColorType Blond { get { throw null; } } + public static Azure.AI.Vision.Face.HairColorType Brown { get { throw null; } } + public static Azure.AI.Vision.Face.HairColorType Gray { get { throw null; } } + public static Azure.AI.Vision.Face.HairColorType Other { get { throw null; } } + public static Azure.AI.Vision.Face.HairColorType Red { get { throw null; } } + public static Azure.AI.Vision.Face.HairColorType UnknownHairColor { get { throw null; } } + public static Azure.AI.Vision.Face.HairColorType White { get { throw null; } } + public bool Equals(Azure.AI.Vision.Face.HairColorType other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.AI.Vision.Face.HairColorType left, Azure.AI.Vision.Face.HairColorType right) { throw null; } + public static implicit operator Azure.AI.Vision.Face.HairColorType (string value) { throw null; } + public static bool operator !=(Azure.AI.Vision.Face.HairColorType left, Azure.AI.Vision.Face.HairColorType right) { throw null; } + public override string ToString() { throw null; } + } + public partial class HairProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal HairProperties() { } + public float Bald { get { throw null; } } + public System.Collections.Generic.IReadOnlyList HairColor { get { throw null; } } + public bool Invisible { get { throw null; } } + Azure.AI.Vision.Face.HairProperties System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.HairProperties System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class HeadPose : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal HeadPose() { } + public float Pitch { get { throw null; } } + public float Roll { get { throw null; } } + public float Yaw { get { throw null; } } + Azure.AI.Vision.Face.HeadPose System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.HeadPose System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class LandmarkCoordinate : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal LandmarkCoordinate() { } + public float X { get { throw null; } } + public float Y { get { throw null; } } + Azure.AI.Vision.Face.LandmarkCoordinate System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.LandmarkCoordinate System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct LivenessModel : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LivenessModel(string value) { throw null; } + public static Azure.AI.Vision.Face.LivenessModel V20200215Preview01 { get { throw null; } } + public static Azure.AI.Vision.Face.LivenessModel V20211112Preview03 { get { throw null; } } + public static Azure.AI.Vision.Face.LivenessModel V20221015Preview04 { get { throw null; } } + public static Azure.AI.Vision.Face.LivenessModel V20230302Preview05 { get { throw null; } } + public bool Equals(Azure.AI.Vision.Face.LivenessModel other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.AI.Vision.Face.LivenessModel left, Azure.AI.Vision.Face.LivenessModel right) { throw null; } + public static implicit operator Azure.AI.Vision.Face.LivenessModel (string value) { throw null; } + public static bool operator !=(Azure.AI.Vision.Face.LivenessModel left, Azure.AI.Vision.Face.LivenessModel right) { throw null; } + public override string ToString() { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct LivenessOperationMode : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LivenessOperationMode(string value) { throw null; } + public static Azure.AI.Vision.Face.LivenessOperationMode Passive { get { throw null; } } + public static Azure.AI.Vision.Face.LivenessOperationMode PassiveActive { get { throw null; } } + public bool Equals(Azure.AI.Vision.Face.LivenessOperationMode other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.AI.Vision.Face.LivenessOperationMode left, Azure.AI.Vision.Face.LivenessOperationMode right) { throw null; } + public static implicit operator Azure.AI.Vision.Face.LivenessOperationMode (string value) { throw null; } + public static bool operator !=(Azure.AI.Vision.Face.LivenessOperationMode left, Azure.AI.Vision.Face.LivenessOperationMode right) { throw null; } + public override string ToString() { throw null; } + } + public partial class LivenessOutputsTarget : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal LivenessOutputsTarget() { } + public Azure.AI.Vision.Face.FaceRectangle FaceRectangle { get { throw null; } } + public string FileName { get { throw null; } } + public Azure.AI.Vision.Face.FaceImageType ImageType { get { throw null; } } + public int TimeOffsetWithinFile { get { throw null; } } + Azure.AI.Vision.Face.LivenessOutputsTarget System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.LivenessOutputsTarget System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class LivenessResponseBody : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal LivenessResponseBody() { } + public System.Collections.Generic.IReadOnlyDictionary AdditionalProperties { get { throw null; } } + public Azure.AI.Vision.Face.FaceLivenessDecision? LivenessDecision { get { throw null; } } + public Azure.AI.Vision.Face.LivenessModel? ModelVersionUsed { get { throw null; } } + public Azure.AI.Vision.Face.LivenessOutputsTarget Target { get { throw null; } } + public Azure.AI.Vision.Face.LivenessWithVerifyOutputs VerifyResult { get { throw null; } } + Azure.AI.Vision.Face.LivenessResponseBody System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.LivenessResponseBody System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class LivenessSession : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal LivenessSession() { } + public int? AuthTokenTimeToLiveInSeconds { get { throw null; } } + public System.DateTimeOffset CreatedDateTime { get { throw null; } } + public string DeviceCorrelationId { get { throw null; } } + public string Id { get { throw null; } } + public Azure.AI.Vision.Face.LivenessSessionAuditEntry Result { get { throw null; } } + public bool SessionExpired { get { throw null; } } + public System.DateTimeOffset? SessionStartDateTime { get { throw null; } } + public Azure.AI.Vision.Face.FaceSessionStatus Status { get { throw null; } } + Azure.AI.Vision.Face.LivenessSession System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.LivenessSession System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class LivenessSessionAuditEntry : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal LivenessSessionAuditEntry() { } + public string ClientRequestId { get { throw null; } } + public string Digest { get { throw null; } } + public long Id { get { throw null; } } + public System.DateTimeOffset ReceivedDateTime { get { throw null; } } + public Azure.AI.Vision.Face.AuditRequestInfo Request { get { throw null; } } + public string RequestId { get { throw null; } } + public Azure.AI.Vision.Face.AuditLivenessResponseInfo Response { get { throw null; } } + public string SessionId { get { throw null; } } + Azure.AI.Vision.Face.LivenessSessionAuditEntry System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.LivenessSessionAuditEntry System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class LivenessSessionItem : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal LivenessSessionItem() { } + public int? AuthTokenTimeToLiveInSeconds { get { throw null; } } + public System.DateTimeOffset CreatedDateTime { get { throw null; } } + public string DeviceCorrelationId { get { throw null; } } + public string Id { get { throw null; } } + public bool SessionExpired { get { throw null; } } + public System.DateTimeOffset? SessionStartDateTime { get { throw null; } } + Azure.AI.Vision.Face.LivenessSessionItem System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.LivenessSessionItem System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class LivenessWithVerifyImage : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal LivenessWithVerifyImage() { } + public Azure.AI.Vision.Face.FaceRectangle FaceRectangle { get { throw null; } } + public Azure.AI.Vision.Face.QualityForRecognition QualityForRecognition { get { throw null; } } + Azure.AI.Vision.Face.LivenessWithVerifyImage System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.LivenessWithVerifyImage System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class LivenessWithVerifyOutputs : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal LivenessWithVerifyOutputs() { } + public bool IsIdentical { get { throw null; } } + public float MatchConfidence { get { throw null; } } + public Azure.AI.Vision.Face.LivenessWithVerifyImage VerifyImage { get { throw null; } } + Azure.AI.Vision.Face.LivenessWithVerifyOutputs System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.LivenessWithVerifyOutputs System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class LivenessWithVerifySession : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal LivenessWithVerifySession() { } + public int? AuthTokenTimeToLiveInSeconds { get { throw null; } } + public System.DateTimeOffset CreatedDateTime { get { throw null; } } + public string DeviceCorrelationId { get { throw null; } } + public string Id { get { throw null; } } + public Azure.AI.Vision.Face.LivenessSessionAuditEntry Result { get { throw null; } } + public bool SessionExpired { get { throw null; } } + public System.DateTimeOffset? SessionStartDateTime { get { throw null; } } + public Azure.AI.Vision.Face.FaceSessionStatus Status { get { throw null; } } + Azure.AI.Vision.Face.LivenessWithVerifySession System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.LivenessWithVerifySession System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class MaskProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal MaskProperties() { } + public bool NoseAndMouthCovered { get { throw null; } } + public Azure.AI.Vision.Face.MaskType Type { get { throw null; } } + Azure.AI.Vision.Face.MaskProperties System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.MaskProperties System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct MaskType : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MaskType(string value) { throw null; } + public static Azure.AI.Vision.Face.MaskType FaceMask { get { throw null; } } + public static Azure.AI.Vision.Face.MaskType NoMask { get { throw null; } } + public static Azure.AI.Vision.Face.MaskType OtherMaskOrOcclusion { get { throw null; } } + public static Azure.AI.Vision.Face.MaskType Uncertain { get { throw null; } } + public bool Equals(Azure.AI.Vision.Face.MaskType other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.AI.Vision.Face.MaskType left, Azure.AI.Vision.Face.MaskType right) { throw null; } + public static implicit operator Azure.AI.Vision.Face.MaskType (string value) { throw null; } + public static bool operator !=(Azure.AI.Vision.Face.MaskType left, Azure.AI.Vision.Face.MaskType right) { throw null; } + public override string ToString() { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct NoiseLevel : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NoiseLevel(string value) { throw null; } + public static Azure.AI.Vision.Face.NoiseLevel High { get { throw null; } } + public static Azure.AI.Vision.Face.NoiseLevel Low { get { throw null; } } + public static Azure.AI.Vision.Face.NoiseLevel Medium { get { throw null; } } + public bool Equals(Azure.AI.Vision.Face.NoiseLevel other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.AI.Vision.Face.NoiseLevel left, Azure.AI.Vision.Face.NoiseLevel right) { throw null; } + public static implicit operator Azure.AI.Vision.Face.NoiseLevel (string value) { throw null; } + public static bool operator !=(Azure.AI.Vision.Face.NoiseLevel left, Azure.AI.Vision.Face.NoiseLevel right) { throw null; } + public override string ToString() { throw null; } + } + public partial class NoiseProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal NoiseProperties() { } + public Azure.AI.Vision.Face.NoiseLevel NoiseLevel { get { throw null; } } + public float Value { get { throw null; } } + Azure.AI.Vision.Face.NoiseProperties System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.NoiseProperties System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class OcclusionProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal OcclusionProperties() { } + public bool EyeOccluded { get { throw null; } } + public bool ForeheadOccluded { get { throw null; } } + public bool MouthOccluded { get { throw null; } } + Azure.AI.Vision.Face.OcclusionProperties System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Vision.Face.OcclusionProperties System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct QualityForRecognition : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public QualityForRecognition(string value) { throw null; } + public static Azure.AI.Vision.Face.QualityForRecognition High { get { throw null; } } + public static Azure.AI.Vision.Face.QualityForRecognition Low { get { throw null; } } + public static Azure.AI.Vision.Face.QualityForRecognition Medium { get { throw null; } } + public bool Equals(Azure.AI.Vision.Face.QualityForRecognition other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.AI.Vision.Face.QualityForRecognition left, Azure.AI.Vision.Face.QualityForRecognition right) { throw null; } + public static implicit operator Azure.AI.Vision.Face.QualityForRecognition (string value) { throw null; } + public static bool operator !=(Azure.AI.Vision.Face.QualityForRecognition left, Azure.AI.Vision.Face.QualityForRecognition right) { throw null; } + public override string ToString() { throw null; } + } +} +namespace Microsoft.Extensions.Azure +{ + public static partial class AIVisionFaceClientBuilderExtensions + { + public static Azure.Core.Extensions.IAzureClientBuilder AddFaceClient(this TBuilder builder, System.Uri endpoint) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential { throw null; } + public static Azure.Core.Extensions.IAzureClientBuilder AddFaceClient(this TBuilder builder, System.Uri endpoint, Azure.AzureKeyCredential credential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder { throw null; } + public static Azure.Core.Extensions.IAzureClientBuilder AddFaceClient(this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration { throw null; } + public static Azure.Core.Extensions.IAzureClientBuilder AddFaceSessionClient(this TBuilder builder, System.Uri endpoint) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential { throw null; } + public static Azure.Core.Extensions.IAzureClientBuilder AddFaceSessionClient(this TBuilder builder, System.Uri endpoint, Azure.AzureKeyCredential credential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder { throw null; } + public static Azure.Core.Extensions.IAzureClientBuilder AddFaceSessionClient(this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration { throw null; } + } +} diff --git a/sdk/face/Azure.AI.Vision.Face/src/Generated/Docs/FaceSessionClient.xml b/sdk/face/Azure.AI.Vision.Face/src/Generated/Docs/FaceSessionClient.xml index caebbcff8c2ff..d3172ec4d1d1b 100644 --- a/sdk/face/Azure.AI.Vision.Face/src/Generated/Docs/FaceSessionClient.xml +++ b/sdk/face/Azure.AI.Vision.Face/src/Generated/Docs/FaceSessionClient.xml @@ -9,8 +9,8 @@ Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); FaceSessionClient client = new FaceSessionClient(endpoint, credential); -CreateLivenessSessionContent createLivenessSessionContent = new CreateLivenessSessionContent(LivenessOperationMode.Passive); -Response response = await client.CreateLivenessSessionAsync(createLivenessSessionContent); +CreateLivenessSessionContent body = new CreateLivenessSessionContent(LivenessOperationMode.Passive); +Response response = await client.CreateLivenessSessionAsync(body); ]]> This sample shows how to call CreateLivenessSessionAsync with all parameters. "); AzureKeyCredential credential = new AzureKeyCredential(""); FaceSessionClient client = new FaceSessionClient(endpoint, credential); -CreateLivenessSessionContent createLivenessSessionContent = new CreateLivenessSessionContent(LivenessOperationMode.Passive) +CreateLivenessSessionContent body = new CreateLivenessSessionContent(LivenessOperationMode.Passive) { SendResultsToClient = true, DeviceCorrelationIdSetInClient = true, DeviceCorrelationId = "", AuthTokenTimeToLiveInSeconds = 1234, }; -Response response = await client.CreateLivenessSessionAsync(createLivenessSessionContent); +Response response = await client.CreateLivenessSessionAsync(body); ]]> @@ -36,8 +36,8 @@ Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); FaceSessionClient client = new FaceSessionClient(endpoint, credential); -CreateLivenessSessionContent createLivenessSessionContent = new CreateLivenessSessionContent(LivenessOperationMode.Passive); -Response response = client.CreateLivenessSession(createLivenessSessionContent); +CreateLivenessSessionContent body = new CreateLivenessSessionContent(LivenessOperationMode.Passive); +Response response = client.CreateLivenessSession(body); ]]> This sample shows how to call CreateLivenessSession with all parameters. "); AzureKeyCredential credential = new AzureKeyCredential(""); FaceSessionClient client = new FaceSessionClient(endpoint, credential); -CreateLivenessSessionContent createLivenessSessionContent = new CreateLivenessSessionContent(LivenessOperationMode.Passive) +CreateLivenessSessionContent body = new CreateLivenessSessionContent(LivenessOperationMode.Passive) { SendResultsToClient = true, DeviceCorrelationIdSetInClient = true, DeviceCorrelationId = "", AuthTokenTimeToLiveInSeconds = 1234, }; -Response response = client.CreateLivenessSession(createLivenessSessionContent); +Response response = client.CreateLivenessSession(body); ]]> diff --git a/sdk/face/Azure.AI.Vision.Face/src/Generated/FaceSessionClient.cs b/sdk/face/Azure.AI.Vision.Face/src/Generated/FaceSessionClient.cs index f86f2c12ada35..4019a5bc3493c 100644 --- a/sdk/face/Azure.AI.Vision.Face/src/Generated/FaceSessionClient.cs +++ b/sdk/face/Azure.AI.Vision.Face/src/Generated/FaceSessionClient.cs @@ -103,9 +103,9 @@ public FaceSessionClient(Uri endpoint, TokenCredential credential, AzureAIVision } /// Create a new detect liveness session. - /// Request for creating liveness session. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// /// A session is best for client device scenarios where developers want to authorize a client device to perform only a liveness detection without granting full access to their resource. Created sessions have a limited life span and only authorize clients to perform the desired action before access is expired. /// @@ -119,20 +119,20 @@ public FaceSessionClient(Uri endpoint, TokenCredential credential, AzureAIVision /// > Client access can be revoked by deleting the session using the Delete Liveness Session operation. To retrieve a result, use the Get Liveness Session. To audit the individual requests that a client has made to your resource, use the List Liveness Session Audit Entries. /// /// - public virtual async Task> CreateLivenessSessionAsync(CreateLivenessSessionContent createLivenessSessionContent, CancellationToken cancellationToken = default) + public virtual async Task> CreateLivenessSessionAsync(CreateLivenessSessionContent body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(createLivenessSessionContent, nameof(createLivenessSessionContent)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = createLivenessSessionContent.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await CreateLivenessSessionAsync(content, context).ConfigureAwait(false); return Response.FromValue(CreateLivenessSessionResult.FromResponse(response), response); } /// Create a new detect liveness session. - /// Request for creating liveness session. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// /// A session is best for client device scenarios where developers want to authorize a client device to perform only a liveness detection without granting full access to their resource. Created sessions have a limited life span and only authorize clients to perform the desired action before access is expired. /// @@ -146,11 +146,11 @@ public virtual async Task> CreateLivenessS /// > Client access can be revoked by deleting the session using the Delete Liveness Session operation. To retrieve a result, use the Get Liveness Session. To audit the individual requests that a client has made to your resource, use the List Liveness Session Audit Entries. /// /// - public virtual Response CreateLivenessSession(CreateLivenessSessionContent createLivenessSessionContent, CancellationToken cancellationToken = default) + public virtual Response CreateLivenessSession(CreateLivenessSessionContent body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(createLivenessSessionContent, nameof(createLivenessSessionContent)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = createLivenessSessionContent.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = CreateLivenessSession(content, context); return Response.FromValue(CreateLivenessSessionResult.FromResponse(response), response); @@ -675,9 +675,9 @@ public virtual Response GetLivenessSessionAuditEntries(string sessionId, string } /// Create a new liveness session with verify. Client device submits VerifyImage during the /detectLivenessWithVerify/singleModal call. - /// Request for creating liveness session. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// /// A session is best for client device scenarios where developers want to authorize a client device to perform only a liveness detection without granting full access to their resource. Created sessions have a limited life span and only authorize clients to perform the desired action before access is expired. /// @@ -698,20 +698,20 @@ public virtual Response GetLivenessSessionAuditEntries(string sessionId, string /// > [!NOTE] /// > Extra measures should be taken to validate that the client is sending the expected VerifyImage. /// - internal virtual async Task> CreateLivenessWithVerifySessionAsync(CreateLivenessSessionContent createLivenessSessionContent, CancellationToken cancellationToken = default) + internal virtual async Task> CreateLivenessWithVerifySessionAsync(CreateLivenessSessionContent body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(createLivenessSessionContent, nameof(createLivenessSessionContent)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = createLivenessSessionContent.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await CreateLivenessWithVerifySessionAsync(content, context).ConfigureAwait(false); return Response.FromValue(CreateLivenessWithVerifySessionResult.FromResponse(response), response); } /// Create a new liveness session with verify. Client device submits VerifyImage during the /detectLivenessWithVerify/singleModal call. - /// Request for creating liveness session. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// /// A session is best for client device scenarios where developers want to authorize a client device to perform only a liveness detection without granting full access to their resource. Created sessions have a limited life span and only authorize clients to perform the desired action before access is expired. /// @@ -732,11 +732,11 @@ internal virtual async Task> Cre /// > [!NOTE] /// > Extra measures should be taken to validate that the client is sending the expected VerifyImage. /// - internal virtual Response CreateLivenessWithVerifySession(CreateLivenessSessionContent createLivenessSessionContent, CancellationToken cancellationToken = default) + internal virtual Response CreateLivenessWithVerifySession(CreateLivenessSessionContent body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(createLivenessSessionContent, nameof(createLivenessSessionContent)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = createLivenessSessionContent.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = CreateLivenessWithVerifySession(content, context); return Response.FromValue(CreateLivenessWithVerifySessionResult.FromResponse(response), response); @@ -819,9 +819,9 @@ internal virtual Response CreateLivenessWithVerifySession(RequestContent content } /// Create a new liveness session with verify. Provide the verify image during session creation. - /// Request of liveness with verify session creation. + /// Request content of liveness with verify session creation. /// The cancellation token to use. - /// is null. + /// is null. /// /// A session is best for client device scenarios where developers want to authorize a client device to perform only a liveness detection without granting full access to their resource. Created sessions have a limited life span and only authorize clients to perform the desired action before access is expired. /// @@ -840,20 +840,20 @@ internal virtual Response CreateLivenessWithVerifySession(RequestContent content /// /// Recommended Option: VerifyImage is provided during session creation. /// - internal virtual async Task> CreateLivenessWithVerifySessionWithVerifyImageAsync(CreateLivenessWithVerifySessionContent createLivenessWithVerifySessionContent, CancellationToken cancellationToken = default) + internal virtual async Task> CreateLivenessWithVerifySessionWithVerifyImageAsync(CreateLivenessWithVerifySessionContent body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(createLivenessWithVerifySessionContent, nameof(createLivenessWithVerifySessionContent)); + Argument.AssertNotNull(body, nameof(body)); - using MultipartFormDataRequestContent content = createLivenessWithVerifySessionContent.ToMultipartRequestContent(); + using MultipartFormDataRequestContent content = body.ToMultipartRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await CreateLivenessWithVerifySessionWithVerifyImageAsync(content, content.ContentType, context).ConfigureAwait(false); return Response.FromValue(CreateLivenessWithVerifySessionResult.FromResponse(response), response); } /// Create a new liveness session with verify. Provide the verify image during session creation. - /// Request of liveness with verify session creation. + /// Request content of liveness with verify session creation. /// The cancellation token to use. - /// is null. + /// is null. /// /// A session is best for client device scenarios where developers want to authorize a client device to perform only a liveness detection without granting full access to their resource. Created sessions have a limited life span and only authorize clients to perform the desired action before access is expired. /// @@ -872,11 +872,11 @@ internal virtual async Task> Cre /// /// Recommended Option: VerifyImage is provided during session creation. /// - internal virtual Response CreateLivenessWithVerifySessionWithVerifyImage(CreateLivenessWithVerifySessionContent createLivenessWithVerifySessionContent, CancellationToken cancellationToken = default) + internal virtual Response CreateLivenessWithVerifySessionWithVerifyImage(CreateLivenessWithVerifySessionContent body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(createLivenessWithVerifySessionContent, nameof(createLivenessWithVerifySessionContent)); + Argument.AssertNotNull(body, nameof(body)); - using MultipartFormDataRequestContent content = createLivenessWithVerifySessionContent.ToMultipartRequestContent(); + using MultipartFormDataRequestContent content = body.ToMultipartRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = CreateLivenessWithVerifySessionWithVerifyImage(content, content.ContentType, context); return Response.FromValue(CreateLivenessWithVerifySessionResult.FromResponse(response), response); diff --git a/sdk/face/Azure.AI.Vision.Face/tests/Generated/Samples/Samples_FaceSessionClient.cs b/sdk/face/Azure.AI.Vision.Face/tests/Generated/Samples/Samples_FaceSessionClient.cs index ba531b3cb3e60..e5709b38ab0e1 100644 --- a/sdk/face/Azure.AI.Vision.Face/tests/Generated/Samples/Samples_FaceSessionClient.cs +++ b/sdk/face/Azure.AI.Vision.Face/tests/Generated/Samples/Samples_FaceSessionClient.cs @@ -63,8 +63,8 @@ public void Example_LivenessSession_CreateLivenessSession_ShortVersion_Convenien AzureKeyCredential credential = new AzureKeyCredential(""); FaceSessionClient client = new FaceSessionClient(endpoint, credential); - CreateLivenessSessionContent createLivenessSessionContent = new CreateLivenessSessionContent(LivenessOperationMode.Passive); - Response response = client.CreateLivenessSession(createLivenessSessionContent); + CreateLivenessSessionContent body = new CreateLivenessSessionContent(LivenessOperationMode.Passive); + Response response = client.CreateLivenessSession(body); } [Test] @@ -75,8 +75,8 @@ public async Task Example_LivenessSession_CreateLivenessSession_ShortVersion_Con AzureKeyCredential credential = new AzureKeyCredential(""); FaceSessionClient client = new FaceSessionClient(endpoint, credential); - CreateLivenessSessionContent createLivenessSessionContent = new CreateLivenessSessionContent(LivenessOperationMode.Passive); - Response response = await client.CreateLivenessSessionAsync(createLivenessSessionContent); + CreateLivenessSessionContent body = new CreateLivenessSessionContent(LivenessOperationMode.Passive); + Response response = await client.CreateLivenessSessionAsync(body); } [Test] @@ -133,14 +133,14 @@ public void Example_LivenessSession_CreateLivenessSession_AllParameters_Convenie AzureKeyCredential credential = new AzureKeyCredential(""); FaceSessionClient client = new FaceSessionClient(endpoint, credential); - CreateLivenessSessionContent createLivenessSessionContent = new CreateLivenessSessionContent(LivenessOperationMode.Passive) + CreateLivenessSessionContent body = new CreateLivenessSessionContent(LivenessOperationMode.Passive) { SendResultsToClient = true, DeviceCorrelationIdSetInClient = true, DeviceCorrelationId = "", AuthTokenTimeToLiveInSeconds = 1234, }; - Response response = client.CreateLivenessSession(createLivenessSessionContent); + Response response = client.CreateLivenessSession(body); } [Test] @@ -151,14 +151,14 @@ public async Task Example_LivenessSession_CreateLivenessSession_AllParameters_Co AzureKeyCredential credential = new AzureKeyCredential(""); FaceSessionClient client = new FaceSessionClient(endpoint, credential); - CreateLivenessSessionContent createLivenessSessionContent = new CreateLivenessSessionContent(LivenessOperationMode.Passive) + CreateLivenessSessionContent body = new CreateLivenessSessionContent(LivenessOperationMode.Passive) { SendResultsToClient = true, DeviceCorrelationIdSetInClient = true, DeviceCorrelationId = "", AuthTokenTimeToLiveInSeconds = 1234, }; - Response response = await client.CreateLivenessSessionAsync(createLivenessSessionContent); + Response response = await client.CreateLivenessSessionAsync(body); } [Test] diff --git a/sdk/face/Azure.AI.Vision.Face/tsp-location.yaml b/sdk/face/Azure.AI.Vision.Face/tsp-location.yaml index 5d7aa72781b6c..d170fcf1cfd54 100644 --- a/sdk/face/Azure.AI.Vision.Face/tsp-location.yaml +++ b/sdk/face/Azure.AI.Vision.Face/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/ai/Face -commit: 1d2253d1e221541cf05ae5d0dd95bd28c0846238 +commit: b9652b3e860e690c9ff53866071c591d59fed907 repo: Azure/azure-rest-api-specs additionalDirectories: [] diff --git a/sdk/healthinsights/Azure.Health.Insights.CancerProfiling/api/Azure.Health.Insights.CancerProfiling.netstandard2.0.cs b/sdk/healthinsights/Azure.Health.Insights.CancerProfiling/api/Azure.Health.Insights.CancerProfiling.netstandard2.0.cs index 027353afb4d86..d893226583b7c 100644 --- a/sdk/healthinsights/Azure.Health.Insights.CancerProfiling/api/Azure.Health.Insights.CancerProfiling.netstandard2.0.cs +++ b/sdk/healthinsights/Azure.Health.Insights.CancerProfiling/api/Azure.Health.Insights.CancerProfiling.netstandard2.0.cs @@ -7,9 +7,9 @@ public CancerProfilingClient(System.Uri endpoint, Azure.AzureKeyCredential crede public CancerProfilingClient(System.Uri endpoint, Azure.AzureKeyCredential credential, Azure.Health.Insights.CancerProfiling.CancerProfilingClientOptions options) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } public virtual Azure.Operation InferCancerProfile(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Operation InferCancerProfile(Azure.WaitUntil waitUntil, Azure.Health.Insights.CancerProfiling.OncoPhenotypeData oncoPhenotypeData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation InferCancerProfile(Azure.WaitUntil waitUntil, Azure.Health.Insights.CancerProfiling.OncoPhenotypeData body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> InferCancerProfileAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> InferCancerProfileAsync(Azure.WaitUntil waitUntil, Azure.Health.Insights.CancerProfiling.OncoPhenotypeData oncoPhenotypeData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> InferCancerProfileAsync(Azure.WaitUntil waitUntil, Azure.Health.Insights.CancerProfiling.OncoPhenotypeData body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class CancerProfilingClientOptions : Azure.Core.ClientOptions { diff --git a/sdk/healthinsights/Azure.Health.Insights.CancerProfiling/src/Generated/CancerProfilingClient.cs b/sdk/healthinsights/Azure.Health.Insights.CancerProfiling/src/Generated/CancerProfilingClient.cs index 5c4f5ec464f97..b0939b1db0556 100644 --- a/sdk/healthinsights/Azure.Health.Insights.CancerProfiling/src/Generated/CancerProfilingClient.cs +++ b/sdk/healthinsights/Azure.Health.Insights.CancerProfiling/src/Generated/CancerProfilingClient.cs @@ -63,16 +63,16 @@ public CancerProfilingClient(Uri endpoint, AzureKeyCredential credential, Cancer /// Create Onco Phenotype job. /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. - /// The body of the Onco Phenotype request. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// Creates an Onco Phenotype job with the given request body. /// - public virtual async Task> InferCancerProfileAsync(WaitUntil waitUntil, OncoPhenotypeData oncoPhenotypeData, CancellationToken cancellationToken = default) + public virtual async Task> InferCancerProfileAsync(WaitUntil waitUntil, OncoPhenotypeData body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(oncoPhenotypeData, nameof(oncoPhenotypeData)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = oncoPhenotypeData.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Operation response = await InferCancerProfileAsync(waitUntil, content, context).ConfigureAwait(false); return ProtocolOperationHelpers.Convert(response, FetchOncoPhenotypeResultsFromOncoPhenotypeResult, ClientDiagnostics, "CancerProfilingClient.InferCancerProfile"); @@ -80,16 +80,16 @@ public virtual async Task> InferCancerProfileAsy /// Create Onco Phenotype job. /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. - /// The body of the Onco Phenotype request. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// Creates an Onco Phenotype job with the given request body. /// - public virtual Operation InferCancerProfile(WaitUntil waitUntil, OncoPhenotypeData oncoPhenotypeData, CancellationToken cancellationToken = default) + public virtual Operation InferCancerProfile(WaitUntil waitUntil, OncoPhenotypeData body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(oncoPhenotypeData, nameof(oncoPhenotypeData)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = oncoPhenotypeData.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Operation response = InferCancerProfile(waitUntil, content, context); return ProtocolOperationHelpers.Convert(response, FetchOncoPhenotypeResultsFromOncoPhenotypeResult, ClientDiagnostics, "CancerProfilingClient.InferCancerProfile"); diff --git a/sdk/healthinsights/Azure.Health.Insights.CancerProfiling/src/Generated/Docs/CancerProfilingClient.xml b/sdk/healthinsights/Azure.Health.Insights.CancerProfiling/src/Generated/Docs/CancerProfilingClient.xml index 31f0811326d25..b63b8d60a5515 100644 --- a/sdk/healthinsights/Azure.Health.Insights.CancerProfiling/src/Generated/Docs/CancerProfilingClient.xml +++ b/sdk/healthinsights/Azure.Health.Insights.CancerProfiling/src/Generated/Docs/CancerProfilingClient.xml @@ -9,11 +9,11 @@ Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CancerProfilingClient client = new CancerProfilingClient(endpoint, credential); -OncoPhenotypeData oncoPhenotypeData = new OncoPhenotypeData(new PatientRecord[] +OncoPhenotypeData body = new OncoPhenotypeData(new PatientRecord[] { new PatientRecord("") }); -Operation operation = await client.InferCancerProfileAsync(WaitUntil.Completed, oncoPhenotypeData); +Operation operation = await client.InferCancerProfileAsync(WaitUntil.Completed, body); OncoPhenotypeResults responseData = operation.Value; ]]> This sample shows how to call InferCancerProfileAsync with all parameters. @@ -22,7 +22,7 @@ Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CancerProfilingClient client = new CancerProfilingClient(endpoint, credential); -OncoPhenotypeData oncoPhenotypeData = new OncoPhenotypeData(new PatientRecord[] +OncoPhenotypeData body = new OncoPhenotypeData(new PatientRecord[] { new PatientRecord("") { @@ -53,7 +53,7 @@ OncoPhenotypeData oncoPhenotypeData = new OncoPhenotypeData(new PatientRecord[] CheckForCancerCase = true, }, }; -Operation operation = await client.InferCancerProfileAsync(WaitUntil.Completed, oncoPhenotypeData); +Operation operation = await client.InferCancerProfileAsync(WaitUntil.Completed, body); OncoPhenotypeResults responseData = operation.Value; ]]> @@ -65,11 +65,11 @@ Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CancerProfilingClient client = new CancerProfilingClient(endpoint, credential); -OncoPhenotypeData oncoPhenotypeData = new OncoPhenotypeData(new PatientRecord[] +OncoPhenotypeData body = new OncoPhenotypeData(new PatientRecord[] { new PatientRecord("") }); -Operation operation = client.InferCancerProfile(WaitUntil.Completed, oncoPhenotypeData); +Operation operation = client.InferCancerProfile(WaitUntil.Completed, body); OncoPhenotypeResults responseData = operation.Value; ]]> This sample shows how to call InferCancerProfile with all parameters. @@ -78,7 +78,7 @@ Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CancerProfilingClient client = new CancerProfilingClient(endpoint, credential); -OncoPhenotypeData oncoPhenotypeData = new OncoPhenotypeData(new PatientRecord[] +OncoPhenotypeData body = new OncoPhenotypeData(new PatientRecord[] { new PatientRecord("") { @@ -109,7 +109,7 @@ OncoPhenotypeData oncoPhenotypeData = new OncoPhenotypeData(new PatientRecord[] CheckForCancerCase = true, }, }; -Operation operation = client.InferCancerProfile(WaitUntil.Completed, oncoPhenotypeData); +Operation operation = client.InferCancerProfile(WaitUntil.Completed, body); OncoPhenotypeResults responseData = operation.Value; ]]> diff --git a/sdk/healthinsights/Azure.Health.Insights.CancerProfiling/tests/Generated/Samples/Samples_CancerProfilingClient.cs b/sdk/healthinsights/Azure.Health.Insights.CancerProfiling/tests/Generated/Samples/Samples_CancerProfilingClient.cs index 8fc13c5cc0d5d..40ffbfb689a12 100644 --- a/sdk/healthinsights/Azure.Health.Insights.CancerProfiling/tests/Generated/Samples/Samples_CancerProfilingClient.cs +++ b/sdk/healthinsights/Azure.Health.Insights.CancerProfiling/tests/Generated/Samples/Samples_CancerProfilingClient.cs @@ -80,11 +80,11 @@ public void Example_CancerProfilingClient_InferCancerProfile_ShortVersion_Conven AzureKeyCredential credential = new AzureKeyCredential(""); CancerProfilingClient client = new CancerProfilingClient(endpoint, credential); - OncoPhenotypeData oncoPhenotypeData = new OncoPhenotypeData(new PatientRecord[] + OncoPhenotypeData body = new OncoPhenotypeData(new PatientRecord[] { new PatientRecord("") }); - Operation operation = client.InferCancerProfile(WaitUntil.Completed, oncoPhenotypeData); + Operation operation = client.InferCancerProfile(WaitUntil.Completed, body); OncoPhenotypeResults responseData = operation.Value; } @@ -96,11 +96,11 @@ public async Task Example_CancerProfilingClient_InferCancerProfile_ShortVersion_ AzureKeyCredential credential = new AzureKeyCredential(""); CancerProfilingClient client = new CancerProfilingClient(endpoint, credential); - OncoPhenotypeData oncoPhenotypeData = new OncoPhenotypeData(new PatientRecord[] + OncoPhenotypeData body = new OncoPhenotypeData(new PatientRecord[] { new PatientRecord("") }); - Operation operation = await client.InferCancerProfileAsync(WaitUntil.Completed, oncoPhenotypeData); + Operation operation = await client.InferCancerProfileAsync(WaitUntil.Completed, body); OncoPhenotypeResults responseData = operation.Value; } @@ -274,7 +274,7 @@ public void Example_CancerProfilingClient_InferCancerProfile_AllParameters_Conve AzureKeyCredential credential = new AzureKeyCredential(""); CancerProfilingClient client = new CancerProfilingClient(endpoint, credential); - OncoPhenotypeData oncoPhenotypeData = new OncoPhenotypeData(new PatientRecord[] + OncoPhenotypeData body = new OncoPhenotypeData(new PatientRecord[] { new PatientRecord("") { @@ -305,7 +305,7 @@ public void Example_CancerProfilingClient_InferCancerProfile_AllParameters_Conve CheckForCancerCase = true, }, }; - Operation operation = client.InferCancerProfile(WaitUntil.Completed, oncoPhenotypeData); + Operation operation = client.InferCancerProfile(WaitUntil.Completed, body); OncoPhenotypeResults responseData = operation.Value; } @@ -317,7 +317,7 @@ public async Task Example_CancerProfilingClient_InferCancerProfile_AllParameters AzureKeyCredential credential = new AzureKeyCredential(""); CancerProfilingClient client = new CancerProfilingClient(endpoint, credential); - OncoPhenotypeData oncoPhenotypeData = new OncoPhenotypeData(new PatientRecord[] + OncoPhenotypeData body = new OncoPhenotypeData(new PatientRecord[] { new PatientRecord("") { @@ -348,7 +348,7 @@ public async Task Example_CancerProfilingClient_InferCancerProfile_AllParameters CheckForCancerCase = true, }, }; - Operation operation = await client.InferCancerProfileAsync(WaitUntil.Completed, oncoPhenotypeData); + Operation operation = await client.InferCancerProfileAsync(WaitUntil.Completed, body); OncoPhenotypeResults responseData = operation.Value; } } diff --git a/sdk/healthinsights/Azure.Health.Insights.CancerProfiling/tsp-location.yaml b/sdk/healthinsights/Azure.Health.Insights.CancerProfiling/tsp-location.yaml index ab38668a323ea..3a66c5d32b214 100644 --- a/sdk/healthinsights/Azure.Health.Insights.CancerProfiling/tsp-location.yaml +++ b/sdk/healthinsights/Azure.Health.Insights.CancerProfiling/tsp-location.yaml @@ -2,5 +2,5 @@ directory: specification/ai/HealthInsights/HealthInsights.OncoPhenotype/ additionalDirectories: - specification/ai/HealthInsights/HealthInsights.OpenAPI/ - specification/ai/HealthInsights/HealthInsights.Common/ -commit: e367672ea9422797ec90bfdf21a9434218359311 +commit: 65d7c0b79602bead9d477a756882b44391920776 repo: azure/azure-rest-api-specs diff --git a/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/api/Azure.Health.Insights.ClinicalMatching.netstandard2.0.cs b/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/api/Azure.Health.Insights.ClinicalMatching.netstandard2.0.cs index e81ce2952bab1..19fb61ce1ea00 100644 --- a/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/api/Azure.Health.Insights.ClinicalMatching.netstandard2.0.cs +++ b/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/api/Azure.Health.Insights.ClinicalMatching.netstandard2.0.cs @@ -107,9 +107,9 @@ public ClinicalMatchingClient(System.Uri endpoint, Azure.AzureKeyCredential cred public ClinicalMatchingClient(System.Uri endpoint, Azure.AzureKeyCredential credential, Azure.Health.Insights.ClinicalMatching.ClinicalMatchingClientOptions options) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } public virtual Azure.Operation MatchTrials(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Operation MatchTrials(Azure.WaitUntil waitUntil, Azure.Health.Insights.ClinicalMatching.TrialMatcherData trialMatcherData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation MatchTrials(Azure.WaitUntil waitUntil, Azure.Health.Insights.ClinicalMatching.TrialMatcherData body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> MatchTrialsAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> MatchTrialsAsync(Azure.WaitUntil waitUntil, Azure.Health.Insights.ClinicalMatching.TrialMatcherData trialMatcherData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> MatchTrialsAsync(Azure.WaitUntil waitUntil, Azure.Health.Insights.ClinicalMatching.TrialMatcherData body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ClinicalMatchingClientOptions : Azure.Core.ClientOptions { diff --git a/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/src/Generated/ClinicalMatchingClient.cs b/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/src/Generated/ClinicalMatchingClient.cs index ac18d4c935c5f..11c3bbbe75e69 100644 --- a/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/src/Generated/ClinicalMatchingClient.cs +++ b/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/src/Generated/ClinicalMatchingClient.cs @@ -63,16 +63,16 @@ public ClinicalMatchingClient(Uri endpoint, AzureKeyCredential credential, Clini /// Create Trial Matcher job. /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. - /// The body of the Trial Matcher request. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// Creates a Trial Matcher job with the given request body. /// - public virtual async Task> MatchTrialsAsync(WaitUntil waitUntil, TrialMatcherData trialMatcherData, CancellationToken cancellationToken = default) + public virtual async Task> MatchTrialsAsync(WaitUntil waitUntil, TrialMatcherData body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(trialMatcherData, nameof(trialMatcherData)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = trialMatcherData.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Operation response = await MatchTrialsAsync(waitUntil, content, context).ConfigureAwait(false); return ProtocolOperationHelpers.Convert(response, FetchTrialMatcherResultsFromTrialMatcherResult, ClientDiagnostics, "ClinicalMatchingClient.MatchTrials"); @@ -80,16 +80,16 @@ public virtual async Task> MatchTrialsAsync(WaitU /// Create Trial Matcher job. /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. - /// The body of the Trial Matcher request. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// Creates a Trial Matcher job with the given request body. /// - public virtual Operation MatchTrials(WaitUntil waitUntil, TrialMatcherData trialMatcherData, CancellationToken cancellationToken = default) + public virtual Operation MatchTrials(WaitUntil waitUntil, TrialMatcherData body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(trialMatcherData, nameof(trialMatcherData)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = trialMatcherData.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Operation response = MatchTrials(waitUntil, content, context); return ProtocolOperationHelpers.Convert(response, FetchTrialMatcherResultsFromTrialMatcherResult, ClientDiagnostics, "ClinicalMatchingClient.MatchTrials"); diff --git a/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/src/Generated/Docs/ClinicalMatchingClient.xml b/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/src/Generated/Docs/ClinicalMatchingClient.xml index fe2bf75b18923..7ca422550f1de 100644 --- a/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/src/Generated/Docs/ClinicalMatchingClient.xml +++ b/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/src/Generated/Docs/ClinicalMatchingClient.xml @@ -9,11 +9,11 @@ Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); ClinicalMatchingClient client = new ClinicalMatchingClient(endpoint, credential); -TrialMatcherData trialMatcherData = new TrialMatcherData(new PatientRecord[] +TrialMatcherData body = new TrialMatcherData(new PatientRecord[] { new PatientRecord("") }); -Operation operation = await client.MatchTrialsAsync(WaitUntil.Completed, trialMatcherData); +Operation operation = await client.MatchTrialsAsync(WaitUntil.Completed, body); TrialMatcherResults responseData = operation.Value; ]]> This sample shows how to call MatchTrialsAsync with all parameters. @@ -22,7 +22,7 @@ Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); ClinicalMatchingClient client = new ClinicalMatchingClient(endpoint, credential); -TrialMatcherData trialMatcherData = new TrialMatcherData(new PatientRecord[] +TrialMatcherData body = new TrialMatcherData(new PatientRecord[] { new PatientRecord("") { @@ -101,7 +101,7 @@ TrialMatcherData trialMatcherData = new TrialMatcherData(new PatientRecord[] IncludeEvidence = true, }, }; -Operation operation = await client.MatchTrialsAsync(WaitUntil.Completed, trialMatcherData); +Operation operation = await client.MatchTrialsAsync(WaitUntil.Completed, body); TrialMatcherResults responseData = operation.Value; ]]> @@ -113,11 +113,11 @@ Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); ClinicalMatchingClient client = new ClinicalMatchingClient(endpoint, credential); -TrialMatcherData trialMatcherData = new TrialMatcherData(new PatientRecord[] +TrialMatcherData body = new TrialMatcherData(new PatientRecord[] { new PatientRecord("") }); -Operation operation = client.MatchTrials(WaitUntil.Completed, trialMatcherData); +Operation operation = client.MatchTrials(WaitUntil.Completed, body); TrialMatcherResults responseData = operation.Value; ]]> This sample shows how to call MatchTrials with all parameters. @@ -126,7 +126,7 @@ Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); ClinicalMatchingClient client = new ClinicalMatchingClient(endpoint, credential); -TrialMatcherData trialMatcherData = new TrialMatcherData(new PatientRecord[] +TrialMatcherData body = new TrialMatcherData(new PatientRecord[] { new PatientRecord("") { @@ -205,7 +205,7 @@ TrialMatcherData trialMatcherData = new TrialMatcherData(new PatientRecord[] IncludeEvidence = true, }, }; -Operation operation = client.MatchTrials(WaitUntil.Completed, trialMatcherData); +Operation operation = client.MatchTrials(WaitUntil.Completed, body); TrialMatcherResults responseData = operation.Value; ]]> diff --git a/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/tests/Generated/Samples/Samples_ClinicalMatchingClient.cs b/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/tests/Generated/Samples/Samples_ClinicalMatchingClient.cs index 41d7a61b7e042..577fbde92ab92 100644 --- a/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/tests/Generated/Samples/Samples_ClinicalMatchingClient.cs +++ b/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/tests/Generated/Samples/Samples_ClinicalMatchingClient.cs @@ -80,11 +80,11 @@ public void Example_ClinicalMatchingClient_MatchTrials_ShortVersion_Convenience( AzureKeyCredential credential = new AzureKeyCredential(""); ClinicalMatchingClient client = new ClinicalMatchingClient(endpoint, credential); - TrialMatcherData trialMatcherData = new TrialMatcherData(new PatientRecord[] + TrialMatcherData body = new TrialMatcherData(new PatientRecord[] { new PatientRecord("") }); - Operation operation = client.MatchTrials(WaitUntil.Completed, trialMatcherData); + Operation operation = client.MatchTrials(WaitUntil.Completed, body); TrialMatcherResults responseData = operation.Value; } @@ -96,11 +96,11 @@ public async Task Example_ClinicalMatchingClient_MatchTrials_ShortVersion_Conven AzureKeyCredential credential = new AzureKeyCredential(""); ClinicalMatchingClient client = new ClinicalMatchingClient(endpoint, credential); - TrialMatcherData trialMatcherData = new TrialMatcherData(new PatientRecord[] + TrialMatcherData body = new TrialMatcherData(new PatientRecord[] { new PatientRecord("") }); - Operation operation = await client.MatchTrialsAsync(WaitUntil.Completed, trialMatcherData); + Operation operation = await client.MatchTrialsAsync(WaitUntil.Completed, body); TrialMatcherResults responseData = operation.Value; } @@ -566,7 +566,7 @@ public void Example_ClinicalMatchingClient_MatchTrials_AllParameters_Convenience AzureKeyCredential credential = new AzureKeyCredential(""); ClinicalMatchingClient client = new ClinicalMatchingClient(endpoint, credential); - TrialMatcherData trialMatcherData = new TrialMatcherData(new PatientRecord[] + TrialMatcherData body = new TrialMatcherData(new PatientRecord[] { new PatientRecord("") { @@ -645,7 +645,7 @@ public void Example_ClinicalMatchingClient_MatchTrials_AllParameters_Convenience IncludeEvidence = true, }, }; - Operation operation = client.MatchTrials(WaitUntil.Completed, trialMatcherData); + Operation operation = client.MatchTrials(WaitUntil.Completed, body); TrialMatcherResults responseData = operation.Value; } @@ -657,7 +657,7 @@ public async Task Example_ClinicalMatchingClient_MatchTrials_AllParameters_Conve AzureKeyCredential credential = new AzureKeyCredential(""); ClinicalMatchingClient client = new ClinicalMatchingClient(endpoint, credential); - TrialMatcherData trialMatcherData = new TrialMatcherData(new PatientRecord[] + TrialMatcherData body = new TrialMatcherData(new PatientRecord[] { new PatientRecord("") { @@ -736,7 +736,7 @@ public async Task Example_ClinicalMatchingClient_MatchTrials_AllParameters_Conve IncludeEvidence = true, }, }; - Operation operation = await client.MatchTrialsAsync(WaitUntil.Completed, trialMatcherData); + Operation operation = await client.MatchTrialsAsync(WaitUntil.Completed, body); TrialMatcherResults responseData = operation.Value; } } diff --git a/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/tsp-location.yaml b/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/tsp-location.yaml index 4d9680fdb9e0e..54e364fd83e51 100644 --- a/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/tsp-location.yaml +++ b/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/tsp-location.yaml @@ -2,5 +2,5 @@ directory: specification/ai/HealthInsights/HealthInsights.TrialMatcher/ additionalDirectories: - specification/ai/HealthInsights/HealthInsights.OpenAPI/ - specification/ai/HealthInsights/HealthInsights.Common/ -commit: e367672ea9422797ec90bfdf21a9434218359311 +commit: 65d7c0b79602bead9d477a756882b44391920776 repo: azure/azure-rest-api-specs diff --git a/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/api/Azure.Health.Insights.RadiologyInsights.netstandard2.0.cs b/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/api/Azure.Health.Insights.RadiologyInsights.netstandard2.0.cs index 2ac6f287a2c40..f9b50f67753ba 100644 --- a/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/api/Azure.Health.Insights.RadiologyInsights.netstandard2.0.cs +++ b/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/api/Azure.Health.Insights.RadiologyInsights.netstandard2.0.cs @@ -924,9 +924,9 @@ public RadiologyInsightsClient(System.Uri endpoint, Azure.AzureKeyCredential cre public RadiologyInsightsClient(System.Uri endpoint, Azure.AzureKeyCredential credential, Azure.Health.Insights.RadiologyInsights.RadiologyInsightsClientOptions options) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } public virtual Azure.Operation InferRadiologyInsights(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Operation InferRadiologyInsights(Azure.WaitUntil waitUntil, Azure.Health.Insights.RadiologyInsights.RadiologyInsightsData radiologyInsightsData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation InferRadiologyInsights(Azure.WaitUntil waitUntil, Azure.Health.Insights.RadiologyInsights.RadiologyInsightsData body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> InferRadiologyInsightsAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> InferRadiologyInsightsAsync(Azure.WaitUntil waitUntil, Azure.Health.Insights.RadiologyInsights.RadiologyInsightsData radiologyInsightsData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> InferRadiologyInsightsAsync(Azure.WaitUntil waitUntil, Azure.Health.Insights.RadiologyInsights.RadiologyInsightsData body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class RadiologyInsightsClientOptions : Azure.Core.ClientOptions { diff --git a/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/src/Generated/Docs/RadiologyInsightsClient.xml b/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/src/Generated/Docs/RadiologyInsightsClient.xml index 6dde626f5ba70..2a494042bba1d 100644 --- a/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/src/Generated/Docs/RadiologyInsightsClient.xml +++ b/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/src/Generated/Docs/RadiologyInsightsClient.xml @@ -9,11 +9,11 @@ Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); RadiologyInsightsClient client = new RadiologyInsightsClient(endpoint, credential); -RadiologyInsightsData radiologyInsightsData = new RadiologyInsightsData(new PatientRecord[] +RadiologyInsightsData body = new RadiologyInsightsData(new PatientRecord[] { new PatientRecord("") }); -Operation operation = await client.InferRadiologyInsightsAsync(WaitUntil.Completed, radiologyInsightsData); +Operation operation = await client.InferRadiologyInsightsAsync(WaitUntil.Completed, body); RadiologyInsightsInferenceResult responseData = operation.Value; ]]> This sample shows how to call InferRadiologyInsightsAsync with all parameters. @@ -22,7 +22,7 @@ Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); RadiologyInsightsClient client = new RadiologyInsightsClient(endpoint, credential); -RadiologyInsightsData radiologyInsightsData = new RadiologyInsightsData(new PatientRecord[] +RadiologyInsightsData body = new RadiologyInsightsData(new PatientRecord[] { new PatientRecord("") { @@ -184,7 +184,7 @@ RadiologyInsightsData radiologyInsightsData = new RadiologyInsightsData(new Pati Locale = "", }, }; -Operation operation = await client.InferRadiologyInsightsAsync(WaitUntil.Completed, radiologyInsightsData); +Operation operation = await client.InferRadiologyInsightsAsync(WaitUntil.Completed, body); RadiologyInsightsInferenceResult responseData = operation.Value; ]]> @@ -196,11 +196,11 @@ Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); RadiologyInsightsClient client = new RadiologyInsightsClient(endpoint, credential); -RadiologyInsightsData radiologyInsightsData = new RadiologyInsightsData(new PatientRecord[] +RadiologyInsightsData body = new RadiologyInsightsData(new PatientRecord[] { new PatientRecord("") }); -Operation operation = client.InferRadiologyInsights(WaitUntil.Completed, radiologyInsightsData); +Operation operation = client.InferRadiologyInsights(WaitUntil.Completed, body); RadiologyInsightsInferenceResult responseData = operation.Value; ]]> This sample shows how to call InferRadiologyInsights with all parameters. @@ -209,7 +209,7 @@ Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); RadiologyInsightsClient client = new RadiologyInsightsClient(endpoint, credential); -RadiologyInsightsData radiologyInsightsData = new RadiologyInsightsData(new PatientRecord[] +RadiologyInsightsData body = new RadiologyInsightsData(new PatientRecord[] { new PatientRecord("") { @@ -371,7 +371,7 @@ RadiologyInsightsData radiologyInsightsData = new RadiologyInsightsData(new Pati Locale = "", }, }; -Operation operation = client.InferRadiologyInsights(WaitUntil.Completed, radiologyInsightsData); +Operation operation = client.InferRadiologyInsights(WaitUntil.Completed, body); RadiologyInsightsInferenceResult responseData = operation.Value; ]]> diff --git a/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/src/Generated/RadiologyInsightsClient.cs b/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/src/Generated/RadiologyInsightsClient.cs index 551dfac381e8a..27d41cb07b50a 100644 --- a/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/src/Generated/RadiologyInsightsClient.cs +++ b/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/src/Generated/RadiologyInsightsClient.cs @@ -63,16 +63,16 @@ public RadiologyInsightsClient(Uri endpoint, AzureKeyCredential credential, Radi /// Create Radiology Insights job. /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. - /// Contains the list of patients, and configuration data. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// Creates a Radiology Insights job with the given request body. /// - public virtual async Task> InferRadiologyInsightsAsync(WaitUntil waitUntil, RadiologyInsightsData radiologyInsightsData, CancellationToken cancellationToken = default) + public virtual async Task> InferRadiologyInsightsAsync(WaitUntil waitUntil, RadiologyInsightsData body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(radiologyInsightsData, nameof(radiologyInsightsData)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = radiologyInsightsData.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Operation response = await InferRadiologyInsightsAsync(waitUntil, content, context).ConfigureAwait(false); return ProtocolOperationHelpers.Convert(response, FetchRadiologyInsightsInferenceResultFromRadiologyInsightsResult, ClientDiagnostics, "RadiologyInsightsClient.InferRadiologyInsights"); @@ -80,16 +80,16 @@ public virtual async Task> InferRadi /// Create Radiology Insights job. /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. - /// Contains the list of patients, and configuration data. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// Creates a Radiology Insights job with the given request body. /// - public virtual Operation InferRadiologyInsights(WaitUntil waitUntil, RadiologyInsightsData radiologyInsightsData, CancellationToken cancellationToken = default) + public virtual Operation InferRadiologyInsights(WaitUntil waitUntil, RadiologyInsightsData body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(radiologyInsightsData, nameof(radiologyInsightsData)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = radiologyInsightsData.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Operation response = InferRadiologyInsights(waitUntil, content, context); return ProtocolOperationHelpers.Convert(response, FetchRadiologyInsightsInferenceResultFromRadiologyInsightsResult, ClientDiagnostics, "RadiologyInsightsClient.InferRadiologyInsights"); diff --git a/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/tests/Generated/Samples/Samples_RadiologyInsightsClient.cs b/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/tests/Generated/Samples/Samples_RadiologyInsightsClient.cs index 081e2164520c4..e797214f80d27 100644 --- a/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/tests/Generated/Samples/Samples_RadiologyInsightsClient.cs +++ b/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/tests/Generated/Samples/Samples_RadiologyInsightsClient.cs @@ -79,11 +79,11 @@ public void Example_RadiologyInsightsClient_InferRadiologyInsights_ShortVersion_ AzureKeyCredential credential = new AzureKeyCredential(""); RadiologyInsightsClient client = new RadiologyInsightsClient(endpoint, credential); - RadiologyInsightsData radiologyInsightsData = new RadiologyInsightsData(new PatientRecord[] + RadiologyInsightsData body = new RadiologyInsightsData(new PatientRecord[] { new PatientRecord("") }); - Operation operation = client.InferRadiologyInsights(WaitUntil.Completed, radiologyInsightsData); + Operation operation = client.InferRadiologyInsights(WaitUntil.Completed, body); RadiologyInsightsInferenceResult responseData = operation.Value; } @@ -95,11 +95,11 @@ public async Task Example_RadiologyInsightsClient_InferRadiologyInsights_ShortVe AzureKeyCredential credential = new AzureKeyCredential(""); RadiologyInsightsClient client = new RadiologyInsightsClient(endpoint, credential); - RadiologyInsightsData radiologyInsightsData = new RadiologyInsightsData(new PatientRecord[] + RadiologyInsightsData body = new RadiologyInsightsData(new PatientRecord[] { new PatientRecord("") }); - Operation operation = await client.InferRadiologyInsightsAsync(WaitUntil.Completed, radiologyInsightsData); + Operation operation = await client.InferRadiologyInsightsAsync(WaitUntil.Completed, body); RadiologyInsightsInferenceResult responseData = operation.Value; } @@ -767,7 +767,7 @@ public void Example_RadiologyInsightsClient_InferRadiologyInsights_AllParameters AzureKeyCredential credential = new AzureKeyCredential(""); RadiologyInsightsClient client = new RadiologyInsightsClient(endpoint, credential); - RadiologyInsightsData radiologyInsightsData = new RadiologyInsightsData(new PatientRecord[] + RadiologyInsightsData body = new RadiologyInsightsData(new PatientRecord[] { new PatientRecord("") { @@ -929,7 +929,7 @@ public void Example_RadiologyInsightsClient_InferRadiologyInsights_AllParameters Locale = "", }, }; - Operation operation = client.InferRadiologyInsights(WaitUntil.Completed, radiologyInsightsData); + Operation operation = client.InferRadiologyInsights(WaitUntil.Completed, body); RadiologyInsightsInferenceResult responseData = operation.Value; } @@ -941,7 +941,7 @@ public async Task Example_RadiologyInsightsClient_InferRadiologyInsights_AllPara AzureKeyCredential credential = new AzureKeyCredential(""); RadiologyInsightsClient client = new RadiologyInsightsClient(endpoint, credential); - RadiologyInsightsData radiologyInsightsData = new RadiologyInsightsData(new PatientRecord[] + RadiologyInsightsData body = new RadiologyInsightsData(new PatientRecord[] { new PatientRecord("") { @@ -1103,7 +1103,7 @@ public async Task Example_RadiologyInsightsClient_InferRadiologyInsights_AllPara Locale = "", }, }; - Operation operation = await client.InferRadiologyInsightsAsync(WaitUntil.Completed, radiologyInsightsData); + Operation operation = await client.InferRadiologyInsightsAsync(WaitUntil.Completed, body); RadiologyInsightsInferenceResult responseData = operation.Value; } } diff --git a/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/tsp-location.yaml b/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/tsp-location.yaml index 37e66aa71dbb5..6f0e45068e5f9 100644 --- a/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/tsp-location.yaml +++ b/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/tsp-location.yaml @@ -2,6 +2,6 @@ directory: specification/ai/HealthInsights/HealthInsights.RadiologyInsights additionalDirectories: - specification/ai/HealthInsights/HealthInsights.OpenAPI - specification/ai/HealthInsights/HealthInsights.Common -commit: bfdee1b8c641c2c6dea1fca78490e3ab429c5717 +commit: f33a6a43080101f1989a1c6e6ea00bb06eea5210 repo: Azure/azure-rest-api-specs cleanup: false diff --git a/sdk/openai/Azure.AI.OpenAI.Assistants/api/Azure.AI.OpenAI.Assistants.netstandard2.0.cs b/sdk/openai/Azure.AI.OpenAI.Assistants/api/Azure.AI.OpenAI.Assistants.netstandard2.0.cs index 866aa2384dcd4..93b0eae8220af 100644 --- a/sdk/openai/Azure.AI.OpenAI.Assistants/api/Azure.AI.OpenAI.Assistants.netstandard2.0.cs +++ b/sdk/openai/Azure.AI.OpenAI.Assistants/api/Azure.AI.OpenAI.Assistants.netstandard2.0.cs @@ -58,19 +58,19 @@ public AssistantsClient(System.Uri endpoint, Azure.Core.TokenCredential tokenCre public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } public virtual Azure.Response CancelRun(string threadId, string runId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CancelRunAsync(string threadId, string runId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CreateAssistant(Azure.AI.OpenAI.Assistants.AssistantCreationOptions assistantCreationOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CreateAssistantAsync(Azure.AI.OpenAI.Assistants.AssistantCreationOptions assistantCreationOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CreateAssistant(Azure.AI.OpenAI.Assistants.AssistantCreationOptions body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateAssistantAsync(Azure.AI.OpenAI.Assistants.AssistantCreationOptions body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateMessage(string threadId, Azure.AI.OpenAI.Assistants.MessageRole role, string content, System.Collections.Generic.IEnumerable fileIds = null, System.Collections.Generic.IDictionary metadata = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateMessageAsync(string threadId, Azure.AI.OpenAI.Assistants.MessageRole role, string content, System.Collections.Generic.IEnumerable fileIds = null, System.Collections.Generic.IDictionary metadata = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateRun(Azure.AI.OpenAI.Assistants.AssistantThread thread, Azure.AI.OpenAI.Assistants.Assistant assistant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateRun(string threadId, Azure.AI.OpenAI.Assistants.CreateRunOptions createRunOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateRunAsync(Azure.AI.OpenAI.Assistants.AssistantThread thread, Azure.AI.OpenAI.Assistants.Assistant assistant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateRunAsync(string threadId, Azure.AI.OpenAI.Assistants.CreateRunOptions createRunOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CreateThread(Azure.AI.OpenAI.Assistants.AssistantThreadCreationOptions assistantThreadCreationOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CreateThread(Azure.AI.OpenAI.Assistants.AssistantThreadCreationOptions body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateThread(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CreateThreadAndRun(Azure.AI.OpenAI.Assistants.CreateAndRunThreadOptions createAndRunThreadOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CreateThreadAndRunAsync(Azure.AI.OpenAI.Assistants.CreateAndRunThreadOptions createAndRunThreadOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CreateThreadAsync(Azure.AI.OpenAI.Assistants.AssistantThreadCreationOptions assistantThreadCreationOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CreateThreadAndRun(Azure.AI.OpenAI.Assistants.CreateAndRunThreadOptions body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateThreadAndRunAsync(Azure.AI.OpenAI.Assistants.CreateAndRunThreadOptions body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateThreadAsync(Azure.AI.OpenAI.Assistants.AssistantThreadCreationOptions body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateThreadAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response DeleteAssistant(string assistantId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> DeleteAssistantAsync(string assistantId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -120,8 +120,8 @@ public AssistantsClient(System.Uri endpoint, Azure.Core.TokenCredential tokenCre public virtual System.Threading.Tasks.Task> SubmitToolOutputsToRunAsync(string threadId, string runId, System.Collections.Generic.IEnumerable toolOutputs, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response UnlinkAssistantFile(string assistantId, string fileId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UnlinkAssistantFileAsync(string assistantId, string fileId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateAssistant(string assistantId, Azure.AI.OpenAI.Assistants.UpdateAssistantOptions updateAssistantOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateAssistantAsync(string assistantId, Azure.AI.OpenAI.Assistants.UpdateAssistantOptions updateAssistantOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateAssistant(string assistantId, Azure.AI.OpenAI.Assistants.UpdateAssistantOptions body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateAssistantAsync(string assistantId, Azure.AI.OpenAI.Assistants.UpdateAssistantOptions body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response UpdateMessage(string threadId, string messageId, System.Collections.Generic.IDictionary metadata = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateMessageAsync(string threadId, string messageId, System.Collections.Generic.IDictionary metadata = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response UpdateRun(string threadId, string runId, System.Collections.Generic.IDictionary metadata = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } diff --git a/sdk/openai/Azure.AI.OpenAI.Assistants/src/Generated/AssistantsClient.cs b/sdk/openai/Azure.AI.OpenAI.Assistants/src/Generated/AssistantsClient.cs index 5fac23f167008..acde6fbb7e646 100644 --- a/sdk/openai/Azure.AI.OpenAI.Assistants/src/Generated/AssistantsClient.cs +++ b/sdk/openai/Azure.AI.OpenAI.Assistants/src/Generated/AssistantsClient.cs @@ -39,28 +39,28 @@ protected AssistantsClient() } /// Creates a new assistant. - /// The request details to use when creating a new assistant. + /// Body parameter. /// The cancellation token to use. - /// is null. - public virtual async Task> CreateAssistantAsync(AssistantCreationOptions assistantCreationOptions, CancellationToken cancellationToken = default) + /// is null. + public virtual async Task> CreateAssistantAsync(AssistantCreationOptions body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(assistantCreationOptions, nameof(assistantCreationOptions)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = assistantCreationOptions.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await CreateAssistantAsync(content, context).ConfigureAwait(false); return Response.FromValue(Assistant.FromResponse(response), response); } /// Creates a new assistant. - /// The request details to use when creating a new assistant. + /// Body parameter. /// The cancellation token to use. - /// is null. - public virtual Response CreateAssistant(AssistantCreationOptions assistantCreationOptions, CancellationToken cancellationToken = default) + /// is null. + public virtual Response CreateAssistant(AssistantCreationOptions body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(assistantCreationOptions, nameof(assistantCreationOptions)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = assistantCreationOptions.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = CreateAssistant(content, context); return Response.FromValue(Assistant.FromResponse(response), response); @@ -332,16 +332,16 @@ internal virtual Response GetAssistant(string assistantId, RequestContext contex /// Modifies an existing assistant. /// The ID of the assistant to modify. - /// The request details to use when modifying an existing assistant. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. - public virtual async Task> UpdateAssistantAsync(string assistantId, UpdateAssistantOptions updateAssistantOptions, CancellationToken cancellationToken = default) + public virtual async Task> UpdateAssistantAsync(string assistantId, UpdateAssistantOptions body, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId)); - Argument.AssertNotNull(updateAssistantOptions, nameof(updateAssistantOptions)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = updateAssistantOptions.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await UpdateAssistantAsync(assistantId, content, context).ConfigureAwait(false); return Response.FromValue(Assistant.FromResponse(response), response); @@ -349,16 +349,16 @@ public virtual async Task> UpdateAssistantAsync(string assis /// Modifies an existing assistant. /// The ID of the assistant to modify. - /// The request details to use when modifying an existing assistant. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. - public virtual Response UpdateAssistant(string assistantId, UpdateAssistantOptions updateAssistantOptions, CancellationToken cancellationToken = default) + public virtual Response UpdateAssistant(string assistantId, UpdateAssistantOptions body, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId)); - Argument.AssertNotNull(updateAssistantOptions, nameof(updateAssistantOptions)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = updateAssistantOptions.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = UpdateAssistant(assistantId, content, context); return Response.FromValue(Assistant.FromResponse(response), response); @@ -997,28 +997,28 @@ internal virtual Response InternalUnlinkAssistantFile(string assistantId, string } /// Creates a new thread. Threads contain messages and can be run by assistants. - /// The details used to create a new assistant thread. + /// Body parameter. /// The cancellation token to use. - /// is null. - public virtual async Task> CreateThreadAsync(AssistantThreadCreationOptions assistantThreadCreationOptions, CancellationToken cancellationToken = default) + /// is null. + public virtual async Task> CreateThreadAsync(AssistantThreadCreationOptions body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(assistantThreadCreationOptions, nameof(assistantThreadCreationOptions)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = assistantThreadCreationOptions.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await CreateThreadAsync(content, context).ConfigureAwait(false); return Response.FromValue(AssistantThread.FromResponse(response), response); } /// Creates a new thread. Threads contain messages and can be run by assistants. - /// The details used to create a new assistant thread. + /// Body parameter. /// The cancellation token to use. - /// is null. - public virtual Response CreateThread(AssistantThreadCreationOptions assistantThreadCreationOptions, CancellationToken cancellationToken = default) + /// is null. + public virtual Response CreateThread(AssistantThreadCreationOptions body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(assistantThreadCreationOptions, nameof(assistantThreadCreationOptions)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = assistantThreadCreationOptions.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = CreateThread(content, context); return Response.FromValue(AssistantThread.FromResponse(response), response); @@ -2751,28 +2751,28 @@ internal virtual Response CancelRun(string threadId, string runId, RequestContex } /// Creates a new assistant thread and immediately starts a run using that new thread. - /// The details used when creating and immediately running a new assistant thread. + /// Body parameter. /// The cancellation token to use. - /// is null. - public virtual async Task> CreateThreadAndRunAsync(CreateAndRunThreadOptions createAndRunThreadOptions, CancellationToken cancellationToken = default) + /// is null. + public virtual async Task> CreateThreadAndRunAsync(CreateAndRunThreadOptions body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(createAndRunThreadOptions, nameof(createAndRunThreadOptions)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = createAndRunThreadOptions.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await CreateThreadAndRunAsync(content, context).ConfigureAwait(false); return Response.FromValue(ThreadRun.FromResponse(response), response); } /// Creates a new assistant thread and immediately starts a run using that new thread. - /// The details used when creating and immediately running a new assistant thread. + /// Body parameter. /// The cancellation token to use. - /// is null. - public virtual Response CreateThreadAndRun(CreateAndRunThreadOptions createAndRunThreadOptions, CancellationToken cancellationToken = default) + /// is null. + public virtual Response CreateThreadAndRun(CreateAndRunThreadOptions body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(createAndRunThreadOptions, nameof(createAndRunThreadOptions)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = createAndRunThreadOptions.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = CreateThreadAndRun(content, context); return Response.FromValue(ThreadRun.FromResponse(response), response); diff --git a/sdk/openai/Azure.AI.OpenAI.Assistants/tsp-location.yaml b/sdk/openai/Azure.AI.OpenAI.Assistants/tsp-location.yaml index b0ae317718fb8..58f812caec89c 100644 --- a/sdk/openai/Azure.AI.OpenAI.Assistants/tsp-location.yaml +++ b/sdk/openai/Azure.AI.OpenAI.Assistants/tsp-location.yaml @@ -1,3 +1,3 @@ directory: specification/ai/OpenAI.Assistants -commit: 1fe785dc9b49c48088a9d11db023eee07dd168e7 +commit: 4fef3a8d819f8fc8eef6a3b68320f710e666b72a repo: Azure/azure-rest-api-specs diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/api/Azure.Analytics.Purview.DataMap.netstandard2.0.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/api/Azure.Analytics.Purview.DataMap.netstandard2.0.cs index 8e40619b670c9..5cf2cc1999adc 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/api/Azure.Analytics.Purview.DataMap.netstandard2.0.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/api/Azure.Analytics.Purview.DataMap.netstandard2.0.cs @@ -1001,26 +1001,26 @@ public partial class Discovery { protected Discovery() { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response AutoComplete(Azure.Analytics.Purview.DataMap.AutoCompleteConfig autoCompleteConfig, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response AutoComplete(Azure.Analytics.Purview.DataMap.AutoCompleteConfig body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response AutoComplete(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> AutoCompleteAsync(Azure.Analytics.Purview.DataMap.AutoCompleteConfig autoCompleteConfig, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> AutoCompleteAsync(Azure.Analytics.Purview.DataMap.AutoCompleteConfig body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task AutoCompleteAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response Query(Azure.Analytics.Purview.DataMap.QueryConfig queryConfig, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Query(Azure.Analytics.Purview.DataMap.QueryConfig body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Query(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> QueryAsync(Azure.Analytics.Purview.DataMap.QueryConfig queryConfig, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> QueryAsync(Azure.Analytics.Purview.DataMap.QueryConfig body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task QueryAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response Suggest(Azure.Analytics.Purview.DataMap.SuggestConfig suggestConfig, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Suggest(Azure.Analytics.Purview.DataMap.SuggestConfig body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Suggest(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> SuggestAsync(Azure.Analytics.Purview.DataMap.SuggestConfig suggestConfig, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> SuggestAsync(Azure.Analytics.Purview.DataMap.SuggestConfig body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task SuggestAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } } public partial class Entity { protected Entity() { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response AddClassification(Azure.Analytics.Purview.DataMap.ClassificationAssociateConfig classificationAssociateConfig, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response AddClassification(Azure.Analytics.Purview.DataMap.ClassificationAssociateConfig body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response AddClassification(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task AddClassificationAsync(Azure.Analytics.Purview.DataMap.ClassificationAssociateConfig classificationAssociateConfig, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task AddClassificationAsync(Azure.Analytics.Purview.DataMap.ClassificationAssociateConfig body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task AddClassificationAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response AddClassifications(string guid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response AddClassifications(string guid, System.Collections.Generic.IEnumerable body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1046,9 +1046,9 @@ protected Entity() { } public virtual Azure.Response AddOrUpdateBusinessMetadataAttributes(string guid, string businessMetadataName, System.Collections.Generic.IDictionary body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task AddOrUpdateBusinessMetadataAttributesAsync(string guid, string businessMetadataName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task AddOrUpdateBusinessMetadataAttributesAsync(string guid, string businessMetadataName, System.Collections.Generic.IDictionary body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response BatchCreateOrUpdate(Azure.Analytics.Purview.DataMap.AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo, string collectionId = null, Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = default(Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response BatchCreateOrUpdate(Azure.Analytics.Purview.DataMap.AtlasEntitiesWithExtInfo body, string collectionId = null, Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = default(Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response BatchCreateOrUpdate(Azure.Core.RequestContent content, string collectionId = null, string businessAttributeUpdateBehavior = null, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> BatchCreateOrUpdateAsync(Azure.Analytics.Purview.DataMap.AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo, string collectionId = null, Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = default(Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> BatchCreateOrUpdateAsync(Azure.Analytics.Purview.DataMap.AtlasEntitiesWithExtInfo body, string collectionId = null, Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = default(Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task BatchCreateOrUpdateAsync(Azure.Core.RequestContent content, string collectionId = null, string businessAttributeUpdateBehavior = null, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response BatchDelete(System.Collections.Generic.IEnumerable guid, Azure.RequestContext context) { throw null; } public virtual Azure.Response BatchDelete(System.Collections.Generic.IEnumerable guid, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1058,13 +1058,13 @@ protected Entity() { } public virtual Azure.Response BatchGetByUniqueAttributes(string typeName, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), string attrNQualifiedName = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task BatchGetByUniqueAttributesAsync(string typeName, bool? minExtInfo, bool? ignoreRelationships, string attrNQualifiedName, Azure.RequestContext context) { throw null; } public virtual System.Threading.Tasks.Task> BatchGetByUniqueAttributesAsync(string typeName, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), string attrNQualifiedName = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response> BatchSetClassifications(Azure.Analytics.Purview.DataMap.AtlasEntityHeaders atlasEntityHeaders, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response> BatchSetClassifications(Azure.Analytics.Purview.DataMap.AtlasEntityHeaders body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response BatchSetClassifications(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task>> BatchSetClassificationsAsync(Azure.Analytics.Purview.DataMap.AtlasEntityHeaders atlasEntityHeaders, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task>> BatchSetClassificationsAsync(Azure.Analytics.Purview.DataMap.AtlasEntityHeaders body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task BatchSetClassificationsAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response CreateOrUpdate(Azure.Analytics.Purview.DataMap.AtlasEntityWithExtInfo atlasEntityWithExtInfo, Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = default(Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior?), string collectionId = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CreateOrUpdate(Azure.Analytics.Purview.DataMap.AtlasEntityWithExtInfo body, Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = default(Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior?), string collectionId = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateOrUpdate(Azure.Core.RequestContent content, string businessAttributeUpdateBehavior = null, string collectionId = null, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.Analytics.Purview.DataMap.AtlasEntityWithExtInfo atlasEntityWithExtInfo, Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = default(Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior?), string collectionId = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.Analytics.Purview.DataMap.AtlasEntityWithExtInfo body, Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = default(Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior?), string collectionId = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(Azure.Core.RequestContent content, string businessAttributeUpdateBehavior = null, string collectionId = null, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response Delete(string guid, Azure.RequestContext context) { throw null; } public virtual Azure.Response Delete(string guid, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1102,14 +1102,14 @@ protected Entity() { } public virtual Azure.Response GetHeader(string guid, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetHeaderAsync(string guid, Azure.RequestContext context) { throw null; } public virtual System.Threading.Tasks.Task> GetHeaderAsync(string guid, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response ImportBusinessMetadata(Azure.Analytics.Purview.DataMap.BusinessMetadataOptions businessMetadataOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response ImportBusinessMetadata(Azure.Analytics.Purview.DataMap.BusinessMetadataOptions body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response ImportBusinessMetadata(Azure.Core.RequestContent content, string contentType, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response ImportBusinessMetadata(System.BinaryData file, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ImportBusinessMetadataAsync(Azure.Analytics.Purview.DataMap.BusinessMetadataOptions businessMetadataOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ImportBusinessMetadataAsync(Azure.Analytics.Purview.DataMap.BusinessMetadataOptions body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task ImportBusinessMetadataAsync(Azure.Core.RequestContent content, string contentType, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response MoveEntitiesToCollection(string collectionId, Azure.Analytics.Purview.DataMap.MoveEntitiesConfig moveEntitiesConfig, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response MoveEntitiesToCollection(string collectionId, Azure.Analytics.Purview.DataMap.MoveEntitiesConfig body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response MoveEntitiesToCollection(string collectionId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> MoveEntitiesToCollectionAsync(string collectionId, Azure.Analytics.Purview.DataMap.MoveEntitiesConfig moveEntitiesConfig, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> MoveEntitiesToCollectionAsync(string collectionId, Azure.Analytics.Purview.DataMap.MoveEntitiesConfig body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task MoveEntitiesToCollectionAsync(string collectionId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response RemoveBusinessMetadata(string guid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response RemoveBusinessMetadata(string guid, System.Collections.Generic.IDictionary> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1143,9 +1143,9 @@ protected Entity() { } public virtual Azure.Response UpdateAttributeById(string guid, string name, System.BinaryData body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UpdateAttributeByIdAsync(string guid, string name, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAttributeByIdAsync(string guid, string name, System.BinaryData body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateByUniqueAttribute(string typeName, Azure.Analytics.Purview.DataMap.AtlasEntityWithExtInfo atlasEntityWithExtInfo, string attribute = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateByUniqueAttribute(string typeName, Azure.Analytics.Purview.DataMap.AtlasEntityWithExtInfo body, string attribute = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response UpdateByUniqueAttribute(string typeName, Azure.Core.RequestContent content, string attribute = null, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateByUniqueAttributeAsync(string typeName, Azure.Analytics.Purview.DataMap.AtlasEntityWithExtInfo atlasEntityWithExtInfo, string attribute = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateByUniqueAttributeAsync(string typeName, Azure.Analytics.Purview.DataMap.AtlasEntityWithExtInfo body, string attribute = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UpdateByUniqueAttributeAsync(string typeName, Azure.Core.RequestContent content, string attribute = null, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response UpdateClassifications(string guid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response UpdateClassifications(string guid, System.Collections.Generic.IEnumerable body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1198,21 +1198,21 @@ protected Glossary() { } public virtual Azure.Response> BatchGet(int? limit = default(int?), int? offset = default(int?), string sort = null, bool? ignoreTermsAndCategories = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task BatchGetAsync(int? limit, int? offset, string sort, bool? ignoreTermsAndCategories, Azure.RequestContext context) { throw null; } public virtual System.Threading.Tasks.Task>> BatchGetAsync(int? limit = default(int?), int? offset = default(int?), string sort = null, bool? ignoreTermsAndCategories = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Create(Azure.Analytics.Purview.DataMap.AtlasGlossary atlasGlossary, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Create(Azure.Analytics.Purview.DataMap.AtlasGlossary body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Create(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Analytics.Purview.DataMap.AtlasGlossary atlasGlossary, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Analytics.Purview.DataMap.AtlasGlossary body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response CreateCategories(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response> CreateCategories(System.Collections.Generic.IEnumerable body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateCategoriesAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task>> CreateCategoriesAsync(System.Collections.Generic.IEnumerable body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CreateCategory(Azure.Analytics.Purview.DataMap.AtlasGlossaryCategory atlasGlossaryCategory, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CreateCategory(Azure.Analytics.Purview.DataMap.AtlasGlossaryCategory body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateCategory(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> CreateCategoryAsync(Azure.Analytics.Purview.DataMap.AtlasGlossaryCategory atlasGlossaryCategory, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateCategoryAsync(Azure.Analytics.Purview.DataMap.AtlasGlossaryCategory body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateCategoryAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response CreateTerm(Azure.Analytics.Purview.DataMap.AtlasGlossaryTerm atlasGlossaryTerm, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CreateTerm(Azure.Analytics.Purview.DataMap.AtlasGlossaryTerm body, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateTerm(Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> CreateTermAsync(Azure.Analytics.Purview.DataMap.AtlasGlossaryTerm atlasGlossaryTerm, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateTermAsync(Azure.Analytics.Purview.DataMap.AtlasGlossaryTerm body, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateTermAsync(Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } public virtual Azure.Response CreateTerms(Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } public virtual Azure.Response> CreateTerms(System.Collections.Generic.IEnumerable body, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1288,17 +1288,17 @@ protected Glossary() { } public virtual Azure.Response PartialUpdateTerm(string termId, System.Collections.Generic.IDictionary body, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task PartialUpdateTermAsync(string termId, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task> PartialUpdateTermAsync(string termId, System.Collections.Generic.IDictionary body, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Update(string glossaryId, Azure.Analytics.Purview.DataMap.AtlasGlossary atlasGlossary, bool? ignoreTermsAndCategories = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Update(string glossaryId, Azure.Analytics.Purview.DataMap.AtlasGlossary body, bool? ignoreTermsAndCategories = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Update(string glossaryId, Azure.Core.RequestContent content, bool? ignoreTermsAndCategories = default(bool?), Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateAsync(string glossaryId, Azure.Analytics.Purview.DataMap.AtlasGlossary atlasGlossary, bool? ignoreTermsAndCategories = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateAsync(string glossaryId, Azure.Analytics.Purview.DataMap.AtlasGlossary body, bool? ignoreTermsAndCategories = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UpdateAsync(string glossaryId, Azure.Core.RequestContent content, bool? ignoreTermsAndCategories = default(bool?), Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response UpdateCategory(string categoryId, Azure.Analytics.Purview.DataMap.AtlasGlossaryCategory atlasGlossaryCategory, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateCategory(string categoryId, Azure.Analytics.Purview.DataMap.AtlasGlossaryCategory body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response UpdateCategory(string categoryId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateCategoryAsync(string categoryId, Azure.Analytics.Purview.DataMap.AtlasGlossaryCategory atlasGlossaryCategory, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateCategoryAsync(string categoryId, Azure.Analytics.Purview.DataMap.AtlasGlossaryCategory body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UpdateCategoryAsync(string categoryId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response UpdateTerm(string termId, Azure.Analytics.Purview.DataMap.AtlasGlossaryTerm atlasGlossaryTerm, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTerm(string termId, Azure.Analytics.Purview.DataMap.AtlasGlossaryTerm body, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response UpdateTerm(string termId, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTermAsync(string termId, Azure.Analytics.Purview.DataMap.AtlasGlossaryTerm atlasGlossaryTerm, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTermAsync(string termId, Azure.Analytics.Purview.DataMap.AtlasGlossaryTerm body, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UpdateTermAsync(string termId, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } } public partial class ImportInfo : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel @@ -1453,9 +1453,9 @@ public partial class Relationship { protected Relationship() { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response Create(Azure.Analytics.Purview.DataMap.AtlasRelationship atlasRelationship, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Create(Azure.Analytics.Purview.DataMap.AtlasRelationship body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Create(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Analytics.Purview.DataMap.AtlasRelationship atlasRelationship, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Analytics.Purview.DataMap.AtlasRelationship body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response Delete(string guid, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task DeleteAsync(string guid, Azure.RequestContext context = null) { throw null; } @@ -1463,9 +1463,9 @@ protected Relationship() { } public virtual Azure.Response GetRelationship(string guid, bool? extendedInfo = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetRelationshipAsync(string guid, bool? extendedInfo, Azure.RequestContext context) { throw null; } public virtual System.Threading.Tasks.Task> GetRelationshipAsync(string guid, bool? extendedInfo = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Update(Azure.Analytics.Purview.DataMap.AtlasRelationship atlasRelationship, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Update(Azure.Analytics.Purview.DataMap.AtlasRelationship body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Update(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.Analytics.Purview.DataMap.AtlasRelationship atlasRelationship, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.Analytics.Purview.DataMap.AtlasRelationship body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UpdateAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -1818,17 +1818,17 @@ public partial class TypeDefinition { protected TypeDefinition() { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response BatchCreate(Azure.Analytics.Purview.DataMap.AtlasTypesDef atlasTypesDef, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response BatchCreate(Azure.Analytics.Purview.DataMap.AtlasTypesDef body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response BatchCreate(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> BatchCreateAsync(Azure.Analytics.Purview.DataMap.AtlasTypesDef atlasTypesDef, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> BatchCreateAsync(Azure.Analytics.Purview.DataMap.AtlasTypesDef body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task BatchCreateAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response BatchDelete(Azure.Analytics.Purview.DataMap.AtlasTypesDef atlasTypesDef, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response BatchDelete(Azure.Analytics.Purview.DataMap.AtlasTypesDef body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response BatchDelete(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task BatchDeleteAsync(Azure.Analytics.Purview.DataMap.AtlasTypesDef atlasTypesDef, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task BatchDeleteAsync(Azure.Analytics.Purview.DataMap.AtlasTypesDef body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task BatchDeleteAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response BatchUpdate(Azure.Analytics.Purview.DataMap.AtlasTypesDef atlasTypesDef, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response BatchUpdate(Azure.Analytics.Purview.DataMap.AtlasTypesDef body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response BatchUpdate(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> BatchUpdateAsync(Azure.Analytics.Purview.DataMap.AtlasTypesDef atlasTypesDef, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> BatchUpdateAsync(Azure.Analytics.Purview.DataMap.AtlasTypesDef body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task BatchUpdateAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response Delete(string name, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task DeleteAsync(string name, Azure.RequestContext context = null) { throw null; } diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Discovery.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Discovery.cs index 9bda0cb30e054..e4fce86155aff 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Discovery.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Discovery.cs @@ -50,30 +50,30 @@ internal Discovery(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, T } /// Get data using search. - /// The search query of advanced search request. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> QueryAsync(QueryConfig queryConfig, CancellationToken cancellationToken = default) + public virtual async Task> QueryAsync(QueryConfig body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(queryConfig, nameof(queryConfig)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = queryConfig.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await QueryAsync(content, context).ConfigureAwait(false); return Response.FromValue(QueryResult.FromResponse(response), response); } /// Get data using search. - /// The search query of advanced search request. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response Query(QueryConfig queryConfig, CancellationToken cancellationToken = default) + public virtual Response Query(QueryConfig body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(queryConfig, nameof(queryConfig)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = queryConfig.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = Query(content, context); return Response.FromValue(QueryResult.FromResponse(response), response); @@ -158,30 +158,30 @@ public virtual Response Query(RequestContent content, RequestContext context = n } /// Get search suggestions by query criteria. - /// The payload of suggest request. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> SuggestAsync(SuggestConfig suggestConfig, CancellationToken cancellationToken = default) + public virtual async Task> SuggestAsync(SuggestConfig body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(suggestConfig, nameof(suggestConfig)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = suggestConfig.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await SuggestAsync(content, context).ConfigureAwait(false); return Response.FromValue(SuggestResult.FromResponse(response), response); } /// Get search suggestions by query criteria. - /// The payload of suggest request. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response Suggest(SuggestConfig suggestConfig, CancellationToken cancellationToken = default) + public virtual Response Suggest(SuggestConfig body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(suggestConfig, nameof(suggestConfig)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = suggestConfig.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = Suggest(content, context); return Response.FromValue(SuggestResult.FromResponse(response), response); @@ -266,30 +266,30 @@ public virtual Response Suggest(RequestContent content, RequestContext context = } /// Get auto complete options. - /// The payload of autocomplete request. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> AutoCompleteAsync(AutoCompleteConfig autoCompleteConfig, CancellationToken cancellationToken = default) + public virtual async Task> AutoCompleteAsync(AutoCompleteConfig body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(autoCompleteConfig, nameof(autoCompleteConfig)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = autoCompleteConfig.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await AutoCompleteAsync(content, context).ConfigureAwait(false); return Response.FromValue(AutoCompleteResult.FromResponse(response), response); } /// Get auto complete options. - /// The payload of autocomplete request. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response AutoComplete(AutoCompleteConfig autoCompleteConfig, CancellationToken cancellationToken = default) + public virtual Response AutoComplete(AutoCompleteConfig body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(autoCompleteConfig, nameof(autoCompleteConfig)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = autoCompleteConfig.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = AutoComplete(content, context); return Response.FromValue(AutoCompleteResult.FromResponse(response), response); diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Discovery.xml b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Discovery.xml index 1095890f2913b..2cf3d5de93744 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Discovery.xml +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Discovery.xml @@ -9,8 +9,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -QueryConfig queryConfig = new QueryConfig(); -Response response = await client.QueryAsync(queryConfig); +QueryConfig body = new QueryConfig(); +Response response = await client.QueryAsync(body); ]]> This sample shows how to call QueryAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -QueryConfig queryConfig = new QueryConfig +QueryConfig body = new QueryConfig { Keywords = "", Limit = 1234, @@ -41,7 +41,7 @@ QueryConfig queryConfig = new QueryConfig Facet = default, }, }; -Response response = await client.QueryAsync(queryConfig); +Response response = await client.QueryAsync(body); ]]> @@ -52,8 +52,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -QueryConfig queryConfig = new QueryConfig(); -Response response = client.Query(queryConfig); +QueryConfig body = new QueryConfig(); +Response response = client.Query(body); ]]> This sample shows how to call Query with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -QueryConfig queryConfig = new QueryConfig +QueryConfig body = new QueryConfig { Keywords = "", Limit = 1234, @@ -84,7 +84,7 @@ QueryConfig queryConfig = new QueryConfig Facet = default, }, }; -Response response = client.Query(queryConfig); +Response response = client.Query(body); ]]> @@ -313,8 +313,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -SuggestConfig suggestConfig = new SuggestConfig(); -Response response = await client.SuggestAsync(suggestConfig); +SuggestConfig body = new SuggestConfig(); +Response response = await client.SuggestAsync(body); ]]> This sample shows how to call SuggestAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -SuggestConfig suggestConfig = new SuggestConfig +SuggestConfig body = new SuggestConfig { Keywords = "", Limit = 1234, Filter = BinaryData.FromObjectAsJson(new object()), }; -Response response = await client.SuggestAsync(suggestConfig); +Response response = await client.SuggestAsync(body); ]]> @@ -339,8 +339,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -SuggestConfig suggestConfig = new SuggestConfig(); -Response response = client.Suggest(suggestConfig); +SuggestConfig body = new SuggestConfig(); +Response response = client.Suggest(body); ]]> This sample shows how to call Suggest with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -SuggestConfig suggestConfig = new SuggestConfig +SuggestConfig body = new SuggestConfig { Keywords = "", Limit = 1234, Filter = BinaryData.FromObjectAsJson(new object()), }; -Response response = client.Suggest(suggestConfig); +Response response = client.Suggest(body); ]]> @@ -479,8 +479,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -AutoCompleteConfig autoCompleteConfig = new AutoCompleteConfig(); -Response response = await client.AutoCompleteAsync(autoCompleteConfig); +AutoCompleteConfig body = new AutoCompleteConfig(); +Response response = await client.AutoCompleteAsync(body); ]]> This sample shows how to call AutoCompleteAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -AutoCompleteConfig autoCompleteConfig = new AutoCompleteConfig +AutoCompleteConfig body = new AutoCompleteConfig { Keywords = "", Limit = 1234, Filter = BinaryData.FromObjectAsJson(new object()), }; -Response response = await client.AutoCompleteAsync(autoCompleteConfig); +Response response = await client.AutoCompleteAsync(body); ]]> @@ -505,8 +505,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -AutoCompleteConfig autoCompleteConfig = new AutoCompleteConfig(); -Response response = client.AutoComplete(autoCompleteConfig); +AutoCompleteConfig body = new AutoCompleteConfig(); +Response response = client.AutoComplete(body); ]]> This sample shows how to call AutoComplete with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -AutoCompleteConfig autoCompleteConfig = new AutoCompleteConfig +AutoCompleteConfig body = new AutoCompleteConfig { Keywords = "", Limit = 1234, Filter = BinaryData.FromObjectAsJson(new object()), }; -Response response = client.AutoComplete(autoCompleteConfig); +Response response = client.AutoComplete(body); ]]> diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Entity.xml b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Entity.xml index 4958aea8ad883..710a1ffe58532 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Entity.xml +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Entity.xml @@ -9,8 +9,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo(); -Response response = await client.CreateOrUpdateAsync(atlasEntityWithExtInfo); +AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo(); +Response response = await client.CreateOrUpdateAsync(body); ]]> This sample shows how to call CreateOrUpdateAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); -AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo +AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo { ReferredEntities = { @@ -96,7 +96,7 @@ AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo }, Entity = default, }; -Response response = await client.CreateOrUpdateAsync(atlasEntityWithExtInfo, businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore, collectionId: ""); +Response response = await client.CreateOrUpdateAsync(body, businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore, collectionId: ""); ]]> @@ -107,8 +107,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo(); -Response response = client.CreateOrUpdate(atlasEntityWithExtInfo); +AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo(); +Response response = client.CreateOrUpdate(body); ]]> This sample shows how to call CreateOrUpdate with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); -AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo +AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo { ReferredEntities = { @@ -194,7 +194,7 @@ AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo }, Entity = default, }; -Response response = client.CreateOrUpdate(atlasEntityWithExtInfo, businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore, collectionId: ""); +Response response = client.CreateOrUpdate(body, businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore, collectionId: ""); ]]> @@ -795,8 +795,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo = new AtlasEntitiesWithExtInfo(); -Response response = await client.BatchCreateOrUpdateAsync(atlasEntitiesWithExtInfo); +AtlasEntitiesWithExtInfo body = new AtlasEntitiesWithExtInfo(); +Response response = await client.BatchCreateOrUpdateAsync(body); ]]> This sample shows how to call BatchCreateOrUpdateAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); -AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo = new AtlasEntitiesWithExtInfo +AtlasEntitiesWithExtInfo body = new AtlasEntitiesWithExtInfo { ReferredEntities = { @@ -882,7 +882,7 @@ AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo = new AtlasEntitiesWithExtInfo }, Entities = { default }, }; -Response response = await client.BatchCreateOrUpdateAsync(atlasEntitiesWithExtInfo, collectionId: "", businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore); +Response response = await client.BatchCreateOrUpdateAsync(body, collectionId: "", businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore); ]]> @@ -893,8 +893,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo = new AtlasEntitiesWithExtInfo(); -Response response = client.BatchCreateOrUpdate(atlasEntitiesWithExtInfo); +AtlasEntitiesWithExtInfo body = new AtlasEntitiesWithExtInfo(); +Response response = client.BatchCreateOrUpdate(body); ]]> This sample shows how to call BatchCreateOrUpdate with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); -AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo = new AtlasEntitiesWithExtInfo +AtlasEntitiesWithExtInfo body = new AtlasEntitiesWithExtInfo { ReferredEntities = { @@ -980,7 +980,7 @@ AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo = new AtlasEntitiesWithExtInfo }, Entities = { default }, }; -Response response = client.BatchCreateOrUpdate(atlasEntitiesWithExtInfo, collectionId: "", businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore); +Response response = client.BatchCreateOrUpdate(body, collectionId: "", businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore); ]]> @@ -1547,8 +1547,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -ClassificationAssociateConfig classificationAssociateConfig = new ClassificationAssociateConfig(); -Response response = await client.AddClassificationAsync(classificationAssociateConfig); +ClassificationAssociateConfig body = new ClassificationAssociateConfig(); +Response response = await client.AddClassificationAsync(body); ]]> This sample shows how to call AddClassificationAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -ClassificationAssociateConfig classificationAssociateConfig = new ClassificationAssociateConfig +ClassificationAssociateConfig body = new ClassificationAssociateConfig { Classification = new AtlasClassification { @@ -1578,7 +1578,7 @@ ClassificationAssociateConfig classificationAssociateConfig = new Classification }, EntityGuids = { "" }, }; -Response response = await client.AddClassificationAsync(classificationAssociateConfig); +Response response = await client.AddClassificationAsync(body); ]]> @@ -1589,8 +1589,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -ClassificationAssociateConfig classificationAssociateConfig = new ClassificationAssociateConfig(); -Response response = client.AddClassification(classificationAssociateConfig); +ClassificationAssociateConfig body = new ClassificationAssociateConfig(); +Response response = client.AddClassification(body); ]]> This sample shows how to call AddClassification with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -ClassificationAssociateConfig classificationAssociateConfig = new ClassificationAssociateConfig +ClassificationAssociateConfig body = new ClassificationAssociateConfig { Classification = new AtlasClassification { @@ -1620,7 +1620,7 @@ ClassificationAssociateConfig classificationAssociateConfig = new Classification }, EntityGuids = { "" }, }; -Response response = client.AddClassification(classificationAssociateConfig); +Response response = client.AddClassification(body); ]]> @@ -3243,8 +3243,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo(); -Response response = await client.UpdateByUniqueAttributeAsync("", atlasEntityWithExtInfo); +AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo(); +Response response = await client.UpdateByUniqueAttributeAsync("", body); ]]> This sample shows how to call UpdateByUniqueAttributeAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo +AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo { ReferredEntities = { @@ -3330,7 +3330,7 @@ AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo }, Entity = default, }; -Response response = await client.UpdateByUniqueAttributeAsync("", atlasEntityWithExtInfo, attribute: ""); +Response response = await client.UpdateByUniqueAttributeAsync("", body, attribute: ""); ]]> @@ -3341,8 +3341,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo(); -Response response = client.UpdateByUniqueAttribute("", atlasEntityWithExtInfo); +AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo(); +Response response = client.UpdateByUniqueAttribute("", body); ]]> This sample shows how to call UpdateByUniqueAttribute with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo +AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo { ReferredEntities = { @@ -3428,7 +3428,7 @@ AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo }, Entity = default, }; -Response response = client.UpdateByUniqueAttribute("", atlasEntityWithExtInfo, attribute: ""); +Response response = client.UpdateByUniqueAttribute("", body, attribute: ""); ]]> @@ -4405,8 +4405,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntityHeaders atlasEntityHeaders = new AtlasEntityHeaders(); -Response> response = await client.BatchSetClassificationsAsync(atlasEntityHeaders); +AtlasEntityHeaders body = new AtlasEntityHeaders(); +Response> response = await client.BatchSetClassificationsAsync(body); ]]> This sample shows how to call BatchSetClassificationsAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntityHeaders atlasEntityHeaders = new AtlasEntityHeaders +AtlasEntityHeaders body = new AtlasEntityHeaders { GuidHeaderMap = { @@ -4466,7 +4466,7 @@ AtlasEntityHeaders atlasEntityHeaders = new AtlasEntityHeaders } }, }; -Response> response = await client.BatchSetClassificationsAsync(atlasEntityHeaders); +Response> response = await client.BatchSetClassificationsAsync(body); ]]> @@ -4477,8 +4477,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntityHeaders atlasEntityHeaders = new AtlasEntityHeaders(); -Response> response = client.BatchSetClassifications(atlasEntityHeaders); +AtlasEntityHeaders body = new AtlasEntityHeaders(); +Response> response = client.BatchSetClassifications(body); ]]> This sample shows how to call BatchSetClassifications with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntityHeaders atlasEntityHeaders = new AtlasEntityHeaders +AtlasEntityHeaders body = new AtlasEntityHeaders { GuidHeaderMap = { @@ -4538,7 +4538,7 @@ AtlasEntityHeaders atlasEntityHeaders = new AtlasEntityHeaders } }, }; -Response> response = client.BatchSetClassifications(atlasEntityHeaders); +Response> response = client.BatchSetClassifications(body); ]]> @@ -5709,8 +5709,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -BusinessMetadataOptions businessMetadataOptions = new BusinessMetadataOptions(null); -Response response = await client.ImportBusinessMetadataAsync(businessMetadataOptions); +BusinessMetadataOptions body = new BusinessMetadataOptions(null); +Response response = await client.ImportBusinessMetadataAsync(body); ]]> This sample shows how to call ImportBusinessMetadataAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -BusinessMetadataOptions businessMetadataOptions = new BusinessMetadataOptions(null); -Response response = await client.ImportBusinessMetadataAsync(businessMetadataOptions); +BusinessMetadataOptions body = new BusinessMetadataOptions(null); +Response response = await client.ImportBusinessMetadataAsync(body); ]]> @@ -5730,8 +5730,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -BusinessMetadataOptions businessMetadataOptions = new BusinessMetadataOptions(null); -Response response = client.ImportBusinessMetadata(businessMetadataOptions); +BusinessMetadataOptions body = new BusinessMetadataOptions(null); +Response response = client.ImportBusinessMetadata(body); ]]> This sample shows how to call ImportBusinessMetadata with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -BusinessMetadataOptions businessMetadataOptions = new BusinessMetadataOptions(null); -Response response = client.ImportBusinessMetadata(businessMetadataOptions); +BusinessMetadataOptions body = new BusinessMetadataOptions(null); +Response response = client.ImportBusinessMetadata(body); ]]> @@ -6395,8 +6395,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); -MoveEntitiesConfig moveEntitiesConfig = new MoveEntitiesConfig(); -Response response = await client.MoveEntitiesToCollectionAsync("", moveEntitiesConfig); +MoveEntitiesConfig body = new MoveEntitiesConfig(); +Response response = await client.MoveEntitiesToCollectionAsync("", body); ]]> This sample shows how to call MoveEntitiesToCollectionAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); -MoveEntitiesConfig moveEntitiesConfig = new MoveEntitiesConfig +MoveEntitiesConfig body = new MoveEntitiesConfig { EntityGuids = { "" }, }; -Response response = await client.MoveEntitiesToCollectionAsync("", moveEntitiesConfig); +Response response = await client.MoveEntitiesToCollectionAsync("", body); ]]> @@ -6419,8 +6419,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); -MoveEntitiesConfig moveEntitiesConfig = new MoveEntitiesConfig(); -Response response = client.MoveEntitiesToCollection("", moveEntitiesConfig); +MoveEntitiesConfig body = new MoveEntitiesConfig(); +Response response = client.MoveEntitiesToCollection("", body); ]]> This sample shows how to call MoveEntitiesToCollection with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); -MoveEntitiesConfig moveEntitiesConfig = new MoveEntitiesConfig +MoveEntitiesConfig body = new MoveEntitiesConfig { EntityGuids = { "" }, }; -Response response = client.MoveEntitiesToCollection("", moveEntitiesConfig); +Response response = client.MoveEntitiesToCollection("", body); ]]> diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Glossary.xml b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Glossary.xml index 49baec132e30e..5a6a48f9976ba 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Glossary.xml +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Glossary.xml @@ -161,8 +161,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossary atlasGlossary = new AtlasGlossary(); -Response response = await client.CreateAsync(atlasGlossary); +AtlasGlossary body = new AtlasGlossary(); +Response response = await client.CreateAsync(body); ]]> This sample shows how to call CreateAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossary atlasGlossary = new AtlasGlossary +AtlasGlossary body = new AtlasGlossary { Guid = "", Classifications = {new AtlasClassification @@ -221,7 +221,7 @@ AtlasGlossary atlasGlossary = new AtlasGlossary }}, Usage = "", }; -Response response = await client.CreateAsync(atlasGlossary); +Response response = await client.CreateAsync(body); ]]> @@ -232,8 +232,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossary atlasGlossary = new AtlasGlossary(); -Response response = client.Create(atlasGlossary); +AtlasGlossary body = new AtlasGlossary(); +Response response = client.Create(body); ]]> This sample shows how to call Create with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossary atlasGlossary = new AtlasGlossary +AtlasGlossary body = new AtlasGlossary { Guid = "", Classifications = {new AtlasClassification @@ -292,7 +292,7 @@ AtlasGlossary atlasGlossary = new AtlasGlossary }}, Usage = "", }; -Response response = client.Create(atlasGlossary); +Response response = client.Create(body); ]]> @@ -979,8 +979,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory(); -Response response = await client.CreateCategoryAsync(atlasGlossaryCategory); +AtlasGlossaryCategory body = new AtlasGlossaryCategory(); +Response response = await client.CreateCategoryAsync(body); ]]> This sample shows how to call CreateCategoryAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory +AtlasGlossaryCategory body = new AtlasGlossaryCategory { Guid = "", Classifications = {new AtlasClassification @@ -1044,7 +1044,7 @@ AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory TermGuid = "", }}, }; -Response response = await client.CreateCategoryAsync(atlasGlossaryCategory); +Response response = await client.CreateCategoryAsync(body); ]]> @@ -1055,8 +1055,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory(); -Response response = client.CreateCategory(atlasGlossaryCategory); +AtlasGlossaryCategory body = new AtlasGlossaryCategory(); +Response response = client.CreateCategory(body); ]]> This sample shows how to call CreateCategory with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory +AtlasGlossaryCategory body = new AtlasGlossaryCategory { Guid = "", Classifications = {new AtlasClassification @@ -1120,7 +1120,7 @@ AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory TermGuid = "", }}, }; -Response response = client.CreateCategory(atlasGlossaryCategory); +Response response = client.CreateCategory(body); ]]> @@ -1557,8 +1557,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory(); -Response response = await client.UpdateCategoryAsync("", atlasGlossaryCategory); +AtlasGlossaryCategory body = new AtlasGlossaryCategory(); +Response response = await client.UpdateCategoryAsync("", body); ]]> This sample shows how to call UpdateCategoryAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory +AtlasGlossaryCategory body = new AtlasGlossaryCategory { Guid = "", Classifications = {new AtlasClassification @@ -1622,7 +1622,7 @@ AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory TermGuid = "", }}, }; -Response response = await client.UpdateCategoryAsync("", atlasGlossaryCategory); +Response response = await client.UpdateCategoryAsync("", body); ]]> @@ -1633,8 +1633,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory(); -Response response = client.UpdateCategory("", atlasGlossaryCategory); +AtlasGlossaryCategory body = new AtlasGlossaryCategory(); +Response response = client.UpdateCategory("", body); ]]> This sample shows how to call UpdateCategory with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory +AtlasGlossaryCategory body = new AtlasGlossaryCategory { Guid = "", Classifications = {new AtlasClassification @@ -1698,7 +1698,7 @@ AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory TermGuid = "", }}, }; -Response response = client.UpdateCategory("", atlasGlossaryCategory); +Response response = client.UpdateCategory("", body); ]]> @@ -2405,8 +2405,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm(); -Response response = await client.CreateTermAsync(atlasGlossaryTerm); +AtlasGlossaryTerm body = new AtlasGlossaryTerm(); +Response response = await client.CreateTermAsync(body); ]]> This sample shows how to call CreateTermAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm +AtlasGlossaryTerm body = new AtlasGlossaryTerm { Guid = "", Classifications = {new AtlasClassification @@ -2547,7 +2547,7 @@ AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm ValidValues = { default }, ValidValuesFor = { default }, }; -Response response = await client.CreateTermAsync(atlasGlossaryTerm, includeTermHierarchy: true); +Response response = await client.CreateTermAsync(body, includeTermHierarchy: true); ]]> @@ -2558,8 +2558,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm(); -Response response = client.CreateTerm(atlasGlossaryTerm); +AtlasGlossaryTerm body = new AtlasGlossaryTerm(); +Response response = client.CreateTerm(body); ]]> This sample shows how to call CreateTerm with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm +AtlasGlossaryTerm body = new AtlasGlossaryTerm { Guid = "", Classifications = {new AtlasClassification @@ -2700,7 +2700,7 @@ AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm ValidValues = { default }, ValidValuesFor = { default }, }; -Response response = client.CreateTerm(atlasGlossaryTerm, includeTermHierarchy: true); +Response response = client.CreateTerm(body, includeTermHierarchy: true); ]]> @@ -3837,8 +3837,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm(); -Response response = await client.UpdateTermAsync("", atlasGlossaryTerm); +AtlasGlossaryTerm body = new AtlasGlossaryTerm(); +Response response = await client.UpdateTermAsync("", body); ]]> This sample shows how to call UpdateTermAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(apiVersion: "2023-09-01"); -AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm +AtlasGlossaryTerm body = new AtlasGlossaryTerm { Guid = "", Classifications = {new AtlasClassification @@ -3979,7 +3979,7 @@ AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm ValidValues = { default }, ValidValuesFor = { default }, }; -Response response = await client.UpdateTermAsync("", atlasGlossaryTerm, includeTermHierarchy: true); +Response response = await client.UpdateTermAsync("", body, includeTermHierarchy: true); ]]> @@ -3990,8 +3990,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm(); -Response response = client.UpdateTerm("", atlasGlossaryTerm); +AtlasGlossaryTerm body = new AtlasGlossaryTerm(); +Response response = client.UpdateTerm("", body); ]]> This sample shows how to call UpdateTerm with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(apiVersion: "2023-09-01"); -AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm +AtlasGlossaryTerm body = new AtlasGlossaryTerm { Guid = "", Classifications = {new AtlasClassification @@ -4132,7 +4132,7 @@ AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm ValidValues = { default }, ValidValuesFor = { default }, }; -Response response = client.UpdateTerm("", atlasGlossaryTerm, includeTermHierarchy: true); +Response response = client.UpdateTerm("", body, includeTermHierarchy: true); ]]> @@ -7173,8 +7173,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossary atlasGlossary = new AtlasGlossary(); -Response response = await client.UpdateAsync("", atlasGlossary); +AtlasGlossary body = new AtlasGlossary(); +Response response = await client.UpdateAsync("", body); ]]> This sample shows how to call UpdateAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(apiVersion: "2023-09-01"); -AtlasGlossary atlasGlossary = new AtlasGlossary +AtlasGlossary body = new AtlasGlossary { Guid = "", Classifications = {new AtlasClassification @@ -7233,7 +7233,7 @@ AtlasGlossary atlasGlossary = new AtlasGlossary }}, Usage = "", }; -Response response = await client.UpdateAsync("", atlasGlossary, ignoreTermsAndCategories: true); +Response response = await client.UpdateAsync("", body, ignoreTermsAndCategories: true); ]]> @@ -7244,8 +7244,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossary atlasGlossary = new AtlasGlossary(); -Response response = client.Update("", atlasGlossary); +AtlasGlossary body = new AtlasGlossary(); +Response response = client.Update("", body); ]]> This sample shows how to call Update with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(apiVersion: "2023-09-01"); -AtlasGlossary atlasGlossary = new AtlasGlossary +AtlasGlossary body = new AtlasGlossary { Guid = "", Classifications = {new AtlasClassification @@ -7304,7 +7304,7 @@ AtlasGlossary atlasGlossary = new AtlasGlossary }}, Usage = "", }; -Response response = client.Update("", atlasGlossary, ignoreTermsAndCategories: true); +Response response = client.Update("", body, ignoreTermsAndCategories: true); ]]> diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Relationship.xml b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Relationship.xml index 6a61cb95f88a9..a6424570245b9 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Relationship.xml +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Relationship.xml @@ -9,8 +9,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); -AtlasRelationship atlasRelationship = new AtlasRelationship(); -Response response = await client.CreateAsync(atlasRelationship); +AtlasRelationship body = new AtlasRelationship(); +Response response = await client.CreateAsync(body); ]]> This sample shows how to call CreateAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); -AtlasRelationship atlasRelationship = new AtlasRelationship +AtlasRelationship body = new AtlasRelationship { Attributes = { @@ -47,7 +47,7 @@ AtlasRelationship atlasRelationship = new AtlasRelationship UpdatedBy = "", Version = 1234L, }; -Response response = await client.CreateAsync(atlasRelationship); +Response response = await client.CreateAsync(body); ]]> @@ -58,8 +58,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); -AtlasRelationship atlasRelationship = new AtlasRelationship(); -Response response = client.Create(atlasRelationship); +AtlasRelationship body = new AtlasRelationship(); +Response response = client.Create(body); ]]> This sample shows how to call Create with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); -AtlasRelationship atlasRelationship = new AtlasRelationship +AtlasRelationship body = new AtlasRelationship { Attributes = { @@ -96,7 +96,7 @@ AtlasRelationship atlasRelationship = new AtlasRelationship UpdatedBy = "", Version = 1234L, }; -Response response = client.Create(atlasRelationship); +Response response = client.Create(body); ]]> @@ -251,8 +251,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); -AtlasRelationship atlasRelationship = new AtlasRelationship(); -Response response = await client.UpdateAsync(atlasRelationship); +AtlasRelationship body = new AtlasRelationship(); +Response response = await client.UpdateAsync(body); ]]> This sample shows how to call UpdateAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); -AtlasRelationship atlasRelationship = new AtlasRelationship +AtlasRelationship body = new AtlasRelationship { Attributes = { @@ -289,7 +289,7 @@ AtlasRelationship atlasRelationship = new AtlasRelationship UpdatedBy = "", Version = 1234L, }; -Response response = await client.UpdateAsync(atlasRelationship); +Response response = await client.UpdateAsync(body); ]]> @@ -300,8 +300,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); -AtlasRelationship atlasRelationship = new AtlasRelationship(); -Response response = client.Update(atlasRelationship); +AtlasRelationship body = new AtlasRelationship(); +Response response = client.Update(body); ]]> This sample shows how to call Update with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); -AtlasRelationship atlasRelationship = new AtlasRelationship +AtlasRelationship body = new AtlasRelationship { Attributes = { @@ -338,7 +338,7 @@ AtlasRelationship atlasRelationship = new AtlasRelationship UpdatedBy = "", Version = 1234L, }; -Response response = client.Update(atlasRelationship); +Response response = client.Update(body); ]]> diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/TypeDefinition.xml b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/TypeDefinition.xml index fb412241d3107..895c72f05032c 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/TypeDefinition.xml +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/TypeDefinition.xml @@ -3491,8 +3491,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); -Response response = await client.BatchCreateAsync(atlasTypesDef); +AtlasTypesDef body = new AtlasTypesDef(); +Response response = await client.BatchCreateAsync(body); ]]> This sample shows how to call BatchCreateAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef +AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -3754,7 +3754,7 @@ AtlasTypesDef atlasTypesDef = new AtlasTypesDef AttributeDefs = {default}, }}, }; -Response response = await client.BatchCreateAsync(atlasTypesDef); +Response response = await client.BatchCreateAsync(body); ]]> @@ -3765,8 +3765,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); -Response response = client.BatchCreate(atlasTypesDef); +AtlasTypesDef body = new AtlasTypesDef(); +Response response = client.BatchCreate(body); ]]> This sample shows how to call BatchCreate with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef +AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -4028,7 +4028,7 @@ AtlasTypesDef atlasTypesDef = new AtlasTypesDef AttributeDefs = {default}, }}, }; -Response response = client.BatchCreate(atlasTypesDef); +Response response = client.BatchCreate(body); ]]> @@ -5381,8 +5381,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); -Response response = await client.BatchUpdateAsync(atlasTypesDef); +AtlasTypesDef body = new AtlasTypesDef(); +Response response = await client.BatchUpdateAsync(body); ]]> This sample shows how to call BatchUpdateAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef +AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -5644,7 +5644,7 @@ AtlasTypesDef atlasTypesDef = new AtlasTypesDef AttributeDefs = {default}, }}, }; -Response response = await client.BatchUpdateAsync(atlasTypesDef); +Response response = await client.BatchUpdateAsync(body); ]]> @@ -5655,8 +5655,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); -Response response = client.BatchUpdate(atlasTypesDef); +AtlasTypesDef body = new AtlasTypesDef(); +Response response = client.BatchUpdate(body); ]]> This sample shows how to call BatchUpdate with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef +AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -5918,7 +5918,7 @@ AtlasTypesDef atlasTypesDef = new AtlasTypesDef AttributeDefs = {default}, }}, }; -Response response = client.BatchUpdate(atlasTypesDef); +Response response = client.BatchUpdate(body); ]]> @@ -7271,8 +7271,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); -Response response = await client.BatchDeleteAsync(atlasTypesDef); +AtlasTypesDef body = new AtlasTypesDef(); +Response response = await client.BatchDeleteAsync(body); ]]> This sample shows how to call BatchDeleteAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef +AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -7534,7 +7534,7 @@ AtlasTypesDef atlasTypesDef = new AtlasTypesDef AttributeDefs = {default}, }}, }; -Response response = await client.BatchDeleteAsync(atlasTypesDef); +Response response = await client.BatchDeleteAsync(body); ]]> @@ -7545,8 +7545,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); -Response response = client.BatchDelete(atlasTypesDef); +AtlasTypesDef body = new AtlasTypesDef(); +Response response = client.BatchDelete(body); ]]> This sample shows how to call BatchDelete with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef +AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -7808,7 +7808,7 @@ AtlasTypesDef atlasTypesDef = new AtlasTypesDef AttributeDefs = {default}, }}, }; -Response response = client.BatchDelete(atlasTypesDef); +Response response = client.BatchDelete(body); ]]> diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Entity.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Entity.cs index 369c8f7276b6c..38fdb7f1c8071 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Entity.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Entity.cs @@ -60,10 +60,7 @@ internal Entity(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Toke /// int>>. /// For each contact type, the maximum number of contacts is 20. /// - /// - /// An instance of an entity along with extended info - like hive_table, - /// hive_database. - /// + /// Body parameter. /// /// Used to define the update behavior for business attributes when updating /// entities. @@ -73,13 +70,13 @@ internal Entity(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Toke /// need to move an entity to another collection. /// /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> CreateOrUpdateAsync(AtlasEntityWithExtInfo atlasEntityWithExtInfo, BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = null, string collectionId = null, CancellationToken cancellationToken = default) + public virtual async Task> CreateOrUpdateAsync(AtlasEntityWithExtInfo body, BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = null, string collectionId = null, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasEntityWithExtInfo, nameof(atlasEntityWithExtInfo)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasEntityWithExtInfo.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await CreateOrUpdateAsync(content, businessAttributeUpdateBehavior?.ToString(), collectionId, context).ConfigureAwait(false); return Response.FromValue(EntityMutationResult.FromResponse(response), response); @@ -94,10 +91,7 @@ public virtual async Task> CreateOrUpdateAsync(At /// int>>. /// For each contact type, the maximum number of contacts is 20. /// - /// - /// An instance of an entity along with extended info - like hive_table, - /// hive_database. - /// + /// Body parameter. /// /// Used to define the update behavior for business attributes when updating /// entities. @@ -107,13 +101,13 @@ public virtual async Task> CreateOrUpdateAsync(At /// need to move an entity to another collection. /// /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response CreateOrUpdate(AtlasEntityWithExtInfo atlasEntityWithExtInfo, BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = null, string collectionId = null, CancellationToken cancellationToken = default) + public virtual Response CreateOrUpdate(AtlasEntityWithExtInfo body, BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = null, string collectionId = null, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasEntityWithExtInfo, nameof(atlasEntityWithExtInfo)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasEntityWithExtInfo.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = CreateOrUpdate(content, businessAttributeUpdateBehavior?.ToString(), collectionId, context); return Response.FromValue(EntityMutationResult.FromResponse(response), response); @@ -349,10 +343,7 @@ public virtual Response GetByIds(IEnumerable guid, bool? minExtInfo, boo /// For each contact type, the maximum number of contacts /// is 20. /// - /// - /// An instance of an entity along with extended info - like hive_table, - /// hive_database. - /// + /// Body parameter. /// /// The collection where entities will be moved to. Only specify a value if you /// need to move an entity to another collection. @@ -362,13 +353,13 @@ public virtual Response GetByIds(IEnumerable guid, bool? minExtInfo, boo /// entities. /// /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> BatchCreateOrUpdateAsync(AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo, string collectionId = null, BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = null, CancellationToken cancellationToken = default) + public virtual async Task> BatchCreateOrUpdateAsync(AtlasEntitiesWithExtInfo body, string collectionId = null, BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = null, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasEntitiesWithExtInfo, nameof(atlasEntitiesWithExtInfo)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasEntitiesWithExtInfo.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await BatchCreateOrUpdateAsync(content, collectionId, businessAttributeUpdateBehavior?.ToString(), context).ConfigureAwait(false); return Response.FromValue(EntityMutationResult.FromResponse(response), response); @@ -384,10 +375,7 @@ public virtual async Task> BatchCreateOrUpdateAsy /// For each contact type, the maximum number of contacts /// is 20. /// - /// - /// An instance of an entity along with extended info - like hive_table, - /// hive_database. - /// + /// Body parameter. /// /// The collection where entities will be moved to. Only specify a value if you /// need to move an entity to another collection. @@ -397,13 +385,13 @@ public virtual async Task> BatchCreateOrUpdateAsy /// entities. /// /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response BatchCreateOrUpdate(AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo, string collectionId = null, BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = null, CancellationToken cancellationToken = default) + public virtual Response BatchCreateOrUpdate(AtlasEntitiesWithExtInfo body, string collectionId = null, BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = null, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasEntitiesWithExtInfo, nameof(atlasEntitiesWithExtInfo)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasEntitiesWithExtInfo.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = BatchCreateOrUpdate(content, collectionId, businessAttributeUpdateBehavior?.ToString(), context); return Response.FromValue(EntityMutationResult.FromResponse(response), response); @@ -632,30 +620,30 @@ public virtual Response BatchDelete(IEnumerable guid, RequestContext con } /// Associate a classification to multiple entities in bulk. - /// The request payload for classification association. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task AddClassificationAsync(ClassificationAssociateConfig classificationAssociateConfig, CancellationToken cancellationToken = default) + public virtual async Task AddClassificationAsync(ClassificationAssociateConfig body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(classificationAssociateConfig, nameof(classificationAssociateConfig)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = classificationAssociateConfig.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await AddClassificationAsync(content, context).ConfigureAwait(false); return response; } /// Associate a classification to multiple entities in bulk. - /// The request payload for classification association. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response AddClassification(ClassificationAssociateConfig classificationAssociateConfig, CancellationToken cancellationToken = default) + public virtual Response AddClassification(ClassificationAssociateConfig body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(classificationAssociateConfig, nameof(classificationAssociateConfig)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = classificationAssociateConfig.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = AddClassification(content, context); return response; @@ -1868,24 +1856,21 @@ public virtual Response GetByUniqueAttribute(string typeName, bool? minExtInfo, /// /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. /// /// The name of the type. - /// - /// An instance of an entity along with extended info - like hive_table, - /// hive_database. - /// + /// Body parameter. /// /// The qualified name of the entity. (This is only an example. qualifiedName can /// be changed to other unique attributes) /// /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual async Task> UpdateByUniqueAttributeAsync(string typeName, AtlasEntityWithExtInfo atlasEntityWithExtInfo, string attribute = null, CancellationToken cancellationToken = default) + public virtual async Task> UpdateByUniqueAttributeAsync(string typeName, AtlasEntityWithExtInfo body, string attribute = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); - Argument.AssertNotNull(atlasEntityWithExtInfo, nameof(atlasEntityWithExtInfo)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasEntityWithExtInfo.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await UpdateByUniqueAttributeAsync(typeName, content, attribute, context).ConfigureAwait(false); return Response.FromValue(EntityMutationResult.FromResponse(response), response); @@ -1910,24 +1895,21 @@ public virtual async Task> UpdateByUniqueAttribut /// /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. /// /// The name of the type. - /// - /// An instance of an entity along with extended info - like hive_table, - /// hive_database. - /// + /// Body parameter. /// /// The qualified name of the entity. (This is only an example. qualifiedName can /// be changed to other unique attributes) /// /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual Response UpdateByUniqueAttribute(string typeName, AtlasEntityWithExtInfo atlasEntityWithExtInfo, string attribute = null, CancellationToken cancellationToken = default) + public virtual Response UpdateByUniqueAttribute(string typeName, AtlasEntityWithExtInfo body, string attribute = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); - Argument.AssertNotNull(atlasEntityWithExtInfo, nameof(atlasEntityWithExtInfo)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasEntityWithExtInfo.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = UpdateByUniqueAttribute(typeName, content, attribute, context); return Response.FromValue(EntityMutationResult.FromResponse(response), response); @@ -2588,15 +2570,15 @@ public virtual Response UpdateClassificationsUniqueByAttribute(string typeName, } /// Set classifications on entities in bulk. - /// An instance of an entity header map. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task>> BatchSetClassificationsAsync(AtlasEntityHeaders atlasEntityHeaders, CancellationToken cancellationToken = default) + public virtual async Task>> BatchSetClassificationsAsync(AtlasEntityHeaders body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasEntityHeaders, nameof(atlasEntityHeaders)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasEntityHeaders.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await BatchSetClassificationsAsync(content, context).ConfigureAwait(false); IReadOnlyList value = default; @@ -2611,15 +2593,15 @@ public virtual async Task>> BatchSetClassificatio } /// Set classifications on entities in bulk. - /// An instance of an entity header map. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response> BatchSetClassifications(AtlasEntityHeaders atlasEntityHeaders, CancellationToken cancellationToken = default) + public virtual Response> BatchSetClassifications(AtlasEntityHeaders body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasEntityHeaders, nameof(atlasEntityHeaders)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasEntityHeaders.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = BatchSetClassifications(content, context); IReadOnlyList value = default; @@ -3634,30 +3616,30 @@ public virtual Response GetBusinessMetadataTemplate(RequestContext context) } /// Upload the file for creating Business Metadata in BULK. - /// Business metadata to send to the service. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> ImportBusinessMetadataAsync(BusinessMetadataOptions businessMetadataOptions, CancellationToken cancellationToken = default) + public virtual async Task> ImportBusinessMetadataAsync(BusinessMetadataOptions body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(businessMetadataOptions, nameof(businessMetadataOptions)); + Argument.AssertNotNull(body, nameof(body)); - using MultipartFormDataRequestContent content = businessMetadataOptions.ToMultipartRequestContent(); + using MultipartFormDataRequestContent content = body.ToMultipartRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await ImportBusinessMetadataAsync(content, content.ContentType, context).ConfigureAwait(false); return Response.FromValue(BulkImportResult.FromResponse(response), response); } /// Upload the file for creating Business Metadata in BULK. - /// Business metadata to send to the service. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response ImportBusinessMetadata(BusinessMetadataOptions businessMetadataOptions, CancellationToken cancellationToken = default) + public virtual Response ImportBusinessMetadata(BusinessMetadataOptions body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(businessMetadataOptions, nameof(businessMetadataOptions)); + Argument.AssertNotNull(body, nameof(body)); - using MultipartFormDataRequestContent content = businessMetadataOptions.ToMultipartRequestContent(); + using MultipartFormDataRequestContent content = body.ToMultipartRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = ImportBusinessMetadata(content, content.ContentType, context); return Response.FromValue(BulkImportResult.FromResponse(response), response); @@ -4661,16 +4643,16 @@ public virtual Response AddLabelsByUniqueAttribute(string typeName, RequestConte /// Move existing entities to the target collection. /// The collection where entities will be moved to. - /// MoveEntitiesOptions. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// - public virtual async Task> MoveEntitiesToCollectionAsync(string collectionId, MoveEntitiesConfig moveEntitiesConfig, CancellationToken cancellationToken = default) + public virtual async Task> MoveEntitiesToCollectionAsync(string collectionId, MoveEntitiesConfig body, CancellationToken cancellationToken = default) { Argument.AssertNotNull(collectionId, nameof(collectionId)); - Argument.AssertNotNull(moveEntitiesConfig, nameof(moveEntitiesConfig)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = moveEntitiesConfig.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await MoveEntitiesToCollectionAsync(collectionId, content, context).ConfigureAwait(false); return Response.FromValue(EntityMutationResult.FromResponse(response), response); @@ -4678,16 +4660,16 @@ public virtual async Task> MoveEntitiesToCollecti /// Move existing entities to the target collection. /// The collection where entities will be moved to. - /// MoveEntitiesOptions. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// - public virtual Response MoveEntitiesToCollection(string collectionId, MoveEntitiesConfig moveEntitiesConfig, CancellationToken cancellationToken = default) + public virtual Response MoveEntitiesToCollection(string collectionId, MoveEntitiesConfig body, CancellationToken cancellationToken = default) { Argument.AssertNotNull(collectionId, nameof(collectionId)); - Argument.AssertNotNull(moveEntitiesConfig, nameof(moveEntitiesConfig)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = moveEntitiesConfig.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = MoveEntitiesToCollection(collectionId, content, context); return Response.FromValue(EntityMutationResult.FromResponse(response), response); diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Glossary.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Glossary.cs index 80b03e3909711..2755c07b0e21b 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Glossary.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Glossary.cs @@ -54,12 +54,8 @@ internal Glossary(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, To /// /// Get all glossaries. Recommend using limit/offset to get pagination result. /// Recommend using 'ignoreTermsAndCategories=true' and fetch terms/categories - /// separately using - /// - /// 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' - /// and - /// - /// 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'. + /// separately using 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' + /// and 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'. /// /// The page size - by default there is no paging. /// The offset for pagination purpose. @@ -85,12 +81,8 @@ public virtual async Task>> BatchGetAsync( /// /// Get all glossaries. Recommend using limit/offset to get pagination result. /// Recommend using 'ignoreTermsAndCategories=true' and fetch terms/categories - /// separately using - /// - /// 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' - /// and - /// - /// 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'. + /// separately using 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' + /// and 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'. /// /// The page size - by default there is no paging. /// The offset for pagination purpose. @@ -116,12 +108,8 @@ public virtual Response> BatchGet(int? limit = null /// /// [Protocol Method] Get all glossaries. Recommend using limit/offset to get pagination result. /// Recommend using 'ignoreTermsAndCategories=true' and fetch terms/categories - /// separately using - /// - /// 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' - /// and - /// - /// 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'. + /// separately using 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' + /// and 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'. /// /// /// @@ -162,12 +150,8 @@ public virtual async Task BatchGetAsync(int? limit, int? offset, strin /// /// [Protocol Method] Get all glossaries. Recommend using limit/offset to get pagination result. /// Recommend using 'ignoreTermsAndCategories=true' and fetch terms/categories - /// separately using - /// - /// 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' - /// and - /// - /// 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'. + /// separately using 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' + /// and 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'. /// /// /// @@ -206,30 +190,30 @@ public virtual Response BatchGet(int? limit, int? offset, string sort, bool? ign } /// Create a glossary. - /// The glossary object. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> CreateAsync(AtlasGlossary atlasGlossary, CancellationToken cancellationToken = default) + public virtual async Task> CreateAsync(AtlasGlossary body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasGlossary, nameof(atlasGlossary)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossary.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await CreateAsync(content, context).ConfigureAwait(false); return Response.FromValue(AtlasGlossary.FromResponse(response), response); } /// Create a glossary. - /// The glossary object. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response Create(AtlasGlossary atlasGlossary, CancellationToken cancellationToken = default) + public virtual Response Create(AtlasGlossary body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasGlossary, nameof(atlasGlossary)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossary.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = Create(content, context); return Response.FromValue(AtlasGlossary.FromResponse(response), response); @@ -438,30 +422,30 @@ public virtual Response CreateCategories(RequestContent content, RequestContext } /// Create a glossary category. - /// The glossary category. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> CreateCategoryAsync(AtlasGlossaryCategory atlasGlossaryCategory, CancellationToken cancellationToken = default) + public virtual async Task> CreateCategoryAsync(AtlasGlossaryCategory body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasGlossaryCategory, nameof(atlasGlossaryCategory)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossaryCategory.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await CreateCategoryAsync(content, context).ConfigureAwait(false); return Response.FromValue(AtlasGlossaryCategory.FromResponse(response), response); } /// Create a glossary category. - /// The glossary category. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response CreateCategory(AtlasGlossaryCategory atlasGlossaryCategory, CancellationToken cancellationToken = default) + public virtual Response CreateCategory(AtlasGlossaryCategory body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasGlossaryCategory, nameof(atlasGlossaryCategory)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossaryCategory.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = CreateCategory(content, context); return Response.FromValue(AtlasGlossaryCategory.FromResponse(response), response); @@ -657,17 +641,17 @@ public virtual Response GetCategory(string categoryId, RequestContext context) /// Update the given glossary category by its GUID. /// The globally unique identifier of the category. - /// The glossary category. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual async Task> UpdateCategoryAsync(string categoryId, AtlasGlossaryCategory atlasGlossaryCategory, CancellationToken cancellationToken = default) + public virtual async Task> UpdateCategoryAsync(string categoryId, AtlasGlossaryCategory body, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(categoryId, nameof(categoryId)); - Argument.AssertNotNull(atlasGlossaryCategory, nameof(atlasGlossaryCategory)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossaryCategory.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await UpdateCategoryAsync(categoryId, content, context).ConfigureAwait(false); return Response.FromValue(AtlasGlossaryCategory.FromResponse(response), response); @@ -675,17 +659,17 @@ public virtual async Task> UpdateCategoryAsync(s /// Update the given glossary category by its GUID. /// The globally unique identifier of the category. - /// The glossary category. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual Response UpdateCategory(string categoryId, AtlasGlossaryCategory atlasGlossaryCategory, CancellationToken cancellationToken = default) + public virtual Response UpdateCategory(string categoryId, AtlasGlossaryCategory body, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(categoryId, nameof(categoryId)); - Argument.AssertNotNull(atlasGlossaryCategory, nameof(atlasGlossaryCategory)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossaryCategory.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = UpdateCategory(categoryId, content, context); return Response.FromValue(AtlasGlossaryCategory.FromResponse(response), response); @@ -1290,32 +1274,32 @@ public virtual Response GetCategoryTerms(string categoryId, int? limit, int? off } /// Create a glossary term. - /// The glossary term. + /// Body parameter. /// Whether include term hierarchy. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> CreateTermAsync(AtlasGlossaryTerm atlasGlossaryTerm, bool? includeTermHierarchy = null, CancellationToken cancellationToken = default) + public virtual async Task> CreateTermAsync(AtlasGlossaryTerm body, bool? includeTermHierarchy = null, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasGlossaryTerm, nameof(atlasGlossaryTerm)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossaryTerm.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await CreateTermAsync(content, includeTermHierarchy, context).ConfigureAwait(false); return Response.FromValue(AtlasGlossaryTerm.FromResponse(response), response); } /// Create a glossary term. - /// The glossary term. + /// Body parameter. /// Whether include term hierarchy. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response CreateTerm(AtlasGlossaryTerm atlasGlossaryTerm, bool? includeTermHierarchy = null, CancellationToken cancellationToken = default) + public virtual Response CreateTerm(AtlasGlossaryTerm body, bool? includeTermHierarchy = null, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasGlossaryTerm, nameof(atlasGlossaryTerm)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossaryTerm.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = CreateTerm(content, includeTermHierarchy, context); return Response.FromValue(AtlasGlossaryTerm.FromResponse(response), response); @@ -1513,18 +1497,18 @@ public virtual Response GetTerm(string termId, RequestContext context) /// Update the given glossary term by its GUID. /// The globally unique identifier for glossary term. - /// The glossary term. + /// Body parameter. /// Whether include term hierarchy. /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual async Task> UpdateTermAsync(string termId, AtlasGlossaryTerm atlasGlossaryTerm, bool? includeTermHierarchy = null, CancellationToken cancellationToken = default) + public virtual async Task> UpdateTermAsync(string termId, AtlasGlossaryTerm body, bool? includeTermHierarchy = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(termId, nameof(termId)); - Argument.AssertNotNull(atlasGlossaryTerm, nameof(atlasGlossaryTerm)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossaryTerm.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await UpdateTermAsync(termId, content, includeTermHierarchy, context).ConfigureAwait(false); return Response.FromValue(AtlasGlossaryTerm.FromResponse(response), response); @@ -1532,18 +1516,18 @@ public virtual async Task> UpdateTermAsync(string te /// Update the given glossary term by its GUID. /// The globally unique identifier for glossary term. - /// The glossary term. + /// Body parameter. /// Whether include term hierarchy. /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual Response UpdateTerm(string termId, AtlasGlossaryTerm atlasGlossaryTerm, bool? includeTermHierarchy = null, CancellationToken cancellationToken = default) + public virtual Response UpdateTerm(string termId, AtlasGlossaryTerm body, bool? includeTermHierarchy = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(termId, nameof(termId)); - Argument.AssertNotNull(atlasGlossaryTerm, nameof(atlasGlossaryTerm)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossaryTerm.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = UpdateTerm(termId, content, includeTermHierarchy, context); return Response.FromValue(AtlasGlossaryTerm.FromResponse(response), response); @@ -2665,18 +2649,18 @@ public virtual Response GetGlossary(string glossaryId, RequestContext context) /// Update the given glossary. /// The globally unique identifier for glossary. - /// The glossary object. + /// Body parameter. /// Whether ignore terms and categories. /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual async Task> UpdateAsync(string glossaryId, AtlasGlossary atlasGlossary, bool? ignoreTermsAndCategories = null, CancellationToken cancellationToken = default) + public virtual async Task> UpdateAsync(string glossaryId, AtlasGlossary body, bool? ignoreTermsAndCategories = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(glossaryId, nameof(glossaryId)); - Argument.AssertNotNull(atlasGlossary, nameof(atlasGlossary)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossary.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await UpdateAsync(glossaryId, content, ignoreTermsAndCategories, context).ConfigureAwait(false); return Response.FromValue(AtlasGlossary.FromResponse(response), response); @@ -2684,18 +2668,18 @@ public virtual async Task> UpdateAsync(string glossaryId /// Update the given glossary. /// The globally unique identifier for glossary. - /// The glossary object. + /// Body parameter. /// Whether ignore terms and categories. /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual Response Update(string glossaryId, AtlasGlossary atlasGlossary, bool? ignoreTermsAndCategories = null, CancellationToken cancellationToken = default) + public virtual Response Update(string glossaryId, AtlasGlossary body, bool? ignoreTermsAndCategories = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(glossaryId, nameof(glossaryId)); - Argument.AssertNotNull(atlasGlossary, nameof(atlasGlossary)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossary.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = Update(glossaryId, content, ignoreTermsAndCategories, context); return Response.FromValue(AtlasGlossary.FromResponse(response), response); diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Relationship.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Relationship.cs index 584290f5b3fc2..0958359785652 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Relationship.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Relationship.cs @@ -47,30 +47,30 @@ internal Relationship(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline } /// Create a new relationship between entities. - /// Atlas relationship instance. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> CreateAsync(AtlasRelationship atlasRelationship, CancellationToken cancellationToken = default) + public virtual async Task> CreateAsync(AtlasRelationship body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasRelationship, nameof(atlasRelationship)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasRelationship.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await CreateAsync(content, context).ConfigureAwait(false); return Response.FromValue(AtlasRelationship.FromResponse(response), response); } /// Create a new relationship between entities. - /// Atlas relationship instance. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response Create(AtlasRelationship atlasRelationship, CancellationToken cancellationToken = default) + public virtual Response Create(AtlasRelationship body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasRelationship, nameof(atlasRelationship)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasRelationship.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = Create(content, context); return Response.FromValue(AtlasRelationship.FromResponse(response), response); @@ -155,30 +155,30 @@ public virtual Response Create(RequestContent content, RequestContext context = } /// Update an existing relationship between entities. - /// Atlas relationship instance. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> UpdateAsync(AtlasRelationship atlasRelationship, CancellationToken cancellationToken = default) + public virtual async Task> UpdateAsync(AtlasRelationship body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasRelationship, nameof(atlasRelationship)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasRelationship.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await UpdateAsync(content, context).ConfigureAwait(false); return Response.FromValue(AtlasRelationship.FromResponse(response), response); } /// Update an existing relationship between entities. - /// Atlas relationship instance. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response Update(AtlasRelationship atlasRelationship, CancellationToken cancellationToken = default) + public virtual Response Update(AtlasRelationship body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasRelationship, nameof(atlasRelationship)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasRelationship.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = Update(content, context); return Response.FromValue(AtlasRelationship.FromResponse(response), response); diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/TypeDefinition.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/TypeDefinition.cs index adf1eea92bc49..90cbe70034295 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/TypeDefinition.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/TypeDefinition.cs @@ -1777,48 +1777,38 @@ public virtual Response GetTypeDefinition(bool? includeTermTemplate, string type } } - /// - /// Create all atlas type definitions in bulk, only new definitions will be - /// created. - /// Any changes to the existing definitions will be discarded. - /// - /// The definitions of types. + /// Create all atlas type definitions in bulk. Please avoid recreating existing types. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> BatchCreateAsync(AtlasTypesDef atlasTypesDef, CancellationToken cancellationToken = default) + public virtual async Task> BatchCreateAsync(AtlasTypesDef body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasTypesDef, nameof(atlasTypesDef)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasTypesDef.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await BatchCreateAsync(content, context).ConfigureAwait(false); return Response.FromValue(AtlasTypesDef.FromResponse(response), response); } - /// - /// Create all atlas type definitions in bulk, only new definitions will be - /// created. - /// Any changes to the existing definitions will be discarded. - /// - /// The definitions of types. + /// Create all atlas type definitions in bulk. Please avoid recreating existing types. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response BatchCreate(AtlasTypesDef atlasTypesDef, CancellationToken cancellationToken = default) + public virtual Response BatchCreate(AtlasTypesDef body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasTypesDef, nameof(atlasTypesDef)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasTypesDef.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = BatchCreate(content, context); return Response.FromValue(AtlasTypesDef.FromResponse(response), response); } /// - /// [Protocol Method] Create all atlas type definitions in bulk, only new definitions will be - /// created. - /// Any changes to the existing definitions will be discarded. + /// [Protocol Method] Create all atlas type definitions in bulk. Please avoid recreating existing types. /// /// /// @@ -1857,9 +1847,7 @@ public virtual async Task BatchCreateAsync(RequestContent content, Req } /// - /// [Protocol Method] Create all atlas type definitions in bulk, only new definitions will be - /// created. - /// Any changes to the existing definitions will be discarded. + /// [Protocol Method] Create all atlas type definitions in bulk. Please avoid recreating existing types. /// /// /// @@ -1901,15 +1889,15 @@ public virtual Response BatchCreate(RequestContent content, RequestContext conte /// Update all types in bulk, changes detected in the type definitions would be /// persisted. /// - /// The definitions of types. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> BatchUpdateAsync(AtlasTypesDef atlasTypesDef, CancellationToken cancellationToken = default) + public virtual async Task> BatchUpdateAsync(AtlasTypesDef body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasTypesDef, nameof(atlasTypesDef)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasTypesDef.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await BatchUpdateAsync(content, context).ConfigureAwait(false); return Response.FromValue(AtlasTypesDef.FromResponse(response), response); @@ -1919,15 +1907,15 @@ public virtual async Task> BatchUpdateAsync(AtlasTypesDe /// Update all types in bulk, changes detected in the type definitions would be /// persisted. /// - /// The definitions of types. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response BatchUpdate(AtlasTypesDef atlasTypesDef, CancellationToken cancellationToken = default) + public virtual Response BatchUpdate(AtlasTypesDef body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasTypesDef, nameof(atlasTypesDef)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasTypesDef.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = BatchUpdate(content, context); return Response.FromValue(AtlasTypesDef.FromResponse(response), response); @@ -2014,30 +2002,30 @@ public virtual Response BatchUpdate(RequestContent content, RequestContext conte } /// Delete API for all types in bulk. - /// The definitions of types. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task BatchDeleteAsync(AtlasTypesDef atlasTypesDef, CancellationToken cancellationToken = default) + public virtual async Task BatchDeleteAsync(AtlasTypesDef body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasTypesDef, nameof(atlasTypesDef)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasTypesDef.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await BatchDeleteAsync(content, context).ConfigureAwait(false); return response; } /// Delete API for all types in bulk. - /// The definitions of types. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response BatchDelete(AtlasTypesDef atlasTypesDef, CancellationToken cancellationToken = default) + public virtual Response BatchDelete(AtlasTypesDef body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasTypesDef, nameof(atlasTypesDef)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasTypesDef.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = BatchDelete(content, context); return response; diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Discovery.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Discovery.cs index a4a0aebb4e846..d00590016f694 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Discovery.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Discovery.cs @@ -54,8 +54,8 @@ public void Example_Discovery_Query_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - QueryConfig queryConfig = new QueryConfig(); - Response response = client.Query(queryConfig); + QueryConfig body = new QueryConfig(); + Response response = client.Query(body); } [Test] @@ -66,8 +66,8 @@ public async Task Example_Discovery_Query_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - QueryConfig queryConfig = new QueryConfig(); - Response response = await client.QueryAsync(queryConfig); + QueryConfig body = new QueryConfig(); + Response response = await client.QueryAsync(body); } [Test] @@ -272,7 +272,7 @@ public void Example_Discovery_Query_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - QueryConfig queryConfig = new QueryConfig + QueryConfig body = new QueryConfig { Keywords = "", Limit = 1234, @@ -295,7 +295,7 @@ public void Example_Discovery_Query_AllParameters_Convenience() Facet = default, }, }; - Response response = client.Query(queryConfig); + Response response = client.Query(body); } [Test] @@ -306,7 +306,7 @@ public async Task Example_Discovery_Query_AllParameters_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - QueryConfig queryConfig = new QueryConfig + QueryConfig body = new QueryConfig { Keywords = "", Limit = 1234, @@ -329,7 +329,7 @@ public async Task Example_Discovery_Query_AllParameters_Convenience_Async() Facet = default, }, }; - Response response = await client.QueryAsync(queryConfig); + Response response = await client.QueryAsync(body); } [Test] @@ -370,8 +370,8 @@ public void Example_Discovery_Suggest_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - SuggestConfig suggestConfig = new SuggestConfig(); - Response response = client.Suggest(suggestConfig); + SuggestConfig body = new SuggestConfig(); + Response response = client.Suggest(body); } [Test] @@ -382,8 +382,8 @@ public async Task Example_Discovery_Suggest_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - SuggestConfig suggestConfig = new SuggestConfig(); - Response response = await client.SuggestAsync(suggestConfig); + SuggestConfig body = new SuggestConfig(); + Response response = await client.SuggestAsync(body); } [Test] @@ -484,13 +484,13 @@ public void Example_Discovery_Suggest_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - SuggestConfig suggestConfig = new SuggestConfig + SuggestConfig body = new SuggestConfig { Keywords = "", Limit = 1234, Filter = BinaryData.FromObjectAsJson(new object()), }; - Response response = client.Suggest(suggestConfig); + Response response = client.Suggest(body); } [Test] @@ -501,13 +501,13 @@ public async Task Example_Discovery_Suggest_AllParameters_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - SuggestConfig suggestConfig = new SuggestConfig + SuggestConfig body = new SuggestConfig { Keywords = "", Limit = 1234, Filter = BinaryData.FromObjectAsJson(new object()), }; - Response response = await client.SuggestAsync(suggestConfig); + Response response = await client.SuggestAsync(body); } [Test] @@ -548,8 +548,8 @@ public void Example_Discovery_AutoComplete_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - AutoCompleteConfig autoCompleteConfig = new AutoCompleteConfig(); - Response response = client.AutoComplete(autoCompleteConfig); + AutoCompleteConfig body = new AutoCompleteConfig(); + Response response = client.AutoComplete(body); } [Test] @@ -560,8 +560,8 @@ public async Task Example_Discovery_AutoComplete_ShortVersion_Convenience_Async( TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - AutoCompleteConfig autoCompleteConfig = new AutoCompleteConfig(); - Response response = await client.AutoCompleteAsync(autoCompleteConfig); + AutoCompleteConfig body = new AutoCompleteConfig(); + Response response = await client.AutoCompleteAsync(body); } [Test] @@ -614,13 +614,13 @@ public void Example_Discovery_AutoComplete_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - AutoCompleteConfig autoCompleteConfig = new AutoCompleteConfig + AutoCompleteConfig body = new AutoCompleteConfig { Keywords = "", Limit = 1234, Filter = BinaryData.FromObjectAsJson(new object()), }; - Response response = client.AutoComplete(autoCompleteConfig); + Response response = client.AutoComplete(body); } [Test] @@ -631,13 +631,13 @@ public async Task Example_Discovery_AutoComplete_AllParameters_Convenience_Async TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - AutoCompleteConfig autoCompleteConfig = new AutoCompleteConfig + AutoCompleteConfig body = new AutoCompleteConfig { Keywords = "", Limit = 1234, Filter = BinaryData.FromObjectAsJson(new object()), }; - Response response = await client.AutoCompleteAsync(autoCompleteConfig); + Response response = await client.AutoCompleteAsync(body); } } } diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Entity.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Entity.cs index bb809859f3af6..3fdd99d59980c 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Entity.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Entity.cs @@ -56,8 +56,8 @@ public void Example_Entity_CreateOrUpdate_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo(); - Response response = client.CreateOrUpdate(atlasEntityWithExtInfo); + AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo(); + Response response = client.CreateOrUpdate(body); } [Test] @@ -68,8 +68,8 @@ public async Task Example_Entity_CreateOrUpdate_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo(); - Response response = await client.CreateOrUpdateAsync(atlasEntityWithExtInfo); + AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo(); + Response response = await client.CreateOrUpdateAsync(body); } [Test] @@ -404,7 +404,7 @@ public void Example_Entity_CreateOrUpdate_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); - AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo + AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo { ReferredEntities = { @@ -482,7 +482,7 @@ public void Example_Entity_CreateOrUpdate_AllParameters_Convenience() }, Entity = default, }; - Response response = client.CreateOrUpdate(atlasEntityWithExtInfo, businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore, collectionId: ""); + Response response = client.CreateOrUpdate(body, businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore, collectionId: ""); } [Test] @@ -493,7 +493,7 @@ public async Task Example_Entity_CreateOrUpdate_AllParameters_Convenience_Async( TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); - AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo + AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo { ReferredEntities = { @@ -571,7 +571,7 @@ public async Task Example_Entity_CreateOrUpdate_AllParameters_Convenience_Async( }, Entity = default, }; - Response response = await client.CreateOrUpdateAsync(atlasEntityWithExtInfo, businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore, collectionId: ""); + Response response = await client.CreateOrUpdateAsync(body, businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore, collectionId: ""); } [Test] @@ -866,8 +866,8 @@ public void Example_Entity_BatchCreateOrUpdate_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo = new AtlasEntitiesWithExtInfo(); - Response response = client.BatchCreateOrUpdate(atlasEntitiesWithExtInfo); + AtlasEntitiesWithExtInfo body = new AtlasEntitiesWithExtInfo(); + Response response = client.BatchCreateOrUpdate(body); } [Test] @@ -878,8 +878,8 @@ public async Task Example_Entity_BatchCreateOrUpdate_ShortVersion_Convenience_As TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo = new AtlasEntitiesWithExtInfo(); - Response response = await client.BatchCreateOrUpdateAsync(atlasEntitiesWithExtInfo); + AtlasEntitiesWithExtInfo body = new AtlasEntitiesWithExtInfo(); + Response response = await client.BatchCreateOrUpdateAsync(body); } [Test] @@ -1222,7 +1222,7 @@ public void Example_Entity_BatchCreateOrUpdate_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); - AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo = new AtlasEntitiesWithExtInfo + AtlasEntitiesWithExtInfo body = new AtlasEntitiesWithExtInfo { ReferredEntities = { @@ -1300,7 +1300,7 @@ public void Example_Entity_BatchCreateOrUpdate_AllParameters_Convenience() }, Entities = { default }, }; - Response response = client.BatchCreateOrUpdate(atlasEntitiesWithExtInfo, collectionId: "", businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore); + Response response = client.BatchCreateOrUpdate(body, collectionId: "", businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore); } [Test] @@ -1311,7 +1311,7 @@ public async Task Example_Entity_BatchCreateOrUpdate_AllParameters_Convenience_A TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); - AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo = new AtlasEntitiesWithExtInfo + AtlasEntitiesWithExtInfo body = new AtlasEntitiesWithExtInfo { ReferredEntities = { @@ -1389,7 +1389,7 @@ public async Task Example_Entity_BatchCreateOrUpdate_AllParameters_Convenience_A }, Entities = { default }, }; - Response response = await client.BatchCreateOrUpdateAsync(atlasEntitiesWithExtInfo, collectionId: "", businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore); + Response response = await client.BatchCreateOrUpdateAsync(body, collectionId: "", businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore); } [Test] @@ -1640,8 +1640,8 @@ public void Example_Entity_AddClassification_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - ClassificationAssociateConfig classificationAssociateConfig = new ClassificationAssociateConfig(); - Response response = client.AddClassification(classificationAssociateConfig); + ClassificationAssociateConfig body = new ClassificationAssociateConfig(); + Response response = client.AddClassification(body); } [Test] @@ -1652,8 +1652,8 @@ public async Task Example_Entity_AddClassification_ShortVersion_Convenience_Asyn TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - ClassificationAssociateConfig classificationAssociateConfig = new ClassificationAssociateConfig(); - Response response = await client.AddClassificationAsync(classificationAssociateConfig); + ClassificationAssociateConfig body = new ClassificationAssociateConfig(); + Response response = await client.AddClassificationAsync(body); } [Test] @@ -1746,7 +1746,7 @@ public void Example_Entity_AddClassification_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - ClassificationAssociateConfig classificationAssociateConfig = new ClassificationAssociateConfig + ClassificationAssociateConfig body = new ClassificationAssociateConfig { Classification = new AtlasClassification { @@ -1768,7 +1768,7 @@ public void Example_Entity_AddClassification_AllParameters_Convenience() }, EntityGuids = { "" }, }; - Response response = client.AddClassification(classificationAssociateConfig); + Response response = client.AddClassification(body); } [Test] @@ -1779,7 +1779,7 @@ public async Task Example_Entity_AddClassification_AllParameters_Convenience_Asy TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - ClassificationAssociateConfig classificationAssociateConfig = new ClassificationAssociateConfig + ClassificationAssociateConfig body = new ClassificationAssociateConfig { Classification = new AtlasClassification { @@ -1801,7 +1801,7 @@ public async Task Example_Entity_AddClassification_AllParameters_Convenience_Asy }, EntityGuids = { "" }, }; - Response response = await client.AddClassificationAsync(classificationAssociateConfig); + Response response = await client.AddClassificationAsync(body); } [Test] @@ -3452,8 +3452,8 @@ public void Example_Entity_UpdateByUniqueAttribute_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo(); - Response response = client.UpdateByUniqueAttribute("", atlasEntityWithExtInfo); + AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo(); + Response response = client.UpdateByUniqueAttribute("", body); } [Test] @@ -3464,8 +3464,8 @@ public async Task Example_Entity_UpdateByUniqueAttribute_ShortVersion_Convenienc TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo(); - Response response = await client.UpdateByUniqueAttributeAsync("", atlasEntityWithExtInfo); + AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo(); + Response response = await client.UpdateByUniqueAttributeAsync("", body); } [Test] @@ -3800,7 +3800,7 @@ public void Example_Entity_UpdateByUniqueAttribute_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo + AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo { ReferredEntities = { @@ -3878,7 +3878,7 @@ public void Example_Entity_UpdateByUniqueAttribute_AllParameters_Convenience() }, Entity = default, }; - Response response = client.UpdateByUniqueAttribute("", atlasEntityWithExtInfo, attribute: ""); + Response response = client.UpdateByUniqueAttribute("", body, attribute: ""); } [Test] @@ -3889,7 +3889,7 @@ public async Task Example_Entity_UpdateByUniqueAttribute_AllParameters_Convenien TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo + AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo { ReferredEntities = { @@ -3967,7 +3967,7 @@ public async Task Example_Entity_UpdateByUniqueAttribute_AllParameters_Convenien }, Entity = default, }; - Response response = await client.UpdateByUniqueAttributeAsync("", atlasEntityWithExtInfo, attribute: ""); + Response response = await client.UpdateByUniqueAttributeAsync("", body, attribute: ""); } [Test] @@ -4668,8 +4668,8 @@ public void Example_Entity_BatchSetClassifications_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntityHeaders atlasEntityHeaders = new AtlasEntityHeaders(); - Response> response = client.BatchSetClassifications(atlasEntityHeaders); + AtlasEntityHeaders body = new AtlasEntityHeaders(); + Response> response = client.BatchSetClassifications(body); } [Test] @@ -4680,8 +4680,8 @@ public async Task Example_Entity_BatchSetClassifications_ShortVersion_Convenienc TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntityHeaders atlasEntityHeaders = new AtlasEntityHeaders(); - Response> response = await client.BatchSetClassificationsAsync(atlasEntityHeaders); + AtlasEntityHeaders body = new AtlasEntityHeaders(); + Response> response = await client.BatchSetClassificationsAsync(body); } [Test] @@ -4860,7 +4860,7 @@ public void Example_Entity_BatchSetClassifications_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntityHeaders atlasEntityHeaders = new AtlasEntityHeaders + AtlasEntityHeaders body = new AtlasEntityHeaders { GuidHeaderMap = { @@ -4912,7 +4912,7 @@ public void Example_Entity_BatchSetClassifications_AllParameters_Convenience() } }, }; - Response> response = client.BatchSetClassifications(atlasEntityHeaders); + Response> response = client.BatchSetClassifications(body); } [Test] @@ -4923,7 +4923,7 @@ public async Task Example_Entity_BatchSetClassifications_AllParameters_Convenien TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntityHeaders atlasEntityHeaders = new AtlasEntityHeaders + AtlasEntityHeaders body = new AtlasEntityHeaders { GuidHeaderMap = { @@ -4975,7 +4975,7 @@ public async Task Example_Entity_BatchSetClassifications_AllParameters_Convenien } }, }; - Response> response = await client.BatchSetClassificationsAsync(atlasEntityHeaders); + Response> response = await client.BatchSetClassificationsAsync(body); } [Test] @@ -6074,8 +6074,8 @@ public void Example_Entity_ImportBusinessMetadata_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - BusinessMetadataOptions businessMetadataOptions = new BusinessMetadataOptions(null); - Response response = client.ImportBusinessMetadata(businessMetadataOptions); + BusinessMetadataOptions body = new BusinessMetadataOptions(null); + Response response = client.ImportBusinessMetadata(body); } [Test] @@ -6086,8 +6086,8 @@ public async Task Example_Entity_ImportBusinessMetadata_ShortVersion_Convenience TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - BusinessMetadataOptions businessMetadataOptions = new BusinessMetadataOptions(null); - Response response = await client.ImportBusinessMetadataAsync(businessMetadataOptions); + BusinessMetadataOptions body = new BusinessMetadataOptions(null); + Response response = await client.ImportBusinessMetadataAsync(body); } [Test] @@ -6148,8 +6148,8 @@ public void Example_Entity_ImportBusinessMetadata_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - BusinessMetadataOptions businessMetadataOptions = new BusinessMetadataOptions(null); - Response response = client.ImportBusinessMetadata(businessMetadataOptions); + BusinessMetadataOptions body = new BusinessMetadataOptions(null); + Response response = client.ImportBusinessMetadata(body); } [Test] @@ -6160,8 +6160,8 @@ public async Task Example_Entity_ImportBusinessMetadata_AllParameters_Convenienc TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - BusinessMetadataOptions businessMetadataOptions = new BusinessMetadataOptions(null); - Response response = await client.ImportBusinessMetadataAsync(businessMetadataOptions); + BusinessMetadataOptions body = new BusinessMetadataOptions(null); + Response response = await client.ImportBusinessMetadataAsync(body); } [Test] @@ -6838,8 +6838,8 @@ public void Example_Entity_MoveEntitiesToCollection_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); - MoveEntitiesConfig moveEntitiesConfig = new MoveEntitiesConfig(); - Response response = client.MoveEntitiesToCollection("", moveEntitiesConfig); + MoveEntitiesConfig body = new MoveEntitiesConfig(); + Response response = client.MoveEntitiesToCollection("", body); } [Test] @@ -6850,8 +6850,8 @@ public async Task Example_Entity_MoveEntitiesToCollection_ShortVersion_Convenien TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); - MoveEntitiesConfig moveEntitiesConfig = new MoveEntitiesConfig(); - Response response = await client.MoveEntitiesToCollectionAsync("", moveEntitiesConfig); + MoveEntitiesConfig body = new MoveEntitiesConfig(); + Response response = await client.MoveEntitiesToCollectionAsync("", body); } [Test] @@ -7016,11 +7016,11 @@ public void Example_Entity_MoveEntitiesToCollection_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); - MoveEntitiesConfig moveEntitiesConfig = new MoveEntitiesConfig + MoveEntitiesConfig body = new MoveEntitiesConfig { EntityGuids = { "" }, }; - Response response = client.MoveEntitiesToCollection("", moveEntitiesConfig); + Response response = client.MoveEntitiesToCollection("", body); } [Test] @@ -7031,11 +7031,11 @@ public async Task Example_Entity_MoveEntitiesToCollection_AllParameters_Convenie TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); - MoveEntitiesConfig moveEntitiesConfig = new MoveEntitiesConfig + MoveEntitiesConfig body = new MoveEntitiesConfig { EntityGuids = { "" }, }; - Response response = await client.MoveEntitiesToCollectionAsync("", moveEntitiesConfig); + Response response = await client.MoveEntitiesToCollectionAsync("", body); } } } diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Glossary.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Glossary.cs index 84afdfc0ef0f3..948999d47e962 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Glossary.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Glossary.cs @@ -219,8 +219,8 @@ public void Example_Glossary_Create_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossary atlasGlossary = new AtlasGlossary(); - Response response = client.Create(atlasGlossary); + AtlasGlossary body = new AtlasGlossary(); + Response response = client.Create(body); } [Test] @@ -231,8 +231,8 @@ public async Task Example_Glossary_Create_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossary atlasGlossary = new AtlasGlossary(); - Response response = await client.CreateAsync(atlasGlossary); + AtlasGlossary body = new AtlasGlossary(); + Response response = await client.CreateAsync(body); } [Test] @@ -461,7 +461,7 @@ public void Example_Glossary_Create_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossary atlasGlossary = new AtlasGlossary + AtlasGlossary body = new AtlasGlossary { Guid = "", Classifications = {new AtlasClassification @@ -512,7 +512,7 @@ public void Example_Glossary_Create_AllParameters_Convenience() }}, Usage = "", }; - Response response = client.Create(atlasGlossary); + Response response = client.Create(body); } [Test] @@ -523,7 +523,7 @@ public async Task Example_Glossary_Create_AllParameters_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossary atlasGlossary = new AtlasGlossary + AtlasGlossary body = new AtlasGlossary { Guid = "", Classifications = {new AtlasClassification @@ -574,7 +574,7 @@ public async Task Example_Glossary_Create_AllParameters_Convenience_Async() }}, Usage = "", }; - Response response = await client.CreateAsync(atlasGlossary); + Response response = await client.CreateAsync(body); } [Test] @@ -1061,8 +1061,8 @@ public void Example_Glossary_CreateCategory_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory(); - Response response = client.CreateCategory(atlasGlossaryCategory); + AtlasGlossaryCategory body = new AtlasGlossaryCategory(); + Response response = client.CreateCategory(body); } [Test] @@ -1073,8 +1073,8 @@ public async Task Example_Glossary_CreateCategory_ShortVersion_Convenience_Async TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory(); - Response response = await client.CreateCategoryAsync(atlasGlossaryCategory); + AtlasGlossaryCategory body = new AtlasGlossaryCategory(); + Response response = await client.CreateCategoryAsync(body); } [Test] @@ -1323,7 +1323,7 @@ public void Example_Glossary_CreateCategory_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory + AtlasGlossaryCategory body = new AtlasGlossaryCategory { Guid = "", Classifications = {new AtlasClassification @@ -1379,7 +1379,7 @@ public void Example_Glossary_CreateCategory_AllParameters_Convenience() TermGuid = "", }}, }; - Response response = client.CreateCategory(atlasGlossaryCategory); + Response response = client.CreateCategory(body); } [Test] @@ -1390,7 +1390,7 @@ public async Task Example_Glossary_CreateCategory_AllParameters_Convenience_Asyn TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory + AtlasGlossaryCategory body = new AtlasGlossaryCategory { Guid = "", Classifications = {new AtlasClassification @@ -1446,7 +1446,7 @@ public async Task Example_Glossary_CreateCategory_AllParameters_Convenience_Asyn TermGuid = "", }}, }; - Response response = await client.CreateCategoryAsync(atlasGlossaryCategory); + Response response = await client.CreateCategoryAsync(body); } [Test] @@ -1663,8 +1663,8 @@ public void Example_Glossary_UpdateCategory_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory(); - Response response = client.UpdateCategory("", atlasGlossaryCategory); + AtlasGlossaryCategory body = new AtlasGlossaryCategory(); + Response response = client.UpdateCategory("", body); } [Test] @@ -1675,8 +1675,8 @@ public async Task Example_Glossary_UpdateCategory_ShortVersion_Convenience_Async TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory(); - Response response = await client.UpdateCategoryAsync("", atlasGlossaryCategory); + AtlasGlossaryCategory body = new AtlasGlossaryCategory(); + Response response = await client.UpdateCategoryAsync("", body); } [Test] @@ -1925,7 +1925,7 @@ public void Example_Glossary_UpdateCategory_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory + AtlasGlossaryCategory body = new AtlasGlossaryCategory { Guid = "", Classifications = {new AtlasClassification @@ -1981,7 +1981,7 @@ public void Example_Glossary_UpdateCategory_AllParameters_Convenience() TermGuid = "", }}, }; - Response response = client.UpdateCategory("", atlasGlossaryCategory); + Response response = client.UpdateCategory("", body); } [Test] @@ -1992,7 +1992,7 @@ public async Task Example_Glossary_UpdateCategory_AllParameters_Convenience_Asyn TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory + AtlasGlossaryCategory body = new AtlasGlossaryCategory { Guid = "", Classifications = {new AtlasClassification @@ -2048,7 +2048,7 @@ public async Task Example_Glossary_UpdateCategory_AllParameters_Convenience_Asyn TermGuid = "", }}, }; - Response response = await client.UpdateCategoryAsync("", atlasGlossaryCategory); + Response response = await client.UpdateCategoryAsync("", body); } [Test] @@ -2565,8 +2565,8 @@ public void Example_Glossary_CreateTerm_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm(); - Response response = client.CreateTerm(atlasGlossaryTerm); + AtlasGlossaryTerm body = new AtlasGlossaryTerm(); + Response response = client.CreateTerm(body); } [Test] @@ -2577,8 +2577,8 @@ public async Task Example_Glossary_CreateTerm_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm(); - Response response = await client.CreateTermAsync(atlasGlossaryTerm); + AtlasGlossaryTerm body = new AtlasGlossaryTerm(); + Response response = await client.CreateTermAsync(body); } [Test] @@ -3309,7 +3309,7 @@ public void Example_Glossary_CreateTerm_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm + AtlasGlossaryTerm body = new AtlasGlossaryTerm { Guid = "", Classifications = {new AtlasClassification @@ -3442,7 +3442,7 @@ public void Example_Glossary_CreateTerm_AllParameters_Convenience() ValidValues = { default }, ValidValuesFor = { default }, }; - Response response = client.CreateTerm(atlasGlossaryTerm, includeTermHierarchy: true); + Response response = client.CreateTerm(body, includeTermHierarchy: true); } [Test] @@ -3453,7 +3453,7 @@ public async Task Example_Glossary_CreateTerm_AllParameters_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm + AtlasGlossaryTerm body = new AtlasGlossaryTerm { Guid = "", Classifications = {new AtlasClassification @@ -3586,7 +3586,7 @@ public async Task Example_Glossary_CreateTerm_AllParameters_Convenience_Async() ValidValues = { default }, ValidValuesFor = { default }, }; - Response response = await client.CreateTermAsync(atlasGlossaryTerm, includeTermHierarchy: true); + Response response = await client.CreateTermAsync(body, includeTermHierarchy: true); } [Test] @@ -4021,8 +4021,8 @@ public void Example_Glossary_UpdateTerm_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm(); - Response response = client.UpdateTerm("", atlasGlossaryTerm); + AtlasGlossaryTerm body = new AtlasGlossaryTerm(); + Response response = client.UpdateTerm("", body); } [Test] @@ -4033,8 +4033,8 @@ public async Task Example_Glossary_UpdateTerm_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm(); - Response response = await client.UpdateTermAsync("", atlasGlossaryTerm); + AtlasGlossaryTerm body = new AtlasGlossaryTerm(); + Response response = await client.UpdateTermAsync("", body); } [Test] @@ -4765,7 +4765,7 @@ public void Example_Glossary_UpdateTerm_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(apiVersion: "2023-09-01"); - AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm + AtlasGlossaryTerm body = new AtlasGlossaryTerm { Guid = "", Classifications = {new AtlasClassification @@ -4898,7 +4898,7 @@ public void Example_Glossary_UpdateTerm_AllParameters_Convenience() ValidValues = { default }, ValidValuesFor = { default }, }; - Response response = client.UpdateTerm("", atlasGlossaryTerm, includeTermHierarchy: true); + Response response = client.UpdateTerm("", body, includeTermHierarchy: true); } [Test] @@ -4909,7 +4909,7 @@ public async Task Example_Glossary_UpdateTerm_AllParameters_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(apiVersion: "2023-09-01"); - AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm + AtlasGlossaryTerm body = new AtlasGlossaryTerm { Guid = "", Classifications = {new AtlasClassification @@ -5042,7 +5042,7 @@ public async Task Example_Glossary_UpdateTerm_AllParameters_Convenience_Async() ValidValues = { default }, ValidValuesFor = { default }, }; - Response response = await client.UpdateTermAsync("", atlasGlossaryTerm, includeTermHierarchy: true); + Response response = await client.UpdateTermAsync("", body, includeTermHierarchy: true); } [Test] @@ -7459,8 +7459,8 @@ public void Example_Glossary_Update_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossary atlasGlossary = new AtlasGlossary(); - Response response = client.Update("", atlasGlossary); + AtlasGlossary body = new AtlasGlossary(); + Response response = client.Update("", body); } [Test] @@ -7471,8 +7471,8 @@ public async Task Example_Glossary_Update_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossary atlasGlossary = new AtlasGlossary(); - Response response = await client.UpdateAsync("", atlasGlossary); + AtlasGlossary body = new AtlasGlossary(); + Response response = await client.UpdateAsync("", body); } [Test] @@ -7701,7 +7701,7 @@ public void Example_Glossary_Update_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(apiVersion: "2023-09-01"); - AtlasGlossary atlasGlossary = new AtlasGlossary + AtlasGlossary body = new AtlasGlossary { Guid = "", Classifications = {new AtlasClassification @@ -7752,7 +7752,7 @@ public void Example_Glossary_Update_AllParameters_Convenience() }}, Usage = "", }; - Response response = client.Update("", atlasGlossary, ignoreTermsAndCategories: true); + Response response = client.Update("", body, ignoreTermsAndCategories: true); } [Test] @@ -7763,7 +7763,7 @@ public async Task Example_Glossary_Update_AllParameters_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(apiVersion: "2023-09-01"); - AtlasGlossary atlasGlossary = new AtlasGlossary + AtlasGlossary body = new AtlasGlossary { Guid = "", Classifications = {new AtlasClassification @@ -7814,7 +7814,7 @@ public async Task Example_Glossary_Update_AllParameters_Convenience_Async() }}, Usage = "", }; - Response response = await client.UpdateAsync("", atlasGlossary, ignoreTermsAndCategories: true); + Response response = await client.UpdateAsync("", body, ignoreTermsAndCategories: true); } [Test] diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Relationship.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Relationship.cs index 8713ced02df62..99462b921aedc 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Relationship.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Relationship.cs @@ -54,8 +54,8 @@ public void Example_Relationship_Create_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); - AtlasRelationship atlasRelationship = new AtlasRelationship(); - Response response = client.Create(atlasRelationship); + AtlasRelationship body = new AtlasRelationship(); + Response response = client.Create(body); } [Test] @@ -66,8 +66,8 @@ public async Task Example_Relationship_Create_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); - AtlasRelationship atlasRelationship = new AtlasRelationship(); - Response response = await client.CreateAsync(atlasRelationship); + AtlasRelationship body = new AtlasRelationship(); + Response response = await client.CreateAsync(body); } [Test] @@ -198,7 +198,7 @@ public void Example_Relationship_Create_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); - AtlasRelationship atlasRelationship = new AtlasRelationship + AtlasRelationship body = new AtlasRelationship { Attributes = { @@ -227,7 +227,7 @@ public void Example_Relationship_Create_AllParameters_Convenience() UpdatedBy = "", Version = 1234L, }; - Response response = client.Create(atlasRelationship); + Response response = client.Create(body); } [Test] @@ -238,7 +238,7 @@ public async Task Example_Relationship_Create_AllParameters_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); - AtlasRelationship atlasRelationship = new AtlasRelationship + AtlasRelationship body = new AtlasRelationship { Attributes = { @@ -267,7 +267,7 @@ public async Task Example_Relationship_Create_AllParameters_Convenience_Async() UpdatedBy = "", Version = 1234L, }; - Response response = await client.CreateAsync(atlasRelationship); + Response response = await client.CreateAsync(body); } [Test] @@ -308,8 +308,8 @@ public void Example_Relationship_Update_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); - AtlasRelationship atlasRelationship = new AtlasRelationship(); - Response response = client.Update(atlasRelationship); + AtlasRelationship body = new AtlasRelationship(); + Response response = client.Update(body); } [Test] @@ -320,8 +320,8 @@ public async Task Example_Relationship_Update_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); - AtlasRelationship atlasRelationship = new AtlasRelationship(); - Response response = await client.UpdateAsync(atlasRelationship); + AtlasRelationship body = new AtlasRelationship(); + Response response = await client.UpdateAsync(body); } [Test] @@ -452,7 +452,7 @@ public void Example_Relationship_Update_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); - AtlasRelationship atlasRelationship = new AtlasRelationship + AtlasRelationship body = new AtlasRelationship { Attributes = { @@ -481,7 +481,7 @@ public void Example_Relationship_Update_AllParameters_Convenience() UpdatedBy = "", Version = 1234L, }; - Response response = client.Update(atlasRelationship); + Response response = client.Update(body); } [Test] @@ -492,7 +492,7 @@ public async Task Example_Relationship_Update_AllParameters_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); - AtlasRelationship atlasRelationship = new AtlasRelationship + AtlasRelationship body = new AtlasRelationship { Attributes = { @@ -521,7 +521,7 @@ public async Task Example_Relationship_Update_AllParameters_Convenience_Async() UpdatedBy = "", Version = 1234L, }; - Response response = await client.UpdateAsync(atlasRelationship); + Response response = await client.UpdateAsync(body); } [Test] diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_TypeDefinition.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_TypeDefinition.cs index fc5362b59749d..13867387e2342 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_TypeDefinition.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_TypeDefinition.cs @@ -3723,8 +3723,8 @@ public void Example_TypeDefinition_BatchCreate_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); - Response response = client.BatchCreate(atlasTypesDef); + AtlasTypesDef body = new AtlasTypesDef(); + Response response = client.BatchCreate(body); } [Test] @@ -3735,8 +3735,8 @@ public async Task Example_TypeDefinition_BatchCreate_ShortVersion_Convenience_As TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); - Response response = await client.BatchCreateAsync(atlasTypesDef); + AtlasTypesDef body = new AtlasTypesDef(); + Response response = await client.BatchCreateAsync(body); } [Test] @@ -5065,7 +5065,7 @@ public void Example_TypeDefinition_BatchCreate_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef + AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -5319,7 +5319,7 @@ public void Example_TypeDefinition_BatchCreate_AllParameters_Convenience() AttributeDefs = {default}, }}, }; - Response response = client.BatchCreate(atlasTypesDef); + Response response = client.BatchCreate(body); } [Test] @@ -5330,7 +5330,7 @@ public async Task Example_TypeDefinition_BatchCreate_AllParameters_Convenience_A TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef + AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -5584,7 +5584,7 @@ public async Task Example_TypeDefinition_BatchCreate_AllParameters_Convenience_A AttributeDefs = {default}, }}, }; - Response response = await client.BatchCreateAsync(atlasTypesDef); + Response response = await client.BatchCreateAsync(body); } [Test] @@ -5625,8 +5625,8 @@ public void Example_TypeDefinition_BatchUpdate_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); - Response response = client.BatchUpdate(atlasTypesDef); + AtlasTypesDef body = new AtlasTypesDef(); + Response response = client.BatchUpdate(body); } [Test] @@ -5637,8 +5637,8 @@ public async Task Example_TypeDefinition_BatchUpdate_ShortVersion_Convenience_As TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); - Response response = await client.BatchUpdateAsync(atlasTypesDef); + AtlasTypesDef body = new AtlasTypesDef(); + Response response = await client.BatchUpdateAsync(body); } [Test] @@ -6967,7 +6967,7 @@ public void Example_TypeDefinition_BatchUpdate_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef + AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -7221,7 +7221,7 @@ public void Example_TypeDefinition_BatchUpdate_AllParameters_Convenience() AttributeDefs = {default}, }}, }; - Response response = client.BatchUpdate(atlasTypesDef); + Response response = client.BatchUpdate(body); } [Test] @@ -7232,7 +7232,7 @@ public async Task Example_TypeDefinition_BatchUpdate_AllParameters_Convenience_A TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef + AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -7486,7 +7486,7 @@ public async Task Example_TypeDefinition_BatchUpdate_AllParameters_Convenience_A AttributeDefs = {default}, }}, }; - Response response = await client.BatchUpdateAsync(atlasTypesDef); + Response response = await client.BatchUpdateAsync(body); } [Test] @@ -7525,8 +7525,8 @@ public void Example_TypeDefinition_BatchDelete_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); - Response response = client.BatchDelete(atlasTypesDef); + AtlasTypesDef body = new AtlasTypesDef(); + Response response = client.BatchDelete(body); } [Test] @@ -7537,8 +7537,8 @@ public async Task Example_TypeDefinition_BatchDelete_ShortVersion_Convenience_As TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); - Response response = await client.BatchDeleteAsync(atlasTypesDef); + AtlasTypesDef body = new AtlasTypesDef(); + Response response = await client.BatchDeleteAsync(body); } [Test] @@ -8201,7 +8201,7 @@ public void Example_TypeDefinition_BatchDelete_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef + AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -8455,7 +8455,7 @@ public void Example_TypeDefinition_BatchDelete_AllParameters_Convenience() AttributeDefs = {default}, }}, }; - Response response = client.BatchDelete(atlasTypesDef); + Response response = client.BatchDelete(body); } [Test] @@ -8466,7 +8466,7 @@ public async Task Example_TypeDefinition_BatchDelete_AllParameters_Convenience_A TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef + AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -8720,7 +8720,7 @@ public async Task Example_TypeDefinition_BatchDelete_AllParameters_Convenience_A AttributeDefs = {default}, }}, }; - Response response = await client.BatchDeleteAsync(atlasTypesDef); + Response response = await client.BatchDeleteAsync(body); } [Test] diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/tsp-location.yaml b/sdk/purview/Azure.Analytics.Purview.DataMap/tsp-location.yaml index 66f9c4b0a5c3d..2a6bc2283aa88 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/tsp-location.yaml +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/tsp-location.yaml @@ -1,5 +1,4 @@ repo: Azure/azure-rest-api-specs -commit: 0aa7ac99172545656aaae911ce13ad572ff0fac1 +commit: c8f326f5de83b0d6328f8d84c5dd2a14f8f4310b additionalDirectories: [] directory: specification/purview/Azure.Analytics.Purview.DataMap - diff --git a/sdk/translation/Azure.AI.Translation.Document/tsp-location.yaml b/sdk/translation/Azure.AI.Translation.Document/tsp-location.yaml index 63f2b5f3b0150..51be8ea521945 100644 --- a/sdk/translation/Azure.AI.Translation.Document/tsp-location.yaml +++ b/sdk/translation/Azure.AI.Translation.Document/tsp-location.yaml @@ -1,5 +1,5 @@ directory: specification/translation/Azure.AI.DocumentTranslation -commit: db63bea839f5648462c94e685d5cc96f8e8b38ba +commit: bd246a654089bc08bbb99f1dbf2c35755a51e40b repo: Azure/azure-rest-api-specs