Modifies the sidecar proxy injection settings of a Service Mesh (ASM) instance.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ServiceMeshId | string | Yes | The ID of the ASM instance. | ce2cdbb9d013f447180cf5ca8bb****** |
Namespace | string | Yes | The namespace for which you want to modify the sidecar injection setting. | default |
EnableIstioInjection | boolean | Yes | Specifies whether to enable Istio automatic sidecar injection. | true |
EnableSidecarSetInjection | boolean | No | Specifies whether to enable automatic sidecar injection by using SidecarSet. | false |
IstioRev | string | No | Specifies the version to be injected into the namespace. This parameter is valid only when the ASM instance performs a canary release. When IstioRev is not empty, you must not specify EnableIstioInjection and EnableSidecarSetInjection. | canary |
DataPlaneMode | string | No | The data plane mode of the namespace. This parameter is valid only when the Ambient Mesh mode is enabled for the current Service Mesh (ASM) instance. Valid values:
| ambient |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "98B268E6-9381-5A98-8012-6E7E82******"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||
---|---|---|---|---|---|---|
2023-08-10 | The request parameters of the API has changed | see changesets | ||||
| ||||||
2023-07-17 | The request parameters of the API has changed | see changesets | ||||
|