Edit

Get-AzNetworkAnalyticsDataProduct

This cmdlet is part of a Preview module. Preview versions aren't recommended for use in production environments. For more information, see https://aka.ms/azps-refstatus.

Retrieve data product resource.

Syntax

List (Default)

Get-AzNetworkAnalyticsDataProduct
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Get

Get-AzNetworkAnalyticsDataProduct
    -Name <String>
    -ResourceGroupName <String>
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

List1

Get-AzNetworkAnalyticsDataProduct
    -ResourceGroupName <String>
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

GetViaIdentity

Get-AzNetworkAnalyticsDataProduct
    -InputObject <INetworkAnalyticsIdentity>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Description

Retrieve data product resource.

Examples

Example 1: Get data product resource by data product name.

Get-AzNetworkAnalyticsDataProduct -DataProductName "pwshdp01" -ResourceGroupName "ResourceGroupName"
Location       Name     SystemDataCreatedAt    SystemDataCreatedBy    SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy
--------       ----     -------------------    -------------------    ----------------------- ------------------------ -------------
southcentralus pwshdp01 10/13/2023 11:22:54 AM user1@microsoft.com User                    10/13/2023 11:22:54 AM   user1@microsoft.com

Get data product resource by data product name.

Example 2: List all data product resource for a resource group.

$GetDataProductsForRG = Get-AzNetworkAnalyticsDataProduct -ResourceGroupName "ResourceGroupName"

$GetDataProductsForRG | select Name,ResourceGroupName,Location,ProvisioningState,Product,MajorVersion,Publisher | Format-Table
Name         ResourceGroupName Location    ProvisioningState Product MajorVersion Publisher SystemDataCreatedBy
----         ----------------- --------    ----------------- ------- ------------ --------- -------------------
dpinstance1  powershell-test    eastus      Succeeded         MCC     2.0.0        Microsoft user1@microsoft.com
dpinstance2  powershell-test    uksouth     Succeeded         MCC     2.0.0        Microsoft user1@microsoft.com
dpinstance3  powershell-test    westus      Succeeded         MCC     2.0.0        Microsoft user2@microsoft.com
dpinstance4  powershell-test    uksouth     Succeeded         MCC     2.0.0        Microsoft user3@microsoft.com

List all data product resource for a resource group.

Example 3: List all data product resource for a subscription.

$GetDataProductsForSub = Get-AzNetworkAnalyticsDataProduct

$GetDataProductsForRG | select Name,ResourceGroupName,Location,ProvisioningState,Product,MajorVersion,Publisher | Format-Table
Name         ResourceGroupName Location    ProvisioningState Product MajorVersion Publisher SystemDataCreatedBy
----         ----------------- --------    ----------------- ------- ------------ --------- -------------------
dpinstance1  powershell-test    eastus      Succeeded         MCC     1.0.0        Microsoft user1@microsoft.com
dpinstance2  powershell-test    uksouth     Succeeded         MCC     1.0.0        Microsoft user1@microsoft.com
dpinstance3  powershell-test    westus      Succeeded         MCC     2.0.0        Microsoft user2@microsoft.com
dpinstance4  powershell-test    uksouth     Succeeded         MCC     2.0.0        Microsoft user3@microsoft.com

List all data product resource for a subscription.

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Parameter properties

Type:INetworkAnalyticsIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GetViaIdentity
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

The data product resource name

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:DataProductName

Parameter sets

Get
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResourceGroupName

The name of the resource group. The name is case insensitive.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Get
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
List1
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SubscriptionId

The ID of the target subscription.

Parameter properties

Type:

String[]

Default value:(Get-AzContext).Subscription.Id
Supports wildcards:False
DontShow:False

Parameter sets

List
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Get
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
List1
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

INetworkAnalyticsIdentity

Outputs

IDataProduct