/// <summary>
 /// Gets specific backend.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.ApiManagement.IBackendOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the resource group.
 /// </param>
 /// <param name='serviceName'>
 /// Required. The name of the Api Management service.
 /// </param>
 /// <param name='backendid'>
 /// Required. Identifier of the backend.
 /// </param>
 /// <returns>
 /// Get Backend operation response details.
 /// </returns>
 public static Task <BackendGetResponse> GetAsync(this IBackendOperations operations, string resourceGroupName, string serviceName, string backendid)
 {
     return(operations.GetAsync(resourceGroupName, serviceName, backendid, CancellationToken.None));
 }
Beispiel #2
0
 /// <summary>
 /// Gets the details of the backend specified by its identifier.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='serviceName'>
 /// The name of the API Management service.
 /// </param>
 /// <param name='backendId'>
 /// Identifier of the Backend entity. Must be unique in the current API
 /// Management service instance.
 /// </param>
 public static BackendContract Get(this IBackendOperations operations, string resourceGroupName, string serviceName, string backendId)
 {
     return(operations.GetAsync(resourceGroupName, serviceName, backendId).GetAwaiter().GetResult());
 }