Share via


ApiCenterExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.ApiCenter.

public static class ApiCenterExtensions
type ApiCenterExtensions = class
Public Module ApiCenterExtensions
Inheritance
ApiCenterExtensions

Methods

GetApiCenterService(ResourceGroupResource, String, CancellationToken)

Get service

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}
  • Operation Id: Services_Get
GetApiCenterServiceAsync(ResourceGroupResource, String, CancellationToken)

Get service

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}
  • Operation Id: Services_Get
GetApiCenterServiceResource(ArmClient, ResourceIdentifier)

Gets an object representing an ApiCenterServiceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an ApiCenterServiceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetApiCenterServiceResource(ResourceIdentifier) instead.

GetApiCenterServices(ResourceGroupResource)

Gets a collection of ApiCenterServiceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetApiCenterServices() instead.

GetApiCenterServices(SubscriptionResource, CancellationToken)

Lists services within an Azure subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ApiCenter/services
  • Operation Id: Services_ListBySubscription
GetApiCenterServicesAsync(SubscriptionResource, CancellationToken)

Lists services within an Azure subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ApiCenter/services
  • Operation Id: Services_ListBySubscription

Applies to