Dela 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
  • Default Api Version: 2023-07-01-preview
  • Resource: ApiCenterServiceResource
GetApiCenterServiceAsync(ResourceGroupResource, String, CancellationToken)

Get service

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}
  • Operation Id: Services_Get
  • Default Api Version: 2023-07-01-preview
  • Resource: ApiCenterServiceResource
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
  • Default Api Version: 2023-07-01-preview
  • Resource: ApiCenterServiceResource
GetApiCenterServicesAsync(SubscriptionResource, CancellationToken)

Lists services within an Azure subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ApiCenter/services
  • Operation Id: Services_ListBySubscription
  • Default Api Version: 2023-07-01-preview
  • Resource: ApiCenterServiceResource

Applies to