public class UpdateIstioInjectionConfigRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
dataPlaneMode
The data plane mode of the namespace.
|
Boolean |
enableIstioInjection
Specifies whether to enable Istio automatic sidecar injection.
|
Boolean |
enableSidecarSetInjection
Specifies whether to enable automatic sidecar injection by using SidecarSet.
|
String |
istioRev
Specifies the version to be injected into the namespace.
|
String |
namespace
The namespace for which you want to modify the sidecar injection setting.
|
String |
serviceMeshId
The ID of the ASM instance.
|
| 构造器和说明 |
|---|
UpdateIstioInjectionConfigRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UpdateIstioInjectionConfigRequest |
build(Map<String,?> map) |
String |
getDataPlaneMode() |
Boolean |
getEnableIstioInjection() |
Boolean |
getEnableSidecarSetInjection() |
String |
getIstioRev() |
String |
getNamespace() |
String |
getServiceMeshId() |
UpdateIstioInjectionConfigRequest |
setDataPlaneMode(String dataPlaneMode) |
UpdateIstioInjectionConfigRequest |
setEnableIstioInjection(Boolean enableIstioInjection) |
UpdateIstioInjectionConfigRequest |
setEnableSidecarSetInjection(Boolean enableSidecarSetInjection) |
UpdateIstioInjectionConfigRequest |
setIstioRev(String istioRev) |
UpdateIstioInjectionConfigRequest |
setNamespace(String namespace) |
UpdateIstioInjectionConfigRequest |
setServiceMeshId(String serviceMeshId) |
@NameInMap(value="DataPlaneMode") public String dataPlaneMode
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.
@NameInMap(value="EnableIstioInjection") public Boolean enableIstioInjection
Specifies whether to enable Istio automatic sidecar injection.
@NameInMap(value="EnableSidecarSetInjection") public Boolean enableSidecarSetInjection
Specifies whether to enable automatic sidecar injection by using SidecarSet.
@NameInMap(value="IstioRev") public String istioRev
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.
@NameInMap(value="Namespace") public String namespace
The namespace for which you want to modify the sidecar injection setting.
@NameInMap(value="ServiceMeshId") public String serviceMeshId
The ID of the ASM instance.
public static UpdateIstioInjectionConfigRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpdateIstioInjectionConfigRequest setDataPlaneMode(String dataPlaneMode)
public String getDataPlaneMode()
public UpdateIstioInjectionConfigRequest setEnableIstioInjection(Boolean enableIstioInjection)
public Boolean getEnableIstioInjection()
public UpdateIstioInjectionConfigRequest setEnableSidecarSetInjection(Boolean enableSidecarSetInjection)
public Boolean getEnableSidecarSetInjection()
public UpdateIstioInjectionConfigRequest setIstioRev(String istioRev)
public String getIstioRev()
public UpdateIstioInjectionConfigRequest setNamespace(String namespace)
public String getNamespace()
public UpdateIstioInjectionConfigRequest setServiceMeshId(String serviceMeshId)
public String getServiceMeshId()
Copyright © 2023. All rights reserved.