As políticas da Apigee aprimoram suas APIs para controlar
o tráfego, melhorar o desempenho, aplicar a segurança e aumentar a utilidade delas, sem
exigir que você escreva nenhum código ou modifique serviços de back-end.
Além disso, a Apigee fornece políticas de extensão que permitem implementar lógica personalizada na
forma de folhas de estilo JavaScript, Python, Java e XSLT.
Categorias e tipos de política
A categoria de uma política indica a área funcional dela, por exemplo, segurança ou mediação.
As políticas são exibidas classificadas por categoria abaixo.
O tipo de política se refere a como ela pode ser usada na Apigee:
As políticas padrão são adequadas para desenvolvimento interno e soluções de API leves.
As políticas padrão podem ser usadas com qualquer
tipo de ambiente.
Para ver a lista de políticas padrão, consulte
Políticas padrão por categoria.
As políticas extensíveis fornecem mais funcionalidades do que as políticas padrão, inclusive para
gerenciamento de tráfego, mediação e segurança. As políticas extensíveis também
incluem políticas para implementar uma lógica personalizada na forma de folhas de estilo JavaScript, Python,
Java e XSLT.
As políticas extensíveis só podem ser usadas com tipos de ambiente intermediários e
abrangentes. O uso de uma política extensível converte automaticamente esse proxy em um
proxy extensível,
o que pode gerar custos e outras implicações. Verifique os
direitos de pagamento por utilização
e a Assinatura 2024 para mais informações.
Para usuários de Pay-as-you-go, os tipos de políticas que podem ser usados em um proxy dependem dos
tipos de ambiente
que você planeja implantar esse proxy. Consulte Pay-as-you-go para mais informações.
Se houver duas políticas, uma padrão e uma extensível, que executam suas funções necessárias,
use a política padrão.
Políticas padrão por categoria
Confira as seguintes categorias de políticas padrão:
Políticas de gerenciamento de tráfego
Políticas de mediação
Políticas de segurança
Políticas da extensão
Permite controlar cotas e mitigar os efeitos de picos de tráfego da API.
Confira a seguir as políticas extensíveis por categoria. Proxies com políticas extensíveis só podem ser
implantados em ambientes intermediários e abrangentes. As políticas extensíveis são exibidas na interface do
usuário com este ícone:
.
Políticas de gerenciamento de tráfego
Políticas de mediação
Políticas de segurança
Políticas da extensão
Permite configurar o armazenamento em cache, controlar cotas, reduzir os efeitos dos picos e executar outras funções relacionadas ao tráfego da API.
É possível definir a funcionalidade de política personalizada, como frase de destaque de serviço, coleta de dados de mensagens e chamar scripts Java, JavaScript e Python.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-03 UTC."],[[["\u003cp\u003eApigee policies enhance APIs by managing traffic, boosting performance, strengthening security, and expanding API functionality without the need for custom coding or modifying backend services.\u003c/p\u003e\n"],["\u003cp\u003eApigee offers both standard and extensible policies; standard policies are for lightweight API solutions and internal development, while extensible policies provide greater functionality for traffic management, mediation, security and custom logic, but require intermediate or comprehensive environment types.\u003c/p\u003e\n"],["\u003cp\u003eStandard policies are categorized into traffic management, mediation, security, and extension, with examples like SpikeArrest for traffic and AccessControl for security.\u003c/p\u003e\n"],["\u003cp\u003eExtensible policies also fall into traffic management, mediation, security, and extension, offering advanced features such as caching and threat protection, and they allow custom logic with JavaScript, Python, Java, and XSLT.\u003c/p\u003e\n"],["\u003cp\u003eThe choice between standard and extensible policies depends on the required functionality and the environment type deployed, with standard policies being preferred if both types can fulfill the necessary functions.\u003c/p\u003e\n"]]],[],null,["# Policy reference overview\n\n*This page\napplies to **Apigee** and **Apigee hybrid**.*\n\n\n*View [Apigee Edge](https://docs.apigee.com/api-platform/get-started/what-apigee-edge) documentation.*\n\nApigee's policies augment your APIs to control\ntraffic, enhance performance, enforce security, and increase the utility of your APIs, without\nrequiring you to write code or modify backend services.\n\nIn addition, Apigee provides extension policies that let you implement custom logic in the\nform of JavaScript, Python, Java, and XSLT stylesheets.\n\nPolicy categories and types\n---------------------------\n\nA policy's *category* indicates the functional area (for example, security or mediation) for the policy.\nPolicies are shown sorted by category below.\n\nThe policy type refers to how the policy can be used in Apigee:\n\n- **Standard policies** are suitable for internal development and lightweight API solutions. Standard policies can be used with any [environment type](/apigee/docs/api-platform/fundamentals/environments-overview#environment-types). To see the list of standard policies, see [Standard policies by category](#standard-policy-categories).\n- **Extensible policies** provide more functionality than standard policies, including for traffic management, mediation, and security. The extensible policies also include policies to implement custom logic in the form of JavaScript, Python, Java, and XSLT stylesheets. \n\n Extensible policies can be used with intermediate and comprehensive environment types only. Using an extensible policy automatically converts that proxy to an [Extensible proxy](/apigee/docs/api-platform/fundamentals/understanding-apis-and-api-proxies#proxy-types), which could have cost and other implications. Check the [Pay-as-you-go entitlements](/apigee/docs/api-platform/reference/pay-as-you-go-updated-entitlements) and [Subscription 2024](/apigee/docs/api-platform/reference/subscription-entitlements#subscription-2024-entitlements) for information. \n\n To see the list of extensible policies, see [Extensible policies by category](#standard-policy-categories).\n\nFor [Pay-as-you-go](/apigee/docs/api-platform/reference/pay-as-you-go-updated-overview) users, the types of policies you can use in a proxy depend on the\n[environment types](/apigee/docs/api-platform/reference/pay-as-you-go-environment-types)\nyou plan to deploy that proxy to. See [Pay-as-you-go](/apigee/docs/api-platform/reference/pay-as-you-go-updated-overview) for more information.\n\nIf there are two policies, one standard and one extensible, that would both perform the functions\nyou need, use the standard policy.\n\nStandard policies by category\n-----------------------------\n\nFollowing are the categories for the standard policies:\n\nExtensible policies by category\n-------------------------------\n\nFollowing are the extensible policies, by category. Proxies with extensible policies can only be\ndeployed to intermediate and comprehensive environments. Extensible policies are indicated in the user\ninterface with this icon:\n."]]