Updates information of an extension provider.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| ServiceMeshId | String | Yes | c6701c6dfe52040af961c9c178f****** |
The ID of the Alibaba Cloud Service Mesh (ASM) instance. |
| Action | String | Yes | UpdateExtensionProvider |
The operation that you want to perform. Set the value to UpdateExtensionProvider. |
| Name | String | No | httpextauth-test |
The name of the extension provider. The name must be prefixed with |
| Type | String | No | httpextauth |
The type of the extension provider. Valid values: httpextauth and grpcextauth. |
| Config | String | No | {"service":"example.default.svc.cluster.local","port":8080,"timeout":"10s","failOpen":false} |
The configuration of the extension provider, which is based on the type of the extension provider. The configuration data is in JSON format. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | 71680038-8009-5073-B43E-C057E9****** |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?ServiceMeshId=c6701c6dfe52040af961c9c178f******
&Action=UpdateExtensionProvider
&Name=httpextauth-test
&Type=httpextauth
&Config={"service":"example.default.svc.cluster.local","port":8080,"timeout":"10s","failOpen":false}
&Common request parameters
Sample success responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<UpdateExtensionProviderResponse>
<RequestId>71680038-8009-5073-B43E-C057E9******</RequestId>
</UpdateExtensionProviderResponse>
JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "71680038-8009-5073-B43E-C057E9******"
}
Error codes
| HttpCode | Error code | Error message | Description |
|---|---|---|---|
| 404 | ERR404 | Not found | The error message returned because the requested resource does not exist. |
For a list of error codes, visit the API Error Center.