次の方法で共有


NetworkAnalyticsExtensions.GetDataProducts Method

Definition

Overloads

GetDataProducts(ResourceGroupResource)

Gets a collection of DataProductResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDataProducts() instead.

GetDataProducts(SubscriptionResource, CancellationToken)

List data products by subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkAnalytics/dataProducts
  • Operation Id: DataProducts_ListBySubscription
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource

GetDataProducts(ResourceGroupResource)

Source:
NetworkAnalyticsExtensions.cs
Source:
NetworkAnalyticsExtensions.cs

Gets a collection of DataProductResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDataProducts() instead.

public static Azure.ResourceManager.NetworkAnalytics.DataProductCollection GetDataProducts (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetDataProducts : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.NetworkAnalytics.DataProductCollection
<Extension()>
Public Function GetDataProducts (resourceGroupResource As ResourceGroupResource) As DataProductCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of DataProductResources and their operations over a DataProductResource.

Exceptions

resourceGroupResource is null.

Applies to

GetDataProducts(SubscriptionResource, CancellationToken)

Source:
NetworkAnalyticsExtensions.cs
Source:
NetworkAnalyticsExtensions.cs

List data products by subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkAnalytics/dataProducts
  • Operation Id: DataProducts_ListBySubscription
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
public static Azure.Pageable<Azure.ResourceManager.NetworkAnalytics.DataProductResource> GetDataProducts (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetDataProducts : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetworkAnalytics.DataProductResource>
<Extension()>
Public Function GetDataProducts (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DataProductResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of DataProductResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to