DeletedServicesOperationsExtensions.GetByNameAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET