Share via


DeletedServicesOperationsExtensions.GetByNameAsync Method

Definition

Get soft-deleted Api Management Service by name.

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

Parameters

operations
IDeletedServicesOperations

The operations group for this extension method.

serviceName
String

The name of the API Management service.

location
String

The location of the deleted API Management service.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to