Skip to content

Stacks initial version support for 2025-07-01 API #29447

Open
anamikapan11 wants to merge 14 commits intoAzure:mainfrom
anamikapan11:anapandey/stacks-2025-07-01
Open

Stacks initial version support for 2025-07-01 API #29447
anamikapan11 wants to merge 14 commits intoAzure:mainfrom
anamikapan11:anapandey/stacks-2025-07-01

Conversation

@anamikapan11
Copy link
Copy Markdown

@anamikapan11 anamikapan11 commented Apr 24, 2026

Regenerated Deployment Stacks SDK from the 2025-07-01 REST specification.

Added -ResourcesWithoutDeleteSupport parameter to New/Set/Test/Remove deployment stack cmdlets at subscription, resource group, and management group scopes. Controls the action taken on resources that do not support deletion. Possible values: 'Fail' (default) and 'Detach'.

Added -ValidationLevel parameter to New/Set/Test deployment stack cmdlets at all three scopes. Controls the deployment stack validation level. Possible values: 'Provider' (default), 'Template', and 'ProviderNoRbac'.

Surfaced resourcesWithoutDeleteSupport and validationLevel on PSDeploymentStack output. Added PSResourcesWithoutDeleteSupport and PSValidationLevel PS enums consistent with existing PSActionOnUnmanage and PSDenySettingsMode patterns.

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 April 24, 2026 22:34
@azure-client-tools-bot-prd
Copy link
Copy Markdown

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

@VeryEarly
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

Copy link
Copy Markdown
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

Updates the Az.Resources Deployment Stacks surface to the 2025-07-01 API version, regenerating the underlying SDK and wiring new request/response fields into the stack cmdlets and outputs.

Changes:

  • Regenerated the Deployment Stacks SDK for 2025-07-01, isolating generated types into a dedicated Generated/DeploymentStacks folder/namespace.
  • Added -ResourcesWithoutDeleteSupport (New/Set/Test/Remove) and -ValidationLevel (New/Set/Test) parameters across subscription/resource group/management group deployment stack cmdlets.
  • Updated help content and PSDeploymentStack output to surface resourcesWithoutDeleteSupport and validationLevel.

Reviewed changes

Copilot reviewed 41 out of 126 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/Resources/Resources/help/Save-AzSubscriptionDeploymentStackTemplate.md Help update (ProgressAction/type formatting)
src/Resources/Resources/help/Save-AzResourceGroupDeploymentStackTemplate.md Help update (ProgressAction/type formatting)
src/Resources/Resources/help/Save-AzManagementGroupDeploymentStackTemplate.md Help update (ProgressAction/type formatting)
src/Resources/Resources/help/Remove-AzSubscriptionDeploymentStack.md Help: add ResourcesWithoutDeleteSupport + ProgressAction
src/Resources/Resources/help/Remove-AzResourceGroupDeploymentStack.md Help: add ResourcesWithoutDeleteSupport + ProgressAction
src/Resources/Resources/help/Remove-AzManagementGroupDeploymentStack.md Help: add ResourcesWithoutDeleteSupport + ProgressAction
src/Resources/Resources/help/Get-AzSubscriptionDeploymentStack.md Help update (ProgressAction/type formatting)
src/Resources/Resources/help/Get-AzResourceGroupDeploymentStack.md Help update (ProgressAction/type formatting)
src/Resources/Resources/help/Get-AzManagementGroupDeploymentStack.md Help update (ProgressAction/type formatting)
src/Resources/Resources/help/Az.Resources.md Help index updates (cmdlet listing text)
src/Resources/Resources/ChangeLog.md Release notes for stacks parameters/output updates
src/Resources/Resources.Management.Sdk/README.md AutoRest tag/commit update for deployment stacks 2025-07
src/Resources/Resources.Management.Sdk/Generated/Models/DeploymentStackProvisioningState.cs Removed old generated model (moved to DeploymentStacks namespace)
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/ValidationLevel.cs New generated enum constants for validationLevel
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/UnmanageActionResourceMode.cs Namespace move + doc comments
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/UnmanageActionResourceGroupMode.cs Namespace move + doc comments
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/UnmanageActionManagementGroupMode.cs Namespace move + doc comments
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/SystemData.cs New generated SystemData model under DeploymentStacks
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/ResourcesWithoutDeleteSupportAction.cs New generated enum constants for resourcesWithoutDeleteSupport
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/ResourceStatusMode.cs New generated status constants
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/ResourceReferenceExtended.cs New generated model for failed resources
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/ResourceReference.cs New generated resource reference model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/Resource.cs New generated base Resource model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/ProxyResource.cs New generated proxy resource base
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/Page.cs New generated paging helper
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/ManagedResourceReference.cs New generated managed resource reference
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/KeyVaultReference.cs New generated Key Vault reference model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/KeyVaultParameterReference.cs New generated Key Vault parameter reference model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/ErrorResponseException.cs Renamed/moved exception type to DeploymentStacks namespace
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/ErrorResponse.cs Renamed/moved error response model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/ErrorDetail.cs New generated error detail model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/ErrorAdditionalInfo.cs New generated error additional info model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksWhatIfResultsAtSubscriptionWhatIfHeaders.cs New generated headers type (what-if)
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksWhatIfResultsAtSubscriptionCreateOrUpdateHeaders.cs New generated headers type (create/update)
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksWhatIfResultsAtResourceGroupWhatIfHeaders.cs New generated headers type (what-if)
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksWhatIfResultsAtResourceGroupCreateOrUpdateHeaders.cs New generated headers type (create/update)
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksWhatIfResultsAtManagementGroupWhatIfHeaders.cs New generated headers type (what-if)
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksWhatIfResultsAtManagementGroupCreateOrUpdateHeaders.cs New generated headers type (create/update)
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksWhatIfResult.cs New generated What-If result resource model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksWhatIfResourceChangeResourceConfigurationChanges.cs New generated What-If model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksWhatIfResourceChangeManagementStatusChange.cs New generated What-If model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksWhatIfResourceChangeDenyStatusChange.cs New generated What-If model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksWhatIfResourceChange.cs New generated What-If model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksWhatIfPropertyChangeType.cs New generated What-If enum constants
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksWhatIfPropertyChange.cs New generated What-If property change model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksWhatIfChangeType.cs New generated What-If enum constants
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksWhatIfChangeDeploymentScopeChange.cs New generated What-If model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksWhatIfChangeDenySettingsChange.cs New generated What-If model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksWhatIfChangeCertainty.cs New generated What-If enum constants
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksWhatIfChange.cs New generated What-If aggregate model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksValidateStackAtSubscriptionHeaders.cs Header type update (Retry-After typing + namespace)
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksValidateStackAtResourceGroupHeaders.cs Header type update (Retry-After typing + namespace)
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksValidateStackAtManagementGroupHeaders.cs Header type update (Retry-After typing + namespace)
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksTemplateLink.cs Namespace move
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksParametersLink.cs Namespace move
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksManagementStatus.cs New generated constants
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksDiagnosticLevel.cs New generated constants
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksDiagnostic.cs New generated diagnostic model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksDeleteAtSubscriptionHeaders.cs Header type update (Retry-After + namespace)
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksDeleteAtResourceGroupHeaders.cs Header type update (Retry-After + namespace)
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksDeleteAtManagementGroupHeaders.cs Header type update (Retry-After + namespace)
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksDebugSetting.cs Namespace move
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksCreateOrUpdateAtSubscriptionHeaders.cs New generated headers type (create/update)
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksCreateOrUpdateAtResourceGroupHeaders.cs New generated headers type (create/update)
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStacksCreateOrUpdateAtManagementGroupHeaders.cs New generated headers type (create/update)
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStackValidateResult.cs Namespace move + property setter change
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStackValidateProperties.cs Added deploymentExtensions + validationLevel fields
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStackTemplateDefinition.cs Template type refined to dictionary
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentStackProvisioningState.cs New provisioning state constants for 2025-07
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentParameter.cs New deployment parameter model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentExternalInputDefinition.cs New external input definition model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentExternalInput.cs New external input value model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentExtensionConfigItem.cs New extension config item model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DeploymentExtension.cs New extension model
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DenyStatusMode.cs New deny status constants
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DenySettingsMode.cs Namespace move
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/DenySettings.cs Namespace move
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/CreatedByType.cs Renamed/moved enum constants
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/Models/ActionOnUnmanage.cs Added resourcesWithoutDeleteSupport field
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/IDeploymentStacksWhatIfResultsAtSubscriptionOperations.cs New generated What-If operations interface
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/IDeploymentStacksWhatIfResultsAtResourceGroupOperations.cs New generated What-If operations interface
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/IDeploymentStacksWhatIfResultsAtManagementGroupOperations.cs New generated What-If operations interface
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/IDeploymentStacksClient.cs Client namespace move + new What-If ops properties
src/Resources/Resources.Management.Sdk/Generated/DeploymentStacks/DeploymentStacksClient.cs Client API version bump + What-If ops wiring
src/Resources/ResourceManager/SdkModels/DeploymentStacks/PSValidationLevel.cs New PS enum for validationLevel
src/Resources/ResourceManager/SdkModels/DeploymentStacks/PSResourcesWithoutDeleteSupport.cs New PS enum for resourcesWithoutDeleteSupport
src/Resources/ResourceManager/SdkModels/DeploymentStacks/PSDeploymentStackValidationInfo.cs Updated SDK type namespaces
src/Resources/ResourceManager/SdkModels/DeploymentStacks/PSDeploymentStackTemplateLink.cs Updated SDK type namespaces
src/Resources/ResourceManager/SdkModels/DeploymentStacks/PSDeploymentStackTemplateDefinition.cs Updated SDK type namespaces
src/Resources/ResourceManager/SdkModels/DeploymentStacks/PSDeploymentStackParameter.cs Updated SDK type namespaces
src/Resources/ResourceManager/SdkModels/DeploymentStacks/PSDeploymentStack.cs Surfaced resourcesWithoutDeleteSupport + validationLevel output
src/Resources/ResourceManager/SdkModels/DeploymentStackWhatIf/PSDeploymentStackWhatIfResourceChange.cs Deployment stacks What-If PS model updates
src/Resources/ResourceManager/Implementation/DeploymentStacks/TestAzSubscriptionDeploymentStack.cs Wire new parameters into Test-* stack cmdlet
src/Resources/ResourceManager/Implementation/DeploymentStacks/TestAzResourceGroupDeploymentStack.cs Wire new parameters into Test-* stack cmdlet
src/Resources/ResourceManager/Implementation/DeploymentStacks/TestAzManagementGroupDeploymentStack.cs Wire new parameters into Test-* stack cmdlet
src/Resources/ResourceManager/Implementation/DeploymentStacks/SetAzSubscriptionDeploymentStack.cs Add new parameters + wire into Set-* stack cmdlet
src/Resources/ResourceManager/Implementation/DeploymentStacks/SetAzResourceGroupDeploymentStack.cs Add new parameters + wire into Set-* stack cmdlet
src/Resources/ResourceManager/Implementation/DeploymentStacks/SetAzManagmentGroupDeploymentStack.cs Add new parameters + wire into Set-* stack cmdlet
src/Resources/ResourceManager/Implementation/DeploymentStacks/RemoveAzSubscriptionDeploymentStack.cs Add -ResourcesWithoutDeleteSupport + pass to delete
src/Resources/ResourceManager/Implementation/DeploymentStacks/RemoveAzResourceGroupDeploymentStack.cs Add -ResourcesWithoutDeleteSupport + pass to delete
src/Resources/ResourceManager/Implementation/DeploymentStacks/RemoveAzManagmentGroupDeploymentStack.cs Add -ResourcesWithoutDeleteSupport + pass to delete
src/Resources/ResourceManager/Implementation/DeploymentStacks/NewAzSubscriptionDeploymentStack.cs Add new parameters + wire into New-* stack cmdlet
src/Resources/ResourceManager/Implementation/DeploymentStacks/NewAzResourceGroupDeploymentStack.cs Add new parameters + wire into New-* stack cmdlet
src/Resources/ResourceManager/Implementation/DeploymentStacks/NewAzManagementGroupDeploymentStack.cs Add new parameters + wire into New-* stack cmdlet

Comment thread src/Resources/Resources/ChangeLog.md Outdated
Comment thread src/Resources/ResourceManager/SdkClient/DeploymentStacksSdkClient.cs Outdated
@VeryEarly
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

Copilot AI review requested due to automatic review settings April 27, 2026 23:56
Copy link
Copy Markdown
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 45 out of 132 changed files in this pull request and generated 10 comments.

Comment thread src/Resources/Resources/ChangeLog.md Outdated
Comment on lines 53 to 57
[Parameter(Position = 0, Mandatory = true, ValueFromPipeline = true, ParameterSetName = RemoveByStackObjectParameterSetName,
HelpMessage = "The stack PS object")]
[ValidateNotNullOrEmpty]
public PSDeploymentStack InputObjet { get; set; }
public PSDeploymentStack InputObject { get; set; }

Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

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

Renaming the public parameter from InputObjet to InputObject is a breaking change for users. Add an [Alias("InputObjet")] so the original parameter spelling remains supported.

Copilot uses AI. Check for mistakes.
@VeryEarly
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@VeryEarly
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

Copilot AI review requested due to automatic review settings April 28, 2026 00:54
Copy link
Copy Markdown
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 45 out of 132 changed files in this pull request and generated 3 comments.

Comment on lines +58 to 61
Type: PSActionOnUnmanage
Parameter Sets: (All)
Aliases:
Aliases: InputObjet
Accepted values: DetachAll, DeleteResources, DeleteAll
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

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

In the -ActionOnUnmanage parameter block, the help lists Aliases: InputObjet, but ActionOnUnmanage doesn’t have that alias in the cmdlet (the alias belongs to the -InputObject parameter). This makes the docs misleading—please remove the alias from -ActionOnUnmanage (and ensure -InputObject shows the alias instead).

Copilot uses AI. Check for mistakes.
Comment on lines +59 to 62
Type: PSActionOnUnmanage
Parameter Sets: (All)
Aliases:
Aliases: InputObjet
Accepted values: DetachAll, DeleteResources, DeleteAll
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

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

In the -ActionOnUnmanage parameter block, the help lists Aliases: InputObjet, but ActionOnUnmanage doesn’t have that alias in the cmdlet (the alias belongs to the -InputObject parameter). This makes the docs misleading—please remove the alias from -ActionOnUnmanage (and ensure -InputObject shows the alias instead).

Copilot uses AI. Check for mistakes.
Comment on lines +59 to 62
Type: PSActionOnUnmanage
Parameter Sets: (All)
Aliases:
Aliases: InputObjet
Accepted values: DetachAll, DeleteResources, DeleteAll
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

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

In the -ActionOnUnmanage parameter block, the help lists Aliases: InputObjet, but ActionOnUnmanage doesn’t have that alias in the cmdlet (the alias belongs to the -InputObject parameter). This makes the docs misleading—please remove the alias from -ActionOnUnmanage (and ensure -InputObject shows the alias instead).

Copilot uses AI. Check for mistakes.
@VeryEarly
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@anamikapan11 anamikapan11 force-pushed the anapandey/stacks-2025-07-01 branch from 0b374bb to c538e86 Compare April 28, 2026 01:41
@VeryEarly
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

Copilot AI review requested due to automatic review settings April 28, 2026 05:43
Regenerated Deployment Stacks SDK via autorest from the 2025-07-01 REST API specification. Generated code moves from Microsoft.Azure.Management.Resources.Models namespace into the dedicated Microsoft.Azure.Management.Resources.DeploymentStacks.Models subnamespace. Updated README autorest configuration tag from package-deploymentstacks-2024-03 to package-deploymentstacks-2025-07. Updated SdkModels namespace imports on PSDeploymentStackParameter, PSDeploymentStackTemplateDefinition, PSDeploymentStackTemplateLink, and PSDeploymentStackValidationInfo to compile against the new SDK namespace. Feature work for new parameters (ResourcesWithoutDeleteSupport, ValidationLevel) lands in a follow-up commit.
…port for Deployment Stacks

Added -ResourcesWithoutDeleteSupport parameter to New/Set/Test/Remove deployment stack cmdlets at subscription, resource group, and management group scopes. Controls the action taken on resources that do not support deletion. Possible values: 'Fail' (default) and 'Detach'.

Added -ValidationLevel parameter to New/Set/Test deployment stack cmdlets at all three scopes. Controls the deployment stack validation level. Possible values: 'Provider' (default), 'Template', and 'ProviderNoRbac'.

Surfaced resourcesWithoutDeleteSupport and validationLevel on PSDeploymentStack output. Added PSResourcesWithoutDeleteSupport and PSValidationLevel PS enums consistent with existing PSActionOnUnmanage and PSDenySettingsMode patterns. On DELETE, the RWDS value is extracted from the built ActionOnUnmanage model and passed as a query parameter to the SDK, matching the CLI wiring pattern.
@VeryEarly
Copy link
Copy Markdown
Collaborator

/apz run

@VeryEarly VeryEarly self-assigned this Apr 28, 2026
@VeryEarly
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@VeryEarly
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

Copilot AI review requested due to automatic review settings April 28, 2026 15:13
Copy link
Copy Markdown
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 46 out of 133 changed files in this pull request and generated no new comments.

@VeryEarly
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@VeryEarly
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

Copilot AI review requested due to automatic review settings April 29, 2026 04:23
Copy link
Copy Markdown
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 46 out of 133 changed files in this pull request and generated no new comments.

@VeryEarly
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

Copilot AI review requested due to automatic review settings May 3, 2026 22:56
Copy link
Copy Markdown
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 47 out of 134 changed files in this pull request and generated 1 comment.

{
return model == null
? default(T)
: JObject.FromObject(model).ToObject<T>();
@VeryEarly
Copy link
Copy Markdown
Collaborator

/azp run

@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants