Repository navigation
[AutoPR sdk-resourcemanager/cognitiveservices/armcognitiveservices]-generated-from-SDK Generation - Go-7067709 - #28010
Conversation
…rosoft.CognitiveServices/CognitiveServices/tspconfig.yaml', and CommitSHA: 'bb09e375334d3e064aa5bc06d83a0568ffca0b4c' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=7065616 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
|
Azure Pipelines: Successfully started running 1 pipeline(s). 6 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
There was a problem hiding this comment.
🟡 Changes recommended
The regenerated API removes CostControlsClient and CostControl, but both Cost Controls test files still reference them, preventing the module’s test package from compiling.
1 open issue
19 files not reviewed
sdk/resourcemanager/cognitiveservices/armcognitiveservices/accountcapabilityhosts_client.go: Generated filesdk/resourcemanager/cognitiveservices/armcognitiveservices/accountcapabilityhosts_client_example_test.go: Generated filesdk/resourcemanager/cognitiveservices/armcognitiveservices/accountconnections_client.go: Generated filesdk/resourcemanager/cognitiveservices/armcognitiveservices/accountconnections_client_example_test.go: Generated filesdk/resourcemanager/cognitiveservices/armcognitiveservices/accounts_client.go: Generated filesdk/resourcemanager/cognitiveservices/armcognitiveservices/accounts_client_example_test.go: Generated filesdk/resourcemanager/cognitiveservices/armcognitiveservices/agentapplications_client.go: Generated filesdk/resourcemanager/cognitiveservices/armcognitiveservices/agentapplications_client_example_test.go: Generated filesdk/resourcemanager/cognitiveservices/armcognitiveservices/agentdeployments_client.go: Generated filesdk/resourcemanager/cognitiveservices/armcognitiveservices/agentdeployments_client_example_test.go: Generated filesdk/resourcemanager/cognitiveservices/armcognitiveservices/client_factory.go: Generated filesdk/resourcemanager/cognitiveservices/armcognitiveservices/commitmentplans_client.go: Generated filesdk/resourcemanager/cognitiveservices/armcognitiveservices/commitmentplans_client_example_test.go: Generated filesdk/resourcemanager/cognitiveservices/armcognitiveservices/commitmenttiers_client.go: Generated filesdk/resourcemanager/cognitiveservices/armcognitiveservices/commitmenttiers_client_example_test.go: Generated filesdk/resourcemanager/cognitiveservices/armcognitiveservices/constants.go: Generated filesdk/resourcemanager/cognitiveservices/armcognitiveservices/defenderforaisettings_client.go: Generated filesdk/resourcemanager/cognitiveservices/armcognitiveservices/defenderforaisettings_client_example_test.go: Generated filesdk/resourcemanager/cognitiveservices/armcognitiveservices/deletedaccounts_client.go: Generated file
What changed in this PR
Regenerates the Cognitive Services management SDK for API version 2026-11-01 and advances the module from v4.0.0-beta.5 to v4.0.0, using the pinned TypeSpec source.
Changes:
- Updates client requests, generation metadata, and example-source comments to the stable API version.
- Removes preview-only APIs and associated responses, interfaces, examples, and fake-server support.
- Adds a location filter to managed compute capacity queries and their fake server.
All paths below are relative to sdk/resourcemanager/cognitiveservices/armcognitiveservices/.
| File | Description |
|---|---|
version.go |
Sets module version to v4.0.0. |
usages_client.go |
Uses the stable API version. |
usages_client_example_test.go |
Updates example-source comments. |
tsp-location.yaml |
Pins the new specification commit. |
testraiexternalsafetyprovider_client.go |
Uses the stable API version. |
testraiexternalsafetyprovider_client_example_test.go |
Updates the example-source comment. |
testdata/_metadata.json |
Records the stable API version. |
subscriptionraipolicy_client.go |
Uses the stable API version. |
subscriptionraipolicy_client_example_test.go |
Updates example-source comments. |
responses.go |
Removes preview-only responses and policy ETag headers. |
resourceskus_client.go |
Uses the stable API version. |
resourceskus_client_example_test.go |
Updates the example-source comment. |
raitopics_client.go |
Uses the stable API version. |
raitopics_client_example_test.go |
Updates example-source comments. |
raitoollabels_client.go |
Uses the stable API version. |
raitoollabels_client_example_test.go |
Updates example-source comments. |
rairegos_client_example_test.go |
Removes Rego resource examples. |
raipolicies_client.go |
Updates API version; removes conditional headers and ETag extraction. |
raiexternalsafetyproviders_client.go |
Uses the stable API version. |
raiexternalsafetyproviders_client_example_test.go |
Updates the example-source comment. |
raiexternalsafetyprovider_client.go |
Uses the stable API version. |
raiexternalsafetyprovider_client_example_test.go |
Updates example-source comments. |
raicontentfilters_client.go |
Uses the stable API version. |
raicontentfilters_client_example_test.go |
Updates example-source comments. |
raiblocklists_client.go |
Uses the stable API version. |
raiblocklists_client_example_test.go |
Updates example-source comments. |
raiblocklistitems_client.go |
Uses the stable API version. |
raiblocklistitems_client_example_test.go |
Updates example-source comments. |
raibindings_client_example_test.go |
Removes policy-binding examples. |
quotatiers_client.go |
Uses the stable API version. |
quotatiers_client_example_test.go |
Updates example-source comments. |
projects_client.go |
Uses the stable API version. |
projects_client_example_test.go |
Removes capability settings; updates source comments. |
projectconnections_client.go |
Uses the stable API version. |
projectconnections_client_example_test.go |
Updates example-source comments. |
projectcapabilityhosts_client.go |
Uses the stable API version. |
projectcapabilityhosts_client_example_test.go |
Updates example-source comments. |
privatelinkresources_client.go |
Uses the stable API version. |
privatelinkresources_client_example_test.go |
Updates the example-source comment. |
privateendpointconnections_client.go |
Uses the stable API version. |
privateendpointconnections_client_example_test.go |
Updates example-source comments. |
polymorphic_helpers.go |
Removes preview hosting and compute decoders. |
outboundrules_client.go |
Uses the stable API version. |
outboundrules_client_example_test.go |
Updates the example-source comment. |
outboundrule_client.go |
Uses the stable API version. |
outboundrule_client_example_test.go |
Updates example-source comments. |
operations_client.go |
Uses the stable API version. |
operations_client_example_test.go |
Updates the example-source comment. |
networksecurityperimeterconfigurations_client.go |
Uses the stable API version. |
networksecurityperimeterconfigurations_client_example_test.go |
Updates example-source comments. |
models_client.go |
Uses the stable API version. |
models_client_example_test.go |
Updates the example-source comment. |
modelcapacities_client.go |
Uses the stable API version. |
modelcapacities_client_example_test.go |
Updates example-source comments. |
management_client.go |
Uses the stable API version. |
management_client_example_test.go |
Updates example-source comments. |
managednetworksettings_client.go |
Uses the stable API version. |
managednetworksettings_client_example_test.go |
Updates example-source comments. |
managednetworkprovisions_client.go |
Uses the stable API version. |
managednetworkprovisions_client_example_test.go |
Updates the example-source comment. |
managedcomputeusagesoperationgroup_client.go |
Removes the preview compute-usage client. |
managedcomputeusagesoperationgroup_client_example_test.go |
Removes compute-usage examples. |
managedcomputecapacities_client.go |
Updates API version and adds the location filter. |
locationbasedmodelcapacities_client.go |
Uses the stable API version. |
locationbasedmodelcapacities_client_example_test.go |
Updates example-source comments. |
interfaces.go |
Removes preview hosting and compute interfaces. |
fake/server_factory.go |
Removes preview-only server registrations and dispatch. |
fake/raipolicies_server.go |
Removes conditional-header and ETag handling. |
fake/managedcomputeusagesoperationgroup_server.go |
Removes the compute-usage fake server. |
fake/managedcomputecapacities_server.go |
Passes the location filter to the fake handler. |
fake/internal.go |
Removes the header lookup helper. |
fake/computeoperations_server.go |
Removes the compute-operation fake server. |
fake/accounts_server.go |
Removes deployment-policy evaluation support. |
encryptionscopes_client.go |
Uses the stable API version. |
encryptionscopes_client_example_test.go |
Updates example-source comments. |
deployments_client.go |
Uses the stable API version. |
deployments_client_example_test.go |
Removes speculative-decoding fields; updates source comments. |
deletedaccounts_client.go |
Uses the stable API version. |
deletedaccounts_client_example_test.go |
Updates example-source comments. |
defenderforaisettings_client.go |
Uses the stable API version. |
defenderforaisettings_client_example_test.go |
Updates example-source comments. |
computeoperations_client.go |
Removes the preview compute-operation client. |
computeoperations_client_example_test.go |
Removes compute-operation examples. |
commitmenttiers_client.go |
Uses the stable API version. |
commitmenttiers_client_example_test.go |
Updates the example-source comment. |
commitmentplans_client.go |
Uses the stable API version. |
commitmentplans_client_example_test.go |
Updates example-source comments. |
client_factory.go |
Removes preview-only client factory methods. |
agentdeployments_client.go |
Uses the stable API version. |
agentdeployments_client_example_test.go |
Updates example-source comments. |
agentapplications_client.go |
Uses the stable API version. |
agentapplications_client_example_test.go |
Updates example-source comments. |
adapterdeployments_client_example_test.go |
Removes adapter-deployment examples. |
accounts_client.go |
Updates API version; removes deployment-policy evaluation. |
accountconnections_client.go |
Uses the stable API version. |
accountconnections_client_example_test.go |
Updates example-source comments. |
accountcapabilityhosts_client.go |
Uses the stable API version. |
accountcapabilityhosts_client_example_test.go |
Updates example-source comments. |
Review effort: Balanced
Breaking-Change ReviewModule: All 21 breaking changes listed under All breaking changes are approved in sdk-suppressions.yaml. Next Steps to MergeOnly failed checks and required actions are listed below.
Limitations: The changed-file list and commit list were hidden from this workflow by the integrity policy. I could not check for manual edits to generated files, and I did not confirm that |
…s/armcognitiveservices-7065616
…rosoft.CognitiveServices/CognitiveServices/tspconfig.yaml', and CommitSHA: 'aafe6b003c0861b45a9c26d6cdef7217daf072ea' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=7067709 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.

SDK Generation Details
Note
This pull request was generated automatically.
specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/CognitiveServices/tspconfig.yamlataafe6b02026-11-01(Namespace:Microsoft.CognitiveServices)fmabrouk@microsoft.comImportant
Complete the SDK release prerequisites before release.