ApiPolicies Interface
public interface ApiPolicies
Resource collection API of ApiPolicies.
Method Summary
Method Details
createOrUpdate
public abstract PolicyContract createOrUpdate(String resourceGroupName, String serviceName, String apiId, PolicyIdName policyId, PolicyContractInner parameters)
Creates or updates policy configuration for the API.
Parameters:
Returns:
createOrUpdateWithResponse
public abstract Response
Creates or updates policy configuration for the API.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String serviceName, String apiId, PolicyIdName policyId, String ifMatch)
Deletes the policy configuration at the Api.
Parameters:
deleteWithResponse
public abstract Response
Deletes the policy configuration at the Api.
Parameters:
Returns:
get
public abstract PolicyContract get(String resourceGroupName, String serviceName, String apiId, PolicyIdName policyId)
Get the policy configuration at the API level.
Parameters:
Returns:
getEntityTag
public abstract void getEntityTag(String resourceGroupName, String serviceName, String apiId, PolicyIdName policyId)
Gets the entity state (Etag) version of the API policy specified by its identifier.
Parameters:
getEntityTagWithResponse
public abstract ApiPoliciesGetEntityTagResponse getEntityTagWithResponse(String resourceGroupName, String serviceName, String apiId, PolicyIdName policyId, Context context)
Gets the entity state (Etag) version of the API policy specified by its identifier.
Parameters:
Returns:
getWithResponse
public abstract Response
Get the policy configuration at the API level.
Parameters:
Returns:
listByApi
public abstract PolicyCollection listByApi(String resourceGroupName, String serviceName, String apiId)
Get the policy configuration at the API level.
Parameters:
Returns:
listByApiWithResponse
public abstract Response
Get the policy configuration at the API level.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for