Interface PolicyDescriptionsClient
public interface PolicyDescriptionsClient
An instance of this class provides access to all the operations defined in PolicyDescriptionsClient.
-
Method Summary
Modifier and TypeMethodDescriptionlistByService(String resourceGroupName, String serviceName) Lists all policy descriptions.com.azure.core.http.rest.Response<PolicyDescriptionCollectionInner> listByServiceWithResponse(String resourceGroupName, String serviceName, PolicyScopeContract scope, com.azure.core.util.Context context) Lists all policy descriptions.
-
Method Details
-
listByServiceWithResponse
com.azure.core.http.rest.Response<PolicyDescriptionCollectionInner> listByServiceWithResponse(String resourceGroupName, String serviceName, PolicyScopeContract scope, com.azure.core.util.Context context) Lists all policy descriptions.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceName- The name of the API Management service.scope- Policy scope.context- The context to associate with this operation.- Returns:
- descriptions of API Management policies along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByService
Lists all policy descriptions.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceName- The name of the API Management service.- Returns:
- descriptions of API Management policies.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-