Compartir a través de


ApiManagementExtensions.GetApiManagementDeletedServiceAsync Método

Definición

Obtiene el servicio API Management eliminado temporalmente por el nombre.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.ApiManagement/locations/{location}/deletedservices/{serviceName}
  • IdDeletedServices_GetByName de operaciones
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))

Parámetros

subscriptionResource
SubscriptionResource

Instancia SubscriptionResource en la que se ejecutará el método.

location
AzureLocation

Ubicación del servicio API Management eliminado.

serviceName
String

Nombre del servicio API Management.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

serviceName es una cadena vacía y se esperaba que no estuviera vacía.

serviceName es null.

Se aplica a