Skip to content

Conversation

@yifanz7
Copy link
Member

@yifanz7 yifanz7 commented Dec 16, 2025

Description

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Copilot AI review requested due to automatic review settings December 16, 2025 06:03
@azure-client-tools-bot-prd
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

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 integrates a TypeSpec-generated (TSP) Storage service SDK into the Azure PowerShell repository. The changes reflect a shift from manually crafted Swagger definitions to a TypeSpec-based code generation approach, resulting in updates to auto-generated SDK code, updated documentation, and various code changes to accommodate the new generated types and interfaces.

Key Changes

  • Updated the Storage.Management.Sdk to use TypeSpec-generated code from a consolidated OpenAPI specification file
  • Introduced new operation groups for Tables and Storage Task Assignments
  • Modified existing model types to use more specific enum types instead of generic ones
  • Updated help documentation with additional parameter descriptions

Reviewed changes

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

Show a summary per file
File Description
Storage.sln Updated project GUID for Az.Storage reference
README.md Changed to use consolidated OpenAPI spec from TypeSpec generation
StorageManagementClient.cs Added new operation groups and changed SubscriptionId type from string to Guid
PSShare.cs Added ParseDateTimeString method to handle date string parsing
PSNetworkRule.cs Refactored to use specific enum types for different rule actions
InvokeAzureStorageAccountFailover.cs Updated to use Enum56 instead of FailoverType
GetAzureStorageAccountKey.cs Updated to use Enum70 instead of ListKeyExpand
Multiple help files Added UUID requirement description for SubscriptionId parameters
TableOperations.cs, TableServicesOperations.cs, StorageTaskAssignmentsOperations.cs New auto-generated operation classes

Copilot AI review requested due to automatic review settings December 18, 2025 03:32
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

Copilot reviewed 22 out of 225 changed files in this pull request and generated 1 comment.

Comment on lines +28 to +30
commit: ec3df311a63c6e653824b4018bb1a39d483bf9fc
input-file:
- https://github.com/Azure/azure-rest-api-specs/blob/$(commit)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/storage.json
- https://github.com/Azure/azure-rest-api-specs/blob/$(commit)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/blob.json
- https://github.com/Azure/azure-rest-api-specs/blob/$(commit)/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/file.json
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/openapi.json
Copy link

Copilot AI Dec 18, 2025

Choose a reason for hiding this comment

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

This README references the API specification using a branch name ("main") instead of a commit hash. According to Azure PowerShell conventions for AutoRest projects, API specifications should always be referenced using specific commit hashes to ensure reproducible builds and prevent breaking changes when the specification repository evolves. The previous configuration correctly used a commit hash.

Copilot generated this review using guidance from repository custom instructions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant