Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 10, 2025

Plan: Add support for operationalinsights API version 2025-07-01

  • Update azure-rest-api-specs submodule to main branch (includes 2025-07-01 API)
  • Add 2025-07-01 configuration to v2/azure-arm.yaml for Workspace resource
  • Configure DefaultDataCollectionRuleResourceId as ARM reference
  • Run code generation to create new API types
  • Generate CRDs for the new API version
  • Fix kustomize format compatibility issue
  • Update workspace customization to use new hub version (v1api20250701)
  • Add sample YAML file for v1api20250701_workspace.yaml
  • Create test file for the new API version
  • Verify unit tests pass for generated types
  • Merge with main and accept submodule changes
  • Re-run generator after merge

Summary

Successfully added support for operationalinsights API version 2025-07-01:

Changes Made:

  1. Updated submodule: Merged with main to use the latest azure-rest-api-specs commit (1d3ac611f)
  2. Re-ran generator: Confirmed all generated code is up to date after merge
  3. Configuration: Added 2025-07-01 to azure-arm.yaml with proper configuration for Workspace resource and the new DefaultDataCollectionRuleResourceId property
  4. Code generation: Generated all necessary Go types, CRDs, and test files for the new API version
  5. Hub version update: Updated customization file to use v1api20250701/storage as the new hub version (was v1api20210601/storage)
  6. Sample and tests: Created sample YAML and integration test for the new version

New Features in 2025-07-01:

  • Identity support for workspaces
  • DefaultDataCollectionRuleResourceReference property
  • Replication and failover properties
  • Enhanced SystemData metadata

All generated unit tests pass successfully.

Original prompt

This section details on the original issue you should resolve

<issue_title>Update operationalinsights API version</issue_title>
<issue_description>## Describe the current behavior

It's quite out of date today.

Describe the improvement

Add support for a newer API version, located at:
https://github.com/Azure/azure-rest-api-specs/tree/main/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/OperationalInsights/stable/2025-07-01

We should add support for this 2025-07-01 API version. We also need to add new tests and samples for this. The new API version only needs to support the resources that we're already supporting, which is just Workspace
</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Update operationalinsights API to version 2025-07-01 Add operationalinsights API version 2025-07-01 Nov 10, 2025
Copilot AI requested a review from matthchr November 10, 2025 23:04
Copilot finished work on behalf of matthchr November 10, 2025 23:04
@matthchr
Copy link
Member

@copilot please merge with main and accept the changes from main for the azure-rest-api-specs submodule, then re-run the generator.

# Conflicts:
#	v2/specs/azure-rest-api-specs
Copy link
Contributor Author

Copilot AI commented Nov 11, 2025

@copilot please merge with main and accept the changes from main for the azure-rest-api-specs submodule, then re-run the generator.

Done! Merged with main and accepted the azure-rest-api-specs submodule changes from main (commit 1d3ac611f). Re-ran the generator and confirmed all generated code is up to date. The merge commit is 63b27ef.

Copilot finished work on behalf of matthchr November 11, 2025 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Update operationalinsights API version

2 participants