Skip to content

Commit 07a99cd

Browse files
authored
Resolve the issue of psd1 (#23617)
* Resolve the issue of psd1 * Resolve the issue of psd1 * Resolve the issue of psd1 * Fix the issue some modules don't have required modules
1 parent aaa7979 commit 07a99cd

File tree

177 files changed

+3740
-6222
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+3740
-6222
lines changed

src/ADDomainServices/ADDomainServices/Az.ADDomainServices.psd1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 11/13/2023
6+
# Generated on: 12/5/2023
77
#
88

99
@{
@@ -57,10 +57,10 @@ RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.9.0'; })
5757
RequiredAssemblies = 'ADDomainServices.Autorest/bin/Az.ADDomainServices.private.dll'
5858

5959
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
60-
# ScriptsToProcess = @()
60+
ScriptsToProcess = @()
6161

6262
# Type files (.ps1xml) to be loaded when importing this module
63-
# TypesToProcess = @()
63+
TypesToProcess = @()
6464

6565
# Format files (.ps1xml) to be loaded when importing this module
6666
FormatsToProcess = 'ADDomainServices.Autorest/Az.ADDomainServices.format.ps1xml'
@@ -78,10 +78,10 @@ FunctionsToExport = 'Get-AzADDomainService', 'New-AzADDomainService',
7878
CmdletsToExport = @()
7979

8080
# Variables to export from this module
81-
VariablesToExport = '*'
81+
# VariablesToExport = @()
8282

8383
# Aliases 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 aliases to export.
84-
AliasesToExport = '*'
84+
AliasesToExport = @()
8585

8686
# DSC resources to export from this module
8787
# DscResourcesToExport = @()

src/Advisor/Advisor/Az.Advisor.psd1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 11/13/2023
6+
# Generated on: 12/5/2023
77
#
88

99
@{
@@ -57,10 +57,10 @@ RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.10.2'; })
5757
RequiredAssemblies = 'Advisor.Autorest/bin/Az.Advisor.private.dll'
5858

5959
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
60-
# ScriptsToProcess = @()
60+
ScriptsToProcess = @()
6161

6262
# Type files (.ps1xml) to be loaded when importing this module
63-
# TypesToProcess = @()
63+
TypesToProcess = @()
6464

6565
# Format files (.ps1xml) to be loaded when importing this module
6666
FormatsToProcess = 'Advisor.Autorest/Az.Advisor.format.ps1xml'
@@ -77,10 +77,10 @@ FunctionsToExport = 'Disable-AzAdvisorRecommendation', 'Enable-AzAdvisorRecommen
7777
CmdletsToExport = @()
7878

7979
# Variables to export from this module
80-
VariablesToExport = '*'
80+
# VariablesToExport = @()
8181

8282
# Aliases 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 aliases to export.
83-
AliasesToExport = '*'
83+
AliasesToExport = @()
8484

8585
# DSC resources to export from this module
8686
# DscResourcesToExport = @()

src/Aks/Aks/Az.Aks.psd1

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 11/10/2023
6+
# Generated on: 12/5/2023
77
#
88

99
@{
@@ -56,51 +56,52 @@ DotNetFrameworkVersion = '4.7.2'
5656
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.13.2'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
59-
RequiredAssemblies = 'YamlDotNet.dll',
59+
RequiredAssemblies = 'Aks.Autorest/bin/Az.Aks.private.dll',
6060
'Microsoft.Azure.PowerShell.Aks.Management.Sdk.dll',
61-
'Aks.Autorest\bin\Az.Aks.private.dll'
61+
'YamlDotNet.dll'
6262

6363
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
64-
# ScriptsToProcess = @()
64+
ScriptsToProcess = @()
6565

6666
# Type files (.ps1xml) to be loaded when importing this module
67-
# TypesToProcess = @()
67+
TypesToProcess = @()
6868

6969
# Format files (.ps1xml) to be loaded when importing this module
70-
FormatsToProcess = 'Aks.Autorest\Az.Aks.format.ps1xml'
70+
FormatsToProcess = 'Aks.Autorest/Az.Aks.format.ps1xml'
7171

7272
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
73-
NestedModules = @('Microsoft.Azure.PowerShell.Cmdlets.Aks.dll',
74-
'Aks.Autorest\Az.Aks.psm1')
73+
NestedModules = @('Aks.Autorest/Az.Aks.psm1',
74+
'Microsoft.Azure.PowerShell.Cmdlets.Aks.dll')
7575

7676
# Functions 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 functions to export.
77-
FunctionsToExport = 'Get-AzAksNodePoolUpgradeProfile', 'Get-AzAksUpgradeProfile',
78-
'Get-AzAksVersion', 'Start-AzAksCluster', 'Stop-AzAksCluster',
79-
'Install-AzAksCliTool', 'Get-AzAksMaintenanceConfiguration',
77+
FunctionsToExport = 'Get-AzAksMaintenanceConfiguration',
8078
'Get-AzAksManagedClusterCommandResult',
8179
'Get-AzAksManagedClusterOSOption',
8280
'Get-AzAksManagedClusterOutboundNetworkDependencyEndpoint',
83-
'Get-AzAksSnapshot', 'Invoke-AzAksAbortAgentPoolLatestOperation',
81+
'Get-AzAksNodePoolUpgradeProfile', 'Get-AzAksSnapshot',
82+
'Get-AzAksUpgradeProfile', 'Get-AzAksVersion', 'Install-AzAksCliTool',
83+
'Invoke-AzAksAbortAgentPoolLatestOperation',
8484
'Invoke-AzAksAbortManagedClusterLatestOperation',
8585
'Invoke-AzAksRotateManagedClusterServiceAccountSigningKey',
8686
'New-AzAksMaintenanceConfiguration', 'New-AzAksSnapshot',
8787
'New-AzAksTimeInWeekObject', 'New-AzAksTimeSpanObject',
8888
'Remove-AzAksMaintenanceConfiguration', 'Remove-AzAksSnapshot',
89-
'Start-AzAksManagedClusterCommand'
89+
'Start-AzAksCluster', 'Start-AzAksManagedClusterCommand',
90+
'Stop-AzAksCluster'
9091

9192
# 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.
92-
CmdletsToExport = 'Get-AzAksCluster', 'New-AzAksCluster', 'Remove-AzAksCluster',
93-
'Import-AzAksCredential', 'Start-AzAksDashboard',
94-
'Stop-AzAksDashboard', 'Set-AzAksCluster', 'New-AzAksNodePool',
95-
'Update-AzAksNodePool', 'Remove-AzAksNodePool', 'Get-AzAksNodePool',
96-
'Enable-AzAksAddOn', 'Disable-AzAksAddOn',
97-
'Set-AzAksClusterCredential', 'Invoke-AzAksRunCommand'
93+
CmdletsToExport = 'Disable-AzAksAddOn', 'Enable-AzAksAddOn', 'Get-AzAksCluster',
94+
'Get-AzAksNodePool', 'Import-AzAksCredential',
95+
'Invoke-AzAksRunCommand', 'New-AzAksCluster', 'New-AzAksNodePool',
96+
'Remove-AzAksCluster', 'Remove-AzAksNodePool', 'Set-AzAksCluster',
97+
'Set-AzAksClusterCredential', 'Start-AzAksDashboard',
98+
'Stop-AzAksDashboard', 'Update-AzAksNodePool'
9899

99100
# Variables to export from this module
100-
VariablesToExport = '*'
101+
# VariablesToExport = @()
101102

102103
# Aliases 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 aliases to export.
103-
AliasesToExport = 'Get-AzAksClusterUpgradeProfile', 'Install-AzAksKubectl'
104+
AliasesToExport = 'Get-AzAksClusterUpgradeProfile'
104105

105106
# DSC resources to export from this module
106107
# DscResourcesToExport = @()
@@ -117,7 +118,8 @@ PrivateData = @{
117118
PSData = @{
118119

119120
# Tags applied to this module. These help with module discovery in online galleries.
120-
Tags = 'Azure','ResourceManager','ARM','AKS','Kubernetes','Container','Orchestrator','Containers','Docker'
121+
Tags = 'Azure', 'ResourceManager', 'ARM', 'AKS', 'Kubernetes', 'Container',
122+
'Orchestrator', 'Containers', 'Docker'
121123

122124
# A URL to the license for this module.
123125
LicenseUri = 'https://aka.ms/azps-license'
@@ -142,7 +144,7 @@ PrivateData = @{
142144

143145
} # End of PSData hashtable
144146

145-
} # End of PrivateData hashtable
147+
} # End of PrivateData hashtable
146148

147149
# HelpInfo URI of this module
148150
# HelpInfoURI = ''

src/Alb/Alb/Az.Alb.psd1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 11/13/2023
6+
# Generated on: 12/5/2023
77
#
88

99
@{
@@ -57,10 +57,10 @@ RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.12.4'; })
5757
RequiredAssemblies = 'Alb.Autorest/bin/Az.Alb.private.dll'
5858

5959
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
60-
# ScriptsToProcess = @()
60+
ScriptsToProcess = @()
6161

6262
# Type files (.ps1xml) to be loaded when importing this module
63-
# TypesToProcess = @()
63+
TypesToProcess = @()
6464

6565
# Format files (.ps1xml) to be loaded when importing this module
6666
FormatsToProcess = 'Alb.Autorest/Az.Alb.format.ps1xml'
@@ -78,10 +78,10 @@ FunctionsToExport = 'Get-AzAlb', 'Get-AzAlbAssociation', 'Get-AzAlbFrontend', 'N
7878
CmdletsToExport = @()
7979

8080
# Variables to export from this module
81-
VariablesToExport = '*'
81+
# VariablesToExport = @()
8282

8383
# Aliases 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 aliases to export.
84-
AliasesToExport = '*'
84+
AliasesToExport = @()
8585

8686
# DSC resources to export from this module
8787
# DscResourcesToExport = @()

src/AlertsManagement/AlertsManagement/Az.AlertsManagement.psd1

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 26/07/2023
6+
# Generated on: 12/5/2023
77
#
88

99
@{
@@ -57,22 +57,22 @@ RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.12.5'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
5959
RequiredAssemblies = 'Microsoft.Azure.PowerShell.AlertsManagement.Management.Sdk.dll',
60-
'PrometheusRuleGroups.Autorest\bin\Az.PrometheusRuleGroups.private.dll'
60+
'PrometheusRuleGroups.Autorest/bin/Az.PrometheusRuleGroups.private.dll'
6161

6262
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
63-
# ScriptsToProcess = @()
63+
ScriptsToProcess = @()
6464

6565
# Type files (.ps1xml) to be loaded when importing this module
66-
# TypesToProcess = @()
66+
TypesToProcess = @()
6767

6868
# Format files (.ps1xml) to be loaded when importing this module
6969
FormatsToProcess =
7070
'Microsoft.Azure.PowerShell.Cmdlets.AlertsManagement.generated.format.ps1xml',
71-
'PrometheusRuleGroups.Autorest\Az.PrometheusRuleGroups.format.ps1xml'
71+
'PrometheusRuleGroups.Autorest/Az.PrometheusRuleGroups.format.ps1xml'
7272

7373
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
7474
NestedModules = @('Microsoft.Azure.PowerShell.Cmdlets.AlertsManagement.dll',
75-
'PrometheusRuleGroups.Autorest\Az.PrometheusRuleGroups.psm1')
75+
'PrometheusRuleGroups.Autorest/Az.PrometheusRuleGroups.psm1')
7676

7777
# Functions 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 functions to export.
7878
FunctionsToExport = 'Get-AzPrometheusRuleGroup', 'New-AzPrometheusRuleGroup',
@@ -81,14 +81,15 @@ FunctionsToExport = 'Get-AzPrometheusRuleGroup', 'New-AzPrometheusRuleGroup',
8181
'Update-AzPrometheusRuleGroup'
8282

8383
# 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.
84-
CmdletsToExport = 'Get-AzAlert', 'Get-AzAlertObjectHistory', 'Update-AzAlertState',
85-
'Measure-AzAlertStatistic', 'Get-AzSmartGroup',
86-
'Get-AzSmartGroupHistory', 'Update-AzSmartGroupState',
87-
'Get-AzAlertProcessingRule', 'Set-AzAlertProcessingRule',
88-
'Update-AzAlertProcessingRule', 'Remove-AzAlertProcessingRule'
84+
CmdletsToExport = 'Get-AzAlert', 'Get-AzAlertObjectHistory',
85+
'Get-AzAlertProcessingRule', 'Get-AzSmartGroup',
86+
'Get-AzSmartGroupHistory', 'Measure-AzAlertStatistic',
87+
'Remove-AzAlertProcessingRule', 'Set-AzAlertProcessingRule',
88+
'Update-AzAlertProcessingRule', 'Update-AzAlertState',
89+
'Update-AzSmartGroupState'
8990

9091
# Variables to export from this module
91-
VariablesToExport = '*'
92+
# VariablesToExport = @()
9293

9394
# Aliases 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 aliases to export.
9495
AliasesToExport = @()
@@ -108,7 +109,7 @@ PrivateData = @{
108109
PSData = @{
109110

110111
# Tags applied to this module. These help with module discovery in online galleries.
111-
Tags = 'Azure','Alerts','AlertsManagement','Notifications'
112+
Tags = 'Azure', 'Alerts', 'AlertsManagement', 'Notifications'
112113

113114
# A URL to the license for this module.
114115
LicenseUri = 'https://aka.ms/azps-license'
@@ -133,7 +134,7 @@ PrivateData = @{
133134

134135
} # End of PSData hashtable
135136

136-
} # End of PrivateData hashtable
137+
} # End of PrivateData hashtable
137138

138139
# HelpInfo URI of this module
139140
# HelpInfoURI = ''

src/AnalysisServices/AnalysisServices/Az.AnalysisServices.psd1

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 7/9/2020
6+
# Generated on: 12/5/2023
77
#
88

99
@{
@@ -47,7 +47,7 @@ PowerShellVersion = '5.1'
4747
DotNetFrameworkVersion = '4.7.2'
4848

4949
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
50-
# CLRVersion = ''
50+
# ClrVersion = ''
5151

5252
# Processor architecture (None, X86, Amd64) required by this module
5353
# ProcessorArchitecture = ''
@@ -59,42 +59,42 @@ RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.7.4'; })
5959
RequiredAssemblies = 'Microsoft.Azure.Management.Analysis.dll'
6060

6161
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
62-
# ScriptsToProcess = @()
62+
ScriptsToProcess = @()
6363

6464
# Type files (.ps1xml) to be loaded when importing this module
65-
# TypesToProcess = @()
65+
TypesToProcess = @()
6666

6767
# Format files (.ps1xml) to be loaded when importing this module
68-
# FormatsToProcess = @()
68+
FormatsToProcess = @()
6969

7070
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
71-
NestedModules = @('Microsoft.Azure.PowerShell.Cmdlets.AnalysisServices.dll',
72-
'Microsoft.Azure.PowerShell.Cmdlets.AnalysisServices.Dataplane.dll')
71+
NestedModules = @('Microsoft.Azure.PowerShell.Cmdlets.AnalysisServices.Dataplane.dll',
72+
'Microsoft.Azure.PowerShell.Cmdlets.AnalysisServices.dll')
7373

7474
# Functions 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 functions to export.
7575
FunctionsToExport = @()
7676

7777
# 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.
78-
CmdletsToExport = 'Resume-AzAnalysisServicesServer',
79-
'Suspend-AzAnalysisServicesServer', 'Get-AzAnalysisServicesServer',
80-
'Remove-AzAnalysisServicesServer', 'Set-AzAnalysisServicesServer',
81-
'Test-AzAnalysisServicesServer', 'New-AzAnalysisServicesServer',
82-
'New-AzAnalysisServicesFirewallRule',
78+
CmdletsToExport = 'Add-AzAnalysisServicesAccount',
79+
'Export-AzAnalysisServicesInstanceLog',
80+
'Get-AzAnalysisServicesServer',
8381
'New-AzAnalysisServicesFirewallConfig',
84-
'Add-AzAnalysisServicesAccount',
82+
'New-AzAnalysisServicesFirewallRule',
83+
'New-AzAnalysisServicesServer', 'Remove-AzAnalysisServicesServer',
8584
'Restart-AzAnalysisServicesInstance',
86-
'Export-AzAnalysisServicesInstanceLog',
87-
'Sync-AzAnalysisServicesInstance'
85+
'Resume-AzAnalysisServicesServer', 'Set-AzAnalysisServicesServer',
86+
'Suspend-AzAnalysisServicesServer',
87+
'Sync-AzAnalysisServicesInstance', 'Test-AzAnalysisServicesServer'
8888

8989
# Variables to export from this module
9090
# VariablesToExport = @()
9191

9292
# Aliases 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 aliases to export.
93-
AliasesToExport = 'Resume-AzAs', 'Suspend-AzAs', 'Get-AzAs', 'Remove-AzAs', 'Set-AzAs',
94-
'Test-AzAs', 'New-AzAs', 'Login-AzAsAccount', 'Login-AzureAsAccount',
95-
'Export-AzAsInstanceLog', 'Export-AzureAsInstanceLog',
96-
'Sync-AzAsInstance', 'Sync-AzureAsInstance', 'Restart-AzAsInstance',
97-
'Restart-AzureAsInstance'
93+
AliasesToExport = 'Export-AzAsInstanceLog', 'Export-AzureAsInstanceLog', 'Get-AzAs',
94+
'Login-AzAsAccount', 'Login-AzureAsAccount', 'New-AzAs', 'Remove-AzAs',
95+
'Restart-AzAsInstance', 'Restart-AzureAsInstance', 'Resume-AzAs',
96+
'Set-AzAs', 'Suspend-AzAs', 'Sync-AzAsInstance', 'Sync-AzureAsInstance',
97+
'Test-AzAs'
9898

9999
# DSC resources to export from this module
100100
# DscResourcesToExport = @()
@@ -111,7 +111,7 @@ PrivateData = @{
111111
PSData = @{
112112

113113
# Tags applied to this module. These help with module discovery in online galleries.
114-
Tags = 'Azure','ResourceManager','ARM','AzureAS','AS'
114+
Tags = 'Azure', 'ResourceManager', 'ARM', 'AzureAS', 'AS'
115115

116116
# A URL to the license for this module.
117117
LicenseUri = 'https://aka.ms/azps-license'
@@ -136,7 +136,7 @@ PrivateData = @{
136136

137137
} # End of PSData hashtable
138138

139-
} # End of PrivateData hashtable
139+
} # End of PrivateData hashtable
140140

141141
# HelpInfo URI of this module
142142
# HelpInfoURI = ''

0 commit comments

Comments
 (0)