共用方式為


Update-AzSynapseLinkConnectionLandingZoneCredential

更新連結連線的登陸區域認證。

語法

Update-AzSynapseLinkConnectionLandingZoneCredential
      -WorkspaceName <String>
      -LinkConnectionName <String>
      -SasToken <SecureString>
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-AzSynapseLinkConnectionLandingZoneCredential
      -WorkspaceObject <PSSynapseWorkspace>
      -LinkConnectionName <String>
      -SasToken <SecureString>
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-AzSynapseLinkConnectionLandingZoneCredential
      -InputObject <PSLinkConnectionResource>
      -SasToken <SecureString>
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Update-AzSynapseLinkConnectionLandingZoneCredential Cmdlet 會更新連結連線的登陸區域認證。

範例

範例 1

Update-AzSynapseLinkConnectionLandingZoneCredential -WorkspaceName ContosoWorkspace -LinkConnectionName ContosoLinkConnection -SasToken "SampleSasToken"

此命令會使用工作區 ContosoWorkspace 中連結連線 ContosoLinkConnection 的 sas 令牌 “exampleSasToken” 來更新登陸區域認證。

範例 2

$ws = Get-AzSynapseWorkspace -Name ContosoWorkspace
$ws | Update-AzSynapseLinkConnectionLandingZoneCredential -LinkConnectionName ContosoLinkConnection -SasToken "SampleSasToken"

此命令會透過管線,使用工作區 ContosoWorkspace 中鏈接連線 ContosoLinkConnection 的 sas 令牌 “exampleSasToken” 來更新登陸區域認證。

範例 3

$lc = Get-AzSynapseLinkConnection -WorkspaceName ContosoWorkspace -Name ContosoLinkConnection
$lc | Update-AzSynapseLinkConnectionLandingZoneCredential -SasToken "SampleSasToken"

此命令會透過管線,使用連結連線的 sas 令牌 「exampleSasToken」 來更新登陸區域認證。

參數

-Confirm

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

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

-DefaultProfile

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

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

-InputObject

連結連接的相關信息。

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

-LinkConnectionName

連結連接的名稱。

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

-SasToken

登陸區域的 sas 令牌。

類型:SecureString
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

輸入

輸出