다음을 통해 공유


ApiManagementExtensions.GetApiManagementDeletedServices Method

Definition

Overloads

GetApiManagementDeletedServices(SubscriptionResource)

Gets a collection of ApiManagementDeletedServiceResources in the SubscriptionResource. MockingTo mock this method, please mock GetApiManagementDeletedServices() instead.

GetApiManagementDeletedServices(SubscriptionResource, CancellationToken)

Lists all soft-deleted services available for undelete for the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/deletedservices
  • Operation Id: DeletedServices_ListBySubscription
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementDeletedServiceResource

GetApiManagementDeletedServices(SubscriptionResource)

Source:
ApiManagementExtensions.cs
Source:
ApiManagementExtensions.cs

Gets a collection of ApiManagementDeletedServiceResources in the SubscriptionResource. MockingTo mock this method, please mock GetApiManagementDeletedServices() instead.

public static Azure.ResourceManager.ApiManagement.ApiManagementDeletedServiceCollection GetApiManagementDeletedServices (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource);
static member GetApiManagementDeletedServices : Azure.ResourceManager.Resources.SubscriptionResource -> Azure.ResourceManager.ApiManagement.ApiManagementDeletedServiceCollection
<Extension()>
Public Function GetApiManagementDeletedServices (subscriptionResource As SubscriptionResource) As ApiManagementDeletedServiceCollection

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

Returns

An object representing collection of ApiManagementDeletedServiceResources and their operations over a ApiManagementDeletedServiceResource.

Exceptions

subscriptionResource is null.

Applies to

GetApiManagementDeletedServices(SubscriptionResource, CancellationToken)

Source:
ApiManagementExtensions.cs
Source:
ApiManagementExtensions.cs

Lists all soft-deleted services available for undelete for the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/deletedservices
  • Operation Id: DeletedServices_ListBySubscription
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementDeletedServiceResource
public static Azure.Pageable<Azure.ResourceManager.ApiManagement.ApiManagementDeletedServiceResource> GetApiManagementDeletedServices (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetApiManagementDeletedServices : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApiManagement.ApiManagementDeletedServiceResource>
<Extension()>
Public Function GetApiManagementDeletedServices (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ApiManagementDeletedServiceResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ApiManagementDeletedServiceResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to