Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Aug 20, 2025

This PR creates a new TypeSpec project for the Materialized Views service to enable SDK generation across multiple languages.

Changes Made

New TypeSpec Project Structure

  • Location: specification/materializedviews/MaterializedViews.Management/
  • API Version: 2025-04-01
  • Service Type: ARM Management Plane

Files Added

  1. main.tsp - Complete TypeSpec specification defining:

    • MaterializedViewResource with ARM resource modeling
    • CRUD operations (Create, Read, Update, Delete, List)
    • Custom refresh action for materialized view operations
    • Proper data models for view definitions, refresh policies, and data sources
  2. tspconfig.yaml - Configuration for multi-language SDK generation:

    • .NET: Azure.ResourceManager.MaterializedViews
    • Python: azure-mgmt-materializedviews
    • Java: azure-resourcemanager-materializedviews
    • JavaScript: @azure/arm-materializedviews
    • Go: armmaterializedviews
  3. Example files - Complete API examples for testing and validation

Generated Artifacts

  • OpenAPI specification: specification/materializedviews/resource-manager/Microsoft.MaterializedViews/stable/2025-04-01/materializedviews.json
  • Example JSON files for API operations

Validation Results

  • ✅ TypeSpec compilation successful
  • ✅ All TypeSpec validation rules passed
  • ✅ Code formatting and linting applied
  • ✅ ARM resource manager compliance verified

This TypeSpec project enables SDK generation for Python, .NET, Go, Java, and JavaScript as requested in the issue. The project follows Azure TypeSpec conventions and ARM resource modeling best practices.

Fixes #36843.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] [TypeSpec] Generate SDK for Materialized Views [TypeSpec] Create MaterializedViews TypeSpec project for SDK generation Aug 20, 2025
Copilot AI requested a review from azure-sdk August 20, 2025 23:28
@praveenkuttappan
Copy link
Member

Is SDK generated? If yes, can you find the SDK pull request details?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TypeSpec] Generate SDK for Materialized Views

3 participants