共用方式為


Update-AzSynapseIntegrationRuntime

更新整合運行時間。

語法

Update-AzSynapseIntegrationRuntime
      [-ResourceGroupName <String>]
      -WorkspaceName <String>
      -IntegrationRuntimeName <String>
      [-AutoUpdate <String>]
      [-AutoUpdateDelayOffset <TimeSpan>]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-AzSynapseIntegrationRuntime
      -IntegrationRuntimeName <String>
      -WorkspaceObject <PSSynapseWorkspace>
      [-AutoUpdate <String>]
      [-AutoUpdateDelayOffset <TimeSpan>]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-AzSynapseIntegrationRuntime
      -ResourceId <String>
      [-AutoUpdate <String>]
      [-AutoUpdateDelayOffset <TimeSpan>]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-AzSynapseIntegrationRuntime
      -InputObject <PSIntegrationRuntime>
      [-AutoUpdate <String>]
      [-AutoUpdateDelayOffset <TimeSpan>]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Update-AzSynapseIntegrationRuntime Cmdlet 會更新整合運行時間屬性。 目前 Cmdlet 僅支援更新自我裝載整合運行時間的 『AutoUpdate』 和 『AutoUpdateDelayOffset』。

範例

範例 1

$ts = New-TimeSpan -Hours 3
Update-AzSynapseIntegrationRuntime -WorkspaceName ContosoWorkspace -IntegrationRuntimeName 'test-selfhost-ir' -AutoUpdate Off -AutoUpdateDelayOffset $ts

Cmdlet 會更新名為 'test-selfhost-ir' 的自我裝載整合運行時間。

參數

-AutoUpdate

啟用或停用自我裝載整合運行時間自動更新。

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

-AutoUpdateDelayOffset

自我裝載整合運行時間自動更新的一天時間。

類型:Nullable<T>[TimeSpan]
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

整合運行時間物件。

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

-IntegrationRuntimeName

整合運行時間名稱。

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

-ResourceGroupName

資源組名。

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

-ResourceId

Synapse 整合運行時間的資源標識碼。

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

-WhatIf

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

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

-WorkspaceName

Synapse 工作區的名稱。

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

-WorkspaceObject

工作區輸入物件,通常是透過管線傳遞。

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

輸入

PSSynapseWorkspace

PSIntegrationRuntime

輸出

PSSelfHostedIntegrationRuntimeStatus