日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

DescribeCrTemplates - 查詢Istio資源YAML模板

調用DescribeCrTemplates查詢服務網格中常見使用場景下的Istio資源YAML模板。

調試

您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。

授權信息

當前API暫無授權信息透出。

請求參數

名稱類型必填描述示例值
IstioVersionstring

服務網格使用的 Istio 版本。

v1.18.0.160-gcc1f41cd-aliyun
Kindstring

需要獲取常見模板的 istio 資源類型,可用取值包括:

  • AuthorizationPolicy
  • RequestAuthentication
  • PeerAuthentication
  • WorkloadGroup
  • WorkloadEntry
  • Sidecar
  • EnvoyFilter
  • ServiceEntry
  • Gateway
  • DestinationRule
  • VirtualService
VirtualService

返回參數

名稱類型描述示例值
object

返回參數。

RequestIdstring

請求 ID。

74E97AE2-2900-55C1-A069-C3C1EA*****
Templatesobject []

指定 Istio 資源類型的資源常用 YAML 模板。

ChineseNamestring

YAML 模板的中文名稱。

HTTP基礎路由
EnglishNamestring

YAML 模板的英文名稱。

HTTP basic routing
Yamlstring

YAML 模板的具體內容。

apiVersion: networking.istio.io/v1beta1\nkind: VirtualService\nmetadata:\n name: reviews-route # Name for this VirtualService.\nspec:\n hosts:\n - reviews.prod.svc.cluster.local # Service that this VirtualSerivce belongs to. \n http:\n - name: \"reviews-route\" # Name for the route.\n route:\n - destination: # Uniquely identifies the instances of a service to which all traffic should be forwarded to.\n host: reviews.prod.svc.cluster.local # The name of a service from the service registry or ServiceEntry.\n port:\n number: 8080"

示例

正常返回示例

JSON格式

{
  "RequestId": "74E97AE2-2900-55C1-A069-C3C1EA*****",
  "Templates": [
    {
      "ChineseName": "HTTP基礎路由",
      "EnglishName": "HTTP basic routing",
      "Yaml": "apiVersion: networking.istio.io/v1beta1\\nkind: VirtualService\\nmetadata:\\n  name: reviews-route # Name for this VirtualService.\\nspec:\\n  hosts:\\n  - reviews.prod.svc.cluster.local # Service that this VirtualSerivce belongs to. \\n  http:\\n  - name: \\\"reviews-route\\\" # Name for the route.\\n    route:\\n    - destination: # Uniquely identifies the instances of a service to which all traffic should be forwarded to.\\n        host: reviews.prod.svc.cluster.local # The name of a service from the service registry or ServiceEntry.\\n        port:\\n          number: 8080\""
    }
  ]
}

錯誤碼

HTTP status code錯誤碼錯誤信息描述
404ERR404Not found不存在

訪問錯誤中心查看更多錯誤碼。