你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Apis Interface

Implements

com.microsoft.azure.arm.collection.SupportsCreating<Blank> com.microsoft.azure.arm.model.HasInner<com.microsoft.azure.management.apimanagement.v2019_01_01.implementation.ApisInner>

public interface Apis
extends com.microsoft.azure.arm.collection.SupportsCreating<Blank>, com.microsoft.azure.arm.model.HasInner<com.microsoft.azure.management.apimanagement.v2019_01_01.implementation.ApisInner>

Type representing Apis.

Method Summary

Modifier and Type Method and Description
abstract rx.Completable deleteAsync(String resourceGroupName, String serviceName, String apiId, String ifMatch)

Deletes the specified API of the API Management service instance.

abstract rx.Observable<ApiContract> getAsync(String resourceGroupName, String serviceName, String apiId)

Gets the details of the API specified by its identifier.

abstract rx.Completable getEntityTagAsync(String resourceGroupName, String serviceName, String apiId)

Gets the entity state (Etag) version of the API specified by its identifier.

abstract rx.Observable<ApiContract> listByServiceAsync(String resourceGroupName, String serviceName)

Lists all APIs of the API Management service instance.

abstract rx.Observable<TagResourceContract> listByTagsAsync(String resourceGroupName, String serviceName)

Lists a collection of apis associated with tags.

Method Details

deleteAsync

public abstract Completable deleteAsync(String resourceGroupName, String serviceName, String apiId, String ifMatch)

Deletes the specified API of the API Management service instance.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
apiId - API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
ifMatch - ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.

Returns:

the observable for the request

getAsync

public abstract Observable<ApiContract> getAsync(String resourceGroupName, String serviceName, String apiId)

Gets the details of the API specified by its identifier.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
apiId - API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.

Returns:

the observable for the request

getEntityTagAsync

public abstract Completable getEntityTagAsync(String resourceGroupName, String serviceName, String apiId)

Gets the entity state (Etag) version of the API specified by its identifier.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
apiId - API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.

Returns:

the observable for the request

listByServiceAsync

public abstract Observable<ApiContract> listByServiceAsync(String resourceGroupName, String serviceName)

Lists all APIs of the API Management service instance.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.

Returns:

the observable for the request

listByTagsAsync

public abstract Observable<TagResourceContract> listByTagsAsync(String resourceGroupName, String serviceName)

Lists a collection of apis associated with tags.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.

Returns:

the observable for the request

Applies to