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

GetApiCenterApiDefinitionResource(ArmClient, ResourceIdentifier)

Gets an object representing an ApiCenterApiDefinitionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String, String, String) to create an ApiCenterApiDefinitionResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetApiCenterApiDefinitionResource(ResourceIdentifier) instead.</item>

GetApiCenterApiResource(ArmClient, ResourceIdentifier)

Gets an object representing an ApiCenterApiResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create an ApiCenterApiResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetApiCenterApiResource(ResourceIdentifier) instead.</item>

GetApiCenterApiVersionResource(ArmClient, ResourceIdentifier)

Gets an object representing an ApiCenterApiVersionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String, String) to create an ApiCenterApiVersionResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetApiCenterApiVersionResource(ResourceIdentifier) instead.</item>

GetApiCenterDeploymentResource(ArmClient, ResourceIdentifier)

Gets an object representing an ApiCenterDeploymentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String, String) to create an ApiCenterDeploymentResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetApiCenterDeploymentResource(ResourceIdentifier) instead.</item>

GetApiCenterEnvironmentResource(ArmClient, ResourceIdentifier)

Gets an object representing an ApiCenterEnvironmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create an ApiCenterEnvironmentResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetApiCenterEnvironmentResource(ResourceIdentifier) instead.</item>

GetApiCenterMetadataSchemaResource(ArmClient, ResourceIdentifier)

Gets an object representing an ApiCenterMetadataSchemaResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an ApiCenterMetadataSchemaResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetApiCenterMetadataSchemaResource(ResourceIdentifier) instead.</item>

GetApiCenterService(ResourceGroupResource, String, CancellationToken)

Returns details of the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}
  • Operation Id: Services_Get
  • Default Api Version: 2024-03-01
  • Resource: ApiCenterServiceResource
<item>MockingTo mock this method, please mock GetApiCenterService(String, CancellationToken) instead.</item>
GetApiCenterServiceAsync(ResourceGroupResource, String, CancellationToken)

Returns details of the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}
  • Operation Id: Services_Get
  • Default Api Version: 2024-03-01
  • Resource: ApiCenterServiceResource
<item>MockingTo mock this method, please mock GetApiCenterServiceAsync(String, CancellationToken) instead.</item>
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. <item>MockingTo mock this method, please mock GetApiCenterServiceResource(ResourceIdentifier) instead.</item>

GetApiCenterServices(ResourceGroupResource)

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

GetApiCenterServices(SubscriptionResource, CancellationToken)

Lists services within an Azure subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ApiCenter/services
  • Operation Id: Services_ListBySubscription
  • Default Api Version: 2024-03-01
  • Resource: ApiCenterServiceResource
<item>MockingTo mock this method, please mock GetApiCenterServices(CancellationToken) instead.</item>
GetApiCenterServicesAsync(SubscriptionResource, CancellationToken)

Lists services within an Azure subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ApiCenter/services
  • Operation Id: Services_ListBySubscription
  • Default Api Version: 2024-03-01
  • Resource: ApiCenterServiceResource
<item>MockingTo mock this method, please mock GetApiCenterServices(CancellationToken) instead.</item>
GetApiCenterWorkspaceResource(ArmClient, ResourceIdentifier)

Gets an object representing an ApiCenterWorkspaceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an ApiCenterWorkspaceResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetApiCenterWorkspaceResource(ResourceIdentifier) instead.</item>

Applies to