Trang này được dịch bằng máy. Đọc bản gốc tiếng Anh.

FeatureRecipe

retry-policy-azure-api-management

Realizes core/retry-policy on core/gateway/azure-api-management's terraform Recipe; a Release binds it in its Manifest. It writes Azure's retry around the forwarding, in the backend section of the API's policy, and emits no file. A request answered with HTTP 429 or a 5xx status is sent again, its body held so it can be resent, one second after the previous send, up to max_attempts sends in all. A refused or dropped connection, and a model that answers nothing within the forwarding's timeout, are not sent again: Azure ends the retry on such an error and hands it to the policy's on-error section. Azure retries 1 to 50 times after the first send, so max_attempts 1 writes no retry and above 51 is refused by name. The retry takes the place of the forwarding the API would inherit, so while it is attached a forwarding setting made at a broader scope of the instance, such as a timeout, does not apply to this API, which forwards with Azure's defaults. It halts on a second retry policy and on any component other than core/gateway/azure-api-management. That the retry applies as described is Microsoft's documented behaviour, and no build observes it.

Nguồn gốc

Chính thứcĐược ký bởi một danh tính ký mà danh mục này công nhận là nhà phát hành chính thức.
Digest nội dung
sha256:a2cfdc65099335ced3e89a1439e4c0bc356fd8be070780be49db232f3348ea27
Đã xuất bản
2026-11-10T10:16:50Z
Danh tính ký
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Chữ ký

  • Chính thứcapplication/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:acb843b0cafc47f63fc937d0829cc32ece8e958de9813e7ca8d98606e3b1b29f

Tham chiếu ở phiên bản này

oci://hub.aggrega.ai/featurerecipe/terraform/retry-policy-azure-api-management:1.0.0
Đích
—
Triển khai
core/retry-policy:1.0.0

Cung cấp

Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.

Chưa khai báo mẫu provides nào.

Ánh xạ tiêm

azure_api_management:
  retry: {{ if gt (int .values.max_attempts) 1 }}{{ printf "<retry condition=\"@(context.Response != null && (context.Response.StatusCode == 429 || context.Response.StatusCode >= 500))\" count=\"%d\" interval=\"1\">\n  <forward-request buffer-request-body=\"true\" />\n</retry>" (sub (int .values.max_attempts) 1) | toJson }}{{ else }}""{{ end }}

Workload

Chưa khai báo mẫu khối lượng công việc nào.

Giá trị cục bộ

Chưa khai báo giá trị cục bộ nào.

Ánh xạ values

Chưa khai báo ánh xạ values nào.

Quan hệ

Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.

Sử dụng

Được sử dụng bởi

Không có gì trong danh mục phụ thuộc vào thực thể này.

Tài liệu tham khảo khái niệm FeatureRecipe →

Danh mục Aggrega — chỉ mục mở gồm các thành phần, tính năng, công thức và các plugin kết xuất chúng.

Được xây dựng bằng hệ thống thiết kế dùng chung của Aggrega.

Quyền riêng tư