The UpdateIstioInjectionConfig operation modifies the injection settings for a service mesh.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicemesh:UpdateIstioInjectionConfig |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ServiceMeshId |
string |
Yes |
The service mesh ID. |
ce2cdbb9d013f447180cf5ca8bb****** |
| Namespace |
string |
Yes |
The namespace. |
default |
| EnableIstioInjection |
boolean |
No |
Specifies whether to enable automatic injection. |
true |
| EnableSidecarSetInjection |
boolean |
No |
Specifies whether to enable SidecarSet injection. |
false |
| IstioRev |
string |
No |
The injection version for the namespace. This parameter is valid only during a canary upgrade of the service mesh. If you specify IstioRev, do not specify EnableIstioInjection or EnableSidecarSetInjection. |
canary |
| DataPlaneMode |
string |
No |
The data plane mode of the namespace. This parameter is valid only if Ambient Mesh mode is enabled for the Service Mesh instance. Valid values:
|
ambient |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned object. |
||
| RequestId |
string |
The request ID. |
98B268E6-9381-5A98-8012-6E7E82****** |
Examples
Success response
JSON format
{
"RequestId": "98B268E6-9381-5A98-8012-6E7E82******"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.