use API v2.19 (#3314)
Fixed #3313 Co-authored-by: freddydk <freddydk@users.noreply.github.com>
This commit is contained in:
Родитель
45f8232c63
Коммит
a5980362e7
|
@ -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 @()
|
||||
|
|
Загрузка…
Ссылка в новой задаче