Skip to content

AlertsManagement Module TSP Migration - #29969

Draft
JiaSeng-v wants to merge 1 commit into
Azure:mainfrom
JiaSeng-v:jiaseng/main/typespec-AlertsManagement
Draft

AlertsManagement Module TSP Migration#29969
JiaSeng-v wants to merge 1 commit into
Azure:mainfrom
JiaSeng-v:jiaseng/main/typespec-AlertsManagement

Conversation

@JiaSeng-v

Copy link
Copy Markdown
Contributor

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 lite review requested due to automatic review settings August 7, 2026 02:13
@JiaSeng-v JiaSeng-v added the TypeSpec Module generated from TypeSpec label Aug 7, 2026
@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Migrates the AlertsManagement PrometheusRuleGroups AutoRest submodule toward the TypeSpec (TSP) generation workflow by introducing TSP configuration/location files and refreshing generated artifacts (module metadata, help/docs, and solution wiring).

Changes:

  • Added TypeSpec generation configuration (tspconfig.yaml) and pinned spec location (tsp-location.yaml) for PrometheusRuleGroups.
  • Updated/regenerated module metadata and documentation (assembly attributes, markdown help/docs, module manifest, generate-info).
  • Updated AlertsManagement solution wiring (project GUID) and added a changelog note about internal generation updates.

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
src/AlertsManagement/PrometheusRuleGroups.Autorest/tspconfig.yaml Adds TypeSpec PowerShell emitter configuration and directives.
src/AlertsManagement/PrometheusRuleGroups.Autorest/tsp-location.yaml Pins the source spec directory and commit for reproducible generation.
src/AlertsManagement/PrometheusRuleGroups.Autorest/README.md Removes legacy AutoRest generation instructions/config block.
src/AlertsManagement/PrometheusRuleGroups.Autorest/Properties/AssemblyInfo.cs Updates assembly metadata for regenerated output.
src/AlertsManagement/PrometheusRuleGroups.Autorest/generate-info.json Updates generation identifier.
src/AlertsManagement/PrometheusRuleGroups.Autorest/docs/Update-AzPrometheusRuleGroup.md Regenerated cmdlet reference content.
src/AlertsManagement/PrometheusRuleGroups.Autorest/docs/Remove-AzPrometheusRuleGroup.md Regenerated cmdlet reference content.
src/AlertsManagement/PrometheusRuleGroups.Autorest/docs/New-AzPrometheusRuleGroup.md Regenerated cmdlet reference content.
src/AlertsManagement/PrometheusRuleGroups.Autorest/docs/Get-AzPrometheusRuleGroup.md Regenerated cmdlet reference content (parameter sets/metadata).
src/AlertsManagement/PrometheusRuleGroups.Autorest/docs/Az.PrometheusRuleGroups.md Regenerated module index/reference content.
src/AlertsManagement/AlertsManagement/help/Update-AzPrometheusRuleGroup.md Regenerated in-module help content.
src/AlertsManagement/AlertsManagement/help/Remove-AzPrometheusRuleGroup.md Regenerated in-module help content.
src/AlertsManagement/AlertsManagement/help/New-AzPrometheusRuleGroup.md Regenerated in-module help content.
src/AlertsManagement/AlertsManagement/help/Get-AzPrometheusRuleGroup.md Regenerated in-module help content (parameter sets/metadata).
src/AlertsManagement/AlertsManagement/ChangeLog.md Adds an “internal generation updated” upcoming release note.
src/AlertsManagement/AlertsManagement/Az.AlertsManagement.psd1 Updates manifest metadata and dependency version; refreshes formatting.
src/AlertsManagement/AlertsManagement.sln Updates the PrometheusRuleGroups project GUID mapping.
Suppressed comments (4)

src/AlertsManagement/AlertsManagement/help/Update-AzPrometheusRuleGroup.md:47

  • The description/example text repeats the grammatical error "Update an Prometheus"; this should be "Update a Prometheus".
Update an Prometheus rule group definition.

## EXAMPLES

### Example 1: Update an Prometheus rule group definition.

src/AlertsManagement/PrometheusRuleGroups.Autorest/docs/Update-AzPrometheusRuleGroup.md:44

  • The description/example text repeats the grammatical error "Update an Prometheus"; this should be "Update a Prometheus".
Update an Prometheus rule group definition.

## EXAMPLES

### Example 1: Update an Prometheus rule group definition.

src/AlertsManagement/AlertsManagement/help/Update-AzPrometheusRuleGroup.md:171

  • Grammar: use "a UUID" (pronounced "you-"), not "an UUID".
The value must be an UUID.

src/AlertsManagement/PrometheusRuleGroups.Autorest/docs/Update-AzPrometheusRuleGroup.md:168

  • Grammar: use "a UUID" (pronounced "you-"), not "an UUID".
The value must be an UUID.


## SYNOPSIS
update an Prometheus rule group definition.
Update an Prometheus rule group definition.

## SYNOPSIS
update an Prometheus rule group definition.
Update an Prometheus rule group definition.
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - PrometheusRuleGroups")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.6.3")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.6.3")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - AzureAlertsManagementServiceResourceProvider")]

### [Update-AzPrometheusRuleGroup](Update-AzPrometheusRuleGroup.md)
update an Prometheus rule group definition.
Update an Prometheus rule group definition.

### -SubscriptionId
The ID of the target subscription.
The value must be an UUID.

### -SubscriptionId
The ID of the target subscription.
The value must be an UUID.

### -SubscriptionId
The ID of the target subscription.
The value must be an UUID.

### -SubscriptionId
The ID of the target subscription.
The value must be an UUID.

### -SubscriptionId
The ID of the target subscription.
The value must be an UUID.

### -SubscriptionId
The ID of the target subscription.
The value must be an UUID.
@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines:
Successfully started running 3 pipeline(s).

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

Labels

TypeSpec Module generated from TypeSpec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants