Share via


ProductPolicys Interface

Implements

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

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

Type representing ProductPolicys.

Method Summary

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

Deletes the policy configuration at the Product.

abstract rx.Observable<ProductPolicyContract> getAsync(String resourceGroupName, String serviceName, String productId)

Get the policy configuration at the Product level.

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

Get the ETag of the policy configuration at the Product level.

abstract rx.Observable<PolicyCollection> listByProductAsync(String resourceGroupName, String serviceName, String productId)

Get the policy configuration at the Product level.

Method Details

deleteAsync

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

Deletes the policy configuration at the Product.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
productId - Product identifier. 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<ProductPolicyContract> getAsync(String resourceGroupName, String serviceName, String productId)

Get the policy configuration at the Product level.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
productId - Product identifier. 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 productId)

Get the ETag of the policy configuration at the Product level.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
productId - Product identifier. Must be unique in the current API Management service instance.

Returns:

the observable for the request

listByProductAsync

public abstract Observable<PolicyCollection> listByProductAsync(String resourceGroupName, String serviceName, String productId)

Get the policy configuration at the Product level.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
productId - Product identifier. Must be unique in the current API Management service instance.

Returns:

the observable for the request

Applies to