Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[typespec-validation] Error should be reported while missing 'Management' suffix in the folder name of management plane typespec #29654

Closed
raych1 opened this issue Jun 21, 2024 · 11 comments · Fixed by #29663
Assignees
Labels
Central-EngSys This issue is owned by the Engineering System team. Spec PR Tools Tooling that runs in azure-rest-api-specs repo.

Comments

@raych1
Copy link
Contributor

raych1 commented Jun 21, 2024

Context
Per the typespec folder structure requirement, it says "Management at the end of the service RP-name indicates a management (resource manager) library".
The folder should be like the following example:
image

Additionally, SDK automation tool depends on the 'Management' suffix in the folder name to differentiate the management plane typespec and data plane typespec to call the proper code generator (MPG or DPG) to generate the SDK.

I found typespec-validation tool has the following code to check folder name for management plane typespec case. Request to extend it to gate on the suffix.

if (packageFolder.includes("Management") && packageFolder.includes("Shared")) {

CC: @mikeharder @weshaggard @weidongxu-microsoft

@github-actions github-actions bot added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Jun 21, 2024
@mikeharder mikeharder self-assigned this Jul 1, 2024
@mikeharder mikeharder transferred this issue from Azure/azure-sdk-tools Jul 1, 2024
@mikeharder
Copy link
Member

mikeharder commented Jul 1, 2024

@raych1: Can you please be more specific, and give some examples of specs that should pass and fail the new rule?

Are you just asking for the rule to ensure that, if a folder name contains "Management", that the folder ends with either "Management" or "Management.Shared"?

Or is it more complex, say based on the contents of the folder? Something like "If a *.tsp contains <foo>, then the folder name must end with Management"?

@weidongxu-microsoft
Copy link
Member

weidongxu-microsoft commented Jul 2, 2024

Just an option:

  • If service configure typespec-autorest to output to resource-manager folder (e.g. oracle), this tspconfig.yaml should be in a folder with suffix .Management

@mikeharder
Copy link
Member

Just an option:

  • If service configure typespec-autorest to output to resource-manager folder (e.g. oracle), this tspconfig.yaml should be in a folder with suffix .Management

This check could go on L84:

if (
!packageFolder.includes("Shared") &&
!(await host.checkFileExists(path.join(folder, "tspconfig.yaml")))
) {
errorOutput += `Invalid folder structure: Spec folder must contain tspconfig.yaml.`;
success = false;
}
return {
success: success,
stdOutput: stdOutput,
errorOutput: errorOutput,
};

@raych1
Copy link
Contributor Author

raych1 commented Jul 2, 2024

@mikeharder ,

I agree with @weidongxu-microsoft 's suggestion. I'm not sure if azure-resource-provider-folder is required field to set in tspconfig.yaml for typespec-autorest emitter. We might need to cover the cases if it's not set.

In case of the field not being set, we may verify if the spec PR contains any change to the resource-manager folder.

@mikeharder
Copy link
Member

In case of the field not being set, we may verify if the spec PR contains any change to the resource-manager folder.

Should already be covered here:

if (rpFolder?.trim()?.endsWith("resource-manager")) {
requiredRuleset = "@azure-tools/typespec-azure-rulesets/resource-manager";
} else if (rpFolder?.trim()?.endsWith("data-plane")) {
requiredRuleset = "@azure-tools/typespec-azure-rulesets/data-plane";
} else if (clientTspExists && !mainTspExists) {
// Assume folders with no autorest setting, containing only "client.tsp" but no "main.tsp",
// are data-plane (e.g. HealthInsights.TrialMatcher)
requiredRuleset = "@azure-tools/typespec-azure-rulesets/data-plane";
} else {
// Cannot determine if spec is data-plane or resource-manager, so cannot know
// which linter ruleset is required.
success = false;
errorOutput +=
"tspconfig.yaml must define the following property:\n" +
"\n" +
"options:\n" +
' "@azure-tools/typespec-autorest":\n' +
' azure-resource-provider-folder: "data-plane" | "resource-manager"\n';
}

@raych1
Copy link
Contributor Author

raych1 commented Jul 2, 2024

When the rpFolder ends with resource-manager, the corresponding typespec folder should have a suffix of 'Management'.

@mikeharder
Copy link
Member

mikeharder commented Jul 2, 2024

Proposed fix here: #29663

However, we won't be able to merge this, until we fix or suppress any existing violations (like oracle). Check "TypeSpecValidation-All" will let us know how many existing specs in main are failing.

@mikeharder
Copy link
Member

6 specs are failing: https://dev.azure.com/azure-sdk/public/_build/results?buildId=3926861&view=results

@raych1, @weshaggard, @konrad-jamrozik: Do you think we should rename all these spec folders to end in .Management?

@konrad-jamrozik
Copy link

konrad-jamrozik commented Jul 2, 2024

@mikeharder how about this:

  1. add suppression file(s) for these 6 specs (I think we do support this already, yes?)
  2. submit a PR to rename these dirs
  3. get approval from the owners of the renamed specs

@konrad-jamrozik konrad-jamrozik added Spec PR Tools Tooling that runs in azure-rest-api-specs repo. Central-EngSys This issue is owned by the Engineering System team. and removed needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Jul 2, 2024
@raych1
Copy link
Contributor Author

raych1 commented Jul 3, 2024

@mikeharder ,
I suggest renaming all the six services identified with incorrect suffix. This renaming will not need config change or impact SDK generation. //CC: @weidongxu-microsoft

In addition, for the RPaaS service RPs, it depends on the folder path to fetch the spec to do the API call live validation. Therefore, the renaming will require the RP registration update in RPaaS metaRP side. We might need individual PRs for the RpaaS service RP so that service team can determine the proper merge time.

@mikeharder
Copy link
Member

mikeharder commented Jul 3, 2024

@mikeharder how about this:

  1. add suppression file(s) for these 6 specs (I think we do support this already, yes?)
  2. submit a PR to rename these dirs
  3. get approval from the owners of the renamed specs

I generally agree, however:

  1. TSV currently only supports supressing all of TSV. You can't suppress individual rules (or in this case, part of a rule). So [TypeSpecValidation] Enforce ".Management" suffix #29663 will be blocked by [TypeSpec Validation] Add per-rule suppression mechanism #24955, but I will prioritize both of these. This is a good forcing function.

  2. It sounds like we should use one PR per spec. Since this is a simple rename and only 6 specs, and it was our miss for not checking this earlier, I'm fine creating these PRs myself. I can actually create these PRs in parallel with updating TSV.

raych1 added a commit to test-repo-billy/azure-rest-api-specs that referenced this issue Jul 24, 2024
* fix spread for purview datamap and translation document (Azure#29707)

* update

* update

* update

* update translation

* update

* fix ai document translation

* fix wrong change and regen

* fix

* update swagger

* update

* format

* change to use @Body

* update

* format

---------

Co-authored-by: tadelesh <tadelesh.shi@live.cn>

* fix body spread breaking change (Azure#29723)

* fix face

* fix communication messages

* regen swagger

* fix casing

* rollback face

* fix face

* fix tsp

* add java

* fix easm

* [communication] Update examples to use string for retry-after (Azure#29739)

- Required by autorest schema for examples

* [DevOpsInfrastructure] Add ".Management" suffix to TypeSpec folder name (Azure#29737)

* move directive to readme.md to avoid unnecessary breaking changes for… (Azure#29742)

* move directive to readme.md to avoid unnecessary breaking changes for all languages

* update suppressions

---------

Co-authored-by: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com>

* Update fields description (Azure#28483)

* Microsoft.Fabric - Fix Delete & Update Status Codes.  (Azure#29721)

* fix status codes and corresponding examples

* fix update exmaple

* Update mfe.json to fix out of order gen issue (Azure#29634)

* [ServiceBus]: Api version 2023-01-01-preview to support data disaster recovery  (Azure#29315)

* Base commit

* New Api Version 2023/01/01/preview

* Readme Updated with new version

* Failover API with Example

* Minor folder correction

* Updates

* Updates'

* Add new API version (2024-06-01), and nxdomainRedirect property to VirtualNetworkLink resource (Azure#29470)

* Add nxdomainRedirect property to VirtualNetworkLink resource
* Updated readme files and fixed various warnings/errors

* Review request for Microsoft.ContainerService/aks to add version stable/2024-05-01 (Azure#29535)

* Adds base for updating Microsoft.ContainerService/aks from version stable/2024-02-01 to version 2024-05-01

* Updates readme

* Updates API version in new specs and examples

* remove osOptions from AKS 2024-05-01 API (Azure#29422)

Co-authored-by: Charlie Li <charlili@microsoft.com>

* add SecurityPatch to NodeOsUpgradeChannel (Azure#29468)

* Adding Daemonset related flags to May 2024 GA (Azure#29579)

* update sdk-suppressions.yaml

* Update sdk-suppressions.yaml

* Update sdk-suppressions.yaml

* add value 'none' for networkPolicy field (Azure#29653)

---------

Co-authored-by: Charlie Li <39974812+chengliangli0918@users.noreply.github.com>
Co-authored-by: Charlie Li <charlili@microsoft.com>
Co-authored-by: Ye Wang [msft] <36743427+yewmsft@users.noreply.github.com>
Co-authored-by: Youn Jae Kim <younjaekim@microsoft.com>
Co-authored-by: Alancere <804873052@qq.com>
Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
Co-authored-by: kazrael2119 <98569699+kazrael2119@users.noreply.github.com>
Co-authored-by: robogatikov <132703210+robogatikov@users.noreply.github.com>

* Change default deployment for Msteam channel to CommercialDeployment (Azure#28741)

* [Monitor] Add .Management suffix to TypeSpec folder name (Azure#29740)

* [VerifiedId] Add ".Management" suffix to TypeSpec folder name (Azure#29747)

* disable flatten for informatica  (Azure#29755)

* Update readme.md

* Update readme.python.md

* Update tspconfig.yaml

* Update readme.python.md (Azure#29769)

* tsp, BodyParameter, fix a few missing op (Azure#29770)

* tsp, loadtesting, remove empty visibility from FileInfo.fileName (Azure#29521)

* Enable stream-style-serialization (Azure#29768)

* [OpenAI-Assistants] Fixing examples and avocado related CI issues (Azure#29499)

* cleaned up config file

* reverted name

* Restored names and verified example adding behaviour for openapi2 emitter

* Added example JSON files and the readme file

* Added examples for past releases

* Added more documentation to the script

* Readme corrections

* More readme corrections

* Renamed retrieveAssistants examples to getAssistants to match TSP definition

* Removed some swagger files

* create_assistants json corrections

* wip

* Get Assistants

* WIP

* File operations

* Files JSON examples

* wip

* wip

* More various fixes

* wip

* wip

* wip

* removing bodyRoot decorator

* Checking if things are actually fixed

* Made expandable nullable enum into 'null' instead of null

* Revert "Made expandable nullable enum into 'null' instead of null"

This reverts commit 03d2bf5.

* WIP

* wip

* Possible solution to bad @Body usage

* Found better solution for version added mismatch createMessage

* wip

* WIP

* Started with vector store stuff

* More fixes for vector store stuff

* More fixes

* Last fixes for vector store batch files

* Using string 'null' instread of JSON null

* Revert "Using string 'null' instread of JSON null"

This reverts commit 39fdbc6.

* Corrected operationId

* trying out null as a string

* Revert "trying out null as a string"

This reverts commit ab876a1.

* Stringified nulls to make CI happy

* Changed the value of instructions for ThreadRun examples. Field not nullable nor optional

* Addressing metadata issue

* Revert "Stringified nulls to make CI happy"

This reverts commit 3dbb723.

* Reverting left over stuff

* TSP formatter

* Prettified JSON

* Added suppresion to work around bug

* Removed unnecessary example files

* Removed convenience scripts

* Using bodyRoot again

* Revert "Using bodyRoot again"

This reverts commit a31f2a0.

* Using BodyParameter in createMessage op

* The CI seems stuck

* [TypeSpec] Upgrade typespec-apiview to 0.4.9 (Azure#29783)

* Fix casing of timestamp properties (Azure#29675)

* Fix casing of timestamp properties

* Fix examples

* more examples

* property overrides

* regen swagger

* adding MessageAnalysisCompletedEvent to EG SDk (Azure#28912)

* adding MessageAnalysisCompletedEvent to EG SDk

* adding event to communication tps

* generating spec

* generating spec

* removing sentiment

* removing sentiment

* removing sentiment

* more changes

* addressing comments

* updating the analysis events

* updating the analysis events

* updating the analysis events

* Update specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json

* tsp format

---------

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
Co-authored-by: l0lawrence <llawrence@microsoft.com>

* Revert "adding MessageAnalysisCompletedEvent to EG SDk (Azure#28912)" (Azure#29789)

This reverts commit 0117e47.

* Added examples for new api version - 2024-04-05 in GuestConfigurationRP (Azure#29166)

* Copy files from stable/2022-01-25

Copied the files in a separate commit.
This allows reviewers to easily diff subsequent changes against the previous spec.

* Update version to stable/2024-04-05

Updated the API version from stable/2022-01-25 to stable/2024-04-05.

* Added tag for 2024-04-05 in readme file

* Fixing swagger PrettierCheck

* Prettier changes

* Add changes for Api

* Prettier scan fix

* Fixing failing net sdk

* Revert of previous change.

* java update automation config (Azure#29777)

* java update automation config

* format

* rename property name for python sdk (Azure#29793)

* [Oracle Database@Azure] Add new preview and stable API versions for 2024-06-01 (Azure#29585)

* add new preview and stable API versions

* remove unnecessary add decorator

* re-compile after merging with main

---------

Co-authored-by: zhuoyun wang <zhuoyunw@zhuoyuns-Virtual-Machine.local>

* [vmware] Add ".Management" suffix to TypeSpec folder name (Azure#29748)

* [Informatica.DataManagement] Add .Management suffix to TypeSpec folder name (Azure#29738)

* Fix acronym casing (Azure#29797)

* Fix acronym casing

* tsp format

* Add Typespec conversion option to intake template (Azure#29616)

* Add Typespec converstion option to intake template

Intake form needs an option to indicate the author is converting swagger to Typespec. This change adds a checkbox for that option and indicates it should not be combined with adding a new API version.

* Update control_plane_template.md

Update text and add link to TypeSpec conversion docs per feedback.

* Update control_plane_template.md

* Update control_plane_template.md

Update help link for TypeSpec conversion

---------

Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>

* Update powerbidedicated.json (Azure#29322)

Updated based on this doc bug:
https://dev.azure.com/msft-skilling/Content/_workitems/edit/154565

* Add tsp-client to root package.json (Azure#29803)

- Allows devs to run `npx tsp-client` after `npm ci`, with no additional installs
- Pins versions of `tsp-client` and its deps in the root package-lock.json
- Fixes Azure#29686

* Add 2024-05-15-preview of SpeechToText API (CognitiveServices) (Azure#29804)

* Add preview GA as base

* Updates for new preview version

* Update readme.md

* Added required ttl to examples

* Add description

* Add missing example

* Keep latest GA latest

* [tsp-client] Add acceptance tests (Azure#29811)

* Make union types required in 2024 service version (Azure#29832)

* Make union types required in 2024 service version

* pass api version

* Fixes

* Add examples directory

* Update readme to point to new swagger

* Add Generated tag

* Exclude whatsapp

* [tsp-client] Upgrade to 0.9.3 (Azure#29837)

- Adds autorest and plugins as dependencies
- Runs the packages from their install folders, to guarantee the versions don't change after install

* remove-track2-for-python (Azure#29814)

* java mgmt, dataprotection, hide auth headers (Azure#29838)

java mgmt, dataprotection, hide auth headers

* update compute typescript.md (Azure#24529)

* update compute typescript.md

* Update sdk-suppressions.yaml

---------

Co-authored-by: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com>

* easm, java sdk, tspconfig api-version=2023-03-01-preview, fix 1 BodyParameter (Azure#29839)

* easm, java sdk, tspconfig api-version 2023-03-01-preview

* BodyParameter

* [Oracle.Database] Add .Management suffix to TypeSpec folder name (Azure#29746)

* Add stub `specs-model` tool (Azure#29820)

* (squashed) Add stub specs-model tool

Co-authored-by: Mike Harder <mharder@microsoft.com>

* Fix operation id (Azure#29840)

* [TypeSpecValidation] Enforce ".Management" suffix (Azure#29663)

- Fixes Azure#29654

* [tsp-client] Only run test action for PRs targeting main (Azure#29843)

- Only branch guaranteed to have specs used for testing

* Compute: DiskRP 2024-03-02 version  (Azure#29399)

* Create new version folder by copying last version

* update version references

* update readme.md

* Consolidated DiskRP swagger changes for api version 2024-03-02 (Azure#29602)

* Update diskRestorePoint.json with logicalSectorSize property under "DiskRestorePointProperties"

* Update DiskRestorePoint_Get.json with logicalSectorSize property

* Update DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json with logicalSectorSize property

* Update DiskRestorePoint_ListByVmRestorePoint.json with logicalSectorSize property

* Updated diskRestorePoint.json to add format.

* update default readme tag

* update version references in examples

---------

Co-authored-by: Theodore Chang <theodore.l.chang@gmail.com>
Co-authored-by: kbaibhavgithub <145315404+kbaibhavgithub@users.noreply.github.com>

* fix example api version (Azure#29525)

Co-authored-by: Alon Pelled <alpelled@microsoft.com>

* [NetAppFiles] Release netapp microsoft.net app 2024 03 01 preview (Azure#29682)

* Copy files from preview/2023-11-01-preview

Copied the files in a separate commit.
This allows reviewers to easily diff subsequent changes against the previous spec.

* Update version to preview/2024-03-01-preview

Updated the API version from preview/2023-11-01-preview to preview/2024-03-01-preview.

* Added tag for 2024-03-01-preview in readme file

* update api-version 2023-03-01-preview

* Spelling and location header

* Spelling

* arm-id missing

* arm-id missing

* multiple in description

* api-version in example

* api-version in example

* external replication descriptions

* Remove Get GlobalCommunicationsSite API from Orbital AODG APIs (Azure#29716)

* Remove Get GlobalCommunicationsSite API from Orbital AODG Apis since it utilized unsupported ARM function resulting in an error

* remove examples for apis

* [EG] update utc datetime to optional (Azure#29762)

* update utc datetime to optional

* missed one

* use madeRequired

* add examples

* update

* remove

* rebase

* [suppressions] Add end-to-end tests (Azure#29858)

* Refactor Batch TypeSpec to be standardized (Azure#29252)

* Refactor client and routes tsp to be standardized

* Fixed refactoring

* Renamed example files for clarity and consistency

* Update operationsIds in all examples to be correct

* Fixed interface name

* Regenerate swagger and examples

* Fix spelling error in client

* Format client tsp file

* Add BatchNodeReimageContent model back

* Pluralize interface names and tags

* Fix pluralization mistakes

* Group overrides by language

* Refactor Java client name overrides

* Correctly format TypeSpec

* Rename client interface from Batch to BatchClient

* Add OperationIdNounVerb suppression

* Fix minor spelling error

* tsp, openai-assistants, refactor BodyParameter (Azure#29749)

* tsp, openai, refactor BodyParameter (Azure#29743)

* Initial Creation of Azure.Health.Deidentification Dataplane API Typespec (Azure#29745)

* Updates HealthDataAiService.Deid with feedback from SDK Review Team (Azure#29036)

* Generate new Service for deidentification

* [data-plane] Initial Creation of HealthDataAiServices.Deid 2 (Azure#27563)

Initial Creation of HealthDataAIServices Deid Service Spec.

---------

Co-authored-by: Graham Thomas <gthomas@microsoft.com>

* Adds errorCode and explanation; Replaces pagination with continuationToken (Azure#28061)

* Adds errorCode and explanation; Replaces pagination with continuationToken

* Updates to use standard Azure Foundation Error

---------

Co-authored-by: Graham Thomas <gthomas@microsoft.com>

* Updated CompletedAt to LastUpdatedAt for all terminal states (Azure#28349)

* Updated CompletedAt to LastUpdatedAt for all terminal states

* Updates examples; Moves error order

* Set examples to more realistic value

* Updates File model for future expansion

* Adds Input FileLocation

---------

Co-authored-by: Graham Thomas <gthomas@microsoft.com>

* Updates parameter validators/defaults/nullability; Replaces checksum with etag (Azure#28528)

* Updates minor tweaks

* Updates examples

---------

Co-authored-by: Graham Thomas <gthomas@microsoft.com>

* Updates HealthDataAiService.Deid with feedback from SDK Review Team

* Updates TSPconfig for c#

* Adds CSharp special

* Updates version to match live version

* Updates java package name

* Fix java namespace name

* Updates python package name

* Updates to match version service is currently using

* Updates package names

* Removes update in cspell

* Updates java namespace

* Fixes cspell.json

* Test1

* Convert to diff long running operation

* Adds client config

* Attempt base LRO

* Updated naming and LRO config

* Stash merge

* Linter fixes; SDK related Updates

* SDK Related Updates

* Changes ordering of parameters; Fixes StringIndexType enum values

* Removes script update

* Updates examples

* Don't update vscode settings

* Updates examples

* Fixes linter issues

* Fixes documentDataType enum value to match casing within service

* fix documentDataType enum value

* change name of js package

* changing property continuationToken because of a conflict in java

* revert changes for continuationToken

* Adding post processing for java

---------

Co-authored-by: Graham Thomas <gthomas@microsoft.com>
Co-authored-by: Daniel Szaniszlo <daszanis@microsoft.com>

* Updates linter extends value

* Updates typespec with new validations for 0.57

* Fixing namespace suppression

* Fixing namespace suppression 2

* Fixing namespace suppression 3

* Fixing namespace suppression 4

* Fixes formatting

* Updates how StringIndices are handled

* Update docstring to contain languages

* Makes etag optional for PhiTaggerResult on realtime requests

* Removes redundant read decorator on etag

* Regenerates with new docs

* Fixes formatting

* Removes @secret on location

* Team review updates

* Renames folder to match namespace change

* Updates client name after namespace change

* Makes fields with defaults optional

---------

Co-authored-by: Graham Thomas <gthomas@microsoft.com>
Co-authored-by: Daniel Szaniszlo <daszanis@microsoft.com>

* Review request for Microsoft.ContainerService/aks to add version preview/2024-05-02-preview (Azure#29774)

* Adds base for updating Microsoft.ContainerService/aks from version preview/2024-04-02-preview to version 2024-05-02-preview

* Updates readme

* Updates API version in new specs and examples

* remove osOptions from AKS 2024-05-02-preview API (Azure#29421)

Co-authored-by: Charlie Li <charlili@microsoft.com>

* fix ComponentsByRelease (Azure#29426)

* fix definition of ComponentsByRelease

* add x-ms-identifiers

* update securityPatch description (Azure#29530)

---------

Co-authored-by: Charlie Li <39974812+chengliangli0918@users.noreply.github.com>
Co-authored-by: Charlie Li <charlili@microsoft.com>
Co-authored-by: Shaoru Hu <49520642+HuShaoRu@users.noreply.github.com>
Co-authored-by: Ye Wang [msft] <36743427+yewmsft@users.noreply.github.com>

* [OpenAI] Added missing GA service versions, 2024-02-01 and 2024-06-01 (Azure#29424)

* added a missing GA service version

* add the generated.json 2024-02-01 but looks different to inference.json

* add the 2024-06-01 service API version

* remove self introudced new generated.json from 2024-02-01

* added operation id

* Update specification/ai/Face/tspconfig.yaml

* Ran npx tsv command

* copied from previous examples

* added generated swagger version into readme

* fixed "Missing required property: deployment-id"

* run tsp compile

* generated.json with generated_ prefix json file.

* revert the data-plane changes for inference.json

* add generated.json updates

* suppress spellcheck failures

---------

Co-authored-by: Jose Alvarez <jp.alvarezl@gmail.com>

* [Batch] Switch contentLength from int64 to string (Azure#29656)

This is a breaking change, but accurately reflects what the Batch
service has always returned for this property.

* rerun npx tsv specification/cognitiveservices/OpenAI.Inference (Azure#29872)

* Upgrade to TypeSpec 0.58 (Azure#29863)

* Update PR templates: fix typo in hyperlink (Azure#29876)

* Update data_plane_template.md: fix typo in hyperlink

* Update control_plane_template.md

* Remove unused customization-class from tspconfig (Azure#29873)

* Update readme.python.md (Azure#29881)

* Update readme.python.md

* Update readme.python.md

* update

---------

Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>

* Update readme.python.md (Azure#29886)

* Remove unsupported If-Match header value for Blob Immutability Policy operations (Azure#29632)

* Remove references to unsupported If-Match header value

* Update description

* Update etag description

* Update description with double quotes

* Microsoft.HealthDataAIServices: New API version 2024-02-28-preview (Azure#29659)

* adding spec

* update tsp

* update

* fix

* validation

* fix structure

* fix readme swagger path

* fix lintdiff error

* fix provisioningState readonly

* fix example

* add java readme

* Update tspconfig.yaml

* add emitters

* add azure-sdk-for-net-track2

* remove .net from tspconfig

* Update specification/healthdataaiservices/resource-manager/Microsoft.HealthDataAIServices/readme.md

* move readmes

* fix swagger path

* add .net to tspconfig

* update readme

* fix

* remove net track 1

* update python config

---------

Co-authored-by: Weidong Xu <weidxu@microsoft.com>
Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>

* Add listRegistrationToken endpoint to latest stable and preview versions (Azure#29676)

* add listRegistrationToken endpoint to latest stable and preview versions

* typo

* update example to have correct resourceId format

* resolve comments

* use x-ms-secret

* rename registrationInfoList

* rename registrationInfoMinimalg

* [DataFactory]Support ‘domain’ Property In Dynamics Family (Azure#29709)

* Support ‘domain’ Property In Dynamics Family

* add

* Tag Updated (Azure#29775)

* Fix HealthDataAiService (Azure#29909)

* Update readme.python.md (Azure#29888)

* Remove VM image that no longer functions (Azure#29870)

* Remove useref and Fleet update changes (Azure#29493)

* Remove useref and Fleet update changes

* Remove useref

* fix spell check

* Fix validation errors

* suppress casing errors

* Fix formatting

* Refactor

* Remove Fleet Forbidden values

* Add additional property suppression.

* edit suppressions

* Add Suppression for camel casing

* Make confidential fields to have create and update visibility only.

* update docs

* remove format decorator and use url type

* Address comments

* revert settings change as it is visible.

* Address comments

* configReference is visible in response.

* Add arm-id format to resource ids

* Address comments

* update provisioningState in examples

* update examples

* Update location in examples

* Update example

* Update security posture reference to the latest compute api version.

* Fix merge conflicts

* Update and add more examples

---------

Co-authored-by: Sahil Arora <arorasahil@microsoft.com>
Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>

* Support MI Auth for Azure Table (Azure#29702)

* support mi auth for azure table connector

* add synapse changes

* update sdk-suppressions.yaml

---------

Co-authored-by: Alancere <804873052@qq.com>

* Update specificationRepositoryConfiguration.json (Azure#29926)

There is no need to keep `-track2` since all the Python SDK is already track2 SDK now.

* Update GenerateOutputSchema.json (Azure#29865)

* Update GenerateOutputSchema.json

Sync the schema with the latest code.

* Cognitive Services 2024-06-01-preview (Azure#29228)

* Copy files from preview/2024-04-01-preview

Copied the files in a separate commit.
This allows reviewers to easily diff subsequent changes against the previous spec.

* Update version to preview/2024-06-01-preview

Updated the API version from preview/2024-04-01-preview to preview/2024-06-01-preview.

* Added tag for 2024-06-01-preview in readme file

* RAI API changes

* fix check errors

* fix old versions RAI content filters

* Revert "fix old versions RAI content filters"

This reverts commit 9d3087f.

* Add "description"

* Add CalculateModelCapacity API

* fix Swagger LintDiff

* fix

* reverted changes of old API version

* address comments

* fix lint error

* Updated ModelCapacityCalculatorWorkload

* Address comments

* fix Mode Validation

* fix linter

* address comments

* fix swagger lint errors

* Adding SCVMM API Version 2024-06-01 (Azure#29568)

* Base commit. Adding copy of the existing api version

* Updating readme.md

* Updating main.tsp and models.tsp

* Updating scvmm.json

* Updating examples for api version 2024-06-01

* Resolving Comments.

Adding privatelinkscoperesourceid in get and list and update osprofilepropeties in virtualmachine instance get and list.

* Making productKey a secret.

* addding missing examples (Azure#29753)

* tspconfig, java, eventgrid, exclude preview from ServiceVersion (Azure#29928)

* exclude preview in eventgrid

* remove namer

* Review request for Microsoft.DocumentDB to modify description of burst capacity feature (Azure#29892)

* modified description of burst capacity feature

* added keyvaultkeyuri to cSpell

---------

Co-authored-by: Venu Sivanadham <56538710+venu-sivanadham@users.noreply.github.com>

* Swagger changes to support Vertica V2 in ADF (Azure#29652)

* support Vertica V2 in ADF

* Update LinkedService.json in synapse

* updating password

* Update LinkedService.json

* Update LinkedService.json

* Update LinkedService.json

* Update LinkedService.json

* Update LinkedService.json

* Update LinkedService.json

* Update LinkedService.json

* Update LinkedService.json

* Support MI Auth for Azure File (Azure#29779)

Co-authored-by: Shenwang Zeng <shenwangzeng@microsoft.com>
Co-authored-by: Razvan Badea <156206747+razvanbadea-msft@users.noreply.github.com>

* Move Computeschedule from private to public preview (Azure#29660)

* initial commit to clone computeschedule to public repo

* changes to fix merge requirement errors

* change to address spellcheck

* added rpaas to the readme file to meet the RP quality checklist for rpaas RPs

* made changes to address comments

* address validation failure

* changes to address validation of armid errors

* made changes to address guid validation errors

* removed older versions

* added more example files to match private preview

* trigger re-run of checks

---------

Co-authored-by: Razvan Badea <156206747+razvanbadea-msft@users.noreply.github.com>

* fix fleet pageable operation (Azure#29939)

* [NetApp] Release netapp microsoft.net app 2024 03 01 (Azure#29725)

* Copy files from stable/2023-11-01

Copied the files in a separate commit.
This allows reviewers to easily diff subsequent changes against the previous spec.

* Update version to stable/2024-03-01

Updated the API version from stable/2023-11-01 to stable/2024-03-01.

* Added tag for 2024-03-01 in readme file

* update specs

* arm-id missing

* api-version in example, desciption update

* merge fix

* usageThreshold min in patch to match put

* update readme

* swagger lintdiff

* swagger lintdiff

* update readme

---------

Co-authored-by: Dapeng Zhang <dapzhang@microsoft.com>
Co-authored-by: tadelesh <tadelesh.shi@live.cn>
Co-authored-by: Nate Kimball <97469387+natekimball-msft@users.noreply.github.com>
Co-authored-by: Mike Harder <mharder@microsoft.com>
Co-authored-by: ZiWei Chen <98569699+kazrael2119@users.noreply.github.com>
Co-authored-by: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com>
Co-authored-by: Pamela Fox <pamela.fox@gmail.com>
Co-authored-by: Badea Marjieh <127952241+badeamarjieh@users.noreply.github.com>
Co-authored-by: ragovada <142325886+ragovada@users.noreply.github.com>
Co-authored-by: schaudhari6254888 <111409694+schaudhari6254888@users.noreply.github.com>
Co-authored-by: Pranav Nair <pranavpradeepnair@gmail.com>
Co-authored-by: FumingZhang <81607949+FumingZhang@users.noreply.github.com>
Co-authored-by: Charlie Li <39974812+chengliangli0918@users.noreply.github.com>
Co-authored-by: Charlie Li <charlili@microsoft.com>
Co-authored-by: Ye Wang [msft] <36743427+yewmsft@users.noreply.github.com>
Co-authored-by: Youn Jae Kim <younjaekim@microsoft.com>
Co-authored-by: Alancere <804873052@qq.com>
Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
Co-authored-by: robogatikov <132703210+robogatikov@users.noreply.github.com>
Co-authored-by: Kunal K Singh <103039164+kunsinghms@users.noreply.github.com>
Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com>
Co-authored-by: Weidong Xu <weidxu@microsoft.com>
Co-authored-by: Shawn Fang <45607042+mssfang@users.noreply.github.com>
Co-authored-by: Jose Alvarez <jpalvarezl@users.noreply.github.com>
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
Co-authored-by: Osahumen Uyi Aghasomwan <65305780+osaghaso@users.noreply.github.com>
Co-authored-by: l0lawrence <llawrence@microsoft.com>
Co-authored-by: ameyaiam3 <141965277+ameyaiam3@users.noreply.github.com>
Co-authored-by: Xiaofei Cao <92354331+XiaofeiCao@users.noreply.github.com>
Co-authored-by: zhuoyunwang <148281879+zhuoyunwang@users.noreply.github.com>
Co-authored-by: zhuoyun wang <zhuoyunw@zhuoyuns-Virtual-Machine.local>
Co-authored-by: Chris Stackhouse <cstack@microsoft.com>
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
Co-authored-by: Kesem Sharabi <54834915+KesemSharabi@users.noreply.github.com>
Co-authored-by: Ralf Beckers <bexxx@users.noreply.github.com>
Co-authored-by: Hong Li(MSFT) <74638143+v-hongli1@users.noreply.github.com>
Co-authored-by: Theodore Chang <thchan@microsoft.com>
Co-authored-by: Theodore Chang <theodore.l.chang@gmail.com>
Co-authored-by: kbaibhavgithub <145315404+kbaibhavgithub@users.noreply.github.com>
Co-authored-by: alonzop <alonzop@users.noreply.github.com>
Co-authored-by: Alon Pelled <alpelled@microsoft.com>
Co-authored-by: Auðunn <audunn@netapp.com>
Co-authored-by: Nathan M Kennedy <31480019+nathank527@users.noreply.github.com>
Co-authored-by: Sanjana Kapur <sanjanakapur@microsoft.com>
Co-authored-by: Graham Thomas <grahamthethomas@gmail.com>
Co-authored-by: Graham Thomas <gthomas@microsoft.com>
Co-authored-by: Daniel Szaniszlo <daszanis@microsoft.com>
Co-authored-by: Shaoru Hu <49520642+HuShaoRu@users.noreply.github.com>
Co-authored-by: Jose Alvarez <jp.alvarezl@gmail.com>
Co-authored-by: David Watrous <509299+dpwatrous@users.noreply.github.com>
Co-authored-by: Timothee Guerin <timothee.guerin@outlook.com>
Co-authored-by: danielszaniszlo <136015136+danielszaniszlo@users.noreply.github.com>
Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
Co-authored-by: Abhishek Krishna <AbhishekKrishna123@users.noreply.github.com>
Co-authored-by: asmahmoo <74271888+asmahmoo@users.noreply.github.com>
Co-authored-by: ryanosh <89867477+ryanosh@users.noreply.github.com>
Co-authored-by: Jingshu918 <138486531+Jingshu918@users.noreply.github.com>
Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com>
Co-authored-by: Adam Sandor <adsandor@microsoft.com>
Co-authored-by: Sahil Arora <sahila@usc.edu>
Co-authored-by: Sahil Arora <arorasahil@microsoft.com>
Co-authored-by: Yao Kou <yaokou@microsoft.com>
Co-authored-by: tianxinliu <121260442+tianxin-ms@users.noreply.github.com>
Co-authored-by: Kartik Verma <146417388+kartikverma020@users.noreply.github.com>
Co-authored-by: kanil4664 <103174100+kanil4664@users.noreply.github.com>
Co-authored-by: Richa Sharma <richasharma@microsoft.com>
Co-authored-by: Venu Sivanadham <56538710+venu-sivanadham@users.noreply.github.com>
Co-authored-by: ms-kanikagupta <166607519+kanikagupta11@users.noreply.github.com>
Co-authored-by: 触动心灵 <43742844+Geek12580@users.noreply.github.com>
Co-authored-by: Shenwang Zeng <shenwangzeng@microsoft.com>
Co-authored-by: Razvan Badea <156206747+razvanbadea-msft@users.noreply.github.com>
Co-authored-by: Nneka Okeke <149507727+NneOkeke@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Central-EngSys This issue is owned by the Engineering System team. Spec PR Tools Tooling that runs in azure-rest-api-specs repo.
Projects
Archived in project
Status: 🎊 Closed
Development

Successfully merging a pull request may close this issue.

4 participants