Fixed #3313

Co-authored-by: freddydk <freddydk@users.noreply.github.com>
This commit is contained in:
Freddy Kristiansen 2024-01-26 22:02:54 +01:00 коммит произвёл GitHub
Родитель 45f8232c63
Коммит a5980362e7
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
13 изменённых файлов: 13 добавлений и 12 удалений

Просмотреть файл

@ -1,4 +1,5 @@
6.0.5
Issue 3313 Strange error in Copy-BcEnvironment
6.0.4
Rename AppInfoCache.json to cache_AppInfo.json (which by default is covered by .gitignore in AL-Go for GitHub)

Просмотреть файл

@ -38,7 +38,7 @@ function Copy-BcEnvironment {
[ValidateSet('Sandbox', 'Production')]
[string] $environmentType = "Sandbox",
[string] $applicationInsightsKey = "",
[string] $apiVersion = "v2.15",
[string] $apiversion = "v2.19",
[switch] $force,
[switch] $doNotWait
)

Просмотреть файл

@ -24,7 +24,7 @@ function Get-BcEnvironmentAvailableRestorePeriods {
[string] $applicationFamily = "BusinessCentral",
[Parameter(Mandatory = $true)]
[string] $environment = "",
[string] $apiVersion = "v2.15"
[string] $apiversion = "v2.19"
)
$telemetryScope = InitTelemetryScope -name $MyInvocation.InvocationName -parameterValues $PSBoundParameters -includeParameters @()

Просмотреть файл

@ -25,7 +25,7 @@ function Get-BcEnvironmentOperations {
[Hashtable] $bcAuthContext,
[string] $applicationFamily = ('', 'BusinessCentral')[$PSBoundParameters.ContainsKey('environment')],
[string] $environment = "",
[string] $apiVersion = "v2.15"
[string] $apiversion = "v2.19"
)
$telemetryScope = InitTelemetryScope -name $MyInvocation.InvocationName -parameterValues $PSBoundParameters -includeParameters @()

Просмотреть файл

@ -22,7 +22,7 @@ function Get-BcEnvironmentUpdateWindow {
[string] $applicationFamily = "BusinessCentral",
[Parameter(Mandatory = $true)]
[string] $environment,
[string] $apiVersion = "v2.18"
[string] $apiversion = "v2.19"
)
$telemetryScope = InitTelemetryScope -name $MyInvocation.InvocationName -parameterValues $PSBoundParameters -includeParameters @()

Просмотреть файл

@ -25,7 +25,7 @@ function Get-BcEnvironmentUsedStorage {
[Hashtable] $bcAuthContext,
[string] $applicationFamily = ('', 'BusinessCentral')[$PSBoundParameters.ContainsKey('environment')],
[string] $environment = "",
[string] $apiVersion = "v2.15"
[string] $apiversion = "v2.19"
)
$telemetryScope = InitTelemetryScope -name $MyInvocation.InvocationName -parameterValues $PSBoundParameters -includeParameters @()

Просмотреть файл

@ -25,7 +25,7 @@ function Get-BcEnvironments {
[Hashtable] $bcAuthContext,
[string] $applicationFamily = "BusinessCentral",
[string] $environment = "",
[string] $apiVersion = "v2.15"
[string] $apiversion = "v2.19"
)
$telemetryScope = InitTelemetryScope -name $MyInvocation.InvocationName -parameterValues $PSBoundParameters -includeParameters @()

Просмотреть файл

@ -44,7 +44,7 @@ function New-BcEnvironment {
[string] $ringName = "PROD",
[string] $applicationVersion = "",
[string] $applicationInsightsKey = "",
[string] $apiVersion = "v2.18",
[string] $apiversion = "v2.19",
[switch] $doNotWait,
[switch] $doNotGetCompanyInfo
)

Просмотреть файл

@ -25,7 +25,7 @@ function Remove-BcEnvironment {
[string] $applicationFamily = "BusinessCentral",
[Parameter(Mandatory = $true)]
[string] $environment,
[string] $apiVersion = "v2.18",
[string] $apiversion = "v2.19",
[switch] $doNotWait
)

Просмотреть файл

@ -31,7 +31,7 @@ function Rename-BcEnvironment {
[string] $environment,
[Parameter(Mandatory = $true)]
[string] $newEnvironmentName,
[string] $apiVersion = "v2.15",
[string] $apiversion = "v2.19",
[switch] $force,
[switch] $doNotWait
)

Просмотреть файл

@ -38,7 +38,7 @@ function Restore-BcEnvironment {
[ValidateSet('Sandbox', 'Production')]
[string] $environmentType = "Sandbox",
[string] $pointInTime = "",
[string] $apiVersion = "v2.15",
[string] $apiversion = "v2.19",
[switch] $force,
[switch] $doNotWait
)

Просмотреть файл

@ -32,7 +32,7 @@ function Set-BcEnvironmentUpdateWindow {
[string] $applicationFamily = "BusinessCentral",
[Parameter(Mandatory = $true)]
[string] $environment,
[string] $apiVersion = "v2.18",
[string] $apiversion = "v2.19",
[Parameter(Mandatory = $true)]
[ValidatePattern("^([0-1]?[0-9]|2[0-3]):(00|30)$")]
[string] $preferredStartTime,

Просмотреть файл

@ -23,7 +23,7 @@ function Wait-BcEnvironmentsReady {
[string] $applicationFamily = "BusinessCentral",
[Parameter(Mandatory = $true)]
[string[]] $environments = @(),
[string] $apiVersion = "v2.15"
[string] $apiversion = "v2.19"
)
$telemetryScope = InitTelemetryScope -name $MyInvocation.InvocationName -parameterValues $PSBoundParameters -includeParameters @()