你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Update-AzDataFactoryV2IntegrationRuntime
更新集成运行时。
语法
Update-AzDataFactoryV2IntegrationRuntime
[-AutoUpdate <String>]
[-AutoUpdateDelayOffset <TimeSpan>]
[-Name] <String>
[-ResourceGroupName] <String>
[-DataFactoryName] <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzDataFactoryV2IntegrationRuntime
[-AutoUpdate <String>]
[-AutoUpdateDelayOffset <TimeSpan>]
[-ResourceId] <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzDataFactoryV2IntegrationRuntime
[-AutoUpdate <String>]
[-AutoUpdateDelayOffset <TimeSpan>]
[-InputObject] <PSIntegrationRuntime>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
说明
Update-AzDataFactoryV2IntegrationRuntime cmdlet 更新集成运行时属性。 目前,该 cmdlet 仅支持更新自承载集成运行时的“AutoUpdate”和“AutoUpdateDelayOffset”。
示例
示例 1:更新集成运行时
$ts = New-TimeSpan -Hours 3
Update-AzDataFactoryV2IntegrationRuntime `
-ResourceGroupName 'rg-test-dfv2' `
-DataFactoryName 'test-df-eu2' `
-Name 'test-selfhost-ir' `
-AutoUpdate Off `
-AutoUpdateDelayOffset $ts
Nodes : {Node_1}
CreateTime : 11/18/2017 2:45:38 PM
InternalChannelEncryption :
Version : 3.2.6519.3
Capabilities : {[serviceBusConnected, True], [httpsPortEnabled, True], [credentialInSync, True], [connectedToResourceManager, True]...}
ScheduledUpdateDate :
UpdateDelayOffset :
LocalTimeZoneOffset :
AutoUpdate : Off
ServiceUrls : {wu.frontend.int.clouddatahub-int.net, *.servicebus.windows.net}
State : Online
Id : /subscriptions/41fcbc45-c594-4152-a8f1-fcbcd6452aea/resourceGroups/rg-test-dfv2/providers/Microsoft.DataFactory/factories/test-df-eu2/integrationruntimes/test-selfhost-ir
Type : SelfHosted
ResourceGroupName : rg-test-dfv2
DataFactoryName : test-df-eu2
Name : test-selfhost-ir
Description : New 2 description
该 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 |
-DataFactoryName
数据工厂名称。
类型: | String |
Position: | 1 |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-DefaultProfile
用于与 Azure 通信的凭据、帐户、租户和订阅。
类型: | IAzureContextContainer |
别名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-InputObject
集成运行时对象。
类型: | PSIntegrationRuntime |
Position: | 0 |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-Name
集成运行时名称。
类型: | String |
别名: | IntegrationRuntimeName |
Position: | 2 |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-ResourceGroupName
资源组名称。
类型: | String |
Position: | 0 |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-ResourceId
Azure 资源 ID。
类型: | String |
别名: | Id |
Position: | 0 |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-WhatIf
显示 cmdlet 运行时会发生什么情况。 cmdlet 未运行。
类型: | SwitchParameter |
别名: | wi |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
输入
输出
备注
关键字:azure, azurerm, arm, 资源, 管理, 经理, 数据, 工厂, 复制, 活动, 集成运行时