共用方式為


Start-AzSynapseIntegrationRuntime

啟動受控專用整合運行時間。

語法

Start-AzSynapseIntegrationRuntime
     [-ResourceGroupName <String>]
     -WorkspaceName <String>
     -Name <String>
     [-Force]
     [-DefaultProfile <IAzureContextContainer>]
     [-WhatIf]
     [-Confirm]
     [<CommonParameters>]
Start-AzSynapseIntegrationRuntime
     -Name <String>
     -WorkspaceObject <PSSynapseWorkspace>
     [-Force]
     [-DefaultProfile <IAzureContextContainer>]
     [-WhatIf]
     [-Confirm]
     [<CommonParameters>]
Start-AzSynapseIntegrationRuntime
     -ResourceId <String>
     [-Force]
     [-DefaultProfile <IAzureContextContainer>]
     [-WhatIf]
     [-Confirm]
     [<CommonParameters>]
Start-AzSynapseIntegrationRuntime
     -InputObject <PSIntegrationRuntime>
     [-Force]
     [-DefaultProfile <IAzureContextContainer>]
     [-WhatIf]
     [-Confirm]
     [<CommonParameters>]

Description

Start-AzSynapseIntegrationRuntime Cmdlet 會啟動受控專用整合運行時間。 資源已布建,且作業之後的狀態為 「已啟動」。

範例

範例 1

Start-AzSynapseIntegrationRuntime -WorkspaceName ContosoWorkspace -Name 'test-dedicated-ir'

此 Cmdlet 會在工作區 ContosoWorkspace 中啟動名為 'test-dedicated-ir' 的受控專用整合運行時間。

範例 2

$ws = Get-AzSynapseWorkspace -Name ContosoWorkspace
$ws | Start-AzSynapseIntegrationRuntime -Name 'test-dedicated-ir'

此 Cmdlet 會透過管線在工作區 ContosoWorkspace 中啟動名為 'test-dedicated-ir' 的受控專用整合運行時間。

範例 3

Start-AzSynapseIntegrationRuntime -ResourceId '/subscriptions/0000abcd-1a1b-12ab-1234-0000abcd00aa/resourceGroups/Contosorg/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/integrationruntimes/test-dedicated-ir'

此 Cmdlet 會在工作區 ContosoWorkspace 中使用 ResourceId 啟動受控專用整合運行時間。

範例 4

$ir = Get-AzSynapseIntegrationRuntime -WorkspaceName ContosoWorkspace -Name test-dedicated-ir -ResourceGroupName Contosorg
$ir | Start-AzSynapseIntegrationRuntime

此 Cmdlet 會透過管線在工作區 ContosoWorkspace 中啟動名為 'test-dedicated-ir' 的受控專用整合運行時間。

參數

-Confirm

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

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

-DefaultProfile

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

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

-Force

請勿要求確認。

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

-InputObject

整合運行時間物件。

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

-Name

整合運行時間名稱。

類型:String
別名:IntegrationRuntimeName
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

輸出

PSManagedIntegrationRuntimeStatus