forked from microsoft/navcontainerhelper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BcContainerHelper.psd1
306 lines (262 loc) · 16.8 KB
/
BcContainerHelper.psd1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
#
# Module manifest for module 'BcContainerHelper'
#
# Generated by: Freddy Kristiansen
#
# Generated on: 23/06/2023
#
@{
# Script module or binary module file associated with this manifest.
RootModule = 'BcContainerHelper.psm1'
# Version number of this module.
ModuleVersion = '5.0.4'
# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
# ID used to uniquely identify this module
GUID = '8e034fbc-8c30-446d-bbc3-5b3be5392491'
# Author of this module
Author = 'Freddy Kristiansen'
# Company or vendor of this module
CompanyName = 'Microsoft'
# Copyright statement for this module
Copyright = '(c) 2022 Microsoft. All rights reserved.'
# Description of the functionality provided by this module
Description = 'PowerShell module, which makes it easier to work with Business Central Containers on Docker.'
# Minimum version of the Windows PowerShell engine required by this module
PowerShellVersion = '5.1'
# Name of the Windows PowerShell host required by this module
# PowerShellHostName = ''
# Minimum version of the Windows PowerShell host required by this module
# PowerShellHostVersion = ''
# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# DotNetFrameworkVersion = ''
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# CLRVersion = ''
# Processor architecture (None, X86, Amd64) required by this module
# ProcessorArchitecture = ''
# Modules that must be imported into the global environment prior to importing this module
# RequiredModules = @()
# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()
# Type files (.ps1xml) to be loaded when importing this module
# TypesToProcess = @()
# Format files (.ps1xml) to be loaded when importing this module
# FormatsToProcess = @()
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
# NestedModules = @()
# 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.
FunctionsToExport = 'Add-FontsToBcContainer', 'Add-GitToAlProjectFolder',
'AddTelemetryProperty', 'Backup-BcContainerDatabases',
'Cancel-AppSourceSubmission', 'Check-BcContainerHelperPermissions',
'Clean-BcContainerDatabase', 'Compile-AppInBcContainer',
'Compile-AppWithBcCompilerFolder', 'Compile-ObjectsInNavContainer',
'Convert-AlcOutputToDevOps', 'Convert-BcAppsToRuntimePackages',
'Convert-ModifiedObjectsToAl', 'ConvertTo-HashTable',
'ConvertTo-OrderedDictionary', 'Convert-Txt2Al', 'Copy-AlSourceFiles',
'Copy-AppFilesToCompilerFolder', 'Copy-BcEnvironment',
'Download-BcNuGetPackageToFolder', 'Copy-CompanyInBcContainer',
'Copy-FileFromBcContainer', 'Copy-FileFromCloudBcContainer',
'Copy-FileToBcContainer', 'Copy-FileToCloudBcContainer',
'Copy-ItemFromBcContainer', 'Copy-ItemToBcContainer',
'Create-AadAppsForNav', 'Create-AadUsersInBcContainer',
'Create-AlProjectFolderFromBcContainer',
'Create-CustomTraefikImage', 'Create-MyDeltaFolder',
'Create-MyOriginalFolder', 'Download-Artifacts', 'Download-File',
'Enter-BcContainer', 'Export-BcContainerDatabasesAsBacpac',
'Export-ModifiedObjectsAsDeltas', 'Export-NavContainerObjects',
'Extract-AppFileToFolder', 'Extract-FilesFromBcContainerImage',
'Extract-FilesFromStoppedBcContainer', 'Flush-ContainerHelperCache',
'Generate-SymbolsInNavContainer',
'Get-AlLanguageExtensionFromArtifacts', 'Get-AlpacaBcContainer',
'Get-AlpacaBcContainerEventLog', 'Get-AppSourceProduct',
'Get-AppSourceSubmission', 'Get-AzureFeedWildcardVersion',
'Get-BCArtifactUrl', 'Get-BcContainerApiCompanyId',
'Get-BcContainerApp', 'Get-BcContainerAppInfo',
'Get-BcContainerAppRuntimePackage', 'Get-BcContainerArtifactUrl',
'Get-BcContainerBcUser', 'Get-BcContainerCountry',
'Get-BcContainerDebugInfo', 'Get-BcContainerEula',
'Get-BcContainerEventLog', 'Get-BcContainerGenericTag',
'Get-BcContainerId', 'Get-BcContainerImageLabels',
'Get-BcContainerImageName', 'Get-BcContainerImageTags',
'Get-BcContainerIpAddress', 'Get-BcContainerLegal',
'Get-BcContainerLicenseInformation', 'Get-BcContainerName',
'Get-BcContainerNavVersion', 'Get-BcContainerOsVersion',
'Get-BcContainerPath', 'Get-BcContainerPlatformVersion',
'Get-BcContainers', 'Get-BcContainerServerConfiguration',
'Get-BcContainerSession', 'Get-BcContainerSharedFolders',
'Get-BcContainerTenants',
'Get-BcEnvironmentAvailableRestorePeriods',
'Get-BcEnvironmentDatabaseExportHistory',
'Get-BcEnvironmentInstalledExtensions',
'Get-BcEnvironmentOperations', 'Get-BcEnvironmentPublishedApps',
'Get-BcEnvironments', 'Get-BcEnvironmentScheduledUpgrade',
'Get-BcEnvironmentUpdateWindow', 'Get-BcEnvironmentUsedStorage',
'Get-BcNotificationRecipients', 'Find-BcNuGetPackage', 'Get-BcNuGetPackage',
'Get-BestBcContainerImageName', 'Get-BestGenericImageName',
'Get-CloudBcContainerEventLog',
'Get-CloudBcContainerServerConfiguration',
'Get-CompanyInBcContainer', 'Get-LatestAlLanguageExtensionUrl',
'Get-LocaleFromCountry', 'Get-NavArtifactUrl',
'Get-NavVersionFromVersionInfo',
'Get-PackageInfoFromRapidStartFile', 'Get-PlainText',
'Get-TestsFromBcContainer', 'Import-BcContainerLicense',
'Import-CertificateToBcContainer',
'Import-ConfigPackageInBcContainer', 'Import-DeltasToNavContainer',
'Import-ObjectsToNavContainer',
'Import-PfxCertificateToBcContainer',
'Import-TestToolkitToBcContainer', 'InitTelemetryScope',
'Install-AzDevops', 'Install-BcAppFromAppSource',
'Install-BcContainerApp',
'Install-NAVSipCryptoProviderFromBcContainer',
'Invoke-BcContainerApi', 'invoke-gh', 'invoke-git',
'Invoke-IngestionApiDelete', 'Invoke-IngestionApiGet',
'Invoke-IngestionApiGetCollection', 'Invoke-IngestionApiPost',
'Invoke-IngestionApiPut', 'Invoke-NavContainerCodeunit',
'Invoke-ScriptInAlpacaBcContainer', 'Invoke-ScriptInBcContainer',
'New-AadAppsForBc', 'New-ALGoAppSourceContext', 'New-ALGoAuthContext',
'New-ALGoNugetContext', 'New-ALGoRepo', 'New-ALGoStorageContext',
'New-AlpacaBcContainer', 'New-AppSourceSubmission',
'New-BcAuthContext', 'New-BcCompilerFolder', 'New-BcContainer',
'New-BcContainerBcUser', 'New-BcContainerTenant',
'New-BcContainerWindowsUser', 'New-BcContainerWizard',
'New-BcEnvironment', 'New-BcEnvironmentDatabaseExport', 'New-BcImage',
'New-BcNotificationRecipient', 'New-BcNuGetPackage',
'New-CompanyInBcContainer', 'New-DesktopShortcut',
'New-LetsEncryptCertificate', 'Open-BcContainer',
'Promote-AppSourceSubmission', 'Publish-BcContainerApp',
'Publish-BcNuGetPackageToContainer',
'Publish-BuildOutputToAzureFeed', 'Publish-BuildOutputToStorage',
'Publish-NewApplicationToBcContainer',
'Publish-PerTenantExtensionApps', 'Push-BcNuGetPackage',
'RegisterTelemetryScope', 'Remove-AadAppsForBc',
'Remove-AlpacaBcContainer', 'Remove-BcCompilerFolder',
'Remove-BcContainer', 'Remove-BcContainerSession',
'Remove-BcContainerTenant', 'Remove-BcDatabase',
'Remove-BcEnvironment', 'Remove-CompanyInBcContainer',
'Remove-ConfigPackageInBcContainer', 'Remove-DesktopShortcut',
'Rename-BcEnvironment', 'Renew-BcAuthContext',
'Renew-LetsEncryptCertificate', 'Repair-BcContainerApp',
'Replace-BcServerContainer', 'Replace-DependenciesInAppFile',
'Reschedule-BcEnvironmentUpgrade',
'Resolve-DependenciesFromAzureFeed', 'Restart-BcContainer',
'Restart-BcContainerServiceTier', 'Restore-BcDatabaseFromArtifacts',
'Restore-BcEnvironment', 'Restore-DatabasesInBcContainer',
'Run-AlCops', 'Run-AlPipeline', 'Run-AlValidation',
'Run-BCPTTestsInBcContainer', 'Run-ConnectionTestToBcContainer',
'Run-TestsInBcContainer', 'Set-BcContainerFeatureKeys',
'Set-BcContainerKeyVaultAadAppAndCertificate',
'Set-BcContainerServerConfiguration',
'Set-BcEnvironmentApplicationInsightsKey',
'Set-BcEnvironmentUpdateWindow', 'Setup-BcContainerTestUsers',
'Setup-TraefikContainerForBcContainers', 'Sign-BcContainerApp',
'Sort-AppFilesByDependencies', 'Sort-AppFoldersByDependencies',
'Start-AlpacaBcContainer', 'Start-BcContainer',
'Start-BcContainerAppDataUpgrade', 'Stop-AlpacaBcContainer',
'Stop-BcContainer', 'Sync-BcContainerApp', 'Test-BcContainer',
'TrackException', 'TrackTrace', 'UnInstall-BcContainerApp',
'UnPublish-BcContainerApp',
'UploadImportAndApply-ConfigPackageInBcContainer',
'Wait-AlpacaBcContainerReady', 'Wait-BcContainerReady',
'Wait-BcEnvironmentsReady', 'Write-BcContainerHelperWelcomeText'
# 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.
CmdletsToExport = '*'
# Variables to export from this module
VariablesToExport = '*'
# 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.
AliasesToExport = 'Add-FontsToNavContainer', 'Backup-NavContainerDatabases',
'Check-NavContainerHelperPermissions', 'Compile-AppInNavContainer',
'Convert-AlcOutputToAzureDevOps', 'Copy-CompanyInNavContainer',
'Copy-FileFromAlpacaBcContainer', 'Copy-FileFromNavContainer',
'Copy-FileToAlpacaBcContainer', 'Copy-FileToNavContainer',
'Copy-BcNuGetPackageToFolder', 'Create-AadAppsForBC', 'Create-AadUsersInNavContainer',
'Create-AlProjectFolderFromNavContainer', 'Enter-NavContainer',
'Export-NavContainerDatabasesAsBacpac',
'Extract-FilesFromNavContainerImage',
'Extract-FilesFromStoppedNavContainer', 'Get-ALGoAuthContext',
'Get-AlpacaBcContainerServerConfiguration',
'Get-BcAvailableRestorePeriods', 'Get-BcDatabaseExportHistory',
'Get-BcEnvironmentsAvailableRestorePeriods',
'Get-BcEnvironmentsOperations', 'Get-BcEnvironmentsUsedStorage',
'Get-BcInstalledExtensions', 'Get-BcOperations',
'Get-BcPublishedApps', 'Get-BcScheduledUpgrade', 'Get-BcUpdateWindow',
'Get-BcUsedStorage', 'Get-BestNavContainerImageName',
'Get-CompanyInNavContainer', 'Get-NavContainerApiCompanyId',
'Get-NavContainerApp', 'Get-NavContainerAppInfo',
'Get-NavContainerAppRuntimePackage', 'Get-NavContainerArtifactUrl',
'Get-NavContainerCountry', 'Get-NavContainerDebugInfo',
'Get-NavContainerEula', 'Get-NavContainerEventLog',
'Get-NavContainerGenericTag', 'Get-NavContainerId',
'Get-NavContainerImageLabels', 'Get-NavContainerImageName',
'Get-NavContainerImageTags', 'Get-NavContainerIpAddress',
'Get-NavContainerLegal', 'Get-NavContainerLicenseInformation',
'Get-NavContainerName', 'Get-NavContainerNavUser',
'Get-NavContainerNavVersion', 'Get-NavContainerOsVersion',
'Get-NavContainerPath', 'Get-NavContainerPlatformVersion',
'Get-NavContainers', 'Get-NavContainerServerConfiguration',
'Get-NavContainerSession', 'Get-NavContainerSharedFolders',
'Get-NavContainerTenants', 'Get-TestsFromNavContainer',
'Import-ConfigPackageInNavContainer', 'Import-NavContainerLicense',
'Import-PfxCertificateToNavContainer',
'Import-TestToolkitToNavContainer', 'Install-NavContainerApp',
'Install-NAVSipCryptoProviderFromNavContainer',
'Invoke-NavContainerApi', 'Invoke-ScriptInNavContainer',
'New-BcDatabaseExport', 'New-CompanyInNavContainer',
'New-NavContainer', 'New-NavContainerNavUser',
'New-NavContainerTenant', 'New-NavContainerWindowsUser',
'New-NavContainerWizard', 'New-NavImage', 'Open-NavContainer',
'Publish-NavContainerApp', 'Publish-NewApplicationToNavContainer',
'Remove-CompanyInNavContainer',
'Remove-ConfigPackageInNavContainer', 'Remove-NavContainer',
'Remove-NavContainerSession', 'Remove-NavContainerTenant',
'Repair-NavContainerApp', 'Replace-NavServerContainer',
'Reschedule-BcUpgrade', 'Restart-NavContainer',
'Restore-DatabasesInNavContainer',
'Run-ConnectionTestToNavContainer', 'Run-TestsInNavContainer',
'Setup-NavContainerTestUsers',
'Setup-TraefikContainerForNavContainers', 'Sign-NavContainerApp',
'Start-NavContainer', 'Start-NavContainerAppDataUpgrade',
'Stop-NavContainer', 'Sync-NavContainerApp', 'Test-NavContainer',
'UnInstall-NavContainerApp', 'UnPublish-NavContainerApp',
'Wait-NavContainerReady'
# DSC resources to export from this module
# DscResourcesToExport = @()
# List of all modules packaged with this module
# ModuleList = @()
# List of all files packaged with this module
# FileList = @()
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
PrivateData = @{
PSData = @{
# Tags applied to this module. These help with module discovery in online galleries.
# Tags = @()
# A URL to the license for this module.
# LicenseUri = ''
# A URL to the main website for this project.
# ProjectUri = ''
# A URL to an icon representing this module.
# IconUri = ''
# ReleaseNotes of this module
ReleaseNotes = '5.0.4
Add new parameter -excludeRuntimePackages to Publish-BcContainerApp, to exclude installation of runtime packages
Issue #3061 Remove-BcEnvironment without doNotWait stopped working
Align naming of all SaaS functions. Get-BcEnvironmentUpdateWindow, Get-BcEnvironmentScheduledUpgrade, Get-BcEnvironmentUsedStorage,... (added Alias'' for all former names)
Issue #3071 Restart-BCContainer with renewBindings fails because container is not running
Add functions for supporting Alpaca Containers
Issue #3089 Regression: Cannot find path ''C:\Windows\SysWow64\NavSip.dll'' because it does not exist.
Issue #3087 Enter-BCContainer on PowerShell 7 doesn''t seem to work
Add parameters `PreCompileApp` and `PostCompileApp` to `Run-AlPipeline` to allow running custom scripts before and after compiling an app.'
# Prerelease string of this module
# Prerelease = ''
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
# RequireLicenseAcceptance = $false
# External dependent modules of this module
# ExternalModuleDependencies = @()
} # End of PSData hashtable
} # End of PrivateData hashtable
# HelpInfo URI of this module
# HelpInfoURI = ''
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''
}