Delen via


Set-AzSynapseLinkConnectionLinkTable

Hiermee worden koppelingstabellen onder een koppelingsverbinding bewerkt.

Syntaxis

Set-AzSynapseLinkConnectionLinkTable
   -WorkspaceName <String>
   -EditTablesRequestFile <String>
   -LinkConnectionName <String>
   [-AsJob]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzSynapseLinkConnectionLinkTable
   -WorkspaceObject <PSSynapseWorkspace>
   -EditTablesRequestFile <String>
   -LinkConnectionName <String>
   [-AsJob]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzSynapseLinkConnectionLinkTable
   -EditTablesRequestFile <String>
   -InputObject <PSLinkConnectionResource>
   [-AsJob]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

De cmdlet Set-AzSynapseLink Verbinding maken ionLinkTables bewerkt koppelingstabellen onder een koppelingsverbinding.

Voorbeelden

Voorbeeld 1

<#
edittables.json
{ 
  "linkTables": [ 
    { 
      "id": "00000000000000000000000000000000", // please change to your link table Id: a uuid
      "source": { 
        "tableName": "sampleSourceTable", // please change to your source table name
        "schemaName": "sampleSourceSchema" // please change to your source database schema name
      }, 
      "target": { 
        "tableName": "sampleTargetTable", // please change to your target table name
        "schemaName": "sampleTargetSchema", // please change to your target database schema name
        "distributionOptions": { 
          "type": "Round_RoBin", // please choose a type from Hash, Round_RoBin, Replicate
          "distributionColumn": "sampleColumn" // please change to the column name
        }
      }, 
      "operationType": "add" // please choose a value from add, update, remove
    }
  ]
}
#>
Set-AzSynapseLinkConnectionLinkTable -WorkspaceName ContosoWorkspace -LinkConnectionName ContosoLinkConnection -EditTablesRequestFile "C:\samples\edittables.json"

Met deze opdracht worden koppelingstabellen bewerkt onder koppelingsverbinding ContosoLink Verbinding maken ion in werkruimte ContosoWorkspace. Met de opdracht worden de koppelingstabellen gebaseerd op informatie in het bestand edittables.json. Dit bestand bevat informatie over de bewerkte koppelingstabel.

Voorbeeld 2

$ws = Get-AzSynapseWorkspace -Name ContosoWorkspace
$ws | Set-AzSynapseLinkConnectionLinkTable -LinkConnectionName ContosoLinkConnection -EditTablesRequestFile "C:\samples\edittables.json"

Met deze opdracht worden koppelingstabellen bewerkt onder koppelingsverbinding ContosoLink Verbinding maken ion in werkruimte ContosoWorkspace via pijplijn. Met de opdracht worden de koppelingstabellen gebaseerd op informatie in het bestand edittables.json. Dit bestand bevat informatie over de bewerkte koppelingstabel.

Voorbeeld 3

$lc = Get-AzSynapseLinkConnection -WorkspaceName ContosoWorkspace -Name ContosoLinkConnection
$lc | Set-AzSynapseLinkConnectionLinkTable -EditTablesRequestFile "C:\samples\edittables.json"

Met deze opdracht worden koppelingstabellen onder een koppelingsverbinding via een pijplijn bewerkt. Met de opdracht worden de koppelingstabellen gebaseerd op informatie in het bestand edittables.json. Dit bestand bevat informatie over de bewerkte koppelingstabel.

Parameters

-AsJob

Cmdlet op de achtergrond uitvoeren

Type:SwitchParameter
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-Confirm

Hiermee wordt u gevraagd om bevestiging voordat u de cmdlet uitvoert.

Type:SwitchParameter
Aliassen:cf
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-DefaultProfile

De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.

Type:IAzureContextContainer
Aliassen:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-EditTablesRequestFile

Hiermee geeft u een lokaal bestandspad voor een bestand om koppelingstabellen te bewerken

Type:String
Aliassen:File
Position:Named
Default value:None
Vereist:True
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-InputObject

De informatie over de koppelingsverbinding.

Type:PSLinkConnectionResource
Position:Named
Default value:None
Vereist:True
Pijplijninvoer accepteren:True
Jokertekens accepteren:False

-LinkConnectionName

Naam van koppelingsverbinding.

Type:String
Position:Named
Default value:None
Vereist:True
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-WhatIf

Hiermee wordt weergegeven wat er zou gebeuren als u de cmdlet uitvoert. De cmdlet wordt niet uitgevoerd.

Type:SwitchParameter
Aliassen:wi
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-WorkspaceName

Naam van Synapse-werkruimte.

Type:String
Position:Named
Default value:None
Vereist:True
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-WorkspaceObject

werkruimte-invoerobject, meestal doorgegeven via de pijplijn.

Type:PSSynapseWorkspace
Position:Named
Default value:None
Vereist:True
Pijplijninvoer accepteren:True
Jokertekens accepteren:False

Invoerwaarden

PSSynapseWorkspace

PSLinkConnectionResource

Uitvoerwaarden

Void