次の方法で共有


QuotaByCounterKeysOperationsExtensions.ListByServiceAsync メソッド

定義

指定したサービス インスタンスのポリシーで構成されたカウンター キーに関連付けられている現在のクォータ カウンター期間のコレクションを一覧表示します。 API はまだページングをサポートしていません。 https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-product-with-rules#a-namepolicies-ato-configure-call-rate-limit-and-quota-policies

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.QuotaCounterCollection> ListByServiceAsync (this Microsoft.Azure.Management.ApiManagement.IQuotaByCounterKeysOperations operations, string resourceGroupName, string serviceName, string quotaCounterKey, System.Threading.CancellationToken cancellationToken = default);
static member ListByServiceAsync : Microsoft.Azure.Management.ApiManagement.IQuotaByCounterKeysOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.QuotaCounterCollection>
<Extension()>
Public Function ListByServiceAsync (operations As IQuotaByCounterKeysOperations, resourceGroupName As String, serviceName As String, quotaCounterKey As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of QuotaCounterCollection)

パラメーター

operations
IQuotaByCounterKeysOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

リソース グループの名前。

serviceName
String

API Management サービスの名前。

quotaCounterKey
String

クォータ カウンター キー識別子。これは、キーごとのクォータ ポリシーのカウンター キー属性で定義された式の結果です。たとえば、ポリシーで counter-key="boo" を指定すると、"boo" カウンター キーでアクセスできます。 ただし、counter-key="@("b"+"a")" として定義されている場合は、"ba" キーでアクセスできます

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象