Set-AzIntegrationAccountBatchConfiguration

修改整合帳戶批次設定。

Syntax

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

整合帳戶批次組態定義。

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-BatchConfigurationFilePath

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

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-BatchGroupName

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

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BatchSize

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

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

執行 Cmdlet 之前先提示您確認。

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

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

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

整合帳戶批次設定。

Type:PSIntegrationAccountBatchConfiguration
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-MessageCount

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

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Metadata

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

Type:Hashtable
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

整合帳戶批次組態名稱。

Type:String
Aliases:BatchConfigurationName, ResourceName
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ParentName

整合帳戶名稱。

Type:String
Aliases:IntegrationAccountName
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

資源組名。

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceId

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

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ScheduleFrequency

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

Type:String
Accepted values:Month, Week, Day, Hour, Minute, Second
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ScheduleInterval

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

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ScheduleStartTime

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

Type:Nullable<T>[DateTime]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ScheduleTimeZone

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

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

顯示執行 Cmdlet 後會發生的情況。 未執行 Cmdlet。

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

輸入

PSIntegrationAccountBatchConfiguration

String

輸出

PSIntegrationAccountBatchConfiguration