Share via


ApiOperationPolicys Interface

Implements

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

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

Type representing ApiOperationPolicys.

Method Summary

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

Deletes the policy configuration at the Api Operation.

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

Get the policy configuration at the API Operation level.

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

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

abstract rx.Observable<PolicyCollection> listByOperationAsync(String resourceGroupName, String serviceName, String apiId, String operationId)

Get the list of policy configuration at the API Operation level.

Method Details

deleteAsync

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

Deletes the policy configuration at the Api Operation.

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.
operationId - Operation identifier within an API. Must be unique in the current API Management service instance.
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<OperationApiPolicyContract> getAsync(String resourceGroupName, String serviceName, String apiId, String operationId)

Get the policy configuration at the API Operation level.

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.
operationId - Operation identifier within an API. Must be unique in the current API Management service instance.

Returns:

the observable for the request

getEntityTagAsync

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

Gets the entity state (Etag) version of the API operation policy 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.
operationId - Operation identifier within an API. Must be unique in the current API Management service instance.

Returns:

the observable for the request

listByOperationAsync

public abstract Observable<PolicyCollection> listByOperationAsync(String resourceGroupName, String serviceName, String apiId, String operationId)

Get the list of policy configuration at the API Operation level.

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.
operationId - Operation identifier within an API. Must be unique in the current API Management service instance.

Returns:

the observable for the request

Applies to