-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for output type and null subscriptions collection in ResourceGraph (
#15135) * Fixed null subscriptions exception, added change log * Added output type fix and updated tests Changes from PR #15125 * regenerated ps1xml, updated examples * Updated md file for the output type and changelog * added breaking change issues csv after rebasing with master * added parenthesses to csv to fix parsing issue Co-authored-by: makharch <[email protected]>
- Loading branch information
Showing
8 changed files
with
81 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 5 additions & 10 deletions
15
...ResourceGraph/ResourceGraph.format.ps1xml → ...ets.ResourceGraph.generated.format.ps1xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,25 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<?xml version="1.0"?> | ||
<Configuration> | ||
<ViewDefinitions> | ||
<View> | ||
<Name>Microsoft.Azure.Commands.ResourceGraph.Models.PSResourceGraphResponse</Name> | ||
<Name>Microsoft.Azure.Commands.ResourceGraph.Models.PSResourceGraphResponse`1[[System.Management.Automation.PSObject]]</Name> | ||
<ViewSelectedBy> | ||
<TypeName>Microsoft.Azure.Commands.ResourceGraph.Models.PSResourceGraphResponse</TypeName> | ||
<TypeName>Microsoft.Azure.Commands.ResourceGraph.Models.PSResourceGraphResponse`1[[System.Management.Automation.PSObject]]</TypeName> | ||
</ViewSelectedBy> | ||
<ListControl> | ||
<ListEntries> | ||
<ListEntry> | ||
<ListItems> | ||
<ListItem> | ||
<PropertyName>SkipToken</PropertyName> | ||
<ItemSelectionCondition> | ||
<ScriptBlock> | ||
$_.SkipToken -ne $null | ||
</ScriptBlock> | ||
</ItemSelectionCondition> | ||
</ListItem> | ||
<ListItem> | ||
<PropertyName>Data</PropertyName> | ||
</ListItem> | ||
</ListItem> | ||
</ListItems> | ||
</ListEntry> | ||
</ListEntries> | ||
</ListControl> | ||
</View> | ||
</ViewDefinitions> | ||
</Configuration> | ||
</Configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
tools/StaticAnalysis/Exceptions/Az.ResourceGraph/BreakingChangeIssues.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
"AssemblyFileName","ClassName","Target","Severity","ProblemId","Description","Remediation" | ||
"Az.ResourceGraph","Microsoft.Azure.Commands.ResourceGraph.Cmdlets.SearchAzureRmGraph","Search-AzGraph","0","1020","The cmdlet 'Search-AzGraph' no longer has output type 'Microsoft.Azure.Commands.ResourceGraph.Models.PSResourceGraphResponse'.","Make cmdlet 'Search-AzGraph' return type 'Microsoft.Azure.Commands.ResourceGraph.Models.PSResourceGraphResponse'." |