文件名称:api-management-policy-snippets:可重用的Azure API管理策略示例
文件大小:146KB
文件格式:ZIP
更新时间:2024-05-21 03:39:02
Azure API管理策略片段 例子 examples/文件夹包含产品团队和用户社区提供的策略示例。 样本应按原样重复使用,提供灵感或用作学习辅助工具。 其中一些参数是使用“ (以前称为“属性”)进行参数化的,如下所示: {{some-value}} 。 使用参数化样本时,您将必须定义相关的“命名值”或将其替换为适当的值。 政策表达速查表 policy-expressions文件夹包含一个,其中包含编写Azure API管理策略时经常使用的常见策略表达式。 Visual Studio代码段 vscode-snippets/文件夹包含Visual Studio Code的用户片段。 用户代码段有助于简化工作流程,并通过自动完成和轻松导航来简化文档编辑。 请有关如何使用它们的信息,请参阅。 有用的网址 要了解有关Azure API管理的信息,请单击 贡献 该项目采用了Microsoft开源行
【文件预览】:
api-management-policy-snippets-master
----media()
--------vscode-snippets()
----LICENSE(1KB)
----policy-expressions()
--------README.md(4KB)
----vscode-snippets()
--------xml.json(20KB)
----examples()
--------Generate Shared Access Signature and forward request to Azure storage.policy.xml(4KB)
--------Mask async calls as synchronous.policy.xml(1KB)
--------Look up Key Vault secret using Managed Service Identity.policy.xml(3KB)
--------Trigger Azure Data Factory Pipeline.policy.xml(3KB)
--------Random load balancer.policy.xml(1KB)
--------Authenticate using Managed Identity to access Service Bus.xml(1KB)
--------Pre-authorize requests based on HTTP method with validate-jwt.policy.xml(2KB)
--------Authenticate using Managed Identity to access Storage Account.xml(2KB)
--------Authenticate using Managed Identity to access Event Hub.xml(2KB)
--------Loopback request for service at same API Management service.xml(2KB)
--------Backend OAuth2 Authentication With Cache.policy.xml(3KB)
--------Trigger Azure Data Factory Pipeline With Parameters.policy.xml(3KB)
--------Generate Azure Relay Token.policy.xml(4KB)
--------Get OAuth2 access token from AAD using client id and certificate using key vualt manage identity.xml(7KB)
--------Send request context information to the backend service.policy.xml(997B)
--------Add correlation id to inbound request.policy.xml(2KB)
--------Query CosmosDB.policy.xml(3KB)
--------Perform basic authentication.policy.xml(2KB)
--------Get OAuth2 access token from AAD and forward it to the backend.policy.xml(2KB)
--------Filter on IP Address when using Application Gateway.policy.xml(4KB)
--------Get X-CSRF token from SAP gateway using send request.policy.xml(2KB)
--------Filter response content based on product name.policy.xml(1KB)
--------Route requests based on size.policy.xml(2KB)
--------Simple Google OAuth validate-jwt.policy.xml(1KB)
--------Encrypt data using expressions.policy.xml(979B)
--------DELETE a from to blobStorage account.xml(3KB)
--------Call out to an HTTP endpoint and cache the response.policy.xml(3KB)
--------Look up Key Vault certificate using Managed Service Identity and call backend.policy.xml(3KB)
--------Parse a JWT token using expressions.xml(2KB)
--------GET a file from blobStorage account.xml(4KB)
--------Route requests to regional backend instances.xml(1KB)
--------Authorize requests using external authorizer.policy.xml(3KB)
--------Log errors to Stackify.policy.xml(2KB)
--------README.md(14KB)
--------Return HTTP 405 if the HTTP Method of the request is not defined.xml(1KB)
--------Back-end API redundancy.policy.xml(3KB)
--------Set cache duration using response cache control header.policy.xml(807B)
--------Forward Azure Event Grid Event.xml(5KB)
--------Forward gateway hostname to backend for generating correct urls in responses.policy.xml(682B)
--------PUT a file to blobStorage account.xml(5KB)
----README.md(2KB)