Skip to content
Merged
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
4b12799
Generate new Service for deidentification
GrahamMThomas Jan 29, 2024
188032c
[data-plane] Initial Creation of HealthDataAiServices.Deid 2 (#27563)
GrahamMThomas Feb 1, 2024
fda21b2
Adds errorCode and explanation; Replaces pagination with continuation…
GrahamMThomas Mar 7, 2024
f918770
Updated CompletedAt to LastUpdatedAt for all terminal states (#28349)
GrahamMThomas Mar 29, 2024
371b2ca
Updates parameter validators/defaults/nullability; Replaces checksum …
GrahamMThomas Mar 29, 2024
5e7c412
Updates HealthDataAiService.Deid with feedback from SDK Review Team
Apr 8, 2024
1fafc2a
Updates TSPconfig for c#
May 1, 2024
b96f92e
Adds CSharp special
May 1, 2024
f42d923
Updates version to match live version
May 1, 2024
4271e96
Updates java package name
May 2, 2024
ecbbb25
Fix java namespace name
May 2, 2024
94e86ed
Updates python package name
May 2, 2024
abb88d1
Updates to match version service is currently using
May 2, 2024
0876eda
Updates package names
May 7, 2024
ac8f087
Removes update in cspell
May 7, 2024
4ab7b92
Updates java namespace
May 7, 2024
06e87ed
Fixes cspell.json
May 8, 2024
a37f5e5
Test1
May 8, 2024
b6fd5ea
Convert to diff long running operation
May 13, 2024
8c79649
Adds client config
May 15, 2024
71fbe76
Attempt base LRO
May 15, 2024
8468cf1
Updated naming and LRO config
May 20, 2024
be41e7f
Stash merge
May 20, 2024
eb79c6e
Linter fixes; SDK related Updates
May 29, 2024
50965a0
SDK Related Updates
May 29, 2024
dd605fc
Changes ordering of parameters; Fixes StringIndexType enum values
Jun 4, 2024
caaa6cf
Removes script update
Jun 4, 2024
fa38e1f
Updates examples
Jun 6, 2024
e2f85d2
Don't update vscode settings
Jun 6, 2024
acb228a
Updates examples
Jun 6, 2024
28e1bf7
Fixes linter issues
Jun 10, 2024
b05ee3a
Fixes documentDataType enum value to match casing within service
Jun 11, 2024
17cb654
fix documentDataType enum value
danielszaniszlo Jun 19, 2024
82e8f13
change name of js package
danielszaniszlo Jun 25, 2024
5fbc6bc
changing property continuationToken because of a conflict in java
danielszaniszlo Jun 25, 2024
7e35327
revert changes for continuationToken
danielszaniszlo Jul 1, 2024
b537b97
Adding post processing for java
danielszaniszlo Jul 1, 2024
e93e79b
Regenerates Examples; Removes @secret from location as we will saniti…
Jul 8, 2024
7e0a158
Fixes documentDataType example generation
Jul 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,7 @@
"psqldb"
]
},

{
"filename": "**/specification/maps/data-plane/Weather/stable/1.1/weather.json",
"words": [
Expand Down Expand Up @@ -1133,6 +1134,12 @@
"throughputpool"
]
},
{
"filename": "**/specification/purview/data-plane/Azure.Analytics.Purview.DataMap/**/*.json",
"words": [
"timerange"
]
},
{
"filename": "**/specification/healthdataaiservices/**/*.json",
"words": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,11 @@
* Add readme and sample
*/
import "./main.tsp";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;

// // This model is input only
// @@usage(HealthDataAIServices.Deidentification.DeidentifyOptions, Usage.input);
// // This models is input/output
// @@usage(HealthDataAIServices.Deidentification.DeidentifyJob, Usage.output);
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"title": "Cancel a DeID Job",
"operationId": "Jobs_Cancel",
"title": "Cancel a De-Identify Job",
"operationId": "CancelJob",
"parameters": {
"api-version": "2024-01-31-preview",
"api-version": "2024-01-16-preview",
"name": "documents_smith_1",
"x-ms-client-request-id": "00000000-0000-0000-0000-000000000000"
},
Expand All @@ -18,11 +18,10 @@
]
},
"targetLocation": {
"location": "https://blobtest.blob.core.windows.net/container?sp=r&st=2024-01-24T18:11:10Z&se=2024-01-25T02:11:10Z&spr=https&sv=2022-11-02&sr=c&sig=signature%3D",
"prefix": "/documents"
},
"dataType": "PlainText",
"operation": "Redact",
"dataType": "Plaintext",
"redactionFormat": "[{type}]",
"status": "Canceled",
"createdAt": "2024-01-25T23:27:43.009Z",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"title": "Create a DeID Job",
"operationId": "Jobs_Create",
"title": "Create a De-Identify Job",
"operationId": "CreateJob",
"parameters": {
"api-version": "2024-01-31-preview",
"api-version": "2024-01-16-preview",
"name": "documents_smith_1",
"x-ms-client-request-id": "00000000-0000-0000-0000-000000000000",
"resource": {
Expand All @@ -17,9 +17,10 @@
"location": "https://blobtest.blob.core.windows.net/container?sp=r&st=2024-01-24T18:11:10Z&se=2024-01-25T02:11:10Z&spr=https&sv=2022-11-02&sr=c&sig=signature%3D",
"prefix": "/documents"
},
"dataType": "PlainText",
"operation": "Redact",
"redactionFormat": "[{type}]"
"dataType": "Plaintext",
"redactionFormat": "[{type}]",
"status": "NotStarted"
}
},
"responses": {
Expand All @@ -34,11 +35,10 @@
]
},
"targetLocation": {
"location": "https://blobtest.blob.core.windows.net/container?sp=r&st=2024-01-24T18:11:10Z&se=2024-01-25T02:11:10Z&spr=https&sv=2022-11-02&sr=c&sig=signature%3D",
"prefix": "/documents"
},
"dataType": "PlainText",
"operation": "Redact",
"dataType": "Plaintext",
"redactionFormat": "[{type}]",
"status": "NotStarted",
"createdAt": "2024-01-25T23:27:43.009Z",
Expand All @@ -59,11 +59,10 @@
]
},
"targetLocation": {
"location": "https://blobtest.blob.core.windows.net/container?sp=r&st=2024-01-24T18:11:10Z&se=2024-01-25T02:11:10Z&spr=https&sv=2022-11-02&sr=c&sig=signature%3D",
"prefix": "/documents"
},
"dataType": "PlainText",
"operation": "Redact",
"dataType": "Plaintext",
"redactionFormat": "[{type}]",
"status": "NotStarted",
"createdAt": "2024-01-25T23:27:43.009Z",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"title": "Realtime Synchronous Deidentification.",
"operationId": "RealtimeOperations_Deid",
"operationId": "Deidentify",
"parameters": {
"api-version": "2024-01-31-preview",
"api-version": "2024-01-16-preview",
"body": {
"inputText": "Hello my name is John Smith.",
"dataType": "PlainText",
"operation": "Redact",
"dataType": "Plaintext",
"stringIndexType": "TextElement_v8",
"redactionFormat": "[{type}]"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"title": "Delete a DeID Job",
"operationId": "Jobs_Delete",
"title": "Delete a De-Identify Job",
"operationId": "DeleteJob",
"parameters": {
"api-version": "2024-01-31-preview",
"api-version": "2024-01-16-preview",
"name": "documents_smith_1",
"x-ms-client-request-id": "00000000-0000-0000-0000-000000000000"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"title": "Get a DeID Job",
"operationId": "Jobs_Get",
"title": "Get a De-Identify Job",
"operationId": "GetJob",
"parameters": {
"api-version": "2024-01-31-preview",
"api-version": "2024-01-16-preview",
"name": "documents_smith_1",
"x-ms-client-request-id": "00000000-0000-0000-0000-000000000000"
},
Expand All @@ -18,11 +18,10 @@
]
},
"targetLocation": {
"location": "https://blobtest.blob.core.windows.net/container?sp=r&st=2024-01-24T18:11:10Z&se=2024-01-25T02:11:10Z&spr=https&sv=2022-11-02&sr=c&sig=signature%3D",
"prefix": "/documents"
},
"dataType": "PlainText",
"operation": "Redact",
"dataType": "Plaintext",
"redactionFormat": "[{type}]",
"status": "Succeeded",
"createdAt": "2024-01-25T23:27:43.009Z",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"title": "List processed files within a Job",
"operationId": "Jobs_ListFiles",
"operationId": "ListJobFiles",
"parameters": {
"api-version": "2024-01-31-preview",
"api-version": "2024-01-16-preview",
"name": "documents_smith_1",
"maxpagesize": 10,
"continuationToken": "K1JJRDpzOEtaQWZabUQrQUNBQUFBQUFBQUFBQT09I1JUOjEjVFJDOjEwI0ZQQzpBZ0VBQUFBTUFDUUFBQUFBQUE9PQ==",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"title": "List DeID Jobs",
"operationId": "Jobs_List",
"title": "List De-Identify Jobs",
"operationId": "ListJobs",
"parameters": {
"api-version": "2024-01-31-preview",
"api-version": "2024-01-16-preview",
"maxpagesize": 10,
"continuationToken": "K1JJRDpzOEtaQWZabUQrQUNBQUFBQUFBQUFBQT09I1JUOjEjVFJDOjEwI0ZQQzpBZ0VBQUFBTUFDUUFBQUFBQUE9PQ==",
"x-ms-client-request-id": "00000000-0000-0000-0000-000000000000"
Expand All @@ -21,11 +21,10 @@
]
},
"targetLocation": {
"location": "https://blobtest.blob.core.windows.net/container?sp=r&st=2024-01-24T18:11:10Z&se=2024-01-25T02:11:10Z&spr=https&sv=2022-11-02&sr=c&sig=signature%3D",
"prefix": "/documents"
},
"dataType": "PlainText",
"operation": "Redact",
"dataType": "Plaintext",
"redactionFormat": "[{type}]",
"status": "Succeeded",
"createdAt": "2024-01-25T23:27:43.009Z",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ using Azure.Core.Traits;
title: "HealthDataAIServices.Deidentification Service",
})
@server(
"https://{deid-service-uri}",
"https://{endpoint}",
"Azure Health Deidentification Service",
{
@doc("Uri of your Deid Service.")
`deid-service-uri`: string,
@doc("Url of your Deid Service.")
endpoint: string,
}
)
@versioned(HealthDataAIServices.Deidentification.Versions)
Expand All @@ -40,5 +40,5 @@ model AadToken
@doc("The HealthDataAIServices.Deidentification service versions.")
enum Versions {
@useDependency(Azure.Core.Versions.v1_0_Preview_2)
v2024_01_31_preview: "2024-01-31-preview",
v2024_01_16_preview: "2024-01-16-preview",
}
Loading