From 07fd0eef62d1669b00c9ddf870dd0becf553e1a3 Mon Sep 17 00:00:00 2001 From: sushil490023 Date: Thu, 11 Jan 2024 23:24:14 +0530 Subject: [PATCH 1/2] Updated examples for public documentation (#27273) Co-authored-by: Sushil Upadhyay --- .../runtimeEnvironment/createRuntimeEnvironment.json | 6 +++--- .../examples/runtimeEnvironment/getRuntimeEnvironment.json | 2 +- .../listRuntimeEnvironmentsByAutomationAccount.json | 6 +++--- .../runtimeEnvironment/updateRuntimeEnvironment.json | 4 ++-- .../preview/2023-05-15-preview/package.json | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/createRuntimeEnvironment.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/createRuntimeEnvironment.json index 9e43d707e457..8c1a54556016 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/createRuntimeEnvironment.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/createRuntimeEnvironment.json @@ -12,7 +12,7 @@ "version": "7.1" }, "defaultPackages": { - "Az": "6.*" + "Az": "8.3.0" } }, "location": "East US 2" @@ -37,7 +37,7 @@ "version": "7.1" }, "defaultPackages": { - "Az": "6.*" + "Az": "8.3.0" } } } @@ -60,7 +60,7 @@ "version": "7.1" }, "defaultPackages": { - "Az": "6.*" + "Az": "8.3.0" } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/getRuntimeEnvironment.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/getRuntimeEnvironment.json index e5ee6d9e4b66..d22a12555728 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/getRuntimeEnvironment.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/getRuntimeEnvironment.json @@ -25,7 +25,7 @@ "version": "7.1" }, "defaultPackages": { - "Az": "6.*" + "Az": "8.3.0" }, "description": "Description of the Runtime Environment" } diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/listRuntimeEnvironmentsByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/listRuntimeEnvironmentsByAutomationAccount.json index 19f91cade2db..eed579031da5 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/listRuntimeEnvironmentsByAutomationAccount.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/listRuntimeEnvironmentsByAutomationAccount.json @@ -26,7 +26,7 @@ "version": "7.1" }, "defaultPackages": { - "Az": "6.*" + "Az": "8.3.0" }, "description": "Description of the Runtime Environment" } @@ -47,7 +47,7 @@ "version": "7.1" }, "defaultPackages": { - "Az": "6.*" + "Az": "8.3.0" }, "description": "Description of the Runtime Environment" } @@ -68,7 +68,7 @@ "version": "7.1" }, "defaultPackages": { - "Az": "6.*" + "Az": "8.3.0" }, "description": "Description of the Runtime Environment" } diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/updateRuntimeEnvironment.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/updateRuntimeEnvironment.json index 7e902ff893f2..dd49ff12cfb5 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/updateRuntimeEnvironment.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/examples/runtimeEnvironment/updateRuntimeEnvironment.json @@ -8,7 +8,7 @@ "parameters": { "properties": { "defaultPackages": { - "Az": "6.*" + "Az": "8.3.0" } } } @@ -28,7 +28,7 @@ "version": "7.1" }, "defaultPackages": { - "Az": "6.*" + "Az": "8.3.0" }, "description": "Description of the Runtime Environment" }, diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/package.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/package.json index 6f5adc4eeb40..05e6bd2e4390 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/package.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2023-05-15-preview/package.json @@ -279,7 +279,7 @@ "tags": [ "Package" ], - "operationId": "Packages_ListByRuntimeEnvironment", + "operationId": "Package_ListByRuntimeEnvironment", "description": "Retrieve the a list of Packages", "externalDocs": { "url": "http://aka.ms/azureautomationsdk/packageoperations" From e8fe420a02f1bc41018d98e0fc3fc55c9838adb6 Mon Sep 17 00:00:00 2001 From: Quentin Robinson <32183739+quentinRobinson@users.noreply.github.com> Date: Thu, 11 Jan 2024 13:26:53 -0600 Subject: [PATCH 2/2] Azure Language add scriptCode, and enums for script Language Detection Results (#26777) * add scriptCode, and enums for script * update name for sciptcode * fixed policheck and spelling issue * Add new words to custom-words.txt and update Bengala enum --- custom-words.txt | 18 +++++ .../2023-11-15-preview/analyzetext.json | 71 ++++++++++++++++++- 2 files changed, 87 insertions(+), 2 deletions(-) diff --git a/custom-words.txt b/custom-words.txt index f2f50c3db1b7..b7c7bd12e7a8 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -194,6 +194,7 @@ arima arimax arin arjun +armn armtemplates arp arpa @@ -940,6 +941,7 @@ etags etcd ethereum ethertype +ethi eucloud eucloudprototype eugps @@ -1097,6 +1099,7 @@ geofences geofencing geojson geopair +geor georegions georeplication geospatial @@ -1170,6 +1173,7 @@ granularities graphrbac graphservice greenplum +grek groundstation groupby groupedby @@ -1186,6 +1190,7 @@ guami guestconfiguration guid guids +gujr gurung guti gxlarge @@ -1221,6 +1226,7 @@ healthmodels healthstatus heatbeat heatmap +hebr hecto helmchart helpdesk @@ -1433,6 +1439,7 @@ jobschedules johnc johndeere johnsmith +jpan json jsonl jsonld @@ -1473,6 +1480,7 @@ keyvaultproperties keyvaulturi keyversion khaling +khmr khtml kibana kiswahili @@ -1481,6 +1489,7 @@ kmgtpe kmph Kmskeyaccessdenied Kmskeynotfound +knda knowledgebase knowledgebases koelner @@ -1523,6 +1532,7 @@ labservices lajolla lakehouse languagedata +laoo largefacelists largepersongroups largerc @@ -1753,6 +1763,7 @@ mlapi mlflow mlflowtrackinguri mltable +mlym mmtc mnist mobo @@ -1834,6 +1845,7 @@ myimage mylocation mylog mymodel +mymr mypath mypicture mypictures @@ -1992,6 +2004,7 @@ octokit odata odatatype odbc +odia oeverify offboard offboarding @@ -2053,6 +2066,7 @@ optout organisation orgs originpath +orya oscp osdisk osdiskforlinuxsimple @@ -2854,6 +2868,7 @@ taginheritance tagname tagsandregions tagvalue +taml targetduration taskcompletion taskcounts @@ -2868,6 +2883,7 @@ teamsinterop telangana telemetryconfig teleportal +telu tempdb templated templatelink @@ -2896,10 +2912,12 @@ textanalytics tfidf tful tfvc +thaa thangmi thirdparty threatintelligence threatintelligenceindicators +tibt tilejson tileset tilesetconfiguration diff --git a/specification/cognitiveservices/data-plane/Language/preview/2023-11-15-preview/analyzetext.json b/specification/cognitiveservices/data-plane/Language/preview/2023-11-15-preview/analyzetext.json index c7bf4af33b69..b4a2d5521094 100644 --- a/specification/cognitiveservices/data-plane/Language/preview/2023-11-15-preview/analyzetext.json +++ b/specification/cognitiveservices/data-plane/Language/preview/2023-11-15-preview/analyzetext.json @@ -4193,14 +4193,81 @@ }, "script": { "type": "string", - "description": "Identifies the script of the input document.", + "description": "Identifies the script of the input document. Maps to the ISO 15924 standard formal name.", "enum": [ - "Latin" + "Arabic", + "Armenian", + "Bangla", + "UnifiedCanadianAboriginalSyllabics", + "Cyrillic", + "Devanagari", + "Ethiopic", + "Georgian", + "Greek", + "Gujarati", + "Gurmukhi", + "Hangul", + "HanSimplified", + "HanTraditional", + "Hebrew", + "Japanese", + "Khmer", + "Kannada", + "Lao", + "Latin", + "Malayalam", + "Myanmar", + "Odia", + "Sinhala", + "Tamil", + "Telugu", + "Thaana", + "Thai", + "Tibetan" ], "x-ms-enum": { "name": "ScriptKind", "modelAsString": true } + }, + "scriptCode": { + "type": "string", + "description": "Identifies the script of the input document. Maps to the ISO 15924 standard script code.", + "enum": [ + "Arab", + "Armn", + "Beng", + "Cans", + "Cyrl", + "Deva", + "Ethi", + "Geor", + "Grek", + "Gujr", + "Guru", + "Hang", + "Hans", + "Hant", + "Hebr", + "Jpan", + "Khmr", + "Knda", + "Laoo", + "Latn", + "Mlym", + "Mymr", + "Orya", + "Sinh", + "Taml", + "Telu", + "Thaa", + "Thai", + "Tibt" + ], + "x-ms-enum": { + "name": "ScriptCode", + "modelAsString": true + } } } },