ApiManagementExtensions.GetApiManagementDeletedService メソッド

定義

論理的に削除された API Management サービスを、名前を指定して取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.ApiManagement/locations/{location}/deletedservices/{serviceName}
  • 操作IdDeletedServices_GetByName
public static Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementDeletedServiceResource> GetApiManagementDeletedService (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string serviceName, System.Threading.CancellationToken cancellationToken = default);
static member GetApiManagementDeletedService : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementDeletedServiceResource>
<Extension()>
Public Function GetApiManagementDeletedService (subscriptionResource As SubscriptionResource, location As AzureLocation, serviceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ApiManagementDeletedServiceResource)

パラメーター

subscriptionResource
SubscriptionResource

SubscriptionResourceメソッドが実行するインスタンス。

location
AzureLocation

削除されたAPI Management サービスの場所。

serviceName
String

API Management サービスの名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

serviceName が null です。

適用対象