ApiManagementProductCollection.Get(String, CancellationToken) メソッド

定義

識別子で指定された製品の詳細を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}
  • 操作IdProduct_Get
public virtual Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementProductResource> Get (string productId, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementProductResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementProductResource>
Public Overridable Function Get (productId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ApiManagementProductResource)

パラメーター

productId
String

製品識別子。 現在のAPI Management サービス インスタンスで一意である必要があります。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

productId は空の文字列であり、空でないと想定されていました。

productId が null です。

適用対象