Skip to content

Conversation

@eladperets
Copy link
Contributor

Description

Updated Az.Resources .NET SDK reference to 3.10.0-preview. The new SDK version includes the latest contract for Azure Policy aliases, where each alias can include additional metadata indicating whether it can be used in modify policies. This will allow users to search for modifiable aliases using the Get-AzPolicyAlias cmdlt. For example:

Get-AzPolicyAlias -NamespaceMatch "Storage" | where { $_.ResourceType -eq "storageAccounts" } | select -ExpandProperty Aliases | where { $_.DefaultMetadata.Attributes -eq "Modifiable" }

Checklist

  • I have read the Submitting Changes section of CONTRIBUTING.md
  • The title of the PR is clear and informative
  • The appropriate ChangeLog.md file(s) has been updated:
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header -- no new version header should be added
  • The PR does not introduce breaking changes
  • If applicable, the changes made in the PR have proper test coverage
  • For public API changes to cmdlets:
    • a cmdlet design review was approved for the changes in this repository (Microsoft internal only)
    • the markdown help files have been regenerated using the commands listed here

The new version includes the latest contract for Azure Policy aliases,
where each alias includes additional metadata indicating whether it can
be used in modify policies.
@adxsdkps
Copy link
Collaborator

Can one of the admins verify this patch?

Copy link
Member

@isra-fel isra-fel left a comment

Choose a reason for hiding this comment

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

LGTM!

@isra-fel isra-fel merged commit 015c51a into Azure:master Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants