Interface PolicyDescriptions
-
public interface PolicyDescriptions
Resource collection API of PolicyDescriptions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyDescriptionCollection
listByService(String resourceGroupName, String serviceName)
Lists all policy descriptions.com.azure.core.http.rest.Response<PolicyDescriptionCollection>
listByServiceWithResponse(String resourceGroupName, String serviceName, PolicyScopeContract scope, com.azure.core.util.Context context)
Lists all policy descriptions.
-
-
-
Method Detail
-
listByService
PolicyDescriptionCollection listByService(String resourceGroupName, String serviceName)
Lists all policy descriptions.- Parameters:
resourceGroupName
- The name of the resource group.serviceName
- The name of the API Management service.- Returns:
- descriptions of APIM 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.
-
listByServiceWithResponse
com.azure.core.http.rest.Response<PolicyDescriptionCollection> 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.serviceName
- The name of the API Management service.scope
- Policy scope.context
- The context to associate with this operation.- Returns:
- descriptions of APIM 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.
-
-