in servicemesh-20200111/alibabacloud_servicemesh20200111/models.py [0:0]
def to_map(self):
_map = super(UpdateMeshFeatureRequest, self).to_map()
if _map is not None:
return _map
result = dict()
if self.service_mesh_id is not None:
result['ServiceMeshId'] = self.service_mesh_id
if self.tracing is not None:
result['Tracing'] = self.tracing
if self.trace_sampling is not None:
result['TraceSampling'] = self.trace_sampling
if self.locality_load_balancing is not None:
result['LocalityLoadBalancing'] = self.locality_load_balancing
if self.telemetry is not None:
result['Telemetry'] = self.telemetry
if self.open_agent_policy is not None:
result['OpenAgentPolicy'] = self.open_agent_policy
if self.opalog_level is not None:
result['OPALogLevel'] = self.opalog_level
if self.oparequest_cpu is not None:
result['OPARequestCPU'] = self.oparequest_cpu
if self.oparequest_memory is not None:
result['OPARequestMemory'] = self.oparequest_memory
if self.opalimit_cpu is not None:
result['OPALimitCPU'] = self.opalimit_cpu
if self.opalimit_memory is not None:
result['OPALimitMemory'] = self.opalimit_memory
if self.enable_audit is not None:
result['EnableAudit'] = self.enable_audit
if self.audit_project is not None:
result['AuditProject'] = self.audit_project
if self.cluster_domain is not None:
result['ClusterDomain'] = self.cluster_domain
if self.customized_zipkin is not None:
result['CustomizedZipkin'] = self.customized_zipkin
if self.outbound_traffic_policy is not None:
result['OutboundTrafficPolicy'] = self.outbound_traffic_policy
if self.proxy_request_cpu is not None:
result['ProxyRequestCPU'] = self.proxy_request_cpu
if self.proxy_request_memory is not None:
result['ProxyRequestMemory'] = self.proxy_request_memory
if self.proxy_limit_cpu is not None:
result['ProxyLimitCPU'] = self.proxy_limit_cpu
if self.proxy_limit_memory is not None:
result['ProxyLimitMemory'] = self.proxy_limit_memory
if self.include_ipranges is not None:
result['IncludeIPRanges'] = self.include_ipranges
if self.exclude_ipranges is not None:
result['ExcludeIPRanges'] = self.exclude_ipranges
if self.exclude_outbound_ports is not None:
result['ExcludeOutboundPorts'] = self.exclude_outbound_ports
if self.exclude_inbound_ports is not None:
result['ExcludeInboundPorts'] = self.exclude_inbound_ports
if self.enable_namespaces_by_default is not None:
result['EnableNamespacesByDefault'] = self.enable_namespaces_by_default
if self.auto_injection_policy_enabled is not None:
result['AutoInjectionPolicyEnabled'] = self.auto_injection_policy_enabled
if self.sidecar_injector_request_cpu is not None:
result['SidecarInjectorRequestCPU'] = self.sidecar_injector_request_cpu
if self.sidecar_injector_request_memory is not None:
result['SidecarInjectorRequestMemory'] = self.sidecar_injector_request_memory
if self.sidecar_injector_limit_cpu is not None:
result['SidecarInjectorLimitCPU'] = self.sidecar_injector_limit_cpu
if self.sidecar_injector_limit_memory is not None:
result['SidecarInjectorLimitMemory'] = self.sidecar_injector_limit_memory
if self.sidecar_injector_webhook_as_yaml is not None:
result['SidecarInjectorWebhookAsYaml'] = self.sidecar_injector_webhook_as_yaml
if self.cni_enabled is not None:
result['CniEnabled'] = self.cni_enabled
if self.cni_exclude_namespaces is not None:
result['CniExcludeNamespaces'] = self.cni_exclude_namespaces
if self.opa_enabled is not None:
result['OpaEnabled'] = self.opa_enabled
if self.http_10enabled is not None:
result['Http10Enabled'] = self.http_10enabled
if self.kiali_enabled is not None:
result['KialiEnabled'] = self.kiali_enabled
if self.customized_prometheus is not None:
result['CustomizedPrometheus'] = self.customized_prometheus
if self.prometheus_url is not None:
result['PrometheusUrl'] = self.prometheus_url
if self.access_log_enabled is not None:
result['AccessLogEnabled'] = self.access_log_enabled
if self.mseenabled is not None:
result['MSEEnabled'] = self.mseenabled
if self.redis_filter_enabled is not None:
result['RedisFilterEnabled'] = self.redis_filter_enabled
if self.mysql_filter_enabled is not None:
result['MysqlFilterEnabled'] = self.mysql_filter_enabled
if self.thrift_filter_enabled is not None:
result['ThriftFilterEnabled'] = self.thrift_filter_enabled
if self.web_assembly_filter_enabled is not None:
result['WebAssemblyFilterEnabled'] = self.web_assembly_filter_enabled
if self.dnsproxying_enabled is not None:
result['DNSProxyingEnabled'] = self.dnsproxying_enabled
if self.dubbo_filter_enabled is not None:
result['DubboFilterEnabled'] = self.dubbo_filter_enabled
if self.filter_gateway_cluster_config is not None:
result['FilterGatewayClusterConfig'] = self.filter_gateway_cluster_config
if self.enable_sdsserver is not None:
result['EnableSDSServer'] = self.enable_sdsserver
if self.access_log_service_enabled is not None:
result['AccessLogServiceEnabled'] = self.access_log_service_enabled
if self.access_log_service_host is not None:
result['AccessLogServiceHost'] = self.access_log_service_host
if self.access_log_service_port is not None:
result['AccessLogServicePort'] = self.access_log_service_port
if self.gateway_apienabled is not None:
result['GatewayAPIEnabled'] = self.gateway_apienabled
if self.config_source_enabled is not None:
result['ConfigSourceEnabled'] = self.config_source_enabled
if self.config_source_nacos_id is not None:
result['ConfigSourceNacosID'] = self.config_source_nacos_id
return result