Bagikan melalui


Set-AzSynapseLinkConnectionLinkTable

Mengedit tabel tautan di bawah koneksi tautan.

Sintaks

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>]

Deskripsi

Cmdlet Set-AzSynapseLink Koneksi ionLinkTables mengedit tabel tautan di bawah koneksi tautan.

Contoh

Contoh 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"

Perintah ini mengedit tabel tautan di bawah koneksi tautan ContosoLink Koneksi ion di ruang kerja ContosoWorkspace. Perintah mendasarkan tabel tautan pada informasi dalam file edittables.json. File ini mencakup informasi tentang tabel tautan yang diedit.

Contoh 2

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

Perintah ini mengedit tabel tautan di bawah koneksi tautan ContosoLink Koneksi ion di ruang kerja ContosoWorkspace melalui alur. Perintah mendasarkan tabel tautan pada informasi dalam file edittables.json. File ini mencakup informasi tentang tabel tautan yang diedit.

Contoh 3

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

Perintah ini mengedit tabel tautan di bawah koneksi tautan melalui alur. Perintah mendasarkan tabel tautan pada informasi dalam file edittables.json. File ini mencakup informasi tentang tabel tautan yang diedit.

Parameter

-AsJob

Jalankan cmdlet di latar belakang

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Meminta Anda mengonfirmasi sebelum menjalankan cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

Kredensial, akun, penyewa, dan langganan yang digunakan untuk komunikasi dengan Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EditTablesRequestFile

Menentukan jalur file lokal untuk file untuk mengedit tabel tautan

Type:String
Aliases:File
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Informasi tentang koneksi tautan.

Type:PSLinkConnectionResource
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-LinkConnectionName

Nama koneksi tautan.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Menunjukkan apa yang akan terjadi jika cmdlet berjalan. Cmdlet tidak dijalankan.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WorkspaceName

Nama ruang kerja Synapse.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WorkspaceObject

objek input ruang kerja, biasanya melewati alur.

Type:PSSynapseWorkspace
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Input

PSSynapseWorkspace

PSLinkConnectionResource

Output

Void