Skip to content

Conversation

@jliusan
Copy link
Member

@jliusan jliusan commented Dec 22, 2025

generate base on branchtsp-convertion_resources-policy

Copilot AI review requested due to automatic review settings December 22, 2025 02:53
@github-actions github-actions bot added the Mgmt This issue is related to a management-plane library. label Dec 22, 2025
@github-actions
Copy link

API Change Check

APIView identified API level changes in this PR and created the following API reviews

sdk/resourcemanager/resources/armpolicy

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request migrates the sdk/resourcemanager/resources/armpolicy module from AutoRest to the Microsoft Go Code Generator, updating the API version from 2023-04-01 to 2025-03-01.

Key Changes:

  • Removes deprecated Variable and VariableValue clients (preview API features)
  • Adds new Tokens client for policy token acquisition
  • Updates all code generation comments and copyright headers
  • Restructures parameter definitions to use wrapper types with AdditionalProperties
  • Removes several response types for deleted clients

Reviewed changes

Copilot reviewed 42 out of 42 changed files in this pull request and generated no comments.

Show a summary per file
File Description
version.go New file defining module name and version (v1.0.0)
tokens_client.go New client for acquiring policy tokens at subscription and management group levels
tokens_client_example_test.go Examples for the new Tokens client operations
setdefinitions_client.go Updated with new code generator, API version 2025-03-01, improved documentation
setdefinitions_client_example_test.go Updated examples with new parameter structure using AdditionalProperties
setdefinitionversions_client.go Updated with new code generator and API version 2025-03-01
setdefinitionversions_client_example_test.go Updated examples with restructured parameter types
responses.go Removed response types for deleted Variable/VariableValue/DataPolicyManifest clients
variables_client.go Deleted - preview feature removed
variablevalues_client.go Deleted - preview feature removed
time_rfc3339.go Updated code generation comment
tsp-location.yaml New file specifying TypeSpec source location
testdata/_metadata.json New metadata file for API version 2025-03-01
fake/internal.go Updated code generation comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mgmt This issue is related to a management-plane library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants