All Products
Search
Document Center

Alibaba Cloud Service Mesh:UpdateIstioInjectionConfig

Last Updated:Mar 05, 2024

Modifies the sidecar proxy injection settings of a Service Mesh (ASM) instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ServiceMeshIdstringYes

The ID of the ASM instance.

ce2cdbb9d013f447180cf5ca8bb******
NamespacestringYes

The namespace for which you want to modify the sidecar injection setting.

default
EnableIstioInjectionbooleanYes

Specifies whether to enable Istio automatic sidecar injection.

true
EnableSidecarSetInjectionbooleanNo

Specifies whether to enable automatic sidecar injection by using SidecarSet.

false
IstioRevstringNo

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
DataPlaneModestringNo

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: sets the data plane mode of the namespace to the Ambient Mesh mode.
  • sidecar: sets the data plane mode of the namespace to the Sidecar mode.
ambient

Response parameters

ParameterTypeDescriptionExample
object

The returned value.

RequestIdstring

The ID of the request.

98B268E6-9381-5A98-8012-6E7E82******

Examples

Sample success responses

JSONformat

{
  "RequestId": "98B268E6-9381-5A98-8012-6E7E82******"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-08-10The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: DataPlaneMode
2023-07-17The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: IstioRev