共用方式為


EdgeOrderExtensions.GetProductFamiliesAsync Method

Definition

This method provides the list of product families for the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrder/listProductFamilies
  • Operation Id: ListProductFamilies
public static Azure.AsyncPageable<Azure.ResourceManager.EdgeOrder.Models.ProductFamily> GetProductFamiliesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.EdgeOrder.Models.ProductFamiliesContent content, string expand = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetProductFamiliesAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.EdgeOrder.Models.ProductFamiliesContent * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.EdgeOrder.Models.ProductFamily>
<Extension()>
Public Function GetProductFamiliesAsync (subscriptionResource As SubscriptionResource, content As ProductFamiliesContent, Optional expand As String = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ProductFamily)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

content
ProductFamiliesContent

Filters for showing the product families.

expand
String

$expand is supported on configurations parameter for product, which provides details on the configurations for the product.

skipToken
String

$skipToken is supported on list of product families, which provides the next page in the list of product families.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ProductFamily that may take multiple service requests to iterate over.

Exceptions

subscriptionResource or content is null.

Applies to