Skip to content

Add new Az.ComputeLimit module for shared compute limits#29266

Open
deepnandu wants to merge 4 commits intoAzure:mainfrom
deepnandu:computelimit-new-cmdlets-sharedlimit
Open

Add new Az.ComputeLimit module for shared compute limits#29266
deepnandu wants to merge 4 commits intoAzure:mainfrom
deepnandu:computelimit-new-cmdlets-sharedlimit

Conversation

@deepnandu
Copy link
Member

Description

New Az.ComputeLimit module (v0.1.0) for managing shared compute limits across Azure subscriptions. Generated via AutoRest PowerShell v4 from the Microsoft.ComputeLimit API specification (2025-08-15, commit 661354eacb7c1e697aa2d7be980c7ebe02255138).

Cmdlets

Cmdlet Description
Add-AzSharedLimit Enable sharing of a compute limit by the host subscription
Get-AzSharedLimit Get shared limit properties (single or list)
Remove-AzSharedLimit Disable a shared limit
Add-AzGuestSubscription Add a guest subscription to consume shared limits
Get-AzGuestSubscription Get guest subscription properties (single or list)
Remove-AzGuestSubscription Remove a guest subscription

What's included

  • AutoRest configuration
  • Help markdown for all 6 cmdlets
  • Pester test stubs for all cmdlets
  • Portal UX metadata (JSON)

Known items for follow-up

  • Test recordings (.Recording.json) not yet recorded

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 March 13, 2026 15:46
@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 PR introduces a new Az.ComputeLimit module (v0.1.0) generated via AutoRest PowerShell v4 to manage shared compute limits and guest subscriptions using the Microsoft.ComputeLimit API (2025-08-15 spec).

Changes:

  • Added the new ComputeLimit module mapping, module packaging project files, and initial changelog entries.
  • Added AutoRest configuration, cmdlet help/docs/examples, UX metadata, and Pester test stubs for 6 cmdlets.
  • Added generated module assets (exports/test harness/runtime/helpers/models) under generated/ComputeLimit/ComputeLimit.Autorest.

Reviewed changes

Copilot reviewed 1 out of 294 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tools/CreateMappings_rules.json Registers the new ComputeLimit module alias for tooling/mappings.
src/ComputeLimit/ComputeLimit/help/Az.ComputeLimit.md Module landing help page listing the new cmdlets.
src/ComputeLimit/ComputeLimit/Properties/AssemblyInfo.cs Assembly metadata for the module packaging project.
src/ComputeLimit/ComputeLimit/ComputeLimit.csproj Module packaging project file and help asset copy rules.
src/ComputeLimit/ComputeLimit/ChangeLog.md Module-level changelog entry for initial release.
src/ComputeLimit/ComputeLimit.Autorest/utils/Unprotect-SecureString.ps1 Utility for converting SecureString to plaintext (module utility).
src/ComputeLimit/ComputeLimit.Autorest/utils/Get-SubscriptionIdTestSafe.ps1 Test-safe subscription id helper (playback vs live).
src/ComputeLimit/ComputeLimit.Autorest/test/utils.ps1 Test utility functions and env setup/cleanup scaffolding.
src/ComputeLimit/ComputeLimit.Autorest/test/loadEnv.ps1 Loads env.json/localEnv.json for tests and sets default tenant.
src/ComputeLimit/ComputeLimit.Autorest/test/env.json Playback-safe placeholder IDs and test values.
src/ComputeLimit/ComputeLimit.Autorest/test/Add-AzSharedLimit.Tests.ps1 Pester stub for Add-AzSharedLimit.
src/ComputeLimit/ComputeLimit.Autorest/test/Get-AzSharedLimit.Tests.ps1 Pester stub for Get-AzSharedLimit.
src/ComputeLimit/ComputeLimit.Autorest/test/Remove-AzSharedLimit.Tests.ps1 Pester stub for Remove-AzSharedLimit.
src/ComputeLimit/ComputeLimit.Autorest/test/Add-AzGuestSubscription.Tests.ps1 Pester stub for Add-AzGuestSubscription.
src/ComputeLimit/ComputeLimit.Autorest/test/Get-AzGuestSubscription.Tests.ps1 Pester stub for Get-AzGuestSubscription.
src/ComputeLimit/ComputeLimit.Autorest/test/Remove-AzGuestSubscription.Tests.ps1 Pester stub for Remove-AzGuestSubscription.
src/ComputeLimit/ComputeLimit.Autorest/test/README.md Guidance for Pester test modes (live/record/playback).
src/ComputeLimit/ComputeLimit.Autorest/how-to.md Developer workflow doc for building/testing/packing the module.
src/ComputeLimit/ComputeLimit.Autorest/generate-info.json AutoRest generation metadata.
src/ComputeLimit/ComputeLimit.Autorest/examples/Add-AzSharedLimit.md Example scenarios for Add-AzSharedLimit.
src/ComputeLimit/ComputeLimit.Autorest/examples/Get-AzSharedLimit.md Example scenarios for Get-AzSharedLimit.
src/ComputeLimit/ComputeLimit.Autorest/examples/Remove-AzSharedLimit.md Example scenarios for Remove-AzSharedLimit.
src/ComputeLimit/ComputeLimit.Autorest/examples/Add-AzGuestSubscription.md Example scenarios for Add-AzGuestSubscription.
src/ComputeLimit/ComputeLimit.Autorest/examples/Get-AzGuestSubscription.md Example scenarios for Get-AzGuestSubscription.
src/ComputeLimit/ComputeLimit.Autorest/examples/Remove-AzGuestSubscription.md Example scenarios for Remove-AzGuestSubscription.
src/ComputeLimit/ComputeLimit.Autorest/docs/README.md Docs folder behavior and example sourcing guidance.
src/ComputeLimit/ComputeLimit.Autorest/custom/README.md Guidance for authoring custom cmdlets and variants.
src/ComputeLimit/ComputeLimit.Autorest/custom/Az.ComputeLimit.custom.psm1 Custom module loader shim (private DLL + internal module + script exports).
src/ComputeLimit/ComputeLimit.Autorest/UX/Microsoft.ComputeLimit/locations-sharedLimits.json Portal UX metadata for sharedLimits cmdlets.
src/ComputeLimit/ComputeLimit.Autorest/UX/Microsoft.ComputeLimit/locations-guestSubscriptions.json Portal UX metadata for guestSubscriptions cmdlets.
src/ComputeLimit/ComputeLimit.Autorest/README.md AutoRest configuration (commit-locked spec + directives).
src/ComputeLimit/ComputeLimit.Autorest/Properties/AssemblyInfo.cs Generated assembly metadata for AutoRest project (src flavor).
src/ComputeLimit/ComputeLimit.Autorest/.gitignore Ignores build artifacts and build-time generated files for the src AutoRest directory.
src/ComputeLimit/ComputeLimit.Autorest/.gitattributes Text normalization settings.
generated/ComputeLimit/ComputeLimit.Autorest/Az.ComputeLimit.csproj Generated AutoRest project entrypoint for build system.
generated/ComputeLimit/ComputeLimit.Autorest/Az.ComputeLimit.psd1 Generated module manifest exporting the 6 cmdlets.
generated/ComputeLimit/ComputeLimit.Autorest/Properties/AssemblyInfo.cs Generated assembly metadata for AutoRest project (generated flavor).
generated/ComputeLimit/ComputeLimit.Autorest/generate-info.json AutoRest generation metadata (generated flavor).
generated/ComputeLimit/ComputeLimit.Autorest/check-dependencies.ps1 Test/build dependency bootstrap script for generated module.
generated/ComputeLimit/ComputeLimit.Autorest/test-module.ps1 Generated test runner supporting isolated execution + Pester modes.
generated/ComputeLimit/ComputeLimit.Autorest/resources/README.md Non-packaged resources folder guidance.
generated/ComputeLimit/ComputeLimit.Autorest/internal/README.md Describes build-time generated internal cmdlets module behavior.
generated/ComputeLimit/ComputeLimit.Autorest/internal/Az.ComputeLimit.internal.psm1 Internal module loader for hidden cmdlets.
generated/ComputeLimit/ComputeLimit.Autorest/exports/README.md Describes build-time generated exported script cmdlets folder.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/delegates.cs Generated runtime delegates for pipeline/events.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/UndeclaredResponseException.cs Generated REST exception types.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/SerializationMode.cs Serialization mode flags used by generated client/runtime.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Serialization/SerializationOptions.cs JSON serialization options for runtime JSON model handling.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Serialization/PropertyTransformation.cs Runtime support for property transformations in serialization.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Response.cs Runtime response event types.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Parser/TokenReader.cs JSON parsing token reader helper.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Parser/Readers/SourceReader.cs JSON source reader and escape handling.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Parser/Location.cs Source location tracking for parsing.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Parser/JsonToken.cs JSON tokenizer token model.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Parser/Exceptions/ParseException.cs Parser exception type used by runtime JSON parsing.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Nodes/XNull.cs Runtime JSON node types.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Nodes/XBinary.cs Runtime JSON node types.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Nodes/JsonString.cs Runtime JSON node types.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Nodes/JsonNumber.cs Runtime JSON node types.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Nodes/JsonBoolean.cs Runtime JSON node types.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Nodes/Collections/XSet.cs Runtime JSON array/set helpers.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Nodes/Collections/XNodeArray.cs Runtime JSON array helpers.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Nodes/Collections/XList.cs Runtime JSON array helpers.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Nodes/Collections/XImmutableArray.cs Runtime JSON array helpers.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Nodes/Collections/JsonArray.cs Runtime JSON base array class.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Models/JsonModelCache.cs Runtime JSON reflection metadata cache.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Models/JsonModel.cs Runtime JSON reflection metadata model.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Models/JsonMember.cs Runtime JSON member mapping for reflection-based serialization.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Method.cs HTTP method constants.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/JsonType.cs JSON type enum.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/InputHandler.cs Cmdlet/runtime input handler base.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/InfoAttribute.cs Runtime attributes for model metadata and completers.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/IHeaderSerializable.cs Interface for reading response headers into models.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/IAssociativeArray.cs Runtime dictionary/formatter workaround interface.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/HttpPipelineMocking.ps1 Playback/record/live pipeline mocking for tests.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/HttpPipeline.cs Pipeline extensibility for generic delegates.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Helpers/XHelper.cs Runtime helper for JSON node creation.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Helpers/TypeDetails.cs Runtime reflection/type metadata helper.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Helpers/Seperator.cs Runtime helper constants (generated).
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Helpers/Extensions/TypeExtensions.cs Runtime type extension helpers.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Helpers/Extensions/StringBuilderExtensions.cs Runtime string builder extensions.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Extensions.cs Runtime extension helpers (headers, sync context, etc.).
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/EventsExtensions.cs Runtime event name constants (cmdlet lifecycle).
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Events.cs Runtime event name constants (pipeline lifecycle).
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/EventDataExtensions.cs PowerShell PSTypeConverter for EventData across modules.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/EventData.cs Runtime event payload model.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/DictionaryExtensions.cs Runtime hashtable->dictionary helper.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Debugging.cs Runtime attach-debugger helper.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Customizations/XNodeArray.cs Runtime JSON helper customizations for safe adds/creates.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Customizations/JsonString.cs Runtime JSON string customizations (date parsing/casts).
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Customizations/JsonNumber.cs Runtime JSON number customizations (unix time, ToValue).
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Customizations/JsonNode.cs Runtime JSON node ToValue customization.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Customizations/JsonBoolean.cs Runtime JSON boolean ToValue customization.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Customizations/JsonArray.cs Runtime JSON array ToValue customization.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/StringLikeConverter.cs Runtime JSON conversion utilities.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/JsonConverterFactory.cs Runtime JSON converter registry.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/JsonConverterAttribute.cs Attribute-based JSON converter selection.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/JsonConverter.cs Base converter types.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/*.cs Concrete converters for primitives/JSON collections.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/IJsonConverter.cs JSON converter interface.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/ConversionException.cs Conversion exception for JSON conversion failures.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Context.cs Cmdlet/runtime context interface for pipeline customization.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/CmdInfoHandler.cs Adds command metadata headers to outgoing requests.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/BuildTime/*.cs Build-time helpers/cmdlets for exporting help/examples/surfaces/format.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Attributes/PSArgumentCompleterAttribute.cs Completer attribute implementation used by generated models.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Attributes/ExternalDocsAttribute.cs External docs attribute for generated cmdlets.
generated/ComputeLimit/ComputeLimit.Autorest/generated/api/Models/*.cs Generated API models for ComputeLimit resources and list results.
ChangeLog.md Adds an entry for Az.ComputeLimit under the 15.4.0 (March 2026) release notes.

Comment on lines +20 to +28
if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) {
$envFilePath = Join-Path $PSScriptRoot $envFile
} else {
$envFilePath = Join-Path $PSScriptRoot '..\$envFile'
}
$env = @{}
if (Test-Path -Path $envFilePath) {
$env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json
$PSDefaultParameterValues=@{"*:Tenant"=$env.Tenant}
Comment on lines +1 to +10
if(($null -eq $TestName) -or ($TestName -contains 'Add-AzSharedLimit'))
{
$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1'
if (-Not (Test-Path -Path $loadEnvPath)) {
$loadEnvPath = Join-Path $PSScriptRoot '..' 'loadEnv.ps1'
}
. ($loadEnvPath)
$TestRecordingFile = Join-Path $PSScriptRoot 'Add-AzSharedLimit.Recording.json'
$currentPath = $PSScriptRoot
while(-not $mockingPath) {
@deepnandu
Copy link
Member Author

@deepnandu please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@microsoft-github-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree company="Microsoft"

@NoriZC
Copy link
Collaborator

NoriZC commented Mar 13, 2026

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@NoriZC
Copy link
Collaborator

NoriZC commented Mar 16, 2026

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@deepnandu deepnandu marked this pull request as ready for review March 16, 2026 22:23
Copilot AI review requested due to automatic review settings March 16, 2026 22:23
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

Adds a new AutoRest-generated Azure PowerShell module (Az.ComputeLimit, v0.1.0) to manage shared compute limits (host/guest subscription sharing) and wires it into repository tooling and release notes.

Changes:

  • Added Az.ComputeLimit module scaffolding (project files, assembly metadata, module help landing page, module changelog).
  • Added AutoRest configuration + generated module assets (docs/examples, UX metadata JSON, Pester tests + recordings, generated runtime/api sources).
  • Updated top-level and tooling mappings to include the new module.

Reviewed changes

Copilot reviewed 1 out of 300 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
tools/CreateMappings_rules.json Registers ComputeLimit mapping for tooling.
src/ComputeLimit/ComputeLimit/help/Az.ComputeLimit.md Module help landing page for cmdlets.
src/ComputeLimit/ComputeLimit/Properties/AssemblyInfo.cs Assembly metadata/version for module project.
src/ComputeLimit/ComputeLimit/ComputeLimit.csproj Module project packaging/build configuration.
src/ComputeLimit/ComputeLimit/ChangeLog.md Module-specific release notes stub.
src/ComputeLimit/ComputeLimit.Autorest/utils/Unprotect-SecureString.ps1 Utility script included with AutoRest module assets.
src/ComputeLimit/ComputeLimit.Autorest/utils/Get-SubscriptionIdTestSafe.ps1 Test helper for subscription selection in live vs playback.
src/ComputeLimit/ComputeLimit.Autorest/test/utils.ps1 Test utilities for environment setup and helpers.
src/ComputeLimit/ComputeLimit.Autorest/test/loadEnv.ps1 Loads test environment configuration.
src/ComputeLimit/ComputeLimit.Autorest/test/env.json Playback-safe test environment values.
src/ComputeLimit/ComputeLimit.Autorest/test/Remove-AzSharedLimit.Tests.ps1 Pester test for removing shared limits.
src/ComputeLimit/ComputeLimit.Autorest/test/Remove-AzSharedLimit.Recording.json Recording for Remove-AzSharedLimit playback.
src/ComputeLimit/ComputeLimit.Autorest/test/Remove-AzGuestSubscription.Tests.ps1 Pester test for removing guest subscriptions.
src/ComputeLimit/ComputeLimit.Autorest/test/Remove-AzGuestSubscription.Recording.json Recording for Remove-AzGuestSubscription playback.
src/ComputeLimit/ComputeLimit.Autorest/test/Get-AzSharedLimit.Tests.ps1 Pester tests for listing/getting shared limits.
src/ComputeLimit/ComputeLimit.Autorest/test/Get-AzGuestSubscription.Tests.ps1 Pester tests for listing/getting guest subscriptions.
src/ComputeLimit/ComputeLimit.Autorest/test/Add-AzSharedLimit.Tests.ps1 Pester test for creating shared limits.
src/ComputeLimit/ComputeLimit.Autorest/test/Add-AzSharedLimit.Recording.json Recording for Add-AzSharedLimit playback.
src/ComputeLimit/ComputeLimit.Autorest/test/Add-AzGuestSubscription.Tests.ps1 Pester test for creating guest subscriptions.
src/ComputeLimit/ComputeLimit.Autorest/test/Add-AzGuestSubscription.Recording.json Recording for Add-AzGuestSubscription playback.
src/ComputeLimit/ComputeLimit.Autorest/test/README.md Test folder documentation for module.
src/ComputeLimit/ComputeLimit.Autorest/how-to.md Developer how-to for building/testing/packing the module.
src/ComputeLimit/ComputeLimit.Autorest/generate-info.json Generator metadata for the source AutoRest project.
src/ComputeLimit/ComputeLimit.Autorest/examples/Remove-AzSharedLimit.md Cmdlet usage examples for Remove-AzSharedLimit.
src/ComputeLimit/ComputeLimit.Autorest/examples/Remove-AzGuestSubscription.md Cmdlet usage examples for Remove-AzGuestSubscription.
src/ComputeLimit/ComputeLimit.Autorest/examples/Get-AzSharedLimit.md Cmdlet usage examples for Get-AzSharedLimit.
src/ComputeLimit/ComputeLimit.Autorest/examples/Get-AzGuestSubscription.md Cmdlet usage examples for Get-AzGuestSubscription.
src/ComputeLimit/ComputeLimit.Autorest/examples/Add-AzSharedLimit.md Cmdlet usage examples for Add-AzSharedLimit.
src/ComputeLimit/ComputeLimit.Autorest/examples/Add-AzGuestSubscription.md Cmdlet usage examples for Add-AzGuestSubscription.
src/ComputeLimit/ComputeLimit.Autorest/docs/README.md Docs folder guidance for generated help.
src/ComputeLimit/ComputeLimit.Autorest/custom/README.md Guidance for adding custom cmdlets.
src/ComputeLimit/ComputeLimit.Autorest/custom/Az.ComputeLimit.custom.psm1 Custom module loader/export surface for custom cmdlets.
src/ComputeLimit/ComputeLimit.Autorest/UX/Microsoft.ComputeLimit/locations-sharedLimits.json Portal UX metadata for sharedLimits cmdlets.
src/ComputeLimit/ComputeLimit.Autorest/UX/Microsoft.ComputeLimit/locations-guestSubscriptions.json Portal UX metadata for guestSubscriptions cmdlets.
src/ComputeLimit/ComputeLimit.Autorest/README.md AutoRest configuration (commit-locked spec + directives).
src/ComputeLimit/ComputeLimit.Autorest/Properties/AssemblyInfo.cs AutoRest project assembly metadata.
src/ComputeLimit/ComputeLimit.Autorest/.gitignore Ignores build outputs and generated artifacts in AutoRest source tree.
src/ComputeLimit/ComputeLimit.Autorest/.gitattributes Git attributes for AutoRest source tree.
generated/ComputeLimit/ComputeLimit.Autorest/test-module.ps1 Generated test runner for module (isolated process, modes).
generated/ComputeLimit/ComputeLimit.Autorest/resources/README.md Generated resources folder documentation.
generated/ComputeLimit/ComputeLimit.Autorest/internal/README.md Generated internal cmdlets folder documentation.
generated/ComputeLimit/ComputeLimit.Autorest/internal/Az.ComputeLimit.internal.psm1 Generated internal module export logic.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/delegates.cs Generated runtime delegates.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/UndeclaredResponseException.cs Generated runtime REST exception types.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/SerializationMode.cs Generated runtime serialization flags.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Serialization/SerializationOptions.cs Generated runtime serialization options.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Serialization/PropertyTransformation.cs Generated runtime property transformation helper.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Response.cs Generated runtime response wrapper.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Parser/TokenReader.cs Generated runtime JSON token reader.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Parser/Readers/SourceReader.cs Generated runtime JSON source reader.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Parser/Location.cs Generated runtime source location tracking.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Parser/JsonToken.cs Generated runtime JSON token types.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Parser/Exceptions/ParseException.cs Generated runtime JSON parser exception.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Nodes/XNull.cs Generated JSON node for null.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Nodes/XBinary.cs Generated JSON node for binary.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Nodes/JsonString.cs Generated JSON node for string.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Nodes/JsonNumber.cs Generated JSON node for numbers.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Nodes/JsonBoolean.cs Generated JSON node for booleans.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Nodes/Collections/XSet.cs Generated JSON collection node (set).
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Nodes/Collections/XNodeArray.cs Generated JSON node array implementation.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Nodes/Collections/XList.cs Generated JSON list wrapper.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Nodes/Collections/XImmutableArray.cs Generated JSON immutable array wrapper.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Nodes/Collections/JsonArray.cs Generated JSON array base type.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Models/JsonModelCache.cs Generated JSON model cache.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Models/JsonModel.cs Generated JSON model reflection mapping.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Models/JsonMember.cs Generated JSON member reflection mapping.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Method.cs Generated HTTP method helper.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/JsonType.cs Generated JSON type enum.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/InputHandler.cs Generated cmdlet input handler base.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/InfoAttribute.cs Generated runtime info/metadata attributes.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/IHeaderSerializable.cs Generated header-serializable interface.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/IAssociativeArray.cs Generated associative array abstraction.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/HttpPipelineMocking.ps1 Generated HTTP pipeline mocking for playback tests.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Helpers/XHelper.cs Generated JSON helper conversions.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Helpers/TypeDetails.cs Generated runtime type details cache.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Helpers/Seperator.cs Generated runtime helper for splitting (typoed name).
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Helpers/Extensions/TypeExtensions.cs Generated type extension helpers.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Helpers/Extensions/StringBuilderExtensions.cs Generated string builder helper.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Extensions.cs Generated runtime extension methods.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/EventsExtensions.cs Generated events constant extensions.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Events.cs Generated events constants.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/EventDataExtensions.cs Generated PowerShell type conversion for event data.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/EventData.cs Generated runtime event data type.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/DictionaryExtensions.cs Generated hashtable-to-dictionary helper.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Debugging.cs Generated debugger attach helper.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Customizations/XNodeArray.cs Generated JSON node array customizations.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Customizations/JsonString.cs Generated JSON string customizations (dates/chars).
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Customizations/JsonNumber.cs Generated JSON number customizations (unix time, etc.).
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Customizations/JsonNode.cs Generated JSON node customizations.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Customizations/JsonBoolean.cs Generated JSON boolean customizations.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Customizations/JsonArray.cs Generated JSON array customizations.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/StringLikeConverter.cs Generated string-like converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/JsonConverterFactory.cs Generated converter factory registration.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/JsonConverterAttribute.cs Generated json converter attribute.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/JsonConverter.cs Generated json converter base types.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/UriConverter.cs Generated URI converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/UInt64Converter.cs Generated UInt64 converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/UInt32Converter.cs Generated UInt32 converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/UInt16Converter.cs Generated UInt16 converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/TimeSpanConverter.cs Generated TimeSpan converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/StringConverter.cs Generated string converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/SingleConverter.cs Generated float converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/JsonObjectConverter.cs Generated JsonObject converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/JsonArrayConverter.cs Generated JsonArray converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/Int64Converter.cs Generated Int64 converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/Int32Converter.cs Generated Int32 converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/Int16Converter.cs Generated Int16 converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/HashSet'1Converter.cs Generated HashSet converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/GuidConverter.cs Generated GUID converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/EnumConverter.cs Generated enum converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/DoubleConverter.cs Generated double converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/DecimalConverter.cs Generated decimal converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/DateTimeOffsetConverter.cs Generated DateTimeOffset converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/DateTimeConverter.cs Generated DateTime converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/BooleanConverter.cs Generated boolean converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/Instances/BinaryConverter.cs Generated binary converter.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/IJsonConverter.cs Generated converter interface.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Conversions/ConversionException.cs Generated conversion exception.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Context.cs Generated context interface for pipelines/cmdlets.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/CmdInfoHandler.cs Generated request header injection for cmdlet info.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/BuildTime/XmlExtensions.cs Build-time XML helpers (format export).
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/BuildTime/StringExtensions.cs Build-time string helpers.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/BuildTime/PsAttributes.cs Build-time PowerShell attributes/enums.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/BuildTime/Models/PsFormatTypes.cs Build-time formatting model types.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/BuildTime/CollectionExtensions.cs Build-time collection helpers.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/BuildTime/Cmdlets/GetScriptCmdlet.cs Build-time cmdlet discovery for exports.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/BuildTime/Cmdlets/GetModuleGuid.cs Build-time helper to read module GUID.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/BuildTime/Cmdlets/GetCommonParameter.cs Build-time helper for common parameters.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/BuildTime/Cmdlets/ExportHelpMarkdown.cs Build-time help markdown generation entry.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/BuildTime/Cmdlets/ExportFormatPs1xml.cs Build-time formatting file generator.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/BuildTime/Cmdlets/ExportExampleStub.cs Build-time example stub generator.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Attributes/PSArgumentCompleterAttribute.cs Argument completer attribute support.
generated/ComputeLimit/ComputeLimit.Autorest/generated/runtime/Attributes/ExternalDocsAttribute.cs External docs attribute support.
generated/ComputeLimit/ComputeLimit.Autorest/generated/api/Models/SharedLimitListResult.cs Generated API model for shared limit list.
generated/ComputeLimit/ComputeLimit.Autorest/generated/api/Models/OperationListResult.cs Generated API model for operations list.
generated/ComputeLimit/ComputeLimit.Autorest/generated/api/Models/LimitName.cs Generated API model for limit naming.
generated/ComputeLimit/ComputeLimit.Autorest/generated/api/Models/GuestSubscriptionProperties.cs Generated API model for guest subscription properties.
generated/ComputeLimit/ComputeLimit.Autorest/generated/api/Models/GuestSubscriptionListResult.cs Generated API model for guest subscription list.
generated/ComputeLimit/ComputeLimit.Autorest/generated/api/Models/ErrorAdditionalInfo.cs Generated API model for ARM error info.
generated/ComputeLimit/ComputeLimit.Autorest/generated/api/Models/Any.cs Generated API model placeholder for arbitrary JSON.
generated/ComputeLimit/ComputeLimit.Autorest/generate-info.json Generated output metadata for module generation.
generated/ComputeLimit/ComputeLimit.Autorest/exports/README.md Generated exports folder documentation.
generated/ComputeLimit/ComputeLimit.Autorest/check-dependencies.ps1 Generated dependency bootstrap for test/build scripts.
generated/ComputeLimit/ComputeLimit.Autorest/Properties/AssemblyInfo.cs Generated assembly metadata.
generated/ComputeLimit/ComputeLimit.Autorest/Az.ComputeLimit.psd1 Generated module manifest exporting cmdlets.
generated/ComputeLimit/ComputeLimit.Autorest/Az.ComputeLimit.csproj Generated AutoRest project file for build integration.
ChangeLog.md Adds release note entry for new module.

Removed initial release notes for Az.ComputeLimit module.
@deepnandu
Copy link
Member Author

@deepnandu please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@microsoft-github-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree company="Microsoft"

@deepnandu please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@microsoft-github-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement
@microsoft-github-policy-service agree company="Microsoft"

@NoriZC
Copy link
Collaborator

NoriZC commented Mar 17, 2026

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

Copilot AI review requested due to automatic review settings March 17, 2026 21:24
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

Adds the new Az.ComputeLimit module (v0.1.0) generated via AutoRest PowerShell v4 for managing shared compute limits (SharedLimits and GuestSubscriptions) across Azure subscriptions.

Changes:

  • Registers the new module in tooling mappings.
  • Adds module packaging artifacts (csproj, manifest, assembly metadata, changelog, solution).
  • Adds generated help markdown, UX metadata, and Pester tests + recordings for the 6 cmdlets.

Reviewed changes

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

Show a summary per file
File Description
tools/CreateMappings_rules.json Adds ComputeLimit module mapping for tooling.
src/ComputeLimit/ComputeLimit/help/Az.ComputeLimit.md Adds module landing help page listing cmdlets.
src/ComputeLimit/ComputeLimit/help/Add-AzGuestSubscription.md Adds cmdlet help markdown.
src/ComputeLimit/ComputeLimit/help/Add-AzSharedLimit.md Adds cmdlet help markdown.
src/ComputeLimit/ComputeLimit/help/Get-AzGuestSubscription.md Adds cmdlet help markdown.
src/ComputeLimit/ComputeLimit/help/Get-AzSharedLimit.md Adds cmdlet help markdown.
src/ComputeLimit/ComputeLimit/help/Remove-AzGuestSubscription.md Adds cmdlet help markdown.
src/ComputeLimit/ComputeLimit/help/Remove-AzSharedLimit.md Adds cmdlet help markdown.
src/ComputeLimit/ComputeLimit/Properties/AssemblyInfo.cs Adds module assembly metadata.
src/ComputeLimit/ComputeLimit/ComputeLimit.csproj Adds module project file for build/pack output.
src/ComputeLimit/ComputeLimit/ChangeLog.md Adds module changelog with upcoming release entry.
src/ComputeLimit/ComputeLimit/Az.ComputeLimit.psd1 Adds module manifest (exports, dependencies, assembly paths).
src/ComputeLimit/ComputeLimit.sln Adds solution including ComputeLimit + generated Autorest project.
src/ComputeLimit/ComputeLimit.Autorest/utils/Unprotect-SecureString.ps1 Adds utility script for SecureString -> plaintext conversion.
src/ComputeLimit/ComputeLimit.Autorest/utils/Get-SubscriptionIdTestSafe.ps1 Adds helper to get subscriptionId in tests/playback.
src/ComputeLimit/ComputeLimit.Autorest/test/utils.ps1 Adds shared Pester testing utilities and env setup.
src/ComputeLimit/ComputeLimit.Autorest/test/loadEnv.ps1 Adds test env loader (env.json/localEnv.json).
src/ComputeLimit/ComputeLimit.Autorest/test/env.json Adds default test environment values (placeholder IDs/locations).
src/ComputeLimit/ComputeLimit.Autorest/test/Add-AzGuestSubscription.Tests.ps1 Adds Pester test for Add-AzGuestSubscription.
src/ComputeLimit/ComputeLimit.Autorest/test/Add-AzGuestSubscription.Recording.json Adds playback recording for Add-AzGuestSubscription.
src/ComputeLimit/ComputeLimit.Autorest/test/Add-AzSharedLimit.Tests.ps1 Adds Pester test for Add-AzSharedLimit.
src/ComputeLimit/ComputeLimit.Autorest/test/Add-AzSharedLimit.Recording.json Adds playback recording for Add-AzSharedLimit.
src/ComputeLimit/ComputeLimit.Autorest/test/Get-AzGuestSubscription.Tests.ps1 Adds Pester test for Get-AzGuestSubscription (list/get).
src/ComputeLimit/ComputeLimit.Autorest/test/Get-AzGuestSubscription.Recording.json Adds playback recording for Get-AzGuestSubscription.
src/ComputeLimit/ComputeLimit.Autorest/test/Get-AzSharedLimit.Tests.ps1 Adds Pester test for Get-AzSharedLimit (list/get).
src/ComputeLimit/ComputeLimit.Autorest/test/Get-AzSharedLimit.Recording.json Adds playback recording for Get-AzSharedLimit.
src/ComputeLimit/ComputeLimit.Autorest/test/Remove-AzGuestSubscription.Tests.ps1 Adds Pester test for Remove-AzGuestSubscription.
src/ComputeLimit/ComputeLimit.Autorest/test/Remove-AzGuestSubscription.Recording.json Adds playback recording for Remove-AzGuestSubscription.
src/ComputeLimit/ComputeLimit.Autorest/test/Remove-AzSharedLimit.Tests.ps1 Adds Pester test for Remove-AzSharedLimit.
src/ComputeLimit/ComputeLimit.Autorest/test/Remove-AzSharedLimit.Recording.json Adds playback recording for Remove-AzSharedLimit.
src/ComputeLimit/ComputeLimit.Autorest/test/README.md Documents the module’s Pester test structure/modes.
src/ComputeLimit/ComputeLimit.Autorest/how-to.md Adds developer guide for building/testing/packing the module.
src/ComputeLimit/ComputeLimit.Autorest/generate-info.json Adds generator run metadata.
src/ComputeLimit/ComputeLimit.Autorest/examples/Add-AzGuestSubscription.md Adds example markdown used for help generation.
src/ComputeLimit/ComputeLimit.Autorest/examples/Add-AzSharedLimit.md Adds example markdown used for help generation.
src/ComputeLimit/ComputeLimit.Autorest/examples/Get-AzGuestSubscription.md Adds example markdown used for help generation.
src/ComputeLimit/ComputeLimit.Autorest/examples/Get-AzSharedLimit.md Adds example markdown used for help generation.
src/ComputeLimit/ComputeLimit.Autorest/examples/Remove-AzGuestSubscription.md Adds example markdown used for help generation.
src/ComputeLimit/ComputeLimit.Autorest/examples/Remove-AzSharedLimit.md Adds example markdown used for help generation.
src/ComputeLimit/ComputeLimit.Autorest/docs/README.md Adds generated docs folder readme (overwritten on regen).
src/ComputeLimit/ComputeLimit.Autorest/docs/Add-AzGuestSubscription.md Adds generated cmdlet docs markdown.
src/ComputeLimit/ComputeLimit.Autorest/docs/Add-AzSharedLimit.md Adds generated cmdlet docs markdown.
src/ComputeLimit/ComputeLimit.Autorest/docs/Get-AzGuestSubscription.md Adds generated cmdlet docs markdown.
src/ComputeLimit/ComputeLimit.Autorest/docs/Get-AzSharedLimit.md Adds generated cmdlet docs markdown.
src/ComputeLimit/ComputeLimit.Autorest/docs/Remove-AzGuestSubscription.md Adds generated cmdlet docs markdown.
src/ComputeLimit/ComputeLimit.Autorest/docs/Remove-AzSharedLimit.md Adds generated cmdlet docs markdown.
src/ComputeLimit/ComputeLimit.Autorest/custom/README.md Documents how to add custom cmdlets/variants.
src/ComputeLimit/ComputeLimit.Autorest/custom/Az.ComputeLimit.custom.psm1 Loads private dll/internal module + dot-sources custom scripts.
src/ComputeLimit/ComputeLimit.Autorest/UX/Microsoft.ComputeLimit/locations-guestSubscriptions.json Adds portal UX metadata for guestSubscriptions commands.
src/ComputeLimit/ComputeLimit.Autorest/UX/Microsoft.ComputeLimit/locations-sharedLimits.json Adds portal UX metadata for sharedLimits commands.
src/ComputeLimit/ComputeLimit.Autorest/README.md Adds AutoRest config + module overview.
src/ComputeLimit/ComputeLimit.Autorest/Properties/AssemblyInfo.cs Adds generated assembly metadata for private dll.
src/ComputeLimit/ComputeLimit.Autorest/.gitignore Ignores generated/build outputs within the Autorest folder.
src/ComputeLimit/ComputeLimit.Autorest/.gitattributes Sets text normalization for generated content.
Comments suppressed due to low confidence (5)

src/ComputeLimit/ComputeLimit.Autorest/utils/Get-SubscriptionIdTestSafe.ps1:1

  • The playback detection here relies on $env:AzPSAutorestTestPlaybackMode, but the rest of the test harness in this module uses $TestMode (e.g., loadEnv.ps1, utils.ps1). If the environment variable isn’t set during playback runs, this will fall back to (Get-AzContext).Subscription.Id, which can break playback execution when no Az context is available. Consider switching the condition to $TestMode -eq 'playback' (or supporting both) so subscription selection is consistent with the rest of the test framework.
    src/ComputeLimit/ComputeLimit/help/Remove-AzSharedLimit.md:1
  • The YAML front-matter field external help file: is empty. For PowerShell help tooling this is typically the name of the generated MAML help file (for example Az.ComputeLimit-help.xml), and leaving it blank can interfere with help packaging/validation. Please populate this field consistently across the module help markdown files (and the generated docs copies if those are intended to ship).
    src/ComputeLimit/ComputeLimit.Autorest/utils/Unprotect-SecureString.ps1:1
  • This utility explicitly converts SecureString to plaintext, which is high-risk if it’s ever included in the shipped module or used outside a tightly controlled test scenario. If this is only needed for testing/debugging, consider relocating it under the test tooling area (or excluding it from packaging), and add a prominent warning/comment about intended scope to prevent accidental production use.
    src/ComputeLimit/ComputeLimit/Properties/AssemblyInfo.cs:1
  • Correct the product name casing: 'Powershell' should be 'PowerShell' in the AssemblyTitle string.
    src/ComputeLimit/ComputeLimit.Autorest/test/Remove-AzSharedLimit.Recording.json:1
  • The PR description says “Test recordings (.Recording.json) not yet recorded”, but this PR adds multiple .Recording.json files (including this one). Please update the PR description to reflect the current state (either remove that known item or clarify what recordings are still missing).

@NoriZC
Copy link
Collaborator

NoriZC commented Mar 17, 2026

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@NoriZC NoriZC self-assigned this Mar 18, 2026
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.

4 participants