Freigeben über


New-AzDataShareDataSetMapping

Erstellt die Datensatzzuordnung für das Freigabeabonnement.

Syntax

New-AzDataShareDataSetMapping
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-AzDataShareDataSetMapping
   -ResourceGroupName <String>
   -AccountName <String>
   -ShareSubscriptionName <String>
   -Name <String>
   -StorageAccountResourceId <String>
   -DataSetId <String>
   -Container <String>
   [-FilePath <String>]
   [-FolderPath <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-AzDataShareDataSetMapping
   -ResourceGroupName <String>
   -AccountName <String>
   -ShareSubscriptionName <String>
   -Name <String>
   -StorageAccountResourceId <String>
   -DataSetId <String>
   -FileSystem <String>
   [-FilePath <String>]
   [-FolderPath <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Beschreibung

Das Cmdlet New-AzDataShareDataSetMapping erstellt eine Datasetzuordnung zwischen den Quelldatensätzen und dem Sinkspeicherkonto im Freigabeabonnement.

Beispiele

Beispiel 1

New-AzDataShareDataSetMapping -ResourceGroupName "ADS" -AccountName "WikiAdsAccount" -ShareSubscriptionName "AdsShareSubscription" -Name "AdsDataSetMapping" -StorageAccountResourceId "/subscriptions/271cc6ec-e5fe-4813-83bd-8f3b04973e38/resourceGroups/ADS/providers/Microsoft.Storage/storageAccounts/AdsStorage" -Container "AdsContainer"

ContainerName        : AdsContainer
DataSetId            : 372899d4-5e67-4c85-bc60-21168b484424
ResourceGroup        : ADS
SubscriptionId       : 4834da9b-787a-44f6-ae81-60707ab8c957
StorageAccount       : AdsStorage
DataSetMappingStatus : Ok
Id                   : /subscriptions/4834da9b-787a-44f6-ae81-60707ab8c957/resourceGroups/ADS/providers/Microsoft.DataShare/accounts/WikiAdsAccount/shareSubscriptions/AdsShareSubscription/dataSetMappings/AdsDataSetMapping
Name                 : AdsDataSetMapping
Type                 : Microsoft.DataShare/DataSetMappings

Dieser Befehl erstellt eine Datensatzzuordnung AdsDataSetMapping zum Speicherkonto AdsStorage für das Freigabeabonnement AdsShareSubscription im Datenfreigabekonto WikiAdsAccount.

Parameter

-AccountName

Der Name des Azure-Speicherkontos, das die Quelle der freigegebenen Daten ist.

Typ:String
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Hiermit werden Sie vor der Ausführung des Cmdlets zur Bestätigung aufgefordert.

Typ:SwitchParameter
Aliases:cf
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-Container

Name des Azure-Speicherkontocontainers

Typ:String
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:False
Accept wildcard characters:False

-DataSetId

Verbraucherdatensatz-ID

Typ:String
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

Anmeldeinformationen, Konto, Mandant und Abonnement für die Kommunikation mit Azure

Typ:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-FilePath

Azure-Speicherdateipfad

Typ:String
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-FileSystem

Name des Azure ADLS gen2-Dateisystems

Typ:String
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:False
Accept wildcard characters:False

-FolderPath

Azure Storage-Ordnerpfad

Typ:String
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Azure-Datensatzzuordnungsname

Typ:String
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

Der Ressourcengruppenname des Azure Data Share-Kontos

Typ:String
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:False
Accept wildcard characters:False

-ShareSubscriptionName

Name des Azure Data Share-Abonnements

Typ:String
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:False
Accept wildcard characters:False

-StorageAccountResourceId

Azure Storage Account ResourceId, die die Quelle der freigegebenen Daten ist.

Typ:String
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

Zeigt, was geschieht, wenn das Cmdlet ausgeführt wird. Das Cmdlet wird nicht ausgeführt.

Typ:SwitchParameter
Aliases:wi
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

Eingaben

String

Ausgaben

PSDataShareDataSetMapping