Freigeben über


ApiManagementProductCollection.GetAllAsync Methode

Definition

Listet eine Auflistung der Produkte in der angegebenen Dienstinstanz auf

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products
  • Vorgangs-IdProduct_ListByService
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.ApiManagementProductResource> GetAllAsync (string filter = default, int? top = default, int? skip = default, bool? expandGroups = default, string tags = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * Nullable<int> * Nullable<int> * Nullable<bool> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.ApiManagementProductResource>
override this.GetAllAsync : string * Nullable<int> * Nullable<int> * Nullable<bool> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.ApiManagementProductResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional skip As Nullable(Of Integer) = Nothing, Optional expandGroups As Nullable(Of Boolean) = Nothing, Optional tags As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ApiManagementProductResource)

Parameter

filter
String

| Feld | Nutzung | Unterstützte Operatoren | Unterstützte Funktionen |< /br>|-------------|-------------|-------------|-------------|< /br>| name | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |< /br>| displayName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |< /br>| description | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |< /br>| terms | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |< /br>| state | filter | eq | |< /br>| groups | expand | | |< /br>.

top
Nullable<Int32>

Die Anzahl der zurückzugebenden Datensätze.

skip
Nullable<Int32>

Die Anzahl der zu überspringenden Datensätze.

expandGroups
Nullable<Boolean>

Wenn diese Einstellung auf TRUE festgelegt ist, enthält die Antwort ein Array von Gruppen, die über Sichtbarkeit für das Produkt verfügen. Die Standardeinstellung ist „false“.

tags
String

Produkte, die Teil eines bestimmten Tags sind.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Auflistung von ApiManagementProductResource , die mehrere Dienstanforderungen durchlaufen kann.

Gilt für: