共用方式為


Set-AzIntegrationAccountBatchConfiguration

修改整合帳戶批次設定。

語法

Set-AzIntegrationAccountBatchConfiguration
   -ResourceGroupName <String>
   -ParentName <String>
   -Name <String>
   [-BatchGroupName <String>]
   [-MessageCount <Int32>]
   [-BatchSize <Int32>]
   [-ScheduleInterval <Int32>]
   [-ScheduleFrequency <String>]
   [-ScheduleTimeZone <String>]
   [-ScheduleStartTime <DateTime>]
   [-Metadata <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzIntegrationAccountBatchConfiguration
   -ResourceGroupName <String>
   -ParentName <String>
   -Name <String>
   -BatchConfigurationDefinition <String>
   [-Metadata <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzIntegrationAccountBatchConfiguration
   -ResourceGroupName <String>
   -ParentName <String>
   -Name <String>
   -BatchConfigurationFilePath <String>
   [-Metadata <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzIntegrationAccountBatchConfiguration
   -InputObject <PSIntegrationAccountBatchConfiguration>
   -BatchConfigurationDefinition <String>
   [-Metadata <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzIntegrationAccountBatchConfiguration
   -InputObject <PSIntegrationAccountBatchConfiguration>
   -BatchConfigurationFilePath <String>
   [-Metadata <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzIntegrationAccountBatchConfiguration
   -InputObject <PSIntegrationAccountBatchConfiguration>
   [-BatchGroupName <String>]
   [-MessageCount <Int32>]
   [-BatchSize <Int32>]
   [-ScheduleInterval <Int32>]
   [-ScheduleFrequency <String>]
   [-ScheduleTimeZone <String>]
   [-ScheduleStartTime <DateTime>]
   [-Metadata <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzIntegrationAccountBatchConfiguration
   -ResourceId <String>
   -BatchConfigurationDefinition <String>
   [-Metadata <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzIntegrationAccountBatchConfiguration
   -ResourceId <String>
   -BatchConfigurationFilePath <String>
   [-Metadata <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzIntegrationAccountBatchConfiguration
   -ResourceId <String>
   [-BatchGroupName <String>]
   [-MessageCount <Int32>]
   [-BatchSize <Int32>]
   [-ScheduleInterval <Int32>]
   [-ScheduleFrequency <String>]
   [-ScheduleTimeZone <String>]
   [-ScheduleStartTime <DateTime>]
   [-Metadata <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Set-AzIntegrationAccountBatchConfiguration Cmdlet 會修改整合帳戶批次設定。

範例

範例 1:使用本機檔案修改批次組態

Set-AzIntegrationAccountBatchConfiguration -ResourceGroupName "sampleResourceGroup" -IntegrationAccountName "sampleIntegrationAccount" -BatchConfigurationName "sampleBatchConfig" -BatchConfigurationFilePath $batchConfigurationFilePath

Properties : Microsoft.Azure.Management.Logic.Models.BatchConfigurationProperties
Id         : /subscriptions/{SubscriptionId}/resourceGroups/sampleResourceGroup/providers/Microsoft.Logic/integrationAccounts/sampleIntegrationAccount/batchConfigurations/sampleBatchConfig
Name       : sampleBatchConfig
Type       : Microsoft.Logic/integrationAccounts/batchConfigurations
Location   :
Tags       :

使用位於 「$batchConfigurationFilePath」 中所含檔案路徑的本機檔案,修改名為 「sampleBatchConfig」 的批次組態。

範例 2:使用 JSON 字串修改批次組態

Set-AzIntegrationAccountBatchConfiguration -ResourceGroupName "sampleResourceGroup" -IntegrationAccountName "sampleIntegrationAccount" -BatchConfigurationName "sampleBatchConfig" -BatchConfigurationDefinition $batchConfigurationContent

Properties : Microsoft.Azure.Management.Logic.Models.BatchConfigurationProperties
Id         : /subscriptions/{SubscriptionId}/resourceGroups/sampleResourceGroup/providers/Microsoft.Logic/integrationAccounts/sampleIntegrationAccount/batchConfigurations/sampleBatchConfig
Name       : sampleBatchConfig
Type       : Microsoft.Logic/integrationAccounts/batchConfigurations
Location   :
Tags       :

使用 「$batchConfigurationContent」 中包含的 JSON 字串,修改名為 「sampleBatchConfig」 的批次組態。

範例 3:使用參數修改批次組態

Set-AzIntegrationAccountBatchConfiguration -ResourceGroupName "sampleResourceGroup" -IntegrationAccountName "sampleIntegrationAccount" -BatchConfigurationName "sampleBatchConfig" -MessageCount 199 -BatchSize 5 -ScheduleInterval 1 -ScheduleFrequency "Month"

Properties : Microsoft.Azure.Management.Logic.Models.BatchConfigurationProperties
Id         : /subscriptions/{SubscriptionId}/resourceGroups/sampleResourceGroup/providers/Microsoft.Logic/integrationAccounts/sampleIntegrationAccount/batchConfigurations/sampleBatchConfig
Name       : sampleBatchConfig
Type       : Microsoft.Logic/integrationAccounts/batchConfigurations
Location   :
Tags       :

手動提供所有必要的參數,以修改名為 「sampleBatchConfig」 的批次組態。

參數

-BatchConfigurationDefinition

整合帳戶批次組態定義。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-BatchConfigurationFilePath

整合帳戶批次組態檔路徑。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-BatchGroupName

整合帳戶批次組態組態組名。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-BatchSize

整合帳戶批次組態批次大小。

類型:Int32
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Confirm

在執行 Cmdlet 之前,提示您進行確認。

類型:SwitchParameter
別名:cf
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-DefaultProfile

用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。

類型:IAzureContextContainer
別名:AzContext, AzureRmContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-InputObject

整合帳戶批次設定。

類型:PSIntegrationAccountBatchConfiguration
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-MessageCount

整合帳戶批次設定訊息計數。

類型:Int32
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Metadata

整合帳戶批次組態元數據。

類型:Hashtable
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Name

整合帳戶批次組態名稱。

類型:String
別名:BatchConfigurationName, ResourceName
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-ParentName

整合帳戶名稱。

類型:String
別名:IntegrationAccountName
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-ResourceGroupName

資源組名。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-ResourceId

整合帳戶批次設定資源標識碼。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-ScheduleFrequency

整合帳戶批次設定排程頻率。

類型:String
接受的值:Month, Week, Day, Hour, Minute, Second
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ScheduleInterval

整合帳戶批次設定排程間隔。

類型:Int32
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ScheduleStartTime

整合帳戶批次設定排程開始時間。

類型:Nullable<T>[DateTime]
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ScheduleTimeZone

整合帳戶批次設定排程時區。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-WhatIf

顯示 Cmdlet 執行時會發生什麼事。 Cmdlet 未執行。

類型:SwitchParameter
別名:wi
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

輸入

輸出