< Back

Get-AzureRmDataFactoryDataset

Tue Jan 29, 2019 9:41 pm

NAME Get-AzureRmDataFactoryDataset



SYNOPSIS

Gets information about datasets in Azure Data Factory.





SYNTAX

Get-AzureRmDataFactoryDataset [-DataFactory] <PSDataFactory> [[-Name] <String>] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]



Get-AzureRmDataFactoryDataset [-ResourceGroupName] <String> [-DataFactoryName] <String> [[-Name] <String>] [-DefaultProfile

<IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmDataFactoryDataset cmdlet gets information about datasets in Azure Data Factory. If you specify the name of a dataset, this cmdlet

gets information about that dataset. If you do not specify a name, this cmdlet gets information about all the datasets in the data factory.





PARAMETERS

-DataFactory <PSDataFactory>

Specifies a PSDataFactory object. This cmdlet gets datasets that belong to the data factory that this parameter specifies.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DataFactoryName <String>

Specifies the name of a data factory. This cmdlet gets datasets that belong to the data factory that this parameter specifies.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Specifies the name of the dataset about which this cmdlet gets information.



Required? false

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of an Azure resource group. This cmdlet gets datasets that belong to the group that this parameter specifies.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

System.Collections.Generic.List`1[[Microsoft.WindowsAzure.Commands.Utilities.PSDataset, Microsoft.WindowsAzure.Commands.Utilities,

Version=0.8.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] Microsoft.WindowsAzure.Commands.Utilities.PSDataset







NOTES





* Keywords: azure, azurerm, arm, resource, management, manager, data, factories



Example 1: Get information about all datasets



PS C:\\>Get-AzureRmDataFactoryDataset -ResourceGroupName "ADF" -DataFactoryName "WikiADF"

DatasetName : DACuratedWikiData

ResourceGroupName : ADF

DataFactoryName : WikiADF

Availability : Microsoft.DataFactories.Availability

Location :

Policy :

Structure : {}



DatasetName : DAWikipediaClickEvents

ResourceGroupName : ADF

DataFactoryName : WikiADF

Availability : Microsoft.DataFactories.Availability

Location :

Policy :

Structure : {}



DatasetName : DAWikiAggregatedData

ResourceGroupName : ADF

DataFactoryName : WikiADF

Availability : Microsoft.DataFactories.Availability

Location :

Policy :

Structure : {}



This command gets information about all datasets in the data factory named WikiADF.





Example 2: Get information about a specific dataset



PS C:\\>Get-AzureRmDataFactoryDataset -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents"

DatasetName : DAWikipediaClickEvents

ResourceGroupName : ADF

DataFactoryName : WikiADF

Availability : Microsoft.DataFactories.Availability

Location : Microsoft.DataFactories.AzureBlobLocation

Policy : Microsoft.DataFactories.Policy

Structure : {}



This command gets information about the dataset named DAWikipediaClickEvents in the data factory named WikiADF.





Example 3: Get the location for a specific dataset



PS C:\\>(Get-AzureRmDataFactoryDataset -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents").Location

BlobPath : wikidatagateway/wikisampledatain/

FilenamePrefix :

Format :

LinkedServiceName : LinkedServiceWikipediaClickEvents

PartitionBy : {}



This command gets information for the dataset named DAWikipediaClickEvents in the data factory named WikiADF, and then uses standard dot notation

to view the Location associated with that dataset. Alternatively, assign the output of the Get-AzureRmDataFactoryDataset cmdlet to a variable, and

then use dot notation to view the Location property associated with the dataset object stored in that variable.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... orydataset

New-AzureRmDataFactoryDataset

Remove-AzureRmDataFactoryDataset