Skip to content

Conversation

@v-xuto
Copy link
Member

@v-xuto v-xuto commented Dec 5, 2025

This PR migrates the compute specification to the new unified folder structure according to Azure folder structure guidelines.

Change:

  • Consolidated TypeSpec and Swagger files under
compute/
├── quickstart-templates/
└── resource-manager/
    ├── Microsoft.Compute
    │   ├── Compute/     
    │   │   ├── Compute
    │   │   │   ├── *.tsp
    │   │   │   └── tspconfig.yaml
    │   │   ├── Disk
    │   │   │   ├── *.tsp
    │   │   │   └── tspconfig.yaml
    │   │   ├── Gallery
    │   │   │   ├── *.tsp
    │   │   │   └── tspconfig.yaml
    │   │   ├── Sku
    │   │   │   ├── *.tsp
    │   │   │   └── tspconfig.yaml
    │   │   ├── Cloudservice/
    │   │   ├── preview/                             #Include Compute, Disk, Gallery, Sku preview files
    │   │   ├── stable/                              #Include Compute, Disk, Gallery, Sku stable files
    │   │   ├── examples/                            #Include Compute, Disk, Gallery, Sku examples files
    │   │   ├── common/                              #Include Common.Management files
    │   │   ├── common-types/
    │   │   ├── client.tsp
    │   │   ├── main.tsp
    │   │   ├── readme.md
    │   │   └── tspconfig.yaml
    │   ├── Diagnostic/              
    │   └── Recommender/    
    └── Microsoft.ContainerService/ContainerService
  • Updated tspconfig.yaml with correct paths and ARM types directory
  • Fixed all common-types references and input-file paths in readme.md
  • Added suppressions.yaml for legacy API versions
  • Verified TypeSpec compilation works correctly
  • Updated the relevant paths in cspell.yaml file

Benefits:

  • Unified structure for better maintainability
  • Aligns with Azure folder structure standards
  • Maintains backward compatibility
  • Supports future TypeSpec migration efforts

@github-actions
Copy link

github-actions bot commented Dec 5, 2025

Next Steps to Merge

Next steps that must be taken to merge this PR:
  • ❌ This PR targets either the main branch of the public specs repo or the RPSaaSMaster branch of the private specs repo. These branches are not intended for iterative development. Therefore, you must acknowledge you understand that after this PR is merged, the APIs are considered shipped to Azure customers. Any further attempts at in-place modifications to the APIs will be subject to Azure's versioning and breaking change policies. Additionally, for control plane APIs, you must acknowledge that you are following all the best practices documented by ARM at aka.ms/armapibestpractices. If you do intend to release the APIs to your customers by merging this PR, add the PublishToCustomers label to your PR in acknowledgement of the above. Otherwise, retarget this PR onto a feature branch, i.e. with prefix release- (see aka.ms/azsdk/api-versions#release--branches).
  • ❌ This PR has at least one breaking change (label: BreakingChangeReviewRequired).
    To unblock this PR, follow the process at aka.ms/brch.
  • ❌ The required check named TypeSpec Validation has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it and consult the aka.ms/ci-fix guide


Comment generated by summarize-checks workflow run.

@github-actions
Copy link

github-actions bot commented Dec 5, 2025

API Change Check

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

Language API Review for Package
Swagger Microsoft.Compute-Compute
Swagger Microsoft.Compute-Recommender

@v-xuto v-xuto added the FolderMigrationV2 A specific label for PRs like folder structure migration into v2. label Dec 5, 2025
@github-actions github-actions bot added the BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required label Dec 5, 2025
@v-xuto v-xuto force-pushed the compute-folder-structure-refactor branch from da80a53 to c2ef3c5 Compare December 9, 2025 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BreakingChange-Go-Sdk-Suppression BreakingChange-JavaScript-Sdk-Suppression BreakingChange-Python-Sdk-Suppression BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required Compute FolderMigrationV2 A specific label for PRs like folder structure migration into v2. resource-manager SuppressionReviewRequired TypeSpec Authored with TypeSpec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant