Skip to content

[AutoPR sdk-resourcemanager/cognitiveservices/armcognitiveservices]-generated-from-SDK Generation - Go-7067709 - #28010

Open
azure-sdk-automation[bot] wants to merge 3 commits into
mainfrom
sdkauto/sdk-resourcemanager-cognitiveservices/armcognitiveservices-7065616
Open

azure-sdk-automation[bot] wants to merge 3 commits into
mainfrom
sdkauto/sdk-resourcemanager-cognitiveservices/armcognitiveservices-7065616

Conversation

@azure-sdk-automation

@azure-sdk-automation azure-sdk-automation Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

SDK Generation Details

Note

This pull request was generated automatically.

Detail Value
TypeSpec source specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/CognitiveServices/tspconfig.yaml at aafe6b0
API versions 2026-11-01 (Namespace: Microsoft.CognitiveServices)
Pipeline run SDK Generation #7067709
Release plan Release plan #37743
Submitted by fmabrouk@microsoft.com

Important

Complete the SDK release prerequisites before release.

Copilot AI balanced review requested due to automatic review settings November 11, 2026 18:54
@azure-sdk-automation azure-sdk-automation Bot added the auto-release When merged to main, release pipelines for this PR's changed packages trigger automatically. label Nov 11, 2026
@github-actions github-actions Bot added the Mgmt This issue is related to a management-plane library. label Nov 11, 2026
@azure-pipelines

Copy link
Copy Markdown
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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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 file
  • sdk/resourcemanager/cognitiveservices/armcognitiveservices/accountcapabilityhosts_client_example_test.go: Generated file
  • sdk/resourcemanager/cognitiveservices/armcognitiveservices/accountconnections_client.go: Generated file
  • sdk/resourcemanager/cognitiveservices/armcognitiveservices/accountconnections_client_example_test.go: Generated file
  • sdk/resourcemanager/cognitiveservices/armcognitiveservices/accounts_client.go: Generated file
  • sdk/resourcemanager/cognitiveservices/armcognitiveservices/accounts_client_example_test.go: Generated file
  • sdk/resourcemanager/cognitiveservices/armcognitiveservices/agentapplications_client.go: Generated file
  • sdk/resourcemanager/cognitiveservices/armcognitiveservices/agentapplications_client_example_test.go: Generated file
  • sdk/resourcemanager/cognitiveservices/armcognitiveservices/agentdeployments_client.go: Generated file
  • sdk/resourcemanager/cognitiveservices/armcognitiveservices/agentdeployments_client_example_test.go: Generated file
  • sdk/resourcemanager/cognitiveservices/armcognitiveservices/client_factory.go: Generated file
  • sdk/resourcemanager/cognitiveservices/armcognitiveservices/commitmentplans_client.go: Generated file
  • sdk/resourcemanager/cognitiveservices/armcognitiveservices/commitmentplans_client_example_test.go: Generated file
  • sdk/resourcemanager/cognitiveservices/armcognitiveservices/commitmenttiers_client.go: Generated file
  • sdk/resourcemanager/cognitiveservices/armcognitiveservices/commitmenttiers_client_example_test.go: Generated file
  • sdk/resourcemanager/cognitiveservices/armcognitiveservices/constants.go: Generated file
  • sdk/resourcemanager/cognitiveservices/armcognitiveservices/defenderforaisettings_client.go: Generated file
  • sdk/resourcemanager/cognitiveservices/armcognitiveservices/defenderforaisettings_client_example_test.go: Generated file
  • sdk/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

@github-actions

Copy link
Copy Markdown

Breaking-Change Review

Module: sdk/resourcemanager/cognitiveservices/armcognitiveservices (4.0.0)

All 21 breaking changes listed under ### Breaking Changes in the 4.0.0 CHANGELOG entry exactly match entries in the module's breaking-changes list, so all are Approved. The functions listed are the AccountConnectionsClient/ProjectConnectionsClient Create/Update and RaiBlocklistItemsClient.BatchDelete signature changes. The rest are the removed structs and fields.

All breaking changes are approved in sdk-suppressions.yaml.

Next Steps to Merge

Only failed checks and required actions are listed below.

  • ❌ go - pullrequest (Build Analyze): failed. ADO logs

    • Fix: Open the logs to see which sub-check failed (format, changelog, lint, go mod tidy, etc.). Try gofmt -s -l . and go mod tidy in sdk/resourcemanager/cognitiveservices/armcognitiveservices, then fix whatever the log reports.
  • ❌ go - pullrequest (Build Build/Test on ubuntu_go_1273): failed. ADO logs

  • ❌ go - pullrequest (Build Build/Test on ubuntu_go_12610): failed. ADO logs

  • ❌ go - pullrequest (Build Build/Test on windows_go_1273): failed. ADO logs

  • ❌ go - pullrequest (Build Build/Test on windows_go_12610): failed. ADO logs

    • Fix for all four Build/Test jobs: Run go build ./... && go vet ./... && go test ./... in sdk/resourcemanager/cognitiveservices/armcognitiveservices. If the failure comes from the generated code, confirm the change is intended in the source spec at azure-rest-api-specs. If it is intended, report the issue with this PR link in the Azure SDK Language - Go Teams channel. If not, fix the spec and re-run SDK generation.

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 ci.yml is not newly added. The version is 4.0.0, so this is not a first on-board service. The PR has a single commit and is authored by the automation bot.

@azure-sdk-automation azure-sdk-automation Bot changed the title [AutoPR sdk-resourcemanager/cognitiveservices/armcognitiveservices]-generated-from-SDK Generation - Go-7065616 [AutoPR sdk-resourcemanager/cognitiveservices/armcognitiveservices]-generated-from-SDK Generation - Go-7067709 Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-release When merged to main, release pipelines for this PR's changed packages trigger automatically. Mgmt This issue is related to a management-plane library. mgmt-review-analyzed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants