< Back

Get-AzureRmDataFactoryHub

Tue Jan 29, 2019 9:41 pm

NAME Get-AzureRmDataFactoryHub



SYNOPSIS

Gets information about hubs in Azure Data Factory.





SYNTAX

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



Get-AzureRmDataFactoryHub [-ResourceGroupName] <String> [-DataFactoryName] <String> [[-Name] <String>] [-DefaultProfile <IAzureContextContainer>]

[<CommonParameters>]





DESCRIPTION

The Get-AzureRmDataFactoryHub cmdlet gets information about hubs in Azure Data Factory. If you specify the name of a hub, this cmdlet gets

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





PARAMETERS

-DataFactory <PSDataFactory>

Specifies a PSDataFactory object. This cmdlet gets information about hubs in 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 information about hubs in 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 hub about which to get 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 information about hubs 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.Azure.Commands.DataFactories.Models.PSHub]





Microsoft.Azure.Commands.DataFactories.Models.PSHub







NOTES





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



Example 1: Get all data hubs



PS C:\\>Get-AzureRmDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory"



This command gets all data hubs in the Azure resource group named ADFResourceGroup and the data factory named ADFDataFactory.





Example 2: Get a specific data hub



PS C:\\>Get-AzureRmDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" -Name "MyDataHub"



This command gets information about the hub named MyDataHub in the Azure resource group named ADFResourceGroup and the data factory named

ADFDataFactory.







RELATED LINKS

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

New-AzureRmDataFactoryHub

Remove-AzureRmDataFactoryHub