Add-AzDataFactoryV2DataFlowDebugSessionPackage
Veri akışı kaynağını ve bağımlılıklarını belirli veri akışı hata ayıklama oturumuna ekleyin.
Syntax
Add-AzDataFactoryV2DataFlowDebugSessionPackage
[-PackageFile] <String>
[-PassThru]
[-ResourceGroupName] <String>
[-DataFactoryName] <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Add-AzDataFactoryV2DataFlowDebugSessionPackage
[-PackageFile] <String>
[-PassThru]
[-DataFactory] <PSDataFactory>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Add-AzDataFactoryV2DataFlowDebugSessionPackage
[-PackageFile] <String>
[-PassThru]
[-ResourceId] <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Bu komut veri akışı kaynağını ve bağımlılıklarını belirli bir hata ayıklama oturumuna ekler Veri akışı hata ayıklama iş akışı için PowerShell komut dizisi şöyle olmalıdır:
- Start-AzDataFactoryV2DataFlowDebugSession
- Add-AzDataFactoryV2DataFlowDebugSessionPackage
- Invoke-AzDataFactoryV2DataFlowDebugSessionCommand (bu adımı farklı komutlar/hedefler için yineleyin veya paket dosyasını değiştirmek için 2-3 arası adımı yineleyin)
- Stop-AzDataFactoryV2DataFlowDebugSession
Örnekler
Örnek 1
Add-AzDataFactoryV2DataFlowDebugSessionPackage -ResourceGroupName adf -DataFactoryName WikiADF -PackageFile "D:\dataflowps\addpackage.json" -SessionId 550effe4-93a3-485c-8525-eaf25259efbd
"WikiADF" veri fabrikasının "550effe4-93a3-485c-8525-eaf25259efbd" hata ayıklama oturumuna veri akışı paketi ekleyin. Pakcage dosyası veri akışı hata ayıklama kaynağını, veri kümesi hata ayıklama kaynağının listesini, bağlı hizmet hata ayıklama kaynağının listesini, hata ayıklama ayarını ve oturum kimliğini içerir. Örneğin:
{ "dataFlow": { "name": "dataflow5", "properties": { "type": "MappingDataFlow", "typeProperties": { "sources": [ { "dataset": { "referenceName": "DelimitedTextInput", "type": "DatasetReference" }, "name": "source1", "typeProperties": {} } ], "sinks": [], "transformations": [], "script": "\n\nsource(output(\n\t\tResourceAgencyNum as string,\n\t\tPublicName as string\n\t),\n\tallowSchemaDrift: true,\n\tvalidateSchema: false) ~> source1" } }, "datasets": [ { "name": "DelimitedTextInput", "properties": { "linkedServiceName": { "referenceName": "AzureBlob Depolama 1", "type": "LinkedServiceReference" }, "annotations": [], "type": "DelimitedText", "typeProperties": { "location": { "type": "AzureBlob Depolama Location", "container": "20192019" }, "columnDelimiter": ",", "escapeChar": "\", "firstRowAsHeader": true, "quoteChar": """ }, "schema": [ { "name": "ResourceAgencyNum", "type": "String" }, { "name": "PublicName", "type": "String" } ] }, "type": "Microsoft.DataFactory/factory/datasets" } ], "linkedServices": [ { "name": "AzureBlob Depolama 1", "type": "Microsoft.DataFactory/factory/linkedservices", "properties": { "annotations": [], "type": "AzureBlob Depolama", "typeProperties": { "connectionString": "DefaultEndpointsProtocol=https; AccountName=name; AccountKey=key; EndpointSuffix=core.windows.net" } }, "debug Ayarlar": { "source Ayarlar": [ { "sourceName": "source1", "rowLimit": 1000 } ] }, "sessionId": "4f988caf-e765-47d2-82cd-430334a6b135" } }
SessionID parametresi, paket dosyasındaki mevcut sessionId özelliğini değiştirmek için kullanılır.
Parametreler
-Confirm
Cmdlet'i çalıştırmadan önce sizden onay ister.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DataFactory
Veri fabrikası nesnesi.
Type: | PSDataFactory |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DataFactoryName
Veri fabrikası adı.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DefaultProfile
Azure ile iletişim için kullanılan kimlik bilgileri, hesap, kiracı ve abonelik.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PackageFile
JSON dosya yolu.
Type: | String |
Aliases: | File |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PassThru
Belirtildiyse, işlemin başarılı olması durumunda true yazar. Bu parametre isteğe bağlıdır.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
Kaynak grubu adı.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceId
Azure kaynak kimliği.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
Cmdlet çalıştırılıyorsa ne olacağını gösterir. Cmdlet çalıştırılmaz.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Girişler
Çıkışlar
Notlar
Anahtar sözcükler: azure, azurerm, arm, kaynak, yönetim, yönetici, veriler, fabrikalar