ApiManagementExtensions.GetApiManagementDeletedServiceAsync メソッド

定義

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

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

パラメーター

subscriptionResource
SubscriptionResource

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

location
AzureLocation

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

serviceName
String

API Management サービスの名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

serviceName が null です。

適用対象