Skip to content

Commit 9737fbb

Browse files
authored
Merge pull request #7317 from demyanenko/resourcegraph-cloud-shell
Fix Az.ResourceGraph exported commands
2 parents 9241c6a + c9db203 commit 9737fbb

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

src/ResourceManager/Profile/Commands.Profile/AzureRmAlias/Mappings.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,9 @@ public static Dictionary<string, object> GetCaseInsensitiveMapping()
556556
'Remove-AzDataFactoryV2Pipeline': 'Remove-AzureRmDataFactoryV2Pipeline',
557557
'Remove-AzDataFactoryV2IntegrationRuntimeNode': 'Remove-AzureRmDataFactoryV2IntegrationRuntimeNode'
558558
},
559+
'Az.ResourceGraph': {
560+
'Search-AzGraph': 'Search-AzureRmGraph'
561+
},
559562
'Az.PolicyInsights': {
560563
'Get-AzPolicyEvent': 'Get-AzureRmPolicyEvent',
561564
'Get-AzPolicyState': 'Get-AzureRmPolicyState',

src/ResourceManager/ResourceGraph/Commands.ResourceGraph/Az.ResourceGraph.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
FunctionsToExport = @()
7373

7474
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
75-
CmdletsToExport = 'Search-AzureRmGraph'
75+
CmdletsToExport = 'Search-AzGraph'
7676

7777
# Variables to export from this module
7878
# VariablesToExport = @()

tools/AliasMapping.json

256 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)