diff options
Diffstat (limited to 'data/en_us/servicemesh/2020-01-11/api-docs.php')
| -rw-r--r-- | data/en_us/servicemesh/2020-01-11/api-docs.php | 24428 |
1 files changed, 11993 insertions, 12435 deletions
diff --git a/data/en_us/servicemesh/2020-01-11/api-docs.php b/data/en_us/servicemesh/2020-01-11/api-docs.php index 410ab56..2538036 100644 --- a/data/en_us/servicemesh/2020-01-11/api-docs.php +++ b/data/en_us/servicemesh/2020-01-11/api-docs.php @@ -1,211 +1,80 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'servicemesh', - 'version' => '2020-01-11', - ], + 'info' => ['style' => 'RPC', 'product' => 'servicemesh', 'version' => '2020-01-11'], 'directories' => [ [ - 'id' => 182044, - 'title' => 'Service information', + 'children' => ['DescribeMetadata'], 'type' => 'directory', - 'children' => [ - 'DescribeMetadata', - ], + 'title' => 'Product information', ], [ - 'id' => 151629, - 'title' => 'ASM instance', + 'children' => ['CreateServiceMesh', 'DeleteServiceMesh', 'ModifyServiceMeshName', 'UpdateMeshFeature', 'RevokeKubeconfig', 'DescribeServiceMeshes', 'DescribeServiceMeshDetail', 'DescribeServiceMeshKubeconfig', 'DescribeServiceMeshAdditionalStatus', 'DescribeVersions'], 'type' => 'directory', - 'children' => [ - 'CreateServiceMesh', - 'DeleteServiceMesh', - 'ModifyServiceMeshName', - 'UpdateMeshFeature', - 'RevokeKubeconfig', - 'DescribeServiceMeshes', - 'DescribeServiceMeshDetail', - 'DescribeServiceMeshKubeconfig', - 'DescribeServiceMeshAdditionalStatus', - 'DescribeVersions', - ], + 'title' => 'Mesh instances', ], [ - 'id' => 151641, - 'title' => 'Mesh management', + 'children' => ['ReActivateAudit', 'DescribeNodesInstanceType', 'DescribeCCMVersion', 'GetCaCert'], 'type' => 'directory', - 'children' => [ - 'ReActivateAudit', - 'DescribeNodesInstanceType', - 'DescribeCCMVersion', - 'GetCaCert', - ], + 'title' => 'Mesh management', ], [ - 'id' => 167520, - 'title' => 'Permission management', + 'children' => ['GrantUserPermissions', 'DescribeUserPermissions', 'DescribeUsersWithPermissions'], 'type' => 'directory', - 'children' => [ - 'GrantUserPermissions', - 'DescribeUserPermissions', - 'DescribeUsersWithPermissions', - ], + 'title' => 'Permission management', ], [ - 'id' => 151648, + 'children' => ['UpdateMeshCRAggregation', 'ModifyApiServerEipResource', 'DescribeCrTemplates', 'DescribeEipResources'], + 'type' => 'directory', 'title' => 'Mesh resources', + ], + [ + 'children' => ['UpdateNamespaceScopeSidecarConfig', 'UpdateIstioInjectionConfig', 'DescribeServiceMeshProxyStatus', 'DescribeNamespaceScopeSidecarConfig'], 'type' => 'directory', - 'children' => [ - 'UpdateMeshCRAggregation', - 'ModifyApiServerEipResource', - 'DescribeVSwitches', - 'DescribeVpcs', - 'DescribeCens', - 'DescribeCrTemplates', - 'DescribeEipResources', - ], + 'title' => 'Data plane component management', ], [ - 'id' => 151653, - 'title' => 'Dataplane component management', + 'children' => ['AddClusterIntoServiceMesh', 'RemoveClusterFromServiceMesh', 'UpdateASMNamespaceFromGuestCluster', 'DescribeServiceMeshClusters', 'DescribeClustersInServiceMesh', 'DescribeGuestClusterPods', 'DescribeGuestClusterNamespaces', 'DescribeReusableSlb', 'GetRegisteredServiceEndpoints', 'GetRegisteredServiceNamespaces'], 'type' => 'directory', - 'children' => [ - 'UpdateNamespaceScopeSidecarConfig', - 'UpdateIstioInjectionConfig', - 'DescribeServiceMeshProxyStatus', - 'DescribeNamespaceScopeSidecarConfig', - ], + 'title' => 'Clusters', ], [ - 'id' => 151680, - 'title' => 'Cluster', + 'children' => ['CreateASMGateway', 'CreateIstioGatewayRoutes', 'CreateGatewaySecret', 'CreateIstioGatewayDomains', 'DeleteGatewayRoute', 'DeleteGatewaySecret', 'DeleteIstioGatewayDomains', 'UpdateASMGateway', 'UpdateASMGatewayImportedServices', 'UpdateIstioGatewayRoutes', 'UpdateIstioRouteAdditionalStatus', 'DescribeImportedServicesDetail', 'DescribeASMGatewayImportedServices', 'DescribeIstioGatewayRouteDetail', 'DescribeGatewaySecretDetails', 'DescribeIstioGatewayDomains', 'DescribeIstioGatewayRoutes'], 'type' => 'directory', - 'children' => [ - 'AddClusterIntoServiceMesh', - 'RemoveClusterFromServiceMesh', - 'UpdateASMNamespaceFromGuestCluster', - 'DescribeServiceMeshClusters', - 'DescribeClustersInServiceMesh', - 'DescribeGuestClusterPods', - 'DescribeGuestClusterNamespaces', - 'DescribeReusableSlb', - 'GetRegisteredServiceEndpoints', - 'GetRegisteredServiceNamespaces', - ], - ], - [ - 'id' => 151657, - 'title' => 'ASM gateway', + 'title' => 'ASM gateways', + ], + [ + 'children' => ['DescribeClusterGrafana', 'DescribeClusterPrometheus', 'DescribeServiceMeshLogs', 'DescribeGuestClusterAccessLogDashboards', 'GetGrafanaDashboardUrl'], 'type' => 'directory', - 'children' => [ - 'CreateASMGateway', - 'CreateIstioGatewayRoutes', - 'CreateGatewaySecret', - 'CreateIstioGatewayDomains', - 'DeleteGatewayRoute', - 'DeleteGatewaySecret', - 'DeleteIstioGatewayDomains', - 'UpdateASMGateway', - 'UpdateASMGatewayImportedServices', - 'UpdateIstioGatewayRoutes', - 'UpdateIstioRouteAdditionalStatus', - 'DescribeImportedServicesDetail', - 'DescribeASMGatewayImportedServices', - 'DescribeIstioGatewayRouteDetail', - 'DescribeGatewaySecretDetails', - 'DescribeIstioGatewayDomains', - 'DescribeIstioGatewayRoutes', - ], - ], - [ - 'id' => 151664, 'title' => 'Observability', - 'type' => 'directory', - 'children' => [ - 'DescribeClusterGrafana', - 'DescribeClusterPrometheus', - 'DescribeServiceMeshLogs', - 'DescribeGuestClusterAccessLogDashboards', - 'GetGrafanaDashboardUrl', - ], ], [ - 'id' => 151669, - 'title' => 'Update', + 'children' => ['UpgradeMeshVersion', 'UpgradeMeshEditionPartially', 'DescribeUpgradeVersion', 'DescribeServiceMeshUpgradeStatus'], 'type' => 'directory', - 'children' => [ - 'UpgradeMeshVersion', - 'UpgradeMeshEditionPartially', - 'DescribeUpgradeVersion', - 'DescribeServiceMeshUpgradeStatus', - ], + 'title' => 'Upgrades', ], [ - 'id' => 182047, - 'title' => 'Traffic swimlane', + 'children' => ['CreateSwimLane', 'CreateSwimLaneGroup', 'DeleteSwimLane', 'DeleteSwimLaneGroup', 'UpdateSwimLane', 'UpdateSwimLaneGroup', 'GetSwimLaneDetail', 'GetSwimLaneGroupList', 'GetSwimLaneList'], 'type' => 'directory', - 'children' => [ - 'CreateSwimLane', - 'CreateSwimLaneGroup', - 'DeleteSwimLane', - 'DeleteSwimLaneGroup', - 'UpdateSwimLane', - 'UpdateSwimLaneGroup', - 'GetSwimLaneDetail', - 'GetSwimLaneGroupList', - 'GetSwimLaneList', - ], + 'title' => 'Traffic lanes', ], [ - 'id' => 181960, - 'title' => 'Others', + 'children' => ['GetDeploymentBySelector', 'UpdateControlPlaneLogConfig', 'UpdateWaypoint', 'CreateWaypoint', 'DeleteWaypoint', 'ListWaypoints', 'ListServiceAccounts', 'UpdateMeshMultiClusterNetwork', 'DescribeMeshMultiClusterNetwork', 'ModifyPilotEipResource', 'UpdateGuestClusterConfig', 'DescribeCens', 'DescribeVSwitches', 'DescribeVpcs', 'ListTagResources', 'TagResources', 'UntagResources'], 'type' => 'directory', - 'children' => [ - 'GetDeploymentBySelector', - 'UpdateControlPlaneLogConfig', - 'UntagResources', - 'ListTagResources', - 'TagResources', - 'UpdateWaypoint', - 'CreateWaypoint', - 'DeleteWaypoint', - 'ListWaypoints', - 'ListServiceAccounts', - 'UpdateMeshMultiClusterNetwork', - 'DescribeMeshMultiClusterNetwork', - 'ModifyPilotEipResource', - 'UpdateGuestClusterConfig', - ], - ], - [ - 'id' => 151673, - 'title' => 'Virtual machine ', + 'title' => 'Others', + ], + [ + 'children' => ['AddVMIntoServiceMesh', 'RemoveVMFromServiceMesh', 'GetVmMeta', 'GetVmAppMeshInfo', 'DescribeVMsInServiceMesh', 'DescribeServiceMeshVMs'], 'type' => 'directory', - 'children' => [ - 'AddVMIntoServiceMesh', - 'RemoveVMFromServiceMesh', - 'GetVmMeta', - 'GetVmAppMeshInfo', - 'DescribeVMsInServiceMesh', - 'DescribeServiceMeshVMs', - ], + 'title' => 'Virtual machines', ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'DescribeMetadata' => [ - 'summary' => 'Queries basic information about a Service Mesh (ASM) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddClusterIntoServiceMesh' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -214,190 +83,802 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '17611', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh4LB119', + 'operationType' => 'create', + 'abilityTreeCode' => '17600', + 'abilityTreeNodes' => ['FEATUREservicemeshBG5ZTX'], + ], + 'parameters' => [ + [ + 'name' => 'ServiceMeshId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the Service Mesh (ASM) instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], + ], + [ + 'name' => 'ClusterId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the cluster to add.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ce3c25e247da24f3aab9b7edfae83****'], + ], + [ + 'name' => 'IgnoreNamespaceCheck', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to skip checking for the \\`istio-system\\` namespace in the target cluster. This parameter is typically used when you migrate from a self-managed Istio instance to ASM.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'Kubeconfig', + 'in' => 'formData', + 'schema' => ['description' => 'The cluster certificate.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'apiVersion: v1 clusters: - cluster: server: https://47.110.xx.xx:6443 certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURUakNDQWphZ0F3SUJBZ0lVYzBQVy82ejR1aHlxYkRRdnNsV1htSmpJeFdNd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1BqRW5NQThHQTFVRUNoTUlhR0Z1WjNwb2IzVXdGQVlEVlFRS0V3MWhiR2xpWVdKaElHTnNiM1ZrTVJNdwpFUVlEVlFRREV3cHJkV0psY201bGRHVnpNQ0FYRFRJeU1EUXdOekExTVRnd01Gb1lEekl3TlRJd016TXdNRFV4Ck9EQXdXakErTVNjd0R3WURWUVFLRXdob1lXNW5lbWh2ZFRBVUJnTlZCQW9URFdGc2FXSmhZbUVnWTJ4dmRXUXgKRXpBUkJnTlZCQU1UQ210MVltVnlibVYwWlhNd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJE****'], + ], + [ + 'name' => 'DiscoveryOnly', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to add the cluster for service discovery only.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'F93DDAD7-6E04-5AC3-86F4-852708******', + 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'title' => '', 'example' => 'success'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], + 'Code' => ['description' => 'The status code.', 'type' => 'string', 'title' => '', 'example' => '200'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'AddClusterIntoServiceMesh', + 'summary' => 'Adds a cluster to a service mesh.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-10-23T11:40:13.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-09-25T09:25:20.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-11-15T08:16:53.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'servicemesh:AddClusterIntoServiceMesh', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]', + ], + 'AddVMIntoServiceMesh' => [ + 'summary' => 'Call AddVMIntoServiceMesh to add a virtual machine to the service mesh.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => true, + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ + [ + 'name' => 'ServiceMeshId', + 'in' => 'query', + 'schema' => ['description' => 'The service mesh ID.', 'type' => 'string', 'required' => true, 'example' => 'ccb37ff104caf419fbf48fb38e6f3****', 'title' => ''], + ], + [ + 'name' => 'EcsId', + 'in' => 'query', + 'schema' => ['description' => 'The virtual machine ID.', 'type' => 'string', 'required' => true, 'example' => 'i-2ze90ts4e7dj3650****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The returned parameters.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '4b2c0fe0-6705-4614-8521-6b9d289163c8'], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4b2c0fe0-6705-4614-8521-6b9d289163c8\\"\\n}","type":"json"}]', + 'title' => 'Add a virtual machine to the service mesh', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddVMIntoServiceMesh'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'servicemesh:AddVMIntoServiceMesh', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateASMGateway' => [ + 'summary' => 'Creates an ASM gateway.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ + [ + 'name' => 'ServiceMeshId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], + ], + [ + 'name' => 'IstioGatewayName', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the ASM gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ingressgateway'], + ], + [ + 'name' => 'Body', + 'in' => 'formData', + 'schema' => ['description' => 'The YAML content for the ASM gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"apiVersion":"istio.alibabacloud.com/v1beta1","kind":"IstioGateway","metadata":{"name":"ingressgateway","namespace":"istio-system"},"spec":{"gatewayType":"ingress","clusterIds":["xxxxx"],"ports":[{"name":"http-0","port":80,"targetPort":80,"protocol":"TCP"},{"name":"https-1","port":443,"targetPort":443,"protocol":"TCP"}],"serviceAnnotations":{"service.beta.kubernetes.io/alicloud-loadbalancer-address-type":"internet","service.beta.kubernetes.io/alibaba-cloud-loadbalancer-spec":"slb.s1.small"},"replicaCount":2,"resources":{"limits":{"cpu":"2","memory":"4G"},"requests":{"cpu":"200m","memory":"256Mi"}},"serviceType":"LoadBalancer","maxReplicas":2,"minReplicas":2}}'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The returned object.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'CreateASMGateway', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'servicemesh:CreateASMGateway', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","type":"json"}]', + ], + 'CreateGatewaySecret' => [ + 'summary' => 'Creates a gateway secret.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ + [ + 'name' => 'ServiceMeshId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], + ], + [ + 'name' => 'IstioGatewayName', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the ASM gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ingressgateway'], + ], + [ + 'name' => 'SecretName', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the secret.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'bookinfo-secret'], + ], + [ + 'name' => 'Cert', + 'in' => 'formData', + 'schema' => ['description' => 'The content of the certificate.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '-----BEGIN CERTIFICATE----- MIIC2DCCAcACA-----END CERTIF****-----'], + ], + [ + 'name' => 'Key', + 'in' => 'formData', + 'schema' => ['description' => 'The private key of the certificate.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC2ag/Bzcgm****'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****'], + 'SecretCreateRecord' => [ + 'description' => 'The record of the creation result.', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'State' => ['type' => 'string', 'description' => 'The state of the gateway secret creation. Valid values:'."\n" + ."\n" + .'- `success`: The creation is successful.'."\n" + ."\n" + .'- `fail`: The creation failed.', 'title' => '', 'example' => 'success'], + 'ClusterId' => ['type' => 'string', 'description' => 'The ID of the data plane cluster.', 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8xe10d****'], + 'Message' => ['type' => 'string', 'description' => 'If an error occurs, an error message is returned. If the operation is successful, this parameter is empty.', 'title' => '', 'example' => 'timeout'], + ], + 'description' => 'The record of the creation result details.', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], - 'MetaData' => [ - 'description' => 'The ASM metadata, including the basic information about ASM.'."\n", + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'CreateGatewaySecret', + 'changeSet' => [ + ['createdAt' => '2022-03-18T09:54:26.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'servicemesh:CreateGatewaySecret', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"SecretCreateRecord\\": {\\n \\"key\\": {\\n \\"State\\": \\"success\\",\\n \\"ClusterId\\": \\"c08ba3fd1e6484b0f8cc1ad8xe10d****\\",\\n \\"Message\\": \\"timeout\\"\\n }\\n }\\n}","type":"json"}]', + ], + 'CreateIstioGatewayDomains' => [ + 'summary' => 'Creates a domain name certificate for a gateway.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ + [ + 'name' => 'ServiceMeshId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the Service Mesh (ASM) instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], + ], + [ + 'name' => 'IstioGatewayName', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the ASM gateway.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ingressgateway'], + ], + [ + 'name' => 'Hosts', + 'in' => 'formData', + 'schema' => ['description' => 'One or more hosts exposed by the gateway. Separate multiple hosts with commas (,).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'example.com,demo.com'], + ], + [ + 'name' => 'Number', + 'in' => 'formData', + 'schema' => ['description' => 'The port number provided by the gateway.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '443'], + ], + [ + 'name' => 'PortName', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the port.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'http-demo'], + ], + [ + 'name' => 'Protocol', + 'in' => 'formData', + 'schema' => ['description' => 'The protocol. Valid values: `HTTP`, `HTTPS`, `GRPC`, `HTTP2`, `MONGO`, `TCP`, and `TLS`.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'HTTPS'], + ], + [ + 'name' => 'Credential', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the secret that contains the Transport Layer Security (TLS) certificate and the certificate authority (CA) certificate.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'bookinfo-secret'], + ], + [ + 'name' => 'ForceHttps', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enforce TLS encryption for connections. Valid values:'."\n" + ."\n" + .'- `true`: Enforces TLS encryption for connections.'."\n" + ."\n" + .'- `false`: Does not enforce TLS encryption for connections.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], + ], + [ + 'name' => 'Namespace', + 'in' => 'formData', + 'schema' => ['description' => 'The namespace.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], + ], + [ + 'name' => 'Limit', + 'in' => 'formData', + 'schema' => ['description' => 'The maximum number of gateway resources to query.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response body.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****'], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'CreateIstioGatewayDomains', + 'changeSet' => [ + ['createdAt' => '2022-03-18T09:54:26.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'servicemesh:CreateIstioGatewayDomains', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\"\\n}","type":"json"}]', + ], + 'CreateIstioGatewayRoutes' => [ + 'summary' => 'Creates routes for an ASM gateway.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ + [ + 'name' => 'ServiceMeshId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], + ], + [ + 'name' => 'IstioGatewayName', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the ASM gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ingressgateway'], + ], + [ + 'name' => 'GatewayRoute', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'The information about the gateway route.', + 'type' => 'object', + 'properties' => [ + 'RouteName' => ['description' => 'The name of the route.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'reviews-v2-routes'], + 'RouteType' => ['description' => 'The route type. Valid values: `HTTP`, `TLS`, and `TCP`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'HTTP'], + 'MatchRequest' => [ + 'description' => 'The route matching rule.', 'type' => 'object', 'properties' => [ - 'VersionCrds' => [ - 'description' => 'The custom resource definitions (CRDs) of all ASM versions.'."\n", + 'URI' => [ + 'description' => 'The URI matching rule.', + 'type' => 'object', + 'properties' => [ + 'MatchingMode' => ['description' => 'The matching mode for the route rule. Valid values:'."\n" + ."\n" + .'- `exact`: exact match.'."\n" + ."\n" + .'- `prefix`: prefix match.'."\n" + ."\n" + .'- `regex`: regular expression match.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'prefix'], + 'MatchingContent' => ['description' => 'The content to match.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '/ratings/v2/'], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Headers' => [ + 'description' => 'The list of request headers to match.', 'type' => 'array', 'items' => [ - 'description' => 'The CRD of a version.'."\n", + 'description' => 'The request header to match.', 'type' => 'object', - 'example' => '{"1.5":[{"kind":"DestinationRule","api_group":"networking.istio.io","id":"2","api_version":"networking.istio.io/v1alpha3"}]}', + 'properties' => [ + 'Name' => ['description' => 'The key of the header to match.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'x-request-id'], + 'MatchingMode' => ['description' => 'The matching mode for the header value. Valid values:'."\n" + ."\n" + .'- `exact`: exact match.'."\n" + ."\n" + .'- `prefix`: prefix match.'."\n" + ."\n" + .'- `regex`: regular expression match.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'exact'], + 'MatchingContent' => ['description' => 'The content to match in the header.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'v1'], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'Versions' => [ - 'description' => 'The list of ASM versions.'."\n", + 'TLSMatchAttributes' => [ + 'description' => 'The list of TLS connection matching attributes.', 'type' => 'array', 'items' => [ - 'description' => 'The information about a version.'."\n", - 'type' => 'string', - 'example' => 'v1.14.3.87-g96cf7305-aliyun', + 'description' => 'The TLS connection matching attribute.', + 'type' => 'object', + 'properties' => [ + 'TLSPort' => ['description' => 'The TLS port.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '443'], + 'SNIHosts' => [ + 'description' => 'The list of SNI values.', + 'type' => 'array', + 'items' => ['description' => 'You can use a wildcard character prefix in an SNI value. For example, `*.com` matches `foo.example.com` and `example.com`.'."\n" + ."\n" + .'> The SNI value must be a subset of the hosts of the corresponding virtual service.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '*.com'], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'Regions' => [ - 'description' => 'The regions where ASM instances can be created.'."\n", + 'Ports' => [ + 'description' => 'The list of Layer 4 destination ports.', 'type' => 'array', - 'items' => [ - 'description' => 'A region.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', + 'items' => ['description' => 'The port on the host to be addressed.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '443'], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'RouteDestinations' => [ + 'description' => 'The list of weighted destinations for the Layer 4 routing rule.', + 'type' => 'array', + 'items' => [ + 'description' => 'A weighted destination for the Layer 4 routing rule.', + 'type' => 'object', + 'properties' => [ + 'Destination' => [ + 'description' => 'The destination that uniquely identifies the service instance to which requests or connections are forwarded.', + 'type' => 'object', + 'properties' => [ + 'Host' => ['description' => 'The name of the service in the service registry.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'reviews'], + 'Subset' => ['description' => 'The name of the subset in the service.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'v1'], + 'Port' => [ + 'description' => 'The port.', + 'type' => 'object', + 'properties' => [ + 'Number' => ['description' => 'The port number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '80'], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'Weight' => ['description' => 'The weight of the service subset.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '80'], ], - 'CurrentVersion' => [ - 'description' => 'The current version.'."\n", - 'type' => 'string', - 'example' => 'v1.14.3.87-g96cf7305-aliyun', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'HTTPAdvancedOptions' => [ + 'description' => 'The advanced options for HTTP routing.', + 'type' => 'object', + 'properties' => [ + 'HTTPRedirect' => [ + 'description' => 'The HTTP redirection.', + 'type' => 'object', + 'properties' => [ + 'Uri' => ['description' => 'The value used to overwrite the path of the URL during redirection.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '/v1/getProductRatings'], + 'Authority' => ['description' => 'The value used to overwrite the `Authority/Host` part of the URL during redirection.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'newratings.default.svc.cluster.local'], + 'RedirectCode' => ['description' => 'The HTTP status code to use in the redirection response. The default response code is 301.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '301'], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'VersionRegistry' => [ - 'description' => 'The Istio versions corresponding to the ASM versions.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The Istio version corresponding to an ASM version.'."\n", - 'type' => 'object', - 'example' => '{"v1.14.3.87-g96cf7305-aliyun": "1.14.3"}', + 'Delegate' => [ + 'description' => 'The virtual service to which traffic is delegated.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'reviews'], + 'Namespace' => ['description' => 'The namespace.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'ProEdition' => [ - 'description' => 'The version information about ASM of a commercial edition.'."\n", + 'Rewrite' => [ + 'description' => 'The request rewrite rule.', 'type' => 'object', 'properties' => [ - 'Versions' => [ - 'description' => 'The list of ASM versions.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The version information.'."\n", - 'type' => 'string', - 'example' => 'v1.14.3.87-g96cf7305-aliyun', + 'Uri' => ['description' => 'The value used to rewrite the path or prefix of the URI.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '/v1/getProductRatings'], + 'Authority' => ['description' => 'The value used to rewrite the Authority or Host header.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'newratings.default.svc.cluster.local'], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Timeout' => ['description' => 'The timeout period.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '5s'], + 'Retries' => [ + 'description' => 'The request retry configuration.', + 'type' => 'object', + 'properties' => [ + 'Attempts' => ['description' => 'The number of retries allowed for a given request.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '3'], + 'PerTryTimeout' => ['description' => 'The timeout period for each retry of a given request. Example: `5s`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '5s'], + 'RetryOn' => ['description' => 'The condition that triggers a retry. Example: `connect-failure,refused-stream,503`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'connect-failure,refused-stream,503'], + 'RetryRemoteLocalities' => [ + 'description' => 'A flag that specifies whether to retry requests to other localities.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'A flag that specifies whether to retry requests to other localities. Valid values:'."\n" + ."\n" + .'- `true`: Retries requests to other localities.'."\n" + ."\n" + .'- `false`: Does not retry requests to other localities.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'CurrentVersion' => [ - 'description' => 'The current version.'."\n", - 'type' => 'string', - 'example' => 'v1.14.3.87-g96cf7305-aliyun', - ], - 'VersionRegistry' => [ - 'description' => 'The Istio versions corresponding to the ASM versions.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The Istio version corresponding to an ASM version.'."\n", - 'type' => 'object', - 'example' => '{"v1.14.3.87-g96cf7305-aliyun": "1.14.3"}', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Fault' => [ + 'description' => 'The fault injection settings.', + 'type' => 'object', + 'properties' => [ + 'Delay' => [ + 'description' => 'The delay settings.', + 'type' => 'object', + 'properties' => [ + 'FixedDelay' => ['description' => 'The fixed delay duration.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '5s'], + 'Percentage' => [ + 'description' => 'The percentage of requests to which the delay is injected.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The percentage of requests to which the delay is injected, in decimals.', 'type' => 'number', 'format' => 'float', 'required' => false, 'title' => '', 'example' => '0.1'], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'VersionCrds' => [ - 'description' => 'The CRDs of all ASM versions.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The CRD of a version.'."\n", - 'type' => 'object', - 'example' => '{"1.5":[{"kind":"DestinationRule","api_group":"networking.istio.io","id":"2","api_version":"networking.istio.io/v1alpha3"}]}', + 'Abort' => [ + 'description' => 'Aborts a request in advance with a specified error code.', + 'type' => 'object', + 'properties' => [ + 'HttpStatus' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '400'], + 'Percentage' => [ + 'description' => 'The percentage of requests to abort with the specified error code.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The percentage of requests to abort with the specified error code, in decimals.', 'type' => 'number', 'format' => 'float', 'required' => false, 'title' => '', 'example' => '0.1'], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'CompatibilityInfoList' => [ - 'description' => 'The Kubernetes versions compatible with ASM.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The Kubernetes version compatible with ASM.'."\n", - 'type' => 'object', - 'example' => '{'."\n" - .' "k8s_version": {'."\n" - .' "MaxMajor": 1,'."\n" - .' "MaxMinor": 24,'."\n" - .' "MinMajor": 1,'."\n" - .' "MinMinor": 16'."\n" - .' },'."\n" - .' "asm_version": {'."\n" - .' "Major": 1,'."\n" - .' "Minor": 5'."\n" - .' }'."\n" - .' }', + 'Mirror' => [ + 'description' => 'Mirrors HTTP traffic to another destination in addition to forwarding the requests to the intended destination.', + 'type' => 'object', + 'properties' => [ + 'Host' => ['description' => 'The name of the service in the service registry.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'reviews.default.svc.cluster.local'], + 'Subset' => ['description' => 'The name of the subset in the service.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'v1'], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'PlaygroundScene' => [ - 'description' => 'The data of the ASM Playground.'."\n", + 'MirrorPercentage' => [ + 'description' => 'The percentage of traffic to mirror.', 'type' => 'object', 'properties' => [ - 'trafficManagement' => [ - 'description' => 'The traffic management scenarios.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the scenario.'."\n", - 'type' => 'string', - 'example' => 'ewmaLb', - ], - ], - 'security' => [ - 'description' => 'The security scenarios.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the scenario.'."\n", - 'type' => 'string', - 'example' => 'none', - ], - ], - 'observability' => [ - 'description' => 'The observability scenarios.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the scenario.'."\n", - 'type' => 'string', - 'example' => 'none', - ], - ], - 'other' => [ - 'description' => 'Other scenarios.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the scenario.'."\n", - 'type' => 'string', - 'example' => 'none', - ], - ], + 'Value' => ['description' => 'The percentage of traffic to mirror, in decimals.', 'type' => 'number', 'format' => 'float', 'required' => false, 'title' => '', 'example' => '0.2'], ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'Namespace' => ['description' => 'The namespace.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], + 'Domains' => [ + 'description' => 'The list of requested domain names.', + 'type' => 'array', + 'items' => ['description' => 'The domain name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'test.asm.aliyun.com'], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'RawVSRoute' => ['description' => 'A JSON string that corresponds to the three route types in a virtual service. It provides an entry point for advanced configurations. These configurations overwrite the settings of RouteName, RouteType, MatchRequest, and HTTPAdvancedOptions.', 'type' => 'any', 'required' => false, 'title' => '', 'example' => '{'."\n" + .' "http": {'."\n" + .' "route": ['."\n" + .' {'."\n" + .' "destination": {'."\n" + .' "host": "httpbin"'."\n" + .' }'."\n" + .' }'."\n" + .' ],'."\n" + .' "name": "httpbin",'."\n" + .' "match": ['."\n" + .' {'."\n" + .' "uri": {'."\n" + .' "prefix": "/"'."\n" + .' }'."\n" + .' }'."\n" + .' ],'."\n" + .' "fault": {'."\n" + .' "delay": {'."\n" + .' "fixedDelay": "2s",'."\n" + .' "percentage": {'."\n" + .' "value": 70'."\n" + .' }'."\n" + .' }'."\n" + .' }'."\n" + .' }'."\n" + .'}'], ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'Priority', + 'in' => 'formData', + 'schema' => ['description' => 'The priority of the route. A smaller integer indicates a higher priority.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '1'], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => ['description' => 'The status of the gateway route. Valid values:'."\n" + ."\n" + .'- `0`: online.'."\n" + ."\n" + .'- `1`: offline.'."\n" + ."\n" + .'- `2`: creation or update error.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '1'], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => 'The description of the route.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'demo route'], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F93DDAD7-6E04-5AC3-86F4-852708******\\",\\n \\"MetaData\\": {\\n \\"VersionCrds\\": [\\n {\\n \\"1.5\\": [\\n {\\n \\"kind\\": \\"DestinationRule\\",\\n \\"api_group\\": \\"networking.istio.io\\",\\n \\"id\\": \\"2\\",\\n \\"api_version\\": \\"networking.istio.io/v1alpha3\\"\\n }\\n ]\\n }\\n ],\\n \\"Versions\\": [\\n \\"v1.14.3.87-g96cf7305-aliyun\\"\\n ],\\n \\"Regions\\": [\\n \\"cn-hangzhou\\"\\n ],\\n \\"CurrentVersion\\": \\"v1.14.3.87-g96cf7305-aliyun\\",\\n \\"VersionRegistry\\": [\\n {\\n \\"v1.14.3.87-g96cf7305-aliyun\\": \\"1.14.3\\"\\n }\\n ],\\n \\"ProEdition\\": {\\n \\"Versions\\": [\\n \\"v1.14.3.87-g96cf7305-aliyun\\"\\n ],\\n \\"CurrentVersion\\": \\"v1.14.3.87-g96cf7305-aliyun\\",\\n \\"VersionRegistry\\": [\\n {\\n \\"v1.14.3.87-g96cf7305-aliyun\\": \\"1.14.3\\"\\n }\\n ],\\n \\"VersionCrds\\": [\\n {\\n \\"1.5\\": [\\n {\\n \\"kind\\": \\"DestinationRule\\",\\n \\"api_group\\": \\"networking.istio.io\\",\\n \\"id\\": \\"2\\",\\n \\"api_version\\": \\"networking.istio.io/v1alpha3\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"CompatibilityInfoList\\": [\\n {\\n \\"k8s_version\\": {\\n \\"MaxMajor\\": 1,\\n \\"MaxMinor\\": 24,\\n \\"MinMajor\\": 1,\\n \\"MinMinor\\": 16\\n },\\n \\"asm_version\\": {\\n \\"Major\\": 1,\\n \\"Minor\\": 5\\n }\\n }\\n ],\\n \\"PlaygroundScene\\": {\\n \\"trafficManagement\\": [\\n \\"ewmaLb\\"\\n ],\\n \\"security\\": [\\n \\"none\\"\\n ],\\n \\"observability\\": [\\n \\"none\\"\\n ],\\n \\"other\\": [\\n \\"none\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeMetadataResponse>\\n <RequestId>F93DDAD7-6E04-5AC3-86F4-852708******</RequestId>\\n <MetaData>\\n <VersionCrds/>\\n <Versions>v1.14.3.87-g96cf7305-aliyun</Versions>\\n <Regions>cn-hangzhou</Regions>\\n <CurrentVersion>v1.14.3.87-g96cf7305-aliyun</CurrentVersion>\\n <VersionRegistry/>\\n <ProEdition>\\n <Versions>v1.14.3.87-g96cf7305-aliyun</Versions>\\n <CurrentVersion>v1.14.3.87-g96cf7305-aliyun</CurrentVersion>\\n <VersionRegistry/>\\n <VersionCrds/>\\n </ProEdition>\\n </MetaData>\\n</DescribeMetadataResponse>","errorExample":""}]', - 'title' => 'DescribeMetadata', - ], - 'CreateServiceMesh' => [ - 'methods' => [ - 'post', - 'get', + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'CreateIstioGatewayRoutes', + 'changeSet' => [ + ['createdAt' => '2023-06-25T11:11:00.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-08-25T09:27:20.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-03-18T10:02:51.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'servicemesh:CreateIstioGatewayRoutes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\"\\n}","type":"json"}]', + ], + 'CreateServiceMesh' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -408,985 +889,610 @@ 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '17603', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh4LB119', - ], + 'abilityTreeNodes' => ['FEATUREservicemesh4LB119'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the region in which the ASM instance resides.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region where the Service Mesh instance resides.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'IstioVersion', 'in' => 'formData', - 'schema' => [ - 'description' => 'The Istio version of the ASM instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'v1.5.4.1-g5960ec40-aliyun', - ], + 'schema' => ['description' => 'The Istio version.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'v1.5.4.1-g5960ec40-aliyun'], ], [ 'name' => 'VpcId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the virtual private cloud (VPC) in which the ASM instance resides.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'vpc-xzelac2tw4ic7wz31****', - ], + 'schema' => ['description' => 'The virtual private cloud (VPC) ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'vpc-xzelac2tw4ic7wz31****'], ], [ 'name' => 'ApiServerPublicEip', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to expose the API server to the Internet. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n" - ."\n" - .'> If you set this parameter to `false`, the API server cannot be accessed over the Internet.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to expose the API server to the Internet. Valid values:'."\n" + ."\n" + .'- `true`: Exposes the API server to the Internet.'."\n" + ."\n" + .'- `false`: Does not expose the API server to the Internet.'."\n" + ."\n" + .'Default value: `false`.'."\n" + ."\n" + .'> If this parameter is set to false, you cannot access the API server of the cluster from the Internet.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'Tracing', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the Tracing Analysis feature. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable Tracing Analysis. Valid values:'."\n" + ."\n" + .'- `true`: Enables Tracing Analysis.'."\n" + ."\n" + .'- `false`: Disables Tracing Analysis.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the ASM instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'mesh1', - ], + 'schema' => ['description' => 'The name of the Service Mesh instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'mesh1'], ], [ 'name' => 'VSwitches', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the vSwitch to which the ASM instance is connected.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '["vsw-xzegf5dndkbf4m6eg****"]', - ], + 'schema' => ['description' => 'The virtual switch ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => '["vsw-xzegf5dndkbf4m6eg****"]'], ], [ 'name' => 'TraceSampling', 'in' => 'formData', - 'schema' => [ - 'description' => 'The sampling percentage of Tracing Analysis.'."\n", - 'type' => 'number', - 'format' => 'float', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['description' => 'The tracing sampling percentage.', 'type' => 'number', 'format' => 'float', 'required' => false, 'title' => '', 'example' => '100'], ], [ 'name' => 'CustomizedZipkin', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to use a self-managed Zipkin system to collect tracing data. Valid values:'."\n" - ."\n" - .'* `true`: uses a self-managed Zipkin system to collect tracing data.'."\n" - .'* `false`: uses Alibaba Cloud Tracing Analysis to collect tracing data.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to use a self-managed Zipkin system. Valid values:'."\n" + ."\n" + .'- `true`: Uses a self-managed Zipkin system.'."\n" + ."\n" + .'- `false`: Uses Alibaba Cloud Tracing Analysis.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'LocalityLoadBalancing', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to route traffic to the nearest instance. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable locality load balancing. Valid values:'."\n" + ."\n" + .'- `true`: Enables locality load balancing.'."\n" + ."\n" + .'- `false`: Disables locality load balancing.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'LocalityLBConf', 'in' => 'formData', - 'schema' => [ - 'description' => 'The configurations for the access to the nearest instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"failover":[{"from":"cn-hangzhou","to":"cn-shanghai"}]}', - ], + 'schema' => ['description' => 'The configurations of locality load balancing.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"failover":[{"from":"cn-hangzhou","to":"cn-shanghai"}]}'], ], [ 'name' => 'Telemetry', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable Prometheus monitoring. We recommend that you use Prometheus Service of [Application Real-Time Monitoring Service (ARMS)](https://arms.console.aliyun.com/). Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable Prometheus monitoring. We recommend that you use [Managed Service for Prometheus](https://arms.console.aliyun.com/). Valid values:'."\n" + ."\n" + .'- `true`: Enables Prometheus monitoring.'."\n" + ."\n" + .'- `false`: Disables Prometheus monitoring.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'OpenAgentPolicy', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to install the Open Policy Agent (OPA) plug-in. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to integrate with the Open Policy Agent (OPA) plug-in. Valid values:'."\n" + ."\n" + .'- `true`: Integrates with the OPA plug-in.'."\n" + ."\n" + .'- `false`: Does not integrate with the OPA plug-in.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'OPALogLevel', 'in' => 'formData', - 'schema' => [ - 'description' => 'The log level of the OPA container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'info', - ], + 'schema' => ['description' => 'The log level of the OPA proxy container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'info'], ], [ 'name' => 'OPARequestCPU', 'in' => 'formData', - 'schema' => [ - 'description' => 'The minimum number of CPU cores that are required by the OPA container. You can specify the parameter value in the standard representation form of CPUs in Kubernetes. For example, if you set the value to 1, one CPU core is required.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The CPU resource request of the OPA proxy container. You can use the standard Kubernetes CPU format. For example, 1 indicates one vCPU.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1'], ], [ 'name' => 'OPARequestMemory', 'in' => 'formData', - 'schema' => [ - 'description' => 'The minimum size of the memory that is required by the OPA container. You can specify the parameter value in the standard quantity representation form used by Kubernetes. 1 Mi equals 1,024 KB.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '512Mi', - ], + 'schema' => ['description' => 'The memory resource request of the OPA proxy container. You can use the standard Kubernetes memory format. For example, 1 Mi indicates 1024 KB.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '512Mi'], ], [ 'name' => 'OPALimitCPU', 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of CPU cores that are available to the OPA container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The CPU resource limit of the OPA proxy container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2'], ], [ 'name' => 'OPALimitMemory', 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum size of the memory that is available to the OPA container. You can specify the parameter value in the standard quantity representation form used by Kubernetes. 1 Mi equals 1,024 KB.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1024Mi', - ], + 'schema' => ['description' => 'The memory resource limit of the OPA proxy container. You can use the standard Kubernetes memory format. For example, 1 Mi indicates 1024 KB.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1024Mi'], ], [ 'name' => 'EnableAudit', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the mesh audit feature. To enable this feature, make sure that you have activated [Log Service](https://sls.console.aliyun.com/). Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable mesh audit. To enable this feature, you must first activate [Simple Log Service](https://sls.console.aliyun.com/). Valid values:'."\n" + ."\n" + .'- `true`: Enables mesh audit.'."\n" + ."\n" + .'- `false`: Disables mesh audit.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'AuditProject', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the Log Service project that is used for mesh audit.'."\n" - ."\n" - .'Default value: mesh-log-{ASM instance ID}.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'mesh-log-xxxx', - ], + 'schema' => ['description' => 'The name of the Simple Log Service project that is used for mesh audit.'."\n" + ."\n" + .'Default value: mesh-log-{meshId}.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'mesh-log-xxxx'], ], [ 'name' => 'ClusterDomain', 'in' => 'formData', - 'schema' => [ - 'description' => 'ASM cluster domain.', - 'type' => 'string', - 'required' => false, - 'example' => 'cluster.local', - ], + 'schema' => ['description' => 'The cluster domain.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cluster.local'], ], [ 'name' => 'ProxyRequestCPU', 'in' => 'formData', - 'schema' => [ - 'description' => 'The minimum number of CPU cores that are required by the proxy container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '100m', - ], + 'schema' => ['description' => 'The CPU resource request of the proxy container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '100m'], ], [ 'name' => 'ProxyRequestMemory', 'in' => 'formData', - 'schema' => [ - 'description' => 'The minimum size of the memory that is required by the proxy container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '128Mi', - ], + 'schema' => ['description' => 'The memory resource request of the proxy container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '128Mi'], ], [ 'name' => 'ProxyLimitCPU', 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of CPU cores that are available to the proxy container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2000m', - ], + 'schema' => ['description' => 'The CPU resource limit of the proxy container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2000m'], ], [ 'name' => 'ProxyLimitMemory', 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum size of the memory that is available to the proxy container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1024Mi', - ], + 'schema' => ['description' => 'The memory resource limit of the proxy container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1024Mi'], ], [ 'name' => 'IncludeIPRanges', 'in' => 'formData', - 'schema' => [ - 'description' => 'The IP ranges in CIDR form for which traffic is to be redirected to the sidecar proxy in the ASM instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '*', - ], + 'schema' => ['description' => 'The IP address ranges that are allowed to access the proxy.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '*'], ], [ 'name' => 'ExcludeIPRanges', 'in' => 'formData', - 'schema' => [ - 'description' => 'The IP ranges in CIDR form to be excluded from redirection to the sidecar proxy in the ASM instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '100.100.10*.***', - ], + 'schema' => ['description' => 'The IP address ranges that are not allowed to access the proxy.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '100.100.10*.***'], ], [ 'name' => 'ExcludeOutboundPorts', 'in' => 'formData', - 'schema' => [ - 'description' => 'The outbound ports to be excluded from redirection to the sidecar proxy in the ASM instance. Separate multiple port numbers with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '80,81', - ], + 'schema' => ['description' => 'A comma-separated list of outbound ports to be excluded.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '80,81'], ], [ 'name' => 'ExcludeInboundPorts', 'in' => 'formData', - 'schema' => [ - 'description' => 'The inbound ports to be excluded from redirection to the sidecar proxy in the ASM instance. Separate multiple port numbers with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '80,81', - ], + 'schema' => ['description' => 'A comma-separated list of inbound ports to be excluded.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '80,81'], ], [ 'name' => 'OpaEnabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the OPA plug-in. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable OPA. Valid values:'."\n" + ."\n" + .'- `true`: Enables OPA.'."\n" + ."\n" + .'- `false`: Disables OPA.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'KialiEnabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the mesh topology feature. To enable this feature, make sure that you have enabled Prometheus monitoring. If Prometheus monitoring is disabled, you must set this parameter to `false`.`` Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable the mesh topology feature. To enable this feature, you must first enable Prometheus monitoring. If Prometheus monitoring is disabled, this feature is forcibly disabled. Valid values:'."\n" + ."\n" + .'- `true`: Enables the mesh topology feature.'."\n" + ."\n" + .'- `false`: Disables the mesh topology feature.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'AccessLogEnabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable access log collection. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable access log. Valid values:'."\n" + ."\n" + .'- `true`: Enables access log.'."\n" + ."\n" + .'- `false`: Disables access log.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'CustomizedPrometheus', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to use a custom Prometheus instance. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to use a self-managed Prometheus system. Valid values:'."\n" + ."\n" + .'- `true`: Uses a self-managed Prometheus system.'."\n" + ."\n" + .'- `false`: Does not use a self-managed Prometheus system.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'PrometheusUrl', 'in' => 'formData', - 'schema' => [ - 'description' => 'The endpoint of the custom Prometheus instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'http://prometheus:9090', - ], + 'schema' => ['description' => 'The endpoint of the self-managed Prometheus system.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'http://prometheus:9090'], ], [ 'name' => 'RedisFilterEnabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable Redis Filter. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'Specifies whether to enable the Redis filter. Valid values:'."\n" + ."\n" + .'- `true`: Enables the Redis filter.'."\n" + ."\n" + .'- `false`: Disables the Redis filter.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], ], [ 'name' => 'MysqlFilterEnabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable MySQL Filter. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable the MySQL filter. Valid values:'."\n" + ."\n" + .'- `true`: Enables the MySQL filter.'."\n" + ."\n" + .'- `false`: Disables the MySQL filter.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'ThriftFilterEnabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable Thrift Filter. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable the Thrift filter. Valid values:'."\n" + ."\n" + .'- `true`: Enables the Thrift filter.'."\n" + ."\n" + .'- `false`: Disables the Thrift filter.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'WebAssemblyFilterEnabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable WebAssembly Filter. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable the WebAssembly filter. Valid values:'."\n" + ."\n" + .'- `true`: Enables the WebAssembly filter.'."\n" + ."\n" + .'- `false`: Disables the WebAssembly filter.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'MSEEnabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable Microservices Engine (MSE). Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable Microservices Engine (MSE). Valid values:'."\n" + ."\n" + .'- `true`: Enables MSE.'."\n" + ."\n" + .'- `false`: Disables MSE.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'DNSProxyingEnabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the DNS proxy feature. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable DNS proxy. Valid values:'."\n" + ."\n" + .'- `true`: Enables DNS proxy.'."\n" + ."\n" + .'- `false`: Disables DNS proxy.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'Edition', 'in' => 'formData', - 'schema' => [ - 'description' => 'The edition of the ASM instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Pro', - ], + 'schema' => ['description' => 'The edition of the ASM instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Pro'], ], [ 'name' => 'ConfigSourceEnabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the external service registry. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable an external service registry. Valid values:'."\n" + ."\n" + .'- `true`: Enables an external service registry.'."\n" + ."\n" + .'- `false`: Disables an external service registry.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'ConfigSourceNacosID', 'in' => 'formData', - 'schema' => [ - 'description' => 'The instance ID of the Nacos registry.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'mse-cn-tl326******', - ], + 'schema' => ['description' => 'The ID of the Nacos instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'mse-cn-tl326******'], ], [ 'name' => 'DubboFilterEnabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable Dubbo Filter. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable the Dubbo filter. Valid values:'."\n" + ."\n" + .'- `true`: Enables the Dubbo filter.'."\n" + ."\n" + .'- `false`: Disables the Dubbo filter.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'FilterGatewayClusterConfig', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable gateway configuration filtering. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable gateway configuration filtering. Valid values:'."\n" + ."\n" + .'- `true`: Enables gateway configuration filtering.'."\n" + ."\n" + .'- `false`: Disables gateway configuration filtering.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'EnableSDSServer', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable Secret Discovery Service (SDS). Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable the Secret Discovery Service (SDS). Valid values:'."\n" + ."\n" + .'- `true`: Enables SDS.'."\n" + ."\n" + .'- `false`: Disables SDS.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'AccessLogServiceEnabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable gRPC Access Log Service (ALS) of Envoy. gRPC is short for Google Remote Procedure Call. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable the gRPC Access Log Service (ALS) for Envoy. Valid values:'."\n" + ."\n" + .'- `true`: Enables the gRPC ALS for Envoy.'."\n" + ."\n" + .'- `false`: Disables the gRPC ALS for Envoy.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'AccessLogServiceHost', 'in' => 'formData', - 'schema' => [ - 'description' => 'The endpoint of Envoy\'s gRPC ALS.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0.0.0.0', - ], + 'schema' => ['description' => 'The endpoint of the gRPC ALS for Envoy.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '0.0.0.0'], ], [ 'name' => 'AccessLogServicePort', 'in' => 'formData', - 'schema' => [ - 'description' => 'The port of Envoy\'s gRPC ALS.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '9999', - ], + 'schema' => ['description' => 'The port of the gRPC ALS for Envoy.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '9999'], ], [ 'name' => 'GatewayAPIEnabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable Gateway API. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable the Gateway API. Valid values:'."\n" + ."\n" + .'- `true`: Enables the Gateway API.'."\n" + ."\n" + .'- `false`: Disables the Gateway API.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'ControlPlaneLogEnabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the collection of control plane logs. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable control plane log collection. Valid values:'."\n" + ."\n" + .'- `true`: Enables control plane log collection.'."\n" + ."\n" + .'- `false`: Disables control plane log collection.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'ControlPlaneLogProject', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the Log Service project that is used to collect the logs of the control plane.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'mesh-log-cf245a429b6ff4b6e97f20797758*****', - ], + 'schema' => ['description' => 'The Simple Log Service project for control plane log collection.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'mesh-log-cf245a429b6ff4b6e97f20797758*****'], ], [ 'name' => 'AccessLogFormat', 'in' => 'formData', - 'schema' => [ - 'description' => 'Custom fields of access logs. To set this parameter, you must enable access log collection. Otherwise, you cannot set this parameter. The value must be a JSON string. The following key values must be contained: authority_for, bytes_received, bytes_sent, downstream_local_address, downstream_remote_address, duration, istio_policy_status, method, path, protocol, requested_server_name, response_code, response_flags, route_name, start_time, trace_id, upstream_cluster, upstream_host, upstream_local_address, upstream_service_time, upstream_transport_failure_reason, user_agent, and x_forwarded_for.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"authority_for":"%REQ(:AUTHORITY)%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","duration":"%DURATION%","istio_policy_status":"%DYNAMIC_METADATA(istio.mixer:status)%","method":"%REQ(:METHOD)%","path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","request_id":"%REQ(X-REQUEST-ID)%","requested_server_name":"%REQUESTED_SERVER_NAME%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","route_name":"%ROUTE_NAME%","start_time":"%START_TIME%","trace_id":"%REQ(X-B3-TRACEID)%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_host":"%UPSTREAM_HOST%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","upstream_service_time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","user_agent":"%REQ(USER-AGENT)%","x_forwarded_for":"%REQ(X-FORWARDED-FOR)%"}', - ], + 'schema' => ['description' => 'The custom format of access logs. This parameter is available only if you enable access log. The value must be a JSON string that contains the following keys: authority\\_for, bytes\\_received, bytes\\_sent, downstream\\_local\\_address, downstream\\_remote\\_address, duration, istio\\_policy\\_status, method, path, protocol, requested\\_server\\_name, response\\_code, response\\_flags, route\\_name, start\\_time, trace\\_id, upstream\\_cluster, upstream\\_host, upstream\\_local\\_address, upstream\\_service\\_time, upstream\\_transport\\_failure\\_reason, user\\_agent, and x\\_forwarded\\_for.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"authority_for":"%REQ(:AUTHORITY)%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","duration":"%DURATION%","istio_policy_status":"%DYNAMIC_METADATA(istio.mixer:status)%","method":"%REQ(:METHOD)%","path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","request_id":"%REQ(X-REQUEST-ID)%","requested_server_name":"%REQUESTED_SERVER_NAME%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","route_name":"%ROUTE_NAME%","start_time":"%START_TIME%","trace_id":"%REQ(X-B3-TRACEID)%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_host":"%UPSTREAM_HOST%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","upstream_service_time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","user_agent":"%REQ(USER-AGENT)%","x_forwarded_for":"%REQ(X-FORWARDED-FOR)%"}'], ], [ 'name' => 'AccessLogFile', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable access log collection. Valid values:'."\n" - ."\n" - .'* "": disables access log collection.'."\n" - .'* `/dev/stdout`: enables access log collection. Access logs are written to /dev/stdout.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '/dev/stdout', - ], + 'schema' => ['description' => 'Specifies whether to enable or disable access log. Valid values:'."\n" + ."\n" + .'- "": Disables access log.'."\n" + ."\n" + .'- `/dev/stdout`: Enables access log.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '/dev/stdout'], ], [ 'name' => 'AccessLogProject', 'in' => 'formData', - 'schema' => [ - 'description' => 'The SLS project from which access logs are collected.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'mesh-log-cf245a429b6ff4b6e97f20797758*****', - ], + 'schema' => ['description' => 'The Simple Log Service project for access log collection.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'mesh-log-cf245a429b6ff4b6e97f20797758*****'], ], [ 'name' => 'EnableCRHistory', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the rollback feature for Istio resources. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable the history version management feature for Istio resources in ASM. Valid values:'."\n" + ."\n" + .'- `true`: Enables the history version management feature.'."\n" + ."\n" + .'- `false`: Disables the history version management feature.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'CRAggregationEnabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to allow the Kubernetes API of clusters on the data plane to access Istio resources. The version of the ASM instance must be V1.9.7.93 or later. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable data plane clusters to access Istio resources using the Kubernetes API. This feature is available only for ASM instances of v1.9.7.93 or later. Valid values:'."\n" + ."\n" + .'- `true`: Enables data plane clusters to access Istio resources.'."\n" + ."\n" + .'- `false`: Disables data plane clusters to access Istio resources.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'ApiServerLoadBalancerSpec', 'in' => 'formData', - 'schema' => [ - 'description' => 'The type of the Classic Load Balancer (CLB) instance that is bound to the API server. Valid values: `slb.s1.small`, `slb.s2.small`, `slb.s2.medium`, `slb.s3.small`, `slb.s3.medium`, and `slb.s3.large`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'slb.s1.small', - ], + 'schema' => ['description' => 'The specification of the Server Load Balancer (SLB) instance that is bound to the API server. Valid values: `slb.s1.small`, `slb.s2.small`, `slb.s2.medium`, `slb.s3.small`, `slb.s3.medium`, and `slb.s3.large`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'slb.s1.small'], ], [ 'name' => 'PilotLoadBalancerSpec', 'in' => 'formData', - 'schema' => [ - 'description' => 'The type of the CLB instance that is bound to Istio Pilot. Valid values: `slb.s1.small`, `slb.s2.small`, `slb.s2.medium`, `slb.s3.small`, `slb.s3.medium`, and `slb.s3.large`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'slb.s1.small', - ], + 'schema' => ['description' => 'The specification of the SLB instance that is bound to Istio Pilot of the control plane. Valid values: `slb.s1.small`, `slb.s2.small`, `slb.s2.medium`, `slb.s3.small`, `slb.s3.medium`, and `slb.s3.large`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'slb.s1.small'], ], [ 'name' => 'ChargeType', 'in' => 'formData', - 'schema' => [ - 'description' => 'The billing method of the CLB instance. Valid values:'."\n" - ."\n" - .'* `PayOnDemand`: pay-as-you-go'."\n" - .'* `PrePay`: subscription'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PrePay', - ], + 'schema' => ['description' => 'The billing method of the SLB instance. Valid values:'."\n" + ."\n" + .'- `PayOnDemand`: Pay-as-you-go.'."\n" + ."\n" + .'- `PrePay`: Subscription.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'PrePay'], ], [ 'name' => 'Period', 'in' => 'formData', - 'schema' => [ - 'description' => 'The subscription period of the CLB instance. This parameter is valid only if `ChargeType` is set to `PrePay`. The value of this parameter indicates the subscription period of the CLB instance. Unit: month. For example, if the subscription period is one year, set this parameter to 12.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3', - ], + 'schema' => ['description' => 'This parameter is valid only if you set `ChargeType` to `PrePay`. The subscription duration of the SLB instance. Unit: months. If you want to purchase the instance for one year, enter 12.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '3'], ], [ 'name' => 'AutoRenew', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable auto-renewal for the CLB instance if the CLB instance uses the subscription billing method. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'Specifies whether to enable auto-renewal for the subscription SLB instance. Valid values:'."\n" + ."\n" + .'- `true`: Enables auto-renewal.'."\n" + ."\n" + .'- `false`: Disables auto-renewal.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], ], [ 'name' => 'AutoRenewPeriod', 'in' => 'formData', - 'schema' => [ - 'description' => 'The auto-renewal period of the subscription CLB instance. This parameter is valid only if `ChargeType` is set to `PrePay`. If the original subscription period of the CLB instance is less than one year, the value of this parameter indicates the number of months for auto-renewal. If the original subscription period of the CLB instance is more than one year, the value of this parameter indicates the number of years for auto-renewal.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3', - ], + 'schema' => ['description' => 'This parameter is valid only if you set `ChargeType` to `PrePay`. The auto-renewal period. If the subscription duration is less than one year, the value of this parameter indicates the number of months for which you want to renew the instance. If the subscription duration is more than one year, the value of this parameter indicates the number of years for which you want to renew the instance.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '3'], ], [ 'name' => 'ClusterSpec', 'in' => 'formData', - 'schema' => [ - 'description' => 'The edition of the ASM instance. Valid values:'."\n" - ."\n" - .'- `standard`: Standard Edition'."\n" - ."\n" - .'- `enterprise`: Enterprise Edition'."\n" - ."\n" - .'- `ultimate`: Ultimate Edition', - 'type' => 'string', - 'required' => false, - 'example' => 'standard', - ], + 'schema' => ['description' => 'The specification of the Service Mesh instance. Valid values:'."\n" + ."\n" + .'- `standard`: Standard Edition.'."\n" + ."\n" + .'- `enterprise`: Enterprise Edition.'."\n" + ."\n" + .'- `ultimate`: Ultimate Edition.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'standard'], ], [ 'name' => 'MultiBufferEnabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable MultiBuffer-based Transport Layer Security (TLS) acceleration. Valid values:'."\n" - ."\n" - .'- `true`'."\n" - ."\n" - .'- `false`'."\n" - ."\n\n" - .'Default value: `true`', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'Specifies whether to enable TLS performance optimization that is based on MultiBuffer. Valid values:'."\n" + ."\n" + .'- `true`: Enables the feature.'."\n" + ."\n" + .'- `false`: Disables the feature.'."\n" + ."\n" + .'Default value: `true`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], ], [ 'name' => 'MultiBufferPollDelay', 'in' => 'formData', - 'schema' => [ - 'description' => 'The pull-request latency. Default value: 30. Unit: seconds.', - 'type' => 'string', - 'required' => false, - 'example' => '30s', - ], + 'schema' => ['description' => 'The synchronization period of the MultiBuffer enabling status. Default value: `30s`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '30s'], ], [ 'name' => 'UseExistingCA', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to use an existing CA certificate and private key.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to use an existing certificate authority (CA) certificate and private key.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'ExistingCaCert', 'in' => 'formData', - 'schema' => [ - 'description' => 'The existing CA certificate, which is encoded in Base64. This parameter is used in scenarios where you migrate open source Istio to ASM. It specifies the content of the ca-cert.pem file in the istio-ca-secret secret. The secret is in the istio-system namespace of the Kubernetes cluster where the open source Istio is installed.', - 'type' => 'string', - 'deprecated' => false, - 'required' => false, - 'docRequired' => false, - 'example' => 'CA cert content, base64 encoded format.', - ], + 'schema' => ['description' => 'The CA certificate in Base64-encoded format. This parameter is typically used to migrate a self-managed Istio cluster to ASM. The value corresponds to the content of the ca-cert.pem file in the istio-ca-secret secret, which is in the istio-system namespace of the self-managed Istio cluster.', 'type' => 'string', 'deprecated' => false, 'required' => false, 'docRequired' => false, 'title' => '', 'example' => 'Ca cert content, base64 encoding format'], ], [ 'name' => 'ExistingCaKey', 'in' => 'formData', - 'schema' => [ - 'description' => 'The existing CA key, which is encoded in Base64. This parameter is used in scenarios where you migrate open source Istio to ASM. It specifies the content of the ca-key.pem file in the istio-ca-secret secret. The secret is in the istio-system namespace of the Kubernetes cluster where the open source Istio is installed.', - 'type' => 'string', - 'deprecated' => false, - 'required' => false, - 'example' => 'CA key content, base64 encoded format.', - ], + 'schema' => ['description' => 'The CA private key in Base64-encoded format. This parameter is typically used to migrate a self-managed Istio cluster to ASM. The value corresponds to the content of the ca-key.pem file in the istio-ca-secret secret, which is in the istio-system namespace of the self-managed Istio cluster.', 'type' => 'string', 'deprecated' => false, 'required' => false, 'title' => '', 'example' => 'Ca key content, base64 encoding format'], ], [ 'name' => 'ExistingCaType', 'in' => 'formData', - 'schema' => [ - 'description' => 'The type of the existing CA certificate. Valid values:'."\n" - ."\n" - .'* 1: Self-signed certificate generated by istiod. The certificate corresponds to the secret named istio-ca-secret in the istio-system namespace. If you use this type of certificate, you must set the `ExistingCaCert` and `ExistingCaKey` parameters.'."\n" - .'* 2: Administrator-specified certificate. For more information, see [plugin ca cert](https://istio.io/latest/docs/tasks/security/cert-management/plugin-ca-cert/). In most cases, the certificate corresponds to the secret named cacerts in the istio-system namespace. If you use this type of certificate, you must set the `ExisingRootCaCert` and `ExisingRootCaKey` parameters.', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The type of the existing certificate:'."\n" + ."\n" + .'- 1: A self-signed certificate of Istiod. This corresponds to the istio-ca-secret secret in the istio-system namespace. If you use this type, you must also provide the `ExistingCaCert` and `ExsitingCaKey` parameters.'."\n" + ."\n" + .'- 2: An external certificate of Istiod. For more information, see [plugin ca cert](https://istio.io/latest/docs/tasks/security/cert-management/plugin-ca-cert/). This generally corresponds to the cacerts secret in the istio-system namespace. If you use this type, you must also provide the `ExisingRootCaCert` and `ExisingRootCaKey` parameters.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'title' => '', 'example' => '1'], ], [ 'name' => 'ExistingRootCaCert', 'in' => 'formData', - 'schema' => [ - 'description' => 'The existing root certificate, which is encoded in Base64.', - 'type' => 'string', - 'deprecated' => false, - 'required' => false, - 'example' => 'Existing CA cert content, base64 encoded format.', - ], + 'schema' => ['description' => 'The existing root certificate.', 'type' => 'string', 'deprecated' => false, 'required' => false, 'title' => '', 'example' => 'Root certificate content in base64 encoding'], ], [ 'name' => 'ExistingRootCaKey', 'in' => 'formData', - 'schema' => [ - 'description' => 'The private key that corresponds to the root certificate, which is encoded in Base64.'."\n", - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => 'Existing CA key content, base64 encoded format.', - ], + 'schema' => ['description' => 'The private key that corresponds to the existing root certificate.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'title' => '', 'example' => 'Root key content, base64 encoding format'], ], [ 'name' => 'CertChain', 'in' => 'formData', - 'schema' => [ - 'description' => 'The certificate chain from the CA certificate to the root certificate. At least two certificates are included in the chain.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Base64 encoded PEM certificate chain.', - ], + 'schema' => ['description' => 'The certificate chain from the CA certificate to the root certificate. The chain must contain at least two certificates.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Base64-encoded PEM certificate chain.'], ], [ 'name' => 'GuestCluster', 'in' => 'formData', - 'schema' => [ - 'description' => 'When you create an ASM instance, you can add a cluster to the ASM instance. If you do not specify this parameter, no cluster is added to the ASM instance. The cluster and the ASM instance must be in the same vSwitch of the same VPC and have the same domain name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ACK cluster id', - ], + 'schema' => ['description' => 'When you create a Service Mesh instance, you can add a cluster to the instance. If you do not specify this parameter, no cluster is added. The cluster must be in the same VPC and vSwitch as the Service Mesh instance, and must have the same domain name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ACK clusterid'], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'flat', 'schema' => [ - 'description' => 'Tag of the ASM instance. A tag contains the following information:'."\n" + 'description' => 'The tags to add to the Service Mesh instance. The following information is included:'."\n" ."\n" - .'* key: the name of the tag'."\n" - .'* value: the value of the tag'."\n", + .'- key: The tag key.'."\n" + ."\n" + .'- value: The tag value.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The list of tags.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The name of the tag.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'env', - ], - 'Value' => [ - 'description' => 'The value of the tag.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'prod', - ], + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'env'], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'prod'], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'EnableAmbient', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the Ambient Mesh mode for the ASM instance.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable the Ambient Mesh mode for the Service Mesh instance.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'PlaygroundScene', 'in' => 'formData', - 'schema' => [ - 'description' => 'The playground scenario. If you specify this parameter, an ASM playground instance is created. Valid values:'."\n" - ."\n" - .'* ewmaLb: the exponentially weighted moving average (EWMA) load balancing algorithm.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ewmaLb', - ], + 'schema' => ['description' => 'The playground scenario. If you specify this parameter, an ASM playground instance is created. Valid value:'."\n" + ."\n" + .'- ewmaLb: the exponentially weighted moving average (EWMA) load balancing scenario', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ewmaLb'], ], [ 'name' => 'EnableACMG', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the ACMG mode for the ASM instance.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable the ACMG mode.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], ], 'responses' => [ @@ -1394,184 +1500,245 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], - 'ServiceMeshId' => [ - 'description' => 'The ID of the ASM instance.'."\n", - 'type' => 'string', - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], + 'ServiceMeshId' => ['description' => 'The Service Mesh instance ID.', 'type' => 'string', 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'ERR404', - 'errorMessage' => 'Not found', - ], + ['errorCode' => 'ERR404', 'errorMessage' => 'Not found', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"ServiceMeshId\\": \\"c08ba3fd1e6484b0f8cc1ad8fe10d****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateServiceMeshResponse>\\n <RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>\\n <ServiceMeshId>c08ba3fd1e6484b0f8cc1ad8fe10d****</ServiceMeshId>\\n</CreateServiceMeshResponse>","errorExample":""}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"ServiceMeshId\\": \\"c08ba3fd1e6484b0f8cc1ad8fe10d****\\"\\n}","type":"json"}]', 'title' => 'CreateServiceMesh', - 'summary' => 'Creates a Service Mesh (ASM) instance.', + 'summary' => 'Creates a Service Mesh instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteServiceMesh' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2024-08-12T02:57:32.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-07-12T08:36:28.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-02-04T03:23:43.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-11-13T09:37:50.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-15T03:42:02.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-10T04:17:06.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-09T01:39:57.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-13T07:00:20.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-11-15T08:16:54.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-03-01T01:58:24.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-31T09:35:30.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-11-02T07:04:50.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-10-28T04:07:14.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-09-06T03:26:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-09-06T03:26:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-08-17T03:54:31.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-05-17T11:45:59.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-05-12T13:22:48.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'servicemesh:CreateServiceMesh', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'CreateSwimLane' => [ + 'summary' => 'Creates a swimlane.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], + 'schema' => ['description' => 'The Service Mesh (ASM) instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => '*****'], ], [ - 'name' => 'Force', + 'name' => 'SwimLaneName', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to forcibly delete the ASM instance. Valid values:'."\n" - ."\n" - .'* `true`: forcibly deletes the ASM instance.'."\n" - .'* `false`: does not forcibly delete the ASM instance.'."\n" - ."\n" - .'Default value: false.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The name of the swimlane.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 's3'], ], [ - 'name' => 'RetainResources', + 'name' => 'LabelSelectorKey', 'in' => 'formData', - 'schema' => [ - 'description' => 'A JSON string that can be parsed into a string array. You can use this JSON string to specify the IDs of the resource instances that need to be retained when the ASM instance is deleted.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '[" lb-bp1fxvl3q8akbj6m*****", "lb-bp1hoxkolggdw0y3*****"]', - ], + 'schema' => ['description' => 'The label of the workload. The value is fixed to `ASM_TRAFFIC_TAG`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ASM_TRAFFIC_TAG'], + ], + [ + 'name' => 'ServicesList', + 'in' => 'formData', + 'schema' => ['description' => 'The list of services to associate with the swimlane. The value is a JSON array. The format for a single service is `$ClusterName/$ClusterID/$Namespace/$ServiceName`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '[\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka\\",\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb\\",\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc\\"]'], + ], + [ + 'name' => 'LabelSelectorValue', + 'in' => 'formData', + 'schema' => ['description' => 'The value of the `ASM_TRAFFIC_TAG` label for the service workload.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'v3'], + ], + [ + 'name' => 'GroupName', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the swimlane group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'test'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '11fd0027-c27e-41bb-a565-75583054****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '*****'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"11fd0027-c27e-41bb-a565-75583054****\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteServiceMeshResponse>\\n <RequestId>11fd0027-c27e-41bb-a565-75583054****</RequestId>\\n</DeleteServiceMeshResponse>","errorExample":""}]', - 'title' => 'DeleteServiceMesh', - 'summary' => 'Deletes a Service Mesh (ASM) instance.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyServiceMeshName' => [ - 'summary' => 'Modifies the name of a Service Mesh (ASM) instance.', - 'methods' => [ - 'post', - 'get', + 'title' => 'CreateSwimLane', + 'changeSet' => [ + ['createdAt' => '2022-09-28T07:26:38.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'servicemesh:CreateSwimLane', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"*****\\"\\n}","type":"json"}]', + ], + 'CreateSwimLaneGroup' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', + 'abilityTreeCode' => '153455', + 'abilityTreeNodes' => ['FEATUREservicemesh22WM61'], ], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cdd30a90a7cea480ebcc7ff****', - ], + 'schema' => ['description' => 'The ID of the Service Mesh (ASM) instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'xxx'], ], [ - 'name' => 'Name', + 'name' => 'ServicesList', 'in' => 'formData', - 'schema' => [ - 'description' => 'The new name of the ASM instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test-mesh', - ], + 'schema' => ['description' => 'The services to associate with the swimlane group. The value must be a JSON array. The format for a single service is `$ClusterName/$ClusterID/$Namespace/$ServiceName`.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '[\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka\\",\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb\\",\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc\\"]'], + ], + [ + 'name' => 'GroupName', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the swimlane group.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'test'], + ], + [ + 'name' => 'IngressType', + 'in' => 'formData', + 'schema' => ['description' => 'The type of Ingress traffic. Only ASM gateways are supported.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ASM'], + ], + [ + 'name' => 'IngressGatewayName', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the ASM gateway used for traffic routing. A gateway rule that has the same name as the ASM gateway is required. For ASM instances of v1.17.2.28 or later, you can specify the name of a gateway rule. The gateway rule does not need to have the same name as the ASM gateway.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ingressgateway'], + ], + [ + 'name' => 'IsPermissive', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to create the swimlane in loose mode.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'TraceHeader', + 'in' => 'formData', + 'schema' => ['description' => 'The request header for passing through requests in a loose-mode swimlane group. This parameter is required if IsPermissive is set to true.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'my-request-id'], + ], + [ + 'name' => 'RouteHeader', + 'in' => 'formData', + 'schema' => ['description' => 'The request header for routing traffic in a loose-mode swimlane group. This parameter is required if IsPermissive is set to true.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'x-asm-prefer-tag'], + ], + [ + 'name' => 'IngressGatewayNamespace', + 'in' => 'formData', + 'schema' => ['description' => 'The namespace of the gateway rule used to route traffic for the swimlane group. This parameter is available for ASM instances of v1.17.2.28 or later.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'istio-system'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'EDDC0D86-2FC3-56FB-9213-96EB0A3523F1', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'yyyy'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'CreateSwimLaneGroup', + 'summary' => 'Creates a traffic lane group.', + 'changeSet' => [ + ['createdAt' => '2024-07-16T07:36:43.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-09-12T10:09:42.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-28T07:26:38.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'servicemesh:CreateSwimLaneGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EDDC0D86-2FC3-56FB-9213-96EB0A3523F1\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyServiceMeshNameResponse>\\n <RequestId>EDDC0D86-2FC3-56FB-9213-96EB0A3523F1</RequestId>\\n</ModifyServiceMeshNameResponse>","errorExample":""}]', - 'title' => 'ModifyServiceMeshName', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"yyyy\\"\\n}","type":"json"}]', ], - 'UpdateMeshFeature' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateWaypoint' => [ + 'summary' => 'Creates a waypoint.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1579,1820 +1746,2374 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '17645', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh4LB119', - ], - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the ASM instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cb8963379255149cb98c8686f274x****', - ], + 'schema' => ['description' => 'The ID of the Service Mesh (ASM) instance.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'title' => '', 'example' => 'ce134b0727aa2492db69f6c3880e****'], ], [ - 'name' => 'Tracing', + 'name' => 'ClusterId', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable Managed Service for OpenTelemetry. (Before you enable [Managed Service for OpenTelemetry](https://tracing-analysis.console.aliyun.com/), make sure that you have activated it.) Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The ID of the data plane cluster.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], ], [ - 'name' => 'TraceSampling', + 'name' => 'Namespace', 'in' => 'formData', - 'schema' => [ - 'description' => 'The sampling percentage of Tracing Analysis.'."\n", - 'type' => 'number', - 'format' => 'float', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['description' => 'The namespace.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'default'], ], [ - 'name' => 'TraceCustomTags', + 'name' => 'ServiceAccount', 'in' => 'formData', - 'schema' => [ - 'description' => 'The custom tag of Tracing Analysis. Specify this parameter in the JSON format.'."\n" - ."\n" - .' {'."\n" - .' "name1": CustomTag,'."\n" - .' "name2": CustomTag'."\n" - .' }'."\n" - ."\n" - .'Tag key: literal, header, or environment.'."\n" - ."\n" - .' {'."\n" - .' "literal": {'."\n" - .' "value": "Fixed value"'."\n" - .' }'."\n" - .' "header": {'."\n" - .' "name": "Header name"'."\n" - .' "defaultValue": "Default value that is used if the specified header does not exist"'."\n" - .' }'."\n" - .' "environment": {'."\n" - .' "name": "Environment variable name"'."\n" - .' "defaultValue": "Default value that is used if the specified environment variable does not exist"'."\n" - .' }'."\n" - .' }'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"mytag": {"literal":{"value":"test"}}}', - ], + 'schema' => ['description' => 'The service account for the waypoint. If this parameter is empty, the waypoint applies to the entire namespace.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'bookinfo-productpage'], ], [ - 'name' => 'TraceMaxPathTagLength', + 'name' => 'RequestCPU', 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum length of the request path contained in the HttpUrl span tag. Default value: `256`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '256', - ], + 'schema' => ['description' => 'The CPU resources requested for the waypoint pod.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '100m'], ], [ - 'name' => 'LocalityLoadBalancing', + 'name' => 'RequestMemory', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable cross-region load balancing. Valid values:'."\n" - ."\n" - .'* `true`: enables cross-region load balancing.'."\n" - .'* `false`: disables cross-region load balancing.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The memory resources requested for the waypoint pod.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '128Mi'], ], [ - 'name' => 'LocalityLBConf', + 'name' => 'LimitCPU', 'in' => 'formData', - 'schema' => [ - 'description' => 'The configurations of cross-region load balancing. Valid values:'."\n" - ."\n" - .'* `failover`: the configurations of cross-region failover. Example:'."\n" - ."\n" - .'<!---->'."\n" - ."\n" - .' failover: [// Cross-region failover configurations of the struct type. '."\n" - .' {'."\n" - .' // If a service fails in the China (Beijing) region, the traffic is redirected to the same service in the China (Hangzhou) region. '."\n" - .' from: "cn-beijing", '."\n" - .' to: "cn-hangzhou",'."\n" - .' }'."\n" - .' ]'."\n" - ."\n" - .'* `distribute`: the configurations of cross-region traffic distribution. Example:'."\n" - ."\n" - .'<!---->'."\n" - ."\n" - .' distribute: [// Cross-region traffic distribution configurations of the struct type. '."\n" - .' {'."\n" - .' // For traffic that is routed to the China (Beijing) region, 70% of the traffic is allocated to the China (Beijing) region and the rest of the traffic is redirected to the China (Hangzhou) region. '."\n" - .' "from": "cn-beijing",'."\n" - .' "to": {'."\n" - .' "cn-beijing": 70,'."\n" - .' "cn-hangzhou": 30,'."\n" - .' }'."\n" - .' }'."\n" - .' ]'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"failover":[{"from":"cn-hangzhou","to":"cn-shanghai"}]}', - ], + 'schema' => ['description' => 'The CPU limit for the waypoint pod.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2000m'], ], [ - 'name' => 'Telemetry', + 'name' => 'LimitMemory', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable Prometheus monitoring. We recommend that you enable [ARMS Prometheus](https://arms.console.aliyun.com/). Valid values:'."\n" - ."\n" - .'* `true`: enables Prometheus monitoring.'."\n" - .'* `false`: disables Prometheus monitoring.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The memory limit for the waypoint pod.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1024Mi'], ], [ - 'name' => 'OpenAgentPolicy', + 'name' => 'Replicas', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to install the Open Policy Agent (OPA) plug-in. Valid values:'."\n" - ."\n" - .'* `true`: installs the OPA plug-in.'."\n" - .'* `false`: does not install the OPA plug-in.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The number of replicas for the waypoint pod.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'title' => '', 'example' => '1'], ], [ - 'name' => 'OPALogLevel', + 'name' => 'HPAEnabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'The log level of the OPA proxy container.'."\n" - ."\n" - .'* `info`: outputs all information.'."\n" - .'* `debug`: outputs debugging and error information.'."\n" - .'* `error`: outputs only error information.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'info', - ], + 'schema' => ['description' => 'Specifies whether to enable Horizontal Pod Autoscaling (HPA).', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ - 'name' => 'OPARequestCPU', + 'name' => 'HPATargetCPU', 'in' => 'formData', - 'schema' => [ - 'description' => 'The number of CPU cores that are requested by the OPA proxy container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The target CPU utilization for HPA.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '0', 'title' => '', 'example' => '93'], ], [ - 'name' => 'OPARequestMemory', + 'name' => 'HPATargetMemory', 'in' => 'formData', - 'schema' => [ - 'description' => 'The size of the memory that is requested by the OPA proxy container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '512Mi', - ], + 'schema' => ['description' => 'The target memory usage for HPA.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '0', 'title' => '', 'example' => '91'], ], [ - 'name' => 'OPALimitCPU', + 'name' => 'HPAMinReplicas', 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of CPU cores that are available to the OPA proxy container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The minimum number of replicas for HPA.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'title' => '', 'example' => '2'], ], [ - 'name' => 'OPALimitMemory', + 'name' => 'HPAMaxReplicas', 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum size of the memory that is available to the OPA proxy container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1024Mi', - ], + 'schema' => ['description' => 'The maximum number of replicas for HPA.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'title' => '', 'example' => '4'], ], [ - 'name' => 'EnableAudit', + 'name' => 'PreferECI', 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to preferentially schedule the waypoint to Elastic Container Instance (ECI) nodes.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Specifies whether to enable the mesh audit feature. To enable this feature, make sure that you have activated [Log Service](https://sls.console.aliyun.com/). Valid values:'."\n" - ."\n" - .'* `true`: enables the mesh audit feature.'."\n" - .'* `false`: disables the mesh audit feature.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '71680038-8009-5073-B43E-C057E9******'], + ], + 'example' => '', ], ], - [ - 'name' => 'AuditProject', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the Log Service project that is used for mesh audit.'."\n" - ."\n" - .'Default value: `mesh-log-{ASM instance ID}`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'mesh-log-c08ba3fd1e64xxb0f8cc1ad8****', + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'CreateWaypoint', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:CreateWaypoint', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"71680038-8009-5073-B43E-C057E9******\\"\\n}","type":"json"}]', + ], + 'DeleteGatewayRoute' => [ + 'summary' => 'Deletes a gateway route.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'CustomizedZipkin', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to use a self-managed Zipkin system to collect tracing data. Valid values:'."\n" - ."\n" - .'* `true`: uses a self-managed Zipkin system.'."\n" - .'* `false`: does not use a self-managed Zipkin system.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREservicemeshRMLVVZ'], + ], + 'parameters' => [ [ - 'name' => 'OutboundTrafficPolicy', + 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The policy for accessing external services. Valid values:'."\n" - ."\n" - .'* `ALLOW_ANY`: allows access to all external services.'."\n" - .'* `REGISTRY_ONLY`: allows access to only the external services that are defined in the ServiceEntry of the ASM instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ALLOW_ANY', - ], + 'schema' => ['description' => 'The Service Mesh instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], ], [ - 'name' => 'ProxyRequestCPU', + 'name' => 'IstioGatewayName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The number of CPU cores that are requested by the sidecar proxy container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '100m', - ], + 'schema' => ['description' => 'The name of the ASM gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ingressgateway'], ], [ - 'name' => 'ProxyRequestMemory', + 'name' => 'RouteName', 'in' => 'formData', + 'schema' => ['description' => 'The name of the route.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'http-route'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The size of the memory that is requested by the sidecar proxy container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '128Mi', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 500 => [ + ['errorCode' => 'ERR500', 'errorMessage' => 'An internal server error occurred.', 'description' => ''], + ], + ], + 'title' => 'DeleteGatewayRoute', + 'changeSet' => [ + ['createdAt' => '2022-03-18T10:02:51.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'ProxyLimitCPU', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of CPU cores that are available to the sidecar proxy container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2000m', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'servicemesh:DeleteGatewayRoute', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\"\\n}","type":"json"}]', + ], + 'DeleteGatewaySecret' => [ + 'summary' => 'Deletes a gateway key.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ProxyLimitMemory', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum size of the memory that is available to the sidecar proxy container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1024Mi', - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ [ - 'name' => 'IncludeIPRanges', + 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The IP addresses of external services to which traffic is intercepted.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '*', - ], + 'schema' => ['description' => 'The ID of the Service Mesh (ASM) instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], ], [ - 'name' => 'ExcludeIPRanges', + 'name' => 'IstioGatewayName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The IP addresses of external services to which traffic is not intercepted.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '100.100.XXX.XXX', - ], + 'schema' => ['description' => 'The name of the ASM gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ingressgateway'], ], [ - 'name' => 'ExcludeOutboundPorts', + 'name' => 'SecretName', 'in' => 'formData', + 'schema' => ['description' => 'The name of the key.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'bookinfo-secret'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The ports for which outbound traffic is not redirected to the sidecar proxy. Separate multiple ports with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '80,81', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], + 'SecretDeleteRecord' => [ + 'description' => 'The record of the deletion result.', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'State' => ['type' => 'string', 'description' => 'The status of the key deletion. Valid values:'."\n" + ."\n" + .'- `success`: The key was deleted.'."\n" + ."\n" + .'- `fail`: The deletion failed.', 'title' => '', 'example' => 'success'], + 'ClusterId' => ['type' => 'string', 'description' => 'The cluster ID.', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], + 'Message' => ['type' => 'string', 'description' => 'The error message that is returned if an error occurs. This parameter is empty if the operation is successful.', 'title' => '', 'example' => 'timeout'], + ], + 'description' => 'The record of the deletion result.', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'DeleteGatewaySecret', + 'changeSet' => [ + ['createdAt' => '2022-03-18T09:54:26.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'IncludeInboundPorts', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ports for which inbound traffic is redirected to the sidecar proxy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '80,81', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'servicemesh:DeleteGatewaySecret', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"SecretDeleteRecord\\": {\\n \\"key\\": {\\n \\"State\\": \\"success\\",\\n \\"ClusterId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"Message\\": \\"timeout\\"\\n }\\n }\\n}","type":"json"}]', + ], + 'DeleteIstioGatewayDomains' => [ + 'summary' => 'Deletes domains from an Istio gateway.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ExcludeInboundPorts', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ports for which inbound traffic is not redirected to the sidecar proxy. Separate multiple ports with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '80,81', - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ [ - 'name' => 'EnableNamespacesByDefault', + 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable automatic sidecar proxy injection for all namespaces. Valid values:'."\n" - ."\n" - .'* `true`: enables automatic sidecar proxy injection for all namespaces.'."\n" - .'* `false`: disables automatic sidecar proxy injection for all namespaces.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], ], [ - 'name' => 'AutoInjectionPolicyEnabled', + 'name' => 'IstioGatewayName', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable automatic sidecar proxy injection by using pod annotations. Valid values:'."\n" - ."\n" - .'* `true`: enables automatic sidecar proxy injection by using pod annotations.'."\n" - .'* `false`: disables automatic sidecar proxy injection by using pod annotations.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The name of the ASM gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ingressgateway'], ], [ - 'name' => 'SidecarInjectorRequestCPU', + 'name' => 'Hosts', 'in' => 'formData', - 'schema' => [ - 'description' => 'The number of CPU cores that are requested by the pod where a sidecar proxy injector resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1000m', - ], + 'schema' => ['description' => 'One or more hosts exposed by the gateway. Separate multiple hosts with commas (,).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'example.com,demo.com'], ], [ - 'name' => 'SidecarInjectorRequestMemory', + 'name' => 'PortName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The size of the memory that is requested by the pod where a sidecar proxy injector resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '512Mi', - ], + 'schema' => ['description' => 'The port name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'https'], ], [ - 'name' => 'SidecarInjectorLimitCPU', + 'name' => 'Namespace', 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of CPU cores that are available to the pod where a sidecar proxy injector resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '4000m', - ], + 'schema' => ['description' => 'The namespace.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], ], [ - 'name' => 'SidecarInjectorLimitMemory', + 'name' => 'Limit', 'in' => 'formData', + 'schema' => ['description' => 'The maximum number of gateway resources to query.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The maximum size of the memory that is available to the pod where a sidecar proxy injector resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2048Mi', + 'description' => 'The response body.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****'], + ], + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'DeleteIstioGatewayDomains', + 'changeSet' => [ + ['createdAt' => '2022-03-18T09:54:26.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'SidecarInjectorWebhookAsYaml', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Other configurations of automatic sidecar proxy injection, in the YAML format.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"injectedAnnotations":{"test/istio-init":"runtime/default2","test/istio-proxy":"runtime/default"},"replicaCount":2,"nodeSelector":{"beta.kubernetes.io/os":"linux"}}', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'servicemesh:DeleteIstioGatewayDomains', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\"\\n}","type":"json"}]', + ], + 'DeleteServiceMesh' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'CniEnabled', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the Container Network Interface (CNI) plug-in. Valid values:'."\n" - ."\n" - .'* `true`: enables the CNI plug-in.'."\n" - .'* `false`: disables the CNI plug-in.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ [ - 'name' => 'CniExcludeNamespaces', + 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The namespaces to be excluded for the CNI plug-in.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'kube-system', - ], + 'schema' => ['description' => 'The Service Mesh instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], ], [ - 'name' => 'OpaEnabled', + 'name' => 'Force', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the OPA plug-in. Valid values:'."\n" - ."\n" - .'* `true`: enables the OPA plug-in.'."\n" - .'* `false`: disables the OPA plug-in.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to force delete the ASM instance. Valid values:'."\n" + ."\n" + .'- `true`: Force deletes the ASM instance.'."\n" + ."\n" + .'- `false`: Does not force delete the ASM instance.'."\n" + ."\n" + .'Default value: false.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ - 'name' => 'Http10Enabled', + 'name' => 'RetainResources', 'in' => 'formData', + 'schema' => ['description' => 'A JSON string that can be parsed into an array of strings. The array contains the instance IDs of the resources to retain when you delete the Service Mesh instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '[" lb-bp1fxvl3q8akbj6m*****", "lb-bp1hoxkolggdw0y3*****"]'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Specifies whether to support HTTP 1.0. Valid values:'."\n" - ."\n" - .'* `true`: supports HTTP 1.0.'."\n" - .'* `false`: does not support HTTP 1.0.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + 'description' => 'The returned data.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '11fd0027-c27e-41bb-a565-75583054****'], + ], + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'DeleteServiceMesh', + 'summary' => 'Deletes a Service Mesh instance.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2021-12-13T09:48:56.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'KialiEnabled', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the Mesh Topology feature. To enable this feature, make sure that you have enabled Prometheus monitoring. If Prometheus monitoring is disabled, the Mesh Topology feature must be disabled. Valid values:````'."\n" - ."\n" - .'* `true`: enables the Mesh Topology feature.'."\n" - .'* `false`: disables the Mesh Topology feature.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'servicemesh:DeleteServiceMesh', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"11fd0027-c27e-41bb-a565-75583054****\\"\\n}","type":"json"}]', + ], + 'DeleteSwimLane' => [ + 'summary' => 'Deletes a specified swim lane.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'CustomizedPrometheus', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to use a custom Prometheus instance. Valid values:'."\n" - ."\n" - .'* `true`: uses a custom Prometheus instance.'."\n" - .'* `false`: does not use a custom Prometheus instance.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ [ - 'name' => 'PrometheusUrl', + 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The endpoint of Prometheus monitoring. If you use ARMS Prometheus, set this parameter to the endpoint of Prometheus provided by ARMS.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'http://prometheus:9090', - ], + 'schema' => ['description' => 'The Service Mesh ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'xxx'], ], [ - 'name' => 'AccessLogEnabled', + 'name' => 'SwimLaneName', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable access log collection. Valid values:'."\n" - ."\n" - .'* `true`: enables access log collection.'."\n" - .'* `false`: disables access log collection.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The name of the swim lane.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 's1'], ], [ - 'name' => 'MSEEnabled', + 'name' => 'GroupName', 'in' => 'formData', + 'schema' => ['description' => 'The name of the swim lane group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'test'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Specifies whether to enable Microservices Engine (MSE). Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'deprecated' => true, - 'required' => false, - 'docRequired' => false, - 'example' => 'false', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'xxx'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'DeleteSwimLane', + 'changeSet' => [ + ['createdAt' => '2022-09-28T07:26:38.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'RedisFilterEnabled', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable Redis Filter. Valid values:'."\n" - ."\n" - .'* `true`: enables Redis Filter.'."\n" - .'* `false`: disables Redis Filter.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'servicemesh:DeleteSwimLane', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxx\\"\\n}","type":"json"}]', + ], + 'DeleteSwimLaneGroup' => [ + 'summary' => 'Deletes a specific swim lane group. This operation also deletes the swim lanes and traffic routing rules within that group.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'MysqlFilterEnabled', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable MySQL Filter. Valid values:'."\n" - ."\n" - .'* `true`: enables MySQL Filter.'."\n" - .'* `false`: disables MySQL Filter.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ [ - 'name' => 'ThriftFilterEnabled', + 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable Thrift Filter. Valid values:'."\n" - ."\n" - .'* `true`: enables Thrift Filter.'."\n" - .'* `false`: disables Thrift Filter.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'xxx'], ], [ - 'name' => 'WebAssemblyFilterEnabled', + 'name' => 'GroupName', 'in' => 'formData', + 'schema' => ['description' => 'The name of the swim lane group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'test'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Specifies whether to enable WebAssembly Filter. Valid values:'."\n" - ."\n" - .'* `true`: enables WebAssembly Filter.'."\n" - .'* `false`: disables WebAssembly Filter.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'xxxx'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'DeleteSwimLaneGroup', + 'changeSet' => [ + ['createdAt' => '2022-09-28T07:26:38.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'DNSProxyingEnabled', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable DNS proxy. Valid values:'."\n" - ."\n" - .'* `true`: enables the DNS proxy feature.'."\n" - .'* `false`: disables the DNS proxy feature.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'servicemesh:DeleteSwimLaneGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxx\\"\\n}","type":"json"}]', + ], + 'DeleteWaypoint' => [ + 'summary' => 'Deletes a Waypoint resource.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DubboFilterEnabled', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable Dubbo Filter. Valid values:'."\n" - ."\n" - .'* `true`: enables Dubbo Filter.'."\n" - .'* `false`: disables Dubbo Filter.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ [ - 'name' => 'FilterGatewayClusterConfig', + 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable gateway configuration filtering. Valid values:'."\n" - ."\n" - .'* `true`: enables gateway configuration filtering.'."\n" - .'* `false`: disables gateway configuration filtering.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], ], [ - 'name' => 'EnableSDSServer', + 'name' => 'ClusterId', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable Secret Discovery Service (SDS). Valid values:'."\n" - ."\n" - .'* `true`: enables SDS.'."\n" - .'* `false`: disables SDS.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The ID of the data plane cluster.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ce3c25e247da24f3aab9b7edfae83****'], ], [ - 'name' => 'AccessLogServiceEnabled', + 'name' => 'Namespace', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable gRPC Access Log Service (ALS) for Envoy. Valid values:'."\n" - ."\n" - .'* `true`: enables gRPC ALS for Envoy.'."\n" - .'* `false`: disables gRPC ALS for Envoy.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The namespace.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'default'], ], [ - 'name' => 'AccessLogServiceHost', + 'name' => 'Name', 'in' => 'formData', + 'schema' => ['description' => 'The name of the Waypoint.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'bookinfo-reviews'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The endpoint of gRPC ALS for Envoy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0.0.0.0', + 'title' => 'Schema of Response', + 'description' => 'Response schema', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], + ], + 'example' => '', ], ], - [ - 'name' => 'AccessLogServicePort', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The port of gRPC ALS for Envoy.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '9999', + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DeleteWaypoint', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:DeleteWaypoint', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","type":"json"}]', + ], + 'DescribeASMGatewayImportedServices' => [ + 'summary' => 'Retrieves information about services imported into an ASM gateway.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'GatewayAPIEnabled', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable Gateway API. Valid values:'."\n" - ."\n" - .'* `true`: enables Gateway API.'."\n" - .'* `false`: disables Gateway API.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'ConfigSourceEnabled', + 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the external service registry. Valid values:'."\n" - ."\n" - .'* `true`: enables the external service registry.'."\n" - .'* `false`: disables the external service registry.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], ], [ - 'name' => 'ConfigSourceNacosID', + 'name' => 'ASMGatewayName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The instance ID of the Nacos registry.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'mse-cn-tl326******', - ], + 'schema' => ['description' => 'The name of the ASM gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ingressgateway'], ], [ - 'name' => 'AccessLogFormat', + 'name' => 'ServiceNamespace', 'in' => 'formData', + 'schema' => ['description' => 'The namespace where the service resides.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The custom format of access logs. To set this parameter, make sure that you have enabled access log collection. The value must be a JSON string. The following key names must be contained: authority_for, bytes_received, bytes_sent, downstream_local_address, downstream_remote_address, duration, istio_policy_status, method, path, protocol, requested_server_name, response_code, response_flags, route_name, start_time, trace_id, upstream_cluster, upstream_host, upstream_local_address, upstream_service_time, upstream_transport_failure_reason, user_agent, and x_forwarded_for.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"authority_for":"%REQ(:AUTHORITY)%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","duration":"%DURATION%","istio_policy_status":"%DYNAMIC_METADATA(istio.mixer:status)%","method":"%REQ(:METHOD)%","path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","request_id":"%REQ(X-REQUEST-ID)%","requested_server_name":"%REQUESTED_SERVER_NAME%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","route_name":"%ROUTE_NAME%","start_time":"%START_TIME%","trace_id":"%REQ(X-B3-TRACEID)%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_host":"%UPSTREAM_HOST%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","upstream_service_time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","user_agent":"%REQ(USER-AGENT)%","x_forwarded_for":"%REQ(X-FORWARDED-FOR)%"}', + 'description' => 'The returned object.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '11fd0027-c27e-41bb-a565-75583054****'], + 'ImportedServices' => [ + 'description' => 'A list of imported services.', + 'type' => 'array', + 'items' => [ + 'description' => 'Service information.', + 'type' => 'object', + 'properties' => [ + 'ServiceName' => ['description' => 'The service name.', 'type' => 'string', 'title' => '', 'example' => 'productpage'], + 'ServiceNamespace' => ['description' => 'The namespace where the service resides.', 'type' => 'string', 'title' => '', 'example' => 'default'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'AccessLogFile', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable access logging. Valid values:'."\n" - ."\n" - .'* `""`: disables access logging.'."\n" - .'* `/dev/stdout`: enables access logging. Access logs are written to /dev/stdout.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '“”', + ], + 'title' => 'DescribeASMGatewayImportedServices', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeASMGatewayImportedServices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"11fd0027-c27e-41bb-a565-75583054****\\",\\n \\"ImportedServices\\": [\\n {\\n \\"ServiceName\\": \\"productpage\\",\\n \\"ServiceNamespace\\": \\"default\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeCCMVersion' => [ + 'summary' => 'You can call DescribeCCMVersion to query the version of the cloud-controller-manager (CCM) component.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'AccessLogProject', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The custom project on which the Log Service collects logs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'mesh-log-cf245a429b6ff4b6e97f20797758e****', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREservicemesh8LRZ5X', 'FEATUREservicemesh7GZC6M'], + ], + 'parameters' => [ [ - 'name' => 'EnableCRHistory', - 'in' => 'formData', + 'name' => 'ServiceMeshId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Specifies whether to enable the rollback feature for Istio resources.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + 'description' => 'The data returned.', + 'type' => 'object', + 'properties' => [ + 'CCMVersions' => [ + 'description' => 'The CCM version information for all data plane clusters.', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'QueryState' => ['type' => 'string', 'description' => 'The reason why the query failed. Valid values:'."\n" + ."\n" + .'- `time_out`: The request timed out.'."\n" + ."\n" + .'- `failed`: The request failed.'."\n" + ."\n" + .'- `An empty string`: The request was successful.', 'title' => '', 'example' => 'time_out'], + 'Version' => ['type' => 'string', 'description' => 'The CCM version.', 'title' => '', 'example' => 'v2.0.1'], + 'SLBGracefulDrainSupported' => ['type' => 'boolean', 'description' => 'Indicates whether graceful shutdown is supported for SLB instances.', 'title' => '', 'example' => 'true'], + 'ClusterId' => ['type' => 'string', 'description' => 'The ID of the data plane cluster instance.', 'title' => '', 'example' => 'cfbb81b9b51a44b299349xxxxxxxxxxxx'], + 'Message' => ['type' => 'string', 'description' => 'Additional information about the failure. This parameter is empty if the query was successful.', 'title' => '', 'example' => 'timeout error'], + 'SLBGracefulDrainSupport' => ['type' => 'boolean', 'deprecated' => true, 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => 'The CCM version information.', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], + ], + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'CRAggregationEnabled', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to use the Kubernetes API of clusters on the data plane to access Istio resources. To use this feature, the version of the ASM instance must be V1.9.7.93 or later.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + 'errorCodes' => [ + 404 => [ + ['errorCode' => 'ERR404', 'errorMessage' => 'Not found', 'description' => ''], + ], + ], + 'title' => 'DescribeCCMVersion', + 'changeSet' => [ + ['createdAt' => '2025-04-24T02:23:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-11-21T08:08:21.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-01-12T07:57:11.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeCCMVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CCMVersions\\": {\\n \\"key\\": {\\n \\"QueryState\\": \\"time_out\\",\\n \\"Version\\": \\"v2.0.1\\",\\n \\"SLBGracefulDrainSupported\\": true,\\n \\"ClusterId\\": \\"cfbb81b9b51a44b299349xxxxxxxxxxxx\\",\\n \\"Message\\": \\"timeout error\\",\\n \\"SLBGracefulDrainSupport\\": false\\n }\\n },\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","type":"json"}]', + ], + 'DescribeCens' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'TerminationDrainDuration', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum period of time that the sidecar proxy waits for requests to be processed before the proxy is stopped. For example, if you want to specify a period of 5 seconds, set this parameter to 5s.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '5s', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREservicemesh4LB119'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'ProxyInitCPUResourceLimit', - 'in' => 'formData', + 'name' => 'ServiceMeshId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Service Mesh (ASM) instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ce134b0727aa2492db69f6c3880e1****'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The maximum number of CPU cores that are available to the istio-init container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2000m', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], + 'Clusters' => [ + 'description' => 'A list of Kubernetes clusters that are added to the same service mesh but are in different VPCs and are not connected through Cloud Enterprise Network (CEN).', + 'type' => 'array', + 'items' => ['description' => 'The ID of the Kubernetes cluster.', 'type' => 'string', 'title' => '', 'example' => 'c584d805c7bd442b8bac421f9849f*****'], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'ProxyInitMemoryResourceLimit', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum size of the memory that is available to the istio-init container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1024Mi', + ], + 'title' => 'DescribeCens', + 'summary' => 'DescribeCens retrieves the results of a network connectivity test for multiple clusters across different VPCs in the same service mesh.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeCens', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"Clusters\\": [\\n \\"c584d805c7bd442b8bac421f9849f*****\\"\\n ]\\n}","type":"json"}]', + ], + 'DescribeClusterGrafana' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ProxyInitCPUResourceRequest', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The number of CPU cores that are requested by the istio-init container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10m', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'ProxyInitMemoryResourceRequest', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The size of the memory that is requested by the istio-init container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10Mi', - ], + 'name' => 'ServiceMeshId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Service Mesh (SM) instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], ], [ - 'name' => 'Lifecycle', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The lifecycle of the sidecar proxy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"postStart":{"exec":{"command":["pilot-agent","wait"]}},"preStop":{"exec":{"command":["/bin/sh","-c","sleep 15"]}}}', - ], + 'name' => 'K8sClusterId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the data plane cluster.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ce3c25e247da24f3aab9b7edfae83****'], ], [ - 'name' => 'MultiBufferEnabled', - 'in' => 'formData', + 'name' => 'ReAddPrometheusIntegration', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'Specifies whether to reintegrate Prometheus for the data plane cluster.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'title' => '', 'example' => 'false'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Specifies whether to enable Transport Layer Security (TLS) acceleration based on MultiBuffer.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], + 'Dashboards' => [ + 'description' => 'The information about the Grafana reports.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Url' => ['description' => 'The endpoint of the Grafana report.', 'type' => 'string', 'title' => '', 'example' => 'test.com'], + 'Title' => ['description' => 'The title of the report.', 'type' => 'string', 'title' => '', 'example' => 'test'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'DescribeClusterGrafana', + 'summary' => 'Retrieves information about Grafana reports for a cluster in a service mesh.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-12-28T11:07:00.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'MultiBufferPollDelay', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The pull-request latency. By default, this parameter is left empty.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0.02s', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeClusterGrafana', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"Dashboards\\": [\\n {\\n \\"Url\\": \\"test.com\\",\\n \\"Title\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeClusterPrometheus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DiscoverySelectors', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The label selectors used to specify the namespaces of the clusters on the data plane for selective service discovery.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '[{"matchExpressions":[{"key":"asm-discovery","operator":"Exists"}]}]', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREservicemesh33DK5F'], + ], + 'parameters' => [ [ - 'name' => 'ClusterSpec', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the feature of controlling the OPA injection scope. Valid values:'."\n" - ."\n" - .'* `true`: enables the feature.'."\n" - .'* `false`: disables the feature.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'standard', - ], + 'name' => 'ServiceMeshId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], ], [ - 'name' => 'OPAScopeInjected', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The minimum number of CPU cores requested by the pod that injects OPA proxies into application pods. For example, `1000m` indicates one CPU core.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'name' => 'K8sClusterId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the data plane cluster.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ce3c25e247da24f3aab9b7edfae83****'], ], [ - 'name' => 'OPAInjectorCPURequirement', - 'in' => 'formData', + 'name' => 'K8sClusterRegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the data plane cluster.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The minimum size of the memory requested by the pod that injects OPA proxies into application pods. For example, `50 Mi` indicates 50 MB.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '80m', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], + 'Prometheus' => ['description' => 'The public endpoint of Prometheus.', 'type' => 'string', 'title' => '', 'example' => 'p.com'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'OPAInjectorMemoryRequirement', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of CPU cores that are available to the pod that injects OPA proxies into application pods. For example, `1000m` indicates one CPU core.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '50Mi', + ], + 'title' => 'DescribeClusterPrometheus', + 'summary' => 'You can call the DescribeClusterPrometheus operation to retrieve the public endpoint of Prometheus for a cluster in a Service Mesh instance.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeClusterPrometheus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"Prometheus\\": \\"p.com\\"\\n}","type":"json"}]', + ], + 'DescribeClustersInServiceMesh' => [ + 'summary' => 'The `DescribeClustersInServiceMesh` operation retrieves information about one or more clusters in a service mesh.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'OPAInjectorCPULimit', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum size of the memory that is available to the pod that injects OPA proxies into application pods. For example, `1024Mi` indicates 1024 MB.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1000m', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '17608', + 'abilityTreeNodes' => ['FEATUREservicemeshBG5ZTX'], + ], + 'parameters' => [ [ - 'name' => 'OPAInjectorMemoryLimit', - 'in' => 'formData', + 'name' => 'ServiceMeshId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Service Mesh (ASM) instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cb8963379255149cb98c8686f274x****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Specifies whether to create a CLB instance for accessing the ASM mesh topology.', - 'type' => 'string', - 'required' => false, - 'example' => '1024Mi', + 'description' => 'The response body.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', 'title' => ''], + 'Clusters' => [ + 'description' => 'A list of clusters.', + 'type' => 'array', + 'items' => [ + 'description' => 'Information about a cluster.', + 'type' => 'object', + 'properties' => [ + 'SgId' => ['description' => 'The ID of the security group.', 'type' => 'string', 'example' => 'sg-bp197668l6iupljy****', 'title' => ''], + 'VpcId' => ['description' => 'The ID of the Virtual Private Cloud (VPC).', 'type' => 'string', 'example' => 'vpc-2zew0rajjkmxy2369****', 'title' => ''], + 'CreationTime' => ['description' => 'The time the cluster was created.', 'type' => 'string', 'example' => '2020-05-12T15:38:16+08:00', 'title' => ''], + 'UpdateTime' => ['description' => 'The time the cluster was last updated.', 'type' => 'string', 'example' => '2020-05-12T15:38:16+08:00', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'example' => ',', 'title' => ''], + 'State' => ['description' => 'The state of the cluster.', 'type' => 'string', 'example' => 'running', 'title' => ''], + 'AccessLogDashboards' => [ + 'description' => 'A list of access log dashboards.', + 'type' => 'array', + 'items' => [ + 'description' => 'Information about an access log dashboard.', + 'type' => 'object', + 'properties' => [ + 'Url' => ['description' => 'The URL of the access log dashboard.', 'type' => 'string', 'example' => 'https://sls.console.aliyun.com/next/project/****/dashboard/mesh-access-log_details_cn', 'title' => ''], + 'Title' => ['description' => 'The title of the access log dashboard.', 'type' => 'string', 'example' => 'mesh-access-log_details_cn', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'RegionId' => ['description' => 'The ID of the region.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'ClusterDomain' => ['description' => 'The domain name of the cluster.', 'type' => 'string', 'example' => 'example.com', 'title' => ''], + 'Version' => ['description' => 'The version of the cluster.', 'type' => 'string', 'example' => 'v1.16.6-aliyun.1', 'title' => ''], + 'ClusterType' => ['description' => 'The type of the cluster.', 'type' => 'string', 'example' => 'Ask', 'title' => ''], + 'Name' => ['description' => 'The name of the cluster.', 'type' => 'string', 'example' => 'ask1', 'title' => ''], + 'ClusterId' => ['description' => 'The ID of the cluster.', 'type' => 'string', 'example' => 'c80f45444b3da447da60a911390c2****', 'title' => ''], + 'LogtailInstalledState' => ['description' => 'The installation state of the Logtail component in the cluster. Valid values:'."\n" + ."\n" + .'- `logtail_installed`: Logtail is installed.'."\n" + ."\n" + .'-` logtail_uninstalled`: Logtail is not installed.'."\n" + ."\n" + .'- `logtail_state_get_error`: Failed to retrieve the installation state.', 'type' => 'string', 'example' => 'logtail_installed', 'title' => ''], + 'GuestClusterConfig' => [ + 'type' => 'object', + 'properties' => [ + 'SMC' => [ + 'type' => 'object', + 'properties' => [ + 'Enabled' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'IntegrateKiali', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to create a Classic Load Balancer (CLB) instance for accessing Mesh Topology of Service Mesh (ASM).'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"Clusters\\": [\\n {\\n \\"SgId\\": \\"sg-bp197668l6iupljy****\\",\\n \\"VpcId\\": \\"vpc-2zew0rajjkmxy2369****\\",\\n \\"CreationTime\\": \\"2020-05-12T15:38:16+08:00\\",\\n \\"UpdateTime\\": \\"2020-05-12T15:38:16+08:00\\",\\n \\"ErrorMessage\\": \\",\\",\\n \\"State\\": \\"running\\",\\n \\"AccessLogDashboards\\": [\\n {\\n \\"Url\\": \\"https://sls.console.aliyun.com/next/project/****/dashboard/mesh-access-log_details_cn\\",\\n \\"Title\\": \\"mesh-access-log_details_cn\\"\\n }\\n ],\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ClusterDomain\\": \\"example.com\\",\\n \\"Version\\": \\"v1.16.6-aliyun.1\\",\\n \\"ClusterType\\": \\"Ask\\",\\n \\"Name\\": \\"ask1\\",\\n \\"ClusterId\\": \\"c80f45444b3da447da60a911390c2****\\",\\n \\"LogtailInstalledState\\": \\"logtail_installed\\",\\n \\"GuestClusterConfig\\": {\\n \\"SMC\\": {\\n \\"Enabled\\": false\\n }\\n }\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeClustersInServiceMesh', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-05-13T10:26:23.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-12-10T07:03:28.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-06-03T09:03:30.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeClustersInServiceMesh', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeCrTemplates' => [ + 'summary' => 'Call the DescribeCrTemplates operation to query YAML templates for Istio resources that are used in common scenarios in a service mesh.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'NFDEnabled', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to clear feature labels on nodes when NFD is disabled.'."\n" - ."\n" - .'This parameter is valid only when the `NFDEnabled` parameter is set to `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREservicemeshC7BE8V'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'NFDLabelPruned', + 'name' => 'IstioVersion', 'in' => 'formData', - 'schema' => [ - 'description' => 'The minimum number of CPU cores requested by the proxy service that exports Tracing Analysis data. For example, `1000m` indicates one CPU core.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The Istio version that the service mesh uses.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'v1.18.0.160-gcc1f41cd-aliyun'."\n"], ], [ - 'name' => 'TracingOnExtZipkinRequestCPU', + 'name' => 'Kind', 'in' => 'formData', + 'schema' => ['description' => 'The type of Istio resource for which you want to obtain common templates. Valid values:'."\n" + ."\n" + .'- AuthorizationPolicy'."\n" + ."\n" + .'- RequestAuthentication'."\n" + ."\n" + .'- PeerAuthentication'."\n" + ."\n" + .'- WorkloadGroup'."\n" + ."\n" + .'- WorkloadEntry'."\n" + ."\n" + .'- Sidecar'."\n" + ."\n" + .'- EnvoyFilter'."\n" + ."\n" + .'- ServiceEntry'."\n" + ."\n" + .'- Gateway'."\n" + ."\n" + .'- DestinationRule'."\n" + ."\n" + .'- VirtualService', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'VirtualService'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The minimum size of the memory requested by the proxy service that exports Tracing Analysis data. For example, `1Mi` indicates 1 MB.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '200m', + 'description' => 'The returned parameters.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '74E97AE2-2900-55C1-A069-C3C1EA*****'], + 'Templates' => [ + 'description' => 'The common YAML templates for the specified Istio resource type.', + 'type' => 'array', + 'items' => [ + 'description' => 'A common YAML template for the specified Istio resource type.', + 'type' => 'object', + 'properties' => [ + 'ChineseName' => ['description' => 'The Chinese name of the YAML template.', 'type' => 'string', 'title' => '', 'example' => 'HTTP基础路由'], + 'EnglishName' => ['description' => 'The English name of the YAML template.', 'type' => 'string', 'title' => '', 'example' => 'HTTP basic routing'], + 'Yaml' => ['description' => 'The content of the YAML template.', 'type' => 'string', 'title' => '', 'example' => 'apiVersion: networking.istio.io/v1beta1\\nkind: VirtualService\\nmetadata:\\n name: reviews-route # Name for this VirtualService.\\nspec:\\n hosts:\\n - reviews.prod.svc.cluster.local # Service that this VirtualSerivce belongs to. \\n http:\\n - name: \\"reviews-route\\" # Name for the route.\\n route:\\n - destination: # Uniquely identifies the instances of a service to which all traffic should be forwarded to.\\n host: reviews.prod.svc.cluster.local # The name of a service from the service registry or ServiceEntry.\\n port:\\n number: 8080"'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 404 => [ + ['errorCode' => 'ERR404', 'errorMessage' => 'Not found', 'description' => ''], + ], + ], + 'title' => 'DescribeCrTemplates', + 'changeSet' => [ + ['createdAt' => '2021-08-13T06:43:27.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'TracingOnExtZipkinRequestMemory', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of CPU cores that are available to the proxy service that exports Tracing Analysis data. For example, `1000m` indicates one CPU core.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '200Mi', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeCrTemplates', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"74E97AE2-2900-55C1-A069-C3C1EA*****\\",\\n \\"Templates\\": [\\n {\\n \\"ChineseName\\": \\"HTTP基础路由\\",\\n \\"EnglishName\\": \\"HTTP basic routing\\",\\n \\"Yaml\\": \\"apiVersion: networking.istio.io/v1beta1\\\\\\\\nkind: VirtualService\\\\\\\\nmetadata:\\\\\\\\n name: reviews-route # Name for this VirtualService.\\\\\\\\nspec:\\\\\\\\n hosts:\\\\\\\\n - reviews.prod.svc.cluster.local # Service that this VirtualSerivce belongs to. \\\\\\\\n http:\\\\\\\\n - name: \\\\\\\\\\\\\\"reviews-route\\\\\\\\\\\\\\" # Name for the route.\\\\\\\\n route:\\\\\\\\n - destination: # Uniquely identifies the instances of a service to which all traffic should be forwarded to.\\\\\\\\n host: reviews.prod.svc.cluster.local # The name of a service from the service registry or ServiceEntry.\\\\\\\\n port:\\\\\\\\n number: 8080\\\\\\"\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeEipResources' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'TracingOnExtZipkinLimitCPU', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum size of the memory that is available to the proxy service that exports Tracing Analysis data. For example, `1Mi` indicates 1 MB.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1000Mi', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'TracingOnExtZipkinLimitMemory', + 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The retention period for the access logs of the ingress gateway. Unit: day. The logs are collected by using Log Service. For example, `30` indicates 30 days.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1024Mi', - ], + 'schema' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], ], [ - 'name' => 'TracingOnExtZipkinReplicaCount', + 'name' => 'PageNum', 'in' => 'formData', - 'schema' => [ - 'description' => 'The number of replicas that are available to the proxy service that exports Managed Service for OpenTelemetry data.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The page number for paged queries. The first page is returned by default.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '1'], ], [ - 'name' => 'AccessLogGatewayLifecycle', + 'name' => 'PageSize', 'in' => 'formData', + 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '50'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The retention period for the access logs of the sidecar proxy. Unit: day. The logs are collected by using Log Service. For example, `30` indicates 30 days.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', + 'description' => 'The returned object.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], + 'EipList' => [ + 'description' => 'A list of EIP resources.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the EIP.', + 'type' => 'object', + 'properties' => [ + 'IpAddress' => ['description' => 'The IP address of the EIP.', 'type' => 'string', 'title' => '', 'example' => '120.xx.xx.112'], + 'Status' => ['description' => 'The status of the EIP. Valid values:'."\n" + ."\n" + .'- `Associating`: The EIP is being attached.'."\n" + ."\n" + .'- `Unassociating`: The EIP is being detached.'."\n" + ."\n" + .'- `InUse`: The EIP is allocated.'."\n" + ."\n" + .'- `Available`: The EIP is available.', 'type' => 'string', 'title' => '', 'example' => 'InUse'], + 'AllocationId' => ['description' => 'The ID of the EIP instance.', 'type' => 'string', 'title' => '', 'example' => 'eip-2zeerraiwb7ujxscd****'], + 'InstanceType' => ['description' => 'The type of the EIP. Valid values:'."\n" + ."\n" + .'- `EcsInstance`: an ECS instance in a VPC.'."\n" + ."\n" + .'- `SlbInstance`: an SLB instance in a VPC.'."\n" + ."\n" + .'- `Nat`: a NAT Gateway.'."\n" + ."\n" + .'- `HaVip`: a high-availability virtual IP address.'."\n" + ."\n" + .'- `NetworkInterface`: a secondary elastic network interface (ENI).'."\n" + ."\n" + .'Default: `EcsInstance`.', 'type' => 'string', 'title' => '', 'example' => 'SlbInstance'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'PageResult' => [ + 'description' => 'The paging information.', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], + 'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'AccessLogSidecarLifecycle', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable automatic diagnostics for the ASM instance. If you enable this feature, the ASM instance is automatically diagnosed when you modify Istio resources in the ASM instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', + ], + 'errorCodes' => [ + 500 => [ + ['errorCode' => 'ERR500', 'errorMessage' => 'An internal server error occurred.', 'description' => ''], + ], + ], + 'title' => 'DescribeEipResources', + 'summary' => 'Queries a list of Elastic IP Address (EIP) resources.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeEipResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"EipList\\": [\\n {\\n \\"IpAddress\\": \\"120.xx.xx.112\\",\\n \\"Status\\": \\"InUse\\",\\n \\"AllocationId\\": \\"eip-2zeerraiwb7ujxscd****\\",\\n \\"InstanceType\\": \\"SlbInstance\\"\\n }\\n ],\\n \\"PageResult\\": {\\n \\"TotalCount\\": 10,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n }\\n}","type":"json"}]', + ], + 'DescribeGatewaySecretDetails' => [ + 'summary' => 'Queries the details of the certificate and key for a gateway.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EnableAutoDiagnosis', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ports for which outbound traffic is redirected to the sidecar proxy.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'IncludeOutboundPorts', + 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The log level of the sidecar proxy on the data plane. Log levels include `none`, `error`, `warn`, `info`, and `debug`. The levels correspond to different amounts of information reported by the logs. For example, none-level logs report the least information, while debug-level logs report the most information.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '8000,8001', - ], + 'schema' => ['description' => 'The ID of the Service Mesh (ASM) instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], ], [ - 'name' => 'LogLevel', + 'name' => 'IstioGatewayName', 'in' => 'formData', + 'schema' => ['description' => 'The name of the ASM gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ingressgateway'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The number of worker threads used by the sidecar proxy on the data plane.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'info', + 'description' => 'The response body.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****'], + 'GatewaySecretDetails' => [ + 'description' => 'A list of the details of gateway certificates and keys.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the gateway certificate and key.', + 'type' => 'object', + 'properties' => [ + 'IssueTime' => ['description' => 'The time when the certificate was issued.', 'type' => 'string', 'title' => '', 'example' => '2022-03-03 07:45'], + 'ExpiredTime' => ['description' => 'The time when the certificate expires.', 'type' => 'string', 'title' => '', 'example' => '2023-03-03 07:45'], + 'GatewayName' => ['description' => 'The name of the gateway.', 'type' => 'string', 'title' => '', 'example' => 'bookinfo-gateway'], + 'State' => ['description' => 'The status of the certificate. Valid values:'."\n" + ."\n" + .'- `normal`: The gateway is Normal.'."\n" + ."\n" + .'- `abnormal`: The gateway is abnormal.', 'type' => 'string', 'title' => '', 'example' => 'normal'], + 'Message' => ['description' => '- If the gateway is abnormal, this parameter provides the cause of the error, such as `tls.crt not exist`, `tls.key not exist`, or `secret type must be kubernetes.io/tls`.'."\n" + ."\n" + .'- If the gateway is Normal, this parameter is empty.', 'type' => 'string', 'title' => '', 'example' => 'tls.crt not exist'], + 'SNI' => ['description' => 'The Server Name Indication (SNI).', 'type' => 'string', 'title' => '', 'example' => 'demo.com'], + 'SecretName' => ['description' => 'The name of the secret.', 'type' => 'string', 'title' => '', 'example' => 'demo-secret'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'DescribeGatewaySecretDetails', + 'changeSet' => [ + ['createdAt' => '2022-03-18T09:54:26.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Concurrency', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to delay application container startup until the sidecar proxy container is started in a pod.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeGatewaySecretDetails', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"GatewaySecretDetails\\": [\\n {\\n \\"IssueTime\\": \\"2022-03-03 07:45\\",\\n \\"ExpiredTime\\": \\"2023-03-03 07:45\\",\\n \\"GatewayName\\": \\"bookinfo-gateway\\",\\n \\"State\\": \\"normal\\",\\n \\"Message\\": \\"tls.crt not exist\\",\\n \\"SNI\\": \\"demo.com\\",\\n \\"SecretName\\": \\"demo-secret\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeGuestClusterAccessLogDashboards' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'HoldApplicationUntilProxyStarts', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Other metrics of the sidecar proxy on the data plane.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'ProxyStatsMatcher', + 'name' => 'K8sClusterId', 'in' => 'formData', + 'schema' => ['description' => 'The ID of the data plane cluster.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ce3c25e247da24f3aab9b7edfae83****'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The mode in which the sidecar proxy intercepts inbound traffic. Valid values:'."\n" - ."\n" - .'* `REDIRECT`: The sidecar proxy intercepts inbound traffic in the REDIRECT mode.'."\n" - .'* `TPROXY`: The sidecar proxy intercepts inbound traffic in the TPROXY mode.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"inclusionRegexps":".*adaptive_concurrency.*"}', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], + 'Dashboards' => [ + 'description' => 'The access log reports of the data plane cluster.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Url' => ['description' => 'The URL of the report.', 'type' => 'string', 'title' => '', 'example' => 'test.com'], + 'Title' => ['description' => 'The title of the report.', 'type' => 'string', 'title' => '', 'example' => 'test'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'K8sClusterId' => ['description' => 'The ID of the data plane cluster.', 'type' => 'string', 'title' => '', 'example' => 'ce3c25e247da24f3aab9b7edfae83****'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'InterceptionMode', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to load the bootstrap configuration before the sidecar proxy is started.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TPROXY', + ], + 'title' => 'DescribeGuestClusterAccessLogDashboards', + 'summary' => 'Retrieves the access log reports of a data plane cluster.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeGuestClusterAccessLogDashboards', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"Dashboards\\": [\\n {\\n \\"Url\\": \\"test.com\\",\\n \\"Title\\": \\"test\\"\\n }\\n ],\\n \\"K8sClusterId\\": \\"ce3c25e247da24f3aab9b7edfae83****\\"\\n}","type":"json"}]', + ], + 'DescribeGuestClusterNamespaces' => [ + 'summary' => 'Call DescribeGuestClusterNamespaces to retrieve a list of namespaces from a Kubernetes cluster that is added to a service mesh.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EnableBootstrapXdsAgent', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies the authentication token of an ARMS Prometheus instance when the Mesh Topology feature is enabled and ARMS Prometheus is used to collect monitoring metrics. The token is used to allow Mesh Topology to access the ARMS Prometheus instance. The token is in the JSON format. The key in the JSON object is the ID of the cluster on the data plane, and the value is the authentication token of the ARMS Prometheus instance deployed in the cluster.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'KialiArmsAuthTokens', + 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies the default scheduling configurations that ASM delivers to components on the data plane. You can configure `nodeSelector` and tolerations in the JSON format.'."\n" - ."\n" - .'> * Modifying the value of this parameter is a high-risk operation. The modification will cause all components on the data plane of ASM to restart. Exercise caution before modifying the value of this parameter.'."\n" - .'>* The configurations specified by this parameter do not apply to the ASM gateway. You can configure gateway-specific scheduling on the ASM gateway.', - 'type' => 'string', - 'required' => false, - 'example' => '{"c31e3b******5634b":"token_example"}', - ], + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ce134b0727aa2492db69f6c3880e****'], ], [ - 'name' => 'DefaultComponentsScheduleConfig', + 'name' => 'GuestClusterID', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies the default scheduling configurations that ASM delivers to components on the data plane. You can configure `nodeSelector` and `tolerations` in the JSON format.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* Modifying the value of this parameter is a high-risk operation. The modification will cause all components on the data plane of ASM to restart. Exercise caution before modifying the value of this parameter.'."\n" - ."\n" - .'* The configurations specified by this parameter do not apply to ASM gateways. You can configure gateway-specific scheduling on ASM gateways.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"tolerations":[{"key":"test-taints", "operator":"Exists", "effect":"NoSchedule"}], "nodeSelector":{"kubernetes.io/hostname":"test-nodes"}}', - ], + 'schema' => ['description' => 'The ID of the Kubernetes cluster that is added to the service mesh.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c584d805c7bd442b8bac421f9849f****'], ], [ - 'name' => 'KialiServiceAnnotations', + 'name' => 'ShowNsLabels', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies Classic Load Balancer (CLB) instances by using annotations when the Mesh Topology feature is enabled. These CLB instances are used to access the Mesh Topology feature in different clusters.'."\n" - ."\n" - .'This parameter is a JSON-encoded string. The key in the JSON object is the ID of a cluster on the data plane, and the value is the annotation content of the Mesh Topology service in the cluster.'."\n" - ."\n" - .'For more information about how to configure CLB instances by using annotations, see [Add annotations to the YAML file of a Service to configure CLB instances](https://www.alibabacloud.com/help/container-service-for-kubernetes/latest/use-annotations-to-configure-load-balancing-1).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"c31e3b******5634b":{"service.beta.kubernetes.io/alibaba-cloud-loadbalancer-address-type":"intranet"}}', - ], + 'schema' => ['description' => 'Specifies whether to return the labels of the namespaces.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], ], - [ - 'name' => 'AccessLogGatewayEnabled', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Specifies whether to enable the collection of access logs of ASM gateways to Simple Log Service.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + 'description' => 'The response parameters.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****'], + 'NsList' => [ + 'description' => 'A list of namespaces.', + 'type' => 'array', + 'items' => ['description' => 'The namespace name.', 'type' => 'string', 'title' => '', 'example' => 'default'], + 'title' => '', + 'example' => '', + ], + 'NsLabels' => ['description' => 'The labels of the namespaces. This parameter is returned only when `ShowNsLabels` is set to `true`.', 'type' => 'object', 'title' => '', 'example' => '{"default":{"istio-injection":"enabled"}}'], + ], + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 404 => [ + ['errorCode' => 'ERR404', 'errorMessage' => 'Not found', 'description' => ''], + ], + ], + 'title' => 'DescribeGuestClusterNamespaces', + 'changeSet' => [ + ['createdAt' => '2022-10-14T01:53:08.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'AccessLogSidecarEnabled', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the collection of access logs of sidecar proxies to Simple Log Service.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeGuestClusterNamespaces', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"NsList\\": [\\n \\"default\\"\\n ],\\n \\"NsLabels\\": {\\n \\"default\\": {\\n \\"istio-injection\\": \\"enabled\\"\\n }\\n }\\n}","type":"json"}]', + ], + 'DescribeGuestClusterPods' => [ + 'summary' => 'Retrieves the pods in a specified namespace of a Kubernetes cluster.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'LabelsForOffloadedWorkloads', - 'in' => 'query', - 'schema' => [ - 'description' => 'The labels for isolated workloads.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'name=xx,region=xx', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'ExistingRootCaCert', + 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The updated root certificate. You can modify this parameter only if you use a custom certificate when you create a Service Mesh (ASM) instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Base64 encoded PEM certificate.'."\n", - ], + 'schema' => ['description' => 'The service mesh ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c78d60f98fa43403ab6e0701b2678****'], ], [ - 'name' => 'ExistingCaCert', + 'name' => 'GuestClusterID', 'in' => 'formData', - 'schema' => [ - 'description' => 'The updated certificate authority (CA) certificate. You can modify this parameter only if you use a custom certificate when you create an ASM instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Base64 encoded PEM certificate.', - ], + 'schema' => ['description' => 'The ID of the Kubernetes cluster that is added to the service mesh.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c49ad2169d5a04f2d89dfc4b6bcu****'], ], [ - 'name' => 'ExistingCaKey', + 'name' => 'Namespace', 'in' => 'formData', + 'schema' => ['description' => 'The namespace.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'default'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The updated CA certificate key. You can modify this parameter only if you use a custom certificate when you create an ASM instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Base64 encoded PEM'."\n" - .' private key.', + 'description' => 'Response parameters.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'EDDC0D86-2FC3-56FB-9213-96EB0A3523F1'], + 'PodList' => [ + 'description' => 'The list of pod names in the Kubernetes cluster.', + 'type' => 'array', + 'items' => ['description' => 'The pod name.', 'type' => 'string', 'title' => '', 'example' => 'sleep-5axqt-*****'], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 404 => [ + ['errorCode' => 'ERR404', 'errorMessage' => 'Not found', 'description' => ''], + ], + ], + 'title' => 'DescribeGuestClusterPods', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeGuestClusterPods', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EDDC0D86-2FC3-56FB-9213-96EB0A3523F1\\",\\n \\"PodList\\": [\\n \\"sleep-5axqt-*****\\"\\n ]\\n}","type":"json"}]', + ], + 'DescribeImportedServicesDetail' => [ + 'summary' => 'Queries the details of services imported into an ASM gateway.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'CertChain', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The certificate chain from the CA certificate to the root certificate. At least two certificates are included in the chain.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Base64 encoded PEM cert chain.', - ], + 'schema' => ['description' => 'The Service Mesh instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], ], [ - 'name' => 'SMCEnabled', + 'name' => 'ASMGatewayName', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable SMC optimization.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The name of the gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ingressgateway'], ], [ - 'name' => 'PilotEnableQuicListeners', + 'name' => 'ServiceNamespace', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to support HTTP/3.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The namespace where the service resides.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response content.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'E0496204-7586-5B4C-B364-2361CC0EDxxxx'], + 'Details' => [ + 'description' => 'A list of service details.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the service.', + 'type' => 'object', + 'properties' => [ + 'ServiceName' => ['description' => 'The name of the service.', 'type' => 'string', 'title' => '', 'example' => 'productpage'], + 'Namespace' => ['description' => 'The namespace where the service resides.', 'type' => 'string', 'title' => '', 'example' => 'default'], + 'Labels' => [ + 'description' => 'A list of labels.', + 'type' => 'object', + 'additionalProperties' => ['type' => 'string', 'description' => 'The labels that are defined for the service.', 'title' => '', 'example' => 'app: productpage'], + 'title' => '', + 'example' => '', + ], + 'ClusterIds' => [ + 'description' => 'A list of data plane clusters.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the cluster where the service resides.', 'type' => 'string', 'title' => '', 'example' => 'c7894c929677643a5bfe1a732d778****'], + 'title' => '', + 'example' => '', + ], + 'ServiceType' => ['description' => 'The type of the service.', 'type' => 'string', 'title' => '', 'example' => 'Kubernetes'], + 'Ports' => [ + 'description' => 'A list of ports that are declared for the service.', + 'type' => 'array', + 'items' => [ + 'description' => 'A list of port information.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the port.', 'type' => 'string', 'title' => '', 'example' => 'http-0'], + 'Protocol' => ['description' => 'The protocol of the port.', 'type' => 'string', 'title' => '', 'example' => 'tcp'], + 'Port' => ['description' => 'The port number.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '80'], + 'TargetPort' => ['description' => 'The container port.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '8080'], + 'NodePort' => ['description' => 'The node port.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '12345'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateMeshFeatureResponse>\\n <RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>\\n</UpdateMeshFeatureResponse>","errorExample":""}]', - 'title' => 'UpdateMeshFeature', - 'summary' => 'Updates the configuration of a Service Mesh (ASM) instance.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'RevokeKubeconfig' => [ - 'summary' => 'Revokes the kubeconfig file of a Service Mesh (ASM) instance and generates a new kubeconfig file.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'DescribeImportedServicesDetail', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeImportedServicesDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E0496204-7586-5B4C-B364-2361CC0EDxxxx\\",\\n \\"Details\\": [\\n {\\n \\"ServiceName\\": \\"productpage\\",\\n \\"Namespace\\": \\"default\\",\\n \\"Labels\\": {\\n \\"key\\": \\"app: productpage\\"\\n },\\n \\"ClusterIds\\": [\\n \\"c7894c929677643a5bfe1a732d778****\\"\\n ],\\n \\"ServiceType\\": \\"Kubernetes\\",\\n \\"Ports\\": [\\n {\\n \\"Name\\": \\"http-0\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"Port\\": 80,\\n \\"TargetPort\\": 8080,\\n \\"NodePort\\": 12345\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeIstioGatewayDomains' => [ + 'summary' => 'Returns a list of gateway domain names.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the ASM instance for which you want to revoke its kubeconfig file.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cf08a11940e8c46c48bc791fcdb3****', - ], + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], ], [ - 'name' => 'PrivateIpAddress', + 'name' => 'IstioGatewayName', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to return the kubeconfig file for private access.'."\n" - ."\n" - .'* `true`: returns the kubeconfig file for private access.'."\n" - .'* `false`: returns the kubeconfig file for public access.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The name of the ASM gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ingressgateway'], + ], + [ + 'name' => 'Namespace', + 'in' => 'formData', + 'schema' => ['description' => 'The namespace.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], + ], + [ + 'name' => 'Limit', + 'in' => 'formData', + 'schema' => ['description' => 'The maximum number of entries to return.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '7CF71C8B-79DD-150F-929E-267C51C5E311', - ], - 'Kubeconfig' => [ - 'description' => 'The new kubeconfig file generated.'."\n", - 'type' => 'string', - 'example' => 'apiVersion: v1 clusters: - cluster: server: https://121.**.**.**:6443 certificate-authority-data: ***** name: kubernetes contexts: - context: cluster: kubernetes user: "*****" name: ***** current-context: ***** kind: Config preferences: {} users: - name: "*****" user: client-certificate-data: ***** client-key-data: *****', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****'], + 'GatewaySecretDetails' => [ + 'description' => 'A list of gateway domain name details.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of a gateway domain name.', + 'type' => 'object', + 'properties' => [ + 'Domains' => [ + 'description' => 'A list of domain names.', + 'type' => 'array', + 'items' => ['description' => 'The domain name.', 'type' => 'string', 'title' => '', 'example' => 'example.com'], + 'title' => '', + 'example' => '', + ], + 'Protocol' => ['description' => 'The protocol. Valid values: `HTTP`, `HTTPS`, `GRPC`, `HTTP2`, `MONGO`, `TCP`, and `TLS`.', 'type' => 'string', 'title' => '', 'example' => 'HTTPS'], + 'CredentialName' => ['description' => 'The name of the secret that contains the Transport Layer Security (TLS) certificate and the certificate authority (CA) certificate.', 'type' => 'string', 'title' => '', 'example' => 'bookinfo-secret'], + 'Detail' => ['description' => 'The detailed information in JSON format.', 'type' => 'string', 'title' => '', 'example' => '{ "servers": [ { "port": { "number": 27018, "name": "mongo", "protocol": "MONGO" }, "hosts": [ "*" ] } ] }'], + 'PortName' => ['description' => 'The name of the port.', 'type' => 'string', 'title' => '', 'example' => 'https-demo'], + 'Namespace' => ['description' => 'The namespace.', 'type' => 'string', 'title' => '', 'example' => 'default'], + 'GatewayCRName' => ['description' => 'The name of the gateway custom resource (CR).', 'type' => 'string', 'title' => '', 'example' => 'ingressgateway'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7CF71C8B-79DD-150F-929E-267C51C5E311\\",\\n \\"Kubeconfig\\": \\"apiVersion: v1 clusters: - cluster: server: https://121.**.**.**:6443 certificate-authority-data: ***** name: kubernetes contexts: - context: cluster: kubernetes user: \\\\\\"*****\\\\\\" name: ***** current-context: ***** kind: Config preferences: {} users: - name: \\\\\\"*****\\\\\\" user: client-certificate-data: ***** client-key-data: *****\\"\\n}","errorExample":""},{"type":"xml","example":"<RevokeKubeconfigResponse>\\n <RequestId>7CF71C8B-79DD-150F-929E-267C51C5E311</RequestId>\\n <Kubeconfig>apiVersion: v1 clusters: - cluster: server: https://121.**.**.**:6443 certificate-authority-data: ***** name: kubernetes contexts: - context: cluster: kubernetes user: \\"*****\\" name: ***** current-context: ***** kind: Config preferences: {} users: - name: \\"*****\\" user: client-certificate-data: ***** client-key-data: *****</Kubeconfig>\\n</RevokeKubeconfigResponse>","errorExample":""}]', - 'title' => 'RevokeKubeconfig', - ], - 'DescribeServiceMeshes' => [ - 'summary' => 'Queries ASM instances.', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'DescribeIstioGatewayDomains', + 'changeSet' => [ + ['createdAt' => '2023-05-25T02:05:21.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-03-18T09:54:26.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeIstioGatewayDomains', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"GatewaySecretDetails\\": [\\n {\\n \\"Domains\\": [\\n \\"example.com\\"\\n ],\\n \\"Protocol\\": \\"HTTPS\\",\\n \\"CredentialName\\": \\"bookinfo-secret\\",\\n \\"Detail\\": \\"{ \\\\\\"servers\\\\\\": [ { \\\\\\"port\\\\\\": { \\\\\\"number\\\\\\": 27018, \\\\\\"name\\\\\\": \\\\\\"mongo\\\\\\", \\\\\\"protocol\\\\\\": \\\\\\"MONGO\\\\\\" }, \\\\\\"hosts\\\\\\": [ \\\\\\"*\\\\\\" ] } ] }\\",\\n \\"PortName\\": \\"https-demo\\",\\n \\"Namespace\\": \\"default\\",\\n \\"GatewayCRName\\": \\"ingressgateway\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeIstioGatewayRouteDetail' => [ + 'summary' => 'Queries the details of a gateway routing rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '17617', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh4LB119', - ], - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Tag', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'The tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'yahaha', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'name' => 'ServiceMeshId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the Service Mesh (ASM) instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], + ], + [ + 'name' => 'IstioGatewayName', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the ASM gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ingressgateway'], + ], + [ + 'name' => 'RouteName', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the routing rule.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'demo-route'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", + 'description' => 'The response content.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], - 'ServiceMeshes' => [ - 'description' => 'The information about the ASM instance.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Endpoints' => [ - 'description' => 'The information about all endpoints of the ASM instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'IntranetPilotEndpoint' => [ - 'description' => 'The endpoint that is used to access Istio Pilot from the internal network.'."\n", - 'type' => 'string', - 'example' => '192.168.xx.xx:15011', - ], - 'IntranetApiServerEndpoint' => [ - 'description' => 'The endpoint that is used to access the API server over the internal network.'."\n", - 'type' => 'string', - 'example' => 'https://192.168.xx.xx:6443', - ], - 'PublicApiServerEndpoint' => [ - 'description' => 'The endpoint that is used to access the API server over the Internet.'."\n", - 'type' => 'string', - 'example' => 'https://123.56.xx.xx:6443', + 'RouteDetail' => [ + 'description' => 'The details of the routing rule.', + 'type' => 'object', + 'properties' => [ + 'RouteName' => ['description' => 'The name of the routing rule.', 'type' => 'string', 'title' => '', 'example' => 'demo-route'], + 'RouteType' => ['description' => 'The type of the routing rule. Valid values: `HTTP`, `TLS`, and `TCP`.', 'type' => 'string', 'title' => '', 'example' => 'HTTP'], + 'MatchRequest' => [ + 'description' => 'The route matching rules.', + 'type' => 'object', + 'properties' => [ + 'URI' => [ + 'description' => 'The URI matching rule.', + 'type' => 'object', + 'properties' => [ + 'MatchingMode' => ['description' => 'The matching mode for the routing rule. Valid values:'."\n" + ."\n" + .'- `exact`: exact match.'."\n" + ."\n" + .'- `prefix`: prefix match.'."\n" + ."\n" + .'- `regex`: regular expression match.', 'type' => 'string', 'title' => '', 'example' => 'prefix'], + 'MatchingContent' => ['description' => 'The content to match.', 'type' => 'string', 'title' => '', 'example' => '/ratings/v2/'], ], - 'ReverseTunnelEndpoint' => [ - 'description' => 'The endpoint of the reverse tunnel (Deprecated).'."\n", - 'type' => 'string', - 'example' => 'none', + 'title' => '', + 'example' => '', + ], + 'Headers' => [ + 'description' => 'The list of request headers to match.', + 'type' => 'array', + 'items' => [ + 'description' => 'A request header to match.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The key of the header to match.', 'type' => 'string', 'title' => '', 'example' => 'x-request-id'], + 'MatchingMode' => ['description' => 'The matching mode for the header value. Valid values:'."\n" + ."\n" + .'- `exact`: exact match.'."\n" + ."\n" + .'- `prefix`: prefix match.'."\n" + ."\n" + .'- `regex`: regular expression match.', 'type' => 'string', 'title' => '', 'example' => 'exact'], + 'MatchingContent' => ['description' => 'The content to match in the header.', 'type' => 'string', 'title' => '', 'example' => 'v1'], + ], + 'title' => '', + 'example' => '', ], - 'PublicPilotEndpoint' => [ - 'description' => 'The public endpoint of the Pilot of the ASM instance.'."\n", - 'type' => 'string', - 'example' => 'xx.xx.xx.xx', + 'title' => '', + 'example' => '', + ], + 'TLSMatchAttributes' => [ + 'description' => 'The list of Transport Layer Security (TLS) connection matching attributes.', + 'type' => 'array', + 'items' => [ + 'description' => 'A TLS connection matching attribute.', + 'type' => 'object', + 'properties' => [ + 'TLSPort' => ['description' => 'The TLS port.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '443'], + 'SNIHosts' => [ + 'description' => 'The list of Server Name Indication (SNI) hosts.', + 'type' => 'array', + 'items' => ['description' => 'You can use a wildcard character prefix in the SNI value. For example, `*.com` matches `foo.example.com` and `example.com`.'."\n" + ."\n" + .'> The SNI value must be a subset of the hosts of the corresponding virtual service.', 'type' => 'string', 'title' => '', 'example' => '*.com'], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', + ], + 'Ports' => [ + 'description' => 'The list of ports.', + 'type' => 'array', + 'items' => ['description' => 'The port on the host to be addressed.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '443'], + 'title' => '', + 'example' => '', ], ], - 'ServiceMeshInfo' => [ - 'description' => 'The basic information about the ASM instances.'."\n", - 'type' => 'object', - 'properties' => [ - 'Profile' => [ - 'description' => 'The edition of the ASM instance before ASM is available for commercial use. Valid values:'."\n" - ."\n" - .'* `Pro`: Professional Edition'."\n" - .'* `Default`: Standard Edition'."\n", - 'type' => 'string', - 'example' => 'Pro', - ], - 'CreationTime' => [ - 'description' => 'The time when the ASM instance was created.'."\n", - 'type' => 'string', - 'example' => '2020-04-21T09:42:20+08:00', - ], - 'UpdateTime' => [ - 'description' => 'The time when the ASM instance was last modified.'."\n", - 'type' => 'string', - 'example' => '2020-04-21T09:42:20+08:00', + 'title' => '', + 'example' => '', + ], + 'HTTPAdvancedOptions' => [ + 'description' => 'The advanced configuration options for HTTP routing.', + 'type' => 'object', + 'properties' => [ + 'HTTPRedirect' => [ + 'description' => 'The HTTP redirection.', + 'type' => 'object', + 'properties' => [ + 'Uri' => ['description' => 'The value used to overwrite the path of the URL during redirection.', 'type' => 'string', 'title' => '', 'example' => '/v1/getProductRatings'], + 'Authority' => ['description' => 'The value used to overwrite the authority or host of the URL during redirection.', 'type' => 'string', 'title' => '', 'example' => 'newratings.default.svc.cluster.local'], + 'RedirectCode' => ['description' => 'The HTTP status code to use in the redirection response. The default is 301.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '301'], ], - 'ErrorMessage' => [ - 'description' => 'The returned error message.'."\n", - 'type' => 'string', - 'example' => 'error', + 'title' => '', + 'example' => '', + ], + 'Delegate' => [ + 'description' => 'The proxy for the virtual service traffic.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name.', 'type' => 'string', 'title' => '', 'example' => 'reviews'], + 'Namespace' => ['description' => 'The namespace.', 'type' => 'string', 'title' => '', 'example' => 'default'], ], - 'Version' => [ - 'description' => 'The version number of the ASM instance.'."\n", - 'type' => 'string', - 'example' => '1', + 'title' => '', + 'example' => '', + ], + 'Rewrite' => [ + 'description' => 'The virtual service rewrite.', + 'type' => 'object', + 'properties' => [ + 'Uri' => ['description' => 'The value used to rewrite the path or prefix of the URI.', 'type' => 'string', 'title' => '', 'example' => '/v1/getProductRatings'], + 'Authority' => ['description' => 'The value used to rewrite the Authority or Host header.', 'type' => 'string', 'title' => '', 'example' => 'newratings.default.svc.cluster.local'], ], - 'State' => [ - 'description' => 'The state of the ASM instance.'."\n", - 'type' => 'string', - 'example' => 'success', + 'title' => '', + 'example' => '', + ], + 'Timeout' => ['description' => 'The timeout period.', 'type' => 'string', 'title' => '', 'example' => '5s'], + 'Retries' => [ + 'description' => 'The request retry configuration.', + 'type' => 'object', + 'properties' => [ + 'Attempts' => ['description' => 'The number of retries allowed for a given request.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '3'], + 'PerTryTimeout' => ['description' => 'The timeout period for each retry.', 'type' => 'string', 'title' => '', 'example' => '2s'], + 'RetryOn' => ['description' => 'The condition for a retry, such as `connect-failure,refused-stream,503`.', 'type' => 'string', 'title' => '', 'example' => 'connect-failure,refused-stream,503'], + 'RetryRemoteLocalities' => [ + 'description' => 'The settings for retrying requests to other localities.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'Specifies whether to retry requests to other localities. Valid values:'."\n" + ."\n" + .'- `true`: Retries requests to other localities.'."\n" + ."\n" + .'- `false`: Does not retry requests to other localities.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + ], + 'title' => '', + 'example' => '', + ], ], - 'ServiceMeshId' => [ - 'description' => 'The ID of the ASM instance.'."\n", - 'type' => 'string', - 'example' => 'cb8963379255149cb98c8686f274x****', + 'title' => '', + 'example' => '', + ], + 'Fault' => [ + 'description' => 'The fault injection settings.', + 'type' => 'object', + 'properties' => [ + 'Delay' => [ + 'description' => 'The delay settings.', + 'type' => 'object', + 'properties' => [ + 'FixedDelay' => ['description' => 'The fixed delay time.', 'type' => 'string', 'title' => '', 'example' => '5s'], + 'ExponentialDelay' => ['description' => 'The exponential delay. The wait time is 2 raised to the power of the input value.', 'type' => 'string', 'title' => '', 'example' => '3'], + 'Percentage' => [ + 'description' => 'The percentage of requests to which the delay is injected.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The percentage of requests to which the delay is injected, specified as a decimal.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '0.1'], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Abort' => [ + 'description' => 'Aborts a request in advance with a pre-specified error code.', + 'type' => 'object', + 'properties' => [ + 'HttpStatus' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '400'], + 'Percentage' => [ + 'description' => 'The percentage of requests to be aborted with the provided error code.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The percentage of requests to be aborted, specified as a decimal.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '0.1'], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], ], - 'Name' => [ - 'description' => 'The name of the ASM instance.'."\n", - 'type' => 'string', - 'example' => 'test', + 'title' => '', + 'example' => '', + ], + 'Mirror' => [ + 'description' => 'Mirrors HTTP traffic to another destination in addition to forwarding the requests to the intended destination.', + 'type' => 'object', + 'properties' => [ + 'Host' => ['description' => 'The name of the service in the service registry.', 'type' => 'string', 'title' => '', 'example' => 'reviews.default.svc.cluster.local'], + 'Subset' => ['description' => 'The name of the service subset.', 'type' => 'string', 'title' => '', 'example' => 'v1'], ], - 'RegionId' => [ - 'description' => 'The region ID of the ASM instance.'."\n", - 'type' => 'string', - 'example' => 'cn-beijing', + 'title' => '', + 'example' => '', + ], + 'MirrorPercentage' => [ + 'description' => 'The percentage of traffic to mirror.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The percentage of traffic to mirror, specified as a decimal.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '0.2'], ], + 'title' => '', + 'example' => '', ], ], - 'Spec' => [ - 'description' => 'The specifications of the ASM instance.'."\n", + 'title' => '', + 'example' => '', + ], + 'RouteDestinations' => [ + 'description' => 'The list of weighted destinations for the Layer 4 routing rule.', + 'type' => 'array', + 'items' => [ + 'description' => 'A weighted destination for the Layer 4 routing rule.', 'type' => 'object', 'properties' => [ - 'Network' => [ - 'description' => 'The network configurations of the ASM instance.'."\n", + 'Destination' => [ + 'description' => 'The destination that uniquely identifies the service instance to which the request or connection is forwarded.', 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'description' => 'The ID of the virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'example' => 'vpc-2zew0rajjkmxy2369****', - ], - 'SecurityGroupId' => [ - 'description' => 'The ID of the security group.'."\n", - 'type' => 'string', - 'example' => 'sg-2ze384sxttxbctnj****', - ], - 'VSwitches' => [ - 'description' => 'The IDs of the vSwitches.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the vSwitch.'."\n", - 'type' => 'string', - 'example' => '["1","2"]', + 'Host' => ['description' => 'The name of the service in the service registry.', 'type' => 'string', 'title' => '', 'example' => 'reviews'], + 'Subset' => ['description' => 'The name of the service subset.', 'type' => 'string', 'title' => '', 'example' => 'v1'], + 'Port' => [ + 'description' => 'The list of ports.', + 'type' => 'object', + 'properties' => [ + 'Number' => ['description' => 'The port on the host to be addressed.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '443'], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'LoadBalancer' => [ - 'description' => 'The information about load balancing.'."\n", - 'type' => 'object', - 'properties' => [ - 'PilotPublicEip' => [ - 'description' => 'Indicates whether Istio Pilot is exposed to the Internet. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'PilotPublicLoadbalancerId' => [ - 'description' => 'The ID of the Classic Load Balancer (CLB) instance that is used when Istio Pilot is exposed to the Internet.'."\n", - 'type' => 'string', - 'example' => 'lb-2zesa8qs8kbkj9jkl****', - ], - 'ApiServerLoadbalancerId' => [ - 'description' => 'The ID of the CLB instance that is used when the API server is exposed to the Internet.'."\n", - 'type' => 'string', - 'example' => 'lb-2zekaak10uxds44vx****', - ], - 'ApiServerPublicEip' => [ - 'description' => 'Indicates whether the API server is exposed to the Internet. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - 'MeshConfig' => [ - 'description' => 'The configurations of the ASM instance.'."\n", + 'Weight' => ['description' => 'The traffic weight. The value ranges from 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '80'], + 'Headers' => [ + 'description' => 'The request and response headers to be manipulated.', 'type' => 'object', 'properties' => [ - 'Telemetry' => [ - 'description' => 'Indicates whether Prometheus monitoring is enabled. We recommend that you use Managed Service for Prometheus. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'OutboundTrafficPolicy' => [ - 'description' => 'The outbound traffic policy. Valid values:'."\n" - ."\n" - .'* `ALLOW_ANY`: Outbound traffic to an external service is allowed.'."\n" - .'* `REGISTRY_ONLY`: Outbound traffic is allowed to only external services that are defined in the service registry of the ASM instance.'."\n", - 'type' => 'string', - 'example' => 'ALLOW_ANY', - ], - 'Tracing' => [ - 'description' => 'Indicates whether the tracing feature is enabled. This feature can be enabled only after Managed Service for OpenTelemetry is activated. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'StrictMtls' => [ - 'description' => 'Indicates whether mutual Transport Layer Security (mTLS) is strictly enforced.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Pilot' => [ - 'description' => 'The configurations of the control plane.'."\n", - 'type' => 'object', - 'properties' => [ - 'Http10Enabled' => [ - 'description' => 'Indicates whether the support for HTTP 1.0 is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'TraceSampling' => [ - 'description' => 'The sampling rate when Managed Service for OpenTelemetry is enabled.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.2', - ], - ], - ], - 'Mtls' => [ - 'description' => 'Indicates whether nearby access is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'SidecarInjector' => [ - 'description' => 'The configurations of sidecar proxy injection.'."\n", + 'Request' => [ + 'description' => 'The request headers to manipulate.', 'type' => 'object', 'properties' => [ - 'EnableNamespacesByDefault' => [ - 'description' => 'Indicates whether automatic sidecar proxy injection is enabled for all namespaces. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'AutoInjectionPolicyEnabled' => [ - 'description' => 'Indicates whether automatic sidecar proxy injection is enabled by using annotations.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'InitCNIConfiguration' => [ - 'description' => 'The initial configurations of Container Network Interface (CNI).'."\n", + 'Set' => [ + 'description' => 'Overwrites the header specified by the key with the given value.', 'type' => 'object', - 'properties' => [ - 'ExcludeNamespaces' => [ - 'description' => 'The namespaces in which the CNI plug-in does not check the pods.'."\n", - 'type' => 'string', - 'example' => 'default,foo', - ], - 'Enabled' => [ - 'description' => 'Indicates whether elevated privileges are required for the istio-init container when you perform traffic redirection for the istio-proxy container. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], + 'additionalProperties' => ['type' => 'string', 'description' => 'The header value.', 'title' => '', 'example' => 'key'], + 'title' => '', + 'example' => '', + ], + 'Add' => ['description' => 'Adds a value to the header.', 'type' => 'object', 'title' => '', 'example' => 'key'], + 'Remove' => [ + 'description' => 'The values to remove from the header.', + 'type' => 'array', + 'items' => ['description' => 'The key to remove.', 'type' => 'string', 'title' => '', 'example' => 'key'], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'ExtraConfiguration' => [ - 'description' => 'The extended configurations of the ASM instance.'."\n", + 'Response' => [ + 'description' => 'The processing to perform before a response is returned.', 'type' => 'object', 'properties' => [ - 'Playground' => [ - 'description' => 'The configurations of the ASM Playground (valid only for ASM Playground instances).'."\n", - 'type' => 'object', - 'properties' => [ - 'Scene' => [ - 'description' => 'The ID of the ASM Playground scenario.'."\n", - 'type' => 'string', - 'example' => 'ewmaLb', - ], - ], + 'Set' => ['description' => 'Overwrites the header specified by the key with the given value.', 'type' => 'object', 'title' => '', 'example' => 'key'], + 'Add' => ['description' => 'Adds a value to the header.', 'type' => 'object', 'title' => '', 'example' => 'key'], + 'Remove' => [ + 'description' => 'The values to remove from the header.', + 'type' => 'array', + 'items' => ['description' => 'The key to remove.', 'type' => 'string', 'title' => '', 'example' => 'key'], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'Clusters' => [ - 'description' => 'The clusters.'."\n", + 'title' => '', + 'example' => '', + ], + 'Domains' => [ + 'description' => 'The list of domain names to match.', + 'type' => 'array', + 'items' => ['description' => 'A domain name to match.', 'type' => 'string', 'title' => '', 'example' => 'test.asm.aliyun.com'], + 'title' => '', + 'example' => '', + ], + 'RawVSRoute' => ['description' => 'The raw YAML of the VirtualService, serialized as a JSON string.', 'type' => 'string', 'title' => '', 'example' => '{}'], + 'HasUnsafeFeatures' => ['description' => 'If this parameter is set to \\`true\\`, the raw YAML contains features that are not supported by the current interface.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + ], + 'title' => '', + 'example' => '', + ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****'], + 'Priority' => ['description' => 'The route priority. The smaller the integer, the higher the priority.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'Status' => ['description' => 'The status of the gateway routing rule. Valid values:'."\n" + ."\n" + .'- `0`: The routing rule is published.'."\n" + ."\n" + .'- `1`: The routing rule is unpublished.'."\n" + ."\n" + .'- `2`: An error occurred when the routing rule was created or updated.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'Description' => ['description' => 'The description of the routing rule.', 'type' => 'string', 'title' => '', 'example' => 'demo route'], + 'Namespace' => ['description' => 'The namespace.', 'type' => 'string', 'title' => '', 'example' => 'default'], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 500 => [ + ['errorCode' => 'ERR500', 'errorMessage' => 'An internal server error occurred.', 'description' => ''], + ], + ], + 'title' => 'DescribeIstioGatewayRouteDetail', + 'changeSet' => [ + ['createdAt' => '2023-06-25T11:10:59.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-03-18T10:02:51.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeIstioGatewayRouteDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RouteDetail\\": {\\n \\"RouteName\\": \\"demo-route\\",\\n \\"RouteType\\": \\"HTTP\\",\\n \\"MatchRequest\\": {\\n \\"URI\\": {\\n \\"MatchingMode\\": \\"prefix\\",\\n \\"MatchingContent\\": \\"/ratings/v2/\\"\\n },\\n \\"Headers\\": [\\n {\\n \\"Name\\": \\"x-request-id\\",\\n \\"MatchingMode\\": \\"exact\\",\\n \\"MatchingContent\\": \\"v1\\"\\n }\\n ],\\n \\"TLSMatchAttributes\\": [\\n {\\n \\"TLSPort\\": 443,\\n \\"SNIHosts\\": [\\n \\"*.com\\"\\n ]\\n }\\n ],\\n \\"Ports\\": [\\n 443\\n ]\\n },\\n \\"HTTPAdvancedOptions\\": {\\n \\"HTTPRedirect\\": {\\n \\"Uri\\": \\"/v1/getProductRatings\\",\\n \\"Authority\\": \\"newratings.default.svc.cluster.local\\",\\n \\"RedirectCode\\": 301\\n },\\n \\"Delegate\\": {\\n \\"Name\\": \\"reviews\\",\\n \\"Namespace\\": \\"default\\"\\n },\\n \\"Rewrite\\": {\\n \\"Uri\\": \\"/v1/getProductRatings\\",\\n \\"Authority\\": \\"newratings.default.svc.cluster.local\\"\\n },\\n \\"Timeout\\": \\"5s\\",\\n \\"Retries\\": {\\n \\"Attempts\\": 3,\\n \\"PerTryTimeout\\": \\"2s\\",\\n \\"RetryOn\\": \\"connect-failure,refused-stream,503\\",\\n \\"RetryRemoteLocalities\\": {\\n \\"Value\\": false\\n }\\n },\\n \\"Fault\\": {\\n \\"Delay\\": {\\n \\"FixedDelay\\": \\"5s\\",\\n \\"ExponentialDelay\\": \\"3\\",\\n \\"Percentage\\": {\\n \\"Value\\": 0.1\\n }\\n },\\n \\"Abort\\": {\\n \\"HttpStatus\\": 400,\\n \\"Percentage\\": {\\n \\"Value\\": 0.1\\n }\\n }\\n },\\n \\"Mirror\\": {\\n \\"Host\\": \\"reviews.default.svc.cluster.local\\",\\n \\"Subset\\": \\"v1\\"\\n },\\n \\"MirrorPercentage\\": {\\n \\"Value\\": 0.2\\n }\\n },\\n \\"RouteDestinations\\": [\\n {\\n \\"Destination\\": {\\n \\"Host\\": \\"reviews\\",\\n \\"Subset\\": \\"v1\\",\\n \\"Port\\": {\\n \\"Number\\": 443\\n }\\n },\\n \\"Weight\\": 80,\\n \\"Headers\\": {\\n \\"Request\\": {\\n \\"Set\\": {\\n \\"key\\": \\"key\\"\\n },\\n \\"Add\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Remove\\": [\\n \\"key\\"\\n ]\\n },\\n \\"Response\\": {\\n \\"Set\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Add\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Remove\\": [\\n \\"key\\"\\n ]\\n }\\n }\\n }\\n ],\\n \\"Domains\\": [\\n \\"test.asm.aliyun.com\\"\\n ],\\n \\"RawVSRoute\\": \\"{}\\",\\n \\"HasUnsafeFeatures\\": true\\n },\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"Priority\\": 1,\\n \\"Status\\": 1,\\n \\"Description\\": \\"demo route\\",\\n \\"Namespace\\": \\"default\\"\\n}","type":"json"}]', + ], + 'DescribeIstioGatewayRoutes' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'ServiceMeshId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], + ], + [ + 'name' => 'IstioGatewayName', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the ASM gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ingressgateway'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response body.', + 'type' => 'object', + 'properties' => [ + 'ManagementRoutes' => [ + 'description' => 'The list of routes.', + 'type' => 'array', + 'items' => [ + 'description' => 'The route information.', + 'type' => 'object', + 'properties' => [ + 'ASMGatewayName' => ['description' => 'The name of the ASM gateway.', 'type' => 'string', 'title' => '', 'example' => 'ingressgateway'], + 'RouteName' => ['description' => 'The name of the route.', 'type' => 'string', 'title' => '', 'example' => 'http-route'], + 'RoutePath' => ['description' => 'The path of the route.', 'type' => 'string', 'title' => '', 'example' => '/reviews/v1'], + 'Status' => ['description' => 'The status of the gateway route. Valid values:'."\n" + ."\n" + .'- `0`: The route is online.'."\n" + ."\n" + .'- `1`: The route is offline.'."\n" + ."\n" + .'- `2`: A fault occurred when the route was created or updated.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'Priority' => ['description' => 'The route priority. The value is an integer. A smaller value indicates a higher priority.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'Description' => ['description' => 'The description of the route.', 'type' => 'string', 'title' => '', 'example' => 'demo route'], + 'Namespace' => ['description' => 'The namespace.', 'type' => 'string', 'title' => '', 'example' => 'istio-demo'], + 'DestinationHost' => [ + 'description' => 'A list of domain names that are matched by the request.', 'type' => 'array', - 'items' => [ - 'description' => 'The cluster.'."\n", - 'type' => 'string', - 'example' => '["caf089e56daba4c51a8906fe43ea1****","c80f45444b3da447da60a911390c2****"]', - ], - ], - 'ClusterSpec' => [ - 'description' => 'The edition of the ASM instance. Valid values:'."\n" - ."\n" - .'* `standard`: Standard Edition'."\n" - .'* `enterprise`: Enterprise Edition'."\n" - .'* `ultimate`: Ultimate Edition'."\n", - 'type' => 'string', - 'example' => 'standard', - ], - 'OwnerType' => [ - 'description' => 'The Alibaba Cloud service for which the ASM instance is created. Valid values:'."\n" - ."\n" - .'* `ackone`: The ASM instance is created for Alibaba Cloud Distributed Cloud Container Platform (ACK One).'."\n" - .'* An empty value indicates that the ASM instance is created by the user.'."\n", - 'type' => 'string', - 'example' => 'ackone', - ], - 'OwnerId' => [ - 'description' => 'The ID of the Alibaba Cloud service instance for which the ASM instance is created.'."\n", - 'type' => 'string', - 'example' => 'cc3e96f249d124eb38b72718ec5*****', + 'items' => ['description' => 'The request domain name.', 'type' => 'string', 'title' => '', 'example' => 'test.asm.aliyun.com'], + 'title' => '', + 'example' => '', ], - 'Tag' => [ - 'description' => 'The details about the tags.'."\n", + 'DestinationSubSet' => [ + 'description' => 'A list of destination service subsets.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => 'yahaha', - ], - ], - ], - ], - 'Upgradable' => [ - 'description' => 'Indicates whether the ASM instance can be upgraded.'."\n", - 'type' => 'boolean', - 'example' => 'false', + 'items' => ['description' => 'The destination service subset.', 'type' => 'string', 'title' => '', 'example' => 'v1'], + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****'], ], + 'title' => '', + 'example' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"ServiceMeshes\\": [\\n {\\n \\"Endpoints\\": {\\n \\"IntranetPilotEndpoint\\": \\"192.168.xx.xx:15011\\",\\n \\"IntranetApiServerEndpoint\\": \\"https://192.168.xx.xx:6443\\",\\n \\"PublicApiServerEndpoint\\": \\"https://123.56.xx.xx:6443\\",\\n \\"ReverseTunnelEndpoint\\": \\"none\\",\\n \\"PublicPilotEndpoint\\": \\"xx.xx.xx.xx\\"\\n },\\n \\"ServiceMeshInfo\\": {\\n \\"Profile\\": \\"Pro\\",\\n \\"CreationTime\\": \\"2020-04-21T09:42:20+08:00\\",\\n \\"UpdateTime\\": \\"2020-04-21T09:42:20+08:00\\",\\n \\"ErrorMessage\\": \\"error\\",\\n \\"Version\\": \\"1\\",\\n \\"State\\": \\"success\\",\\n \\"ServiceMeshId\\": \\"cb8963379255149cb98c8686f274x****\\",\\n \\"Name\\": \\"test\\",\\n \\"RegionId\\": \\"cn-beijing\\"\\n },\\n \\"Spec\\": {\\n \\"Network\\": {\\n \\"VpcId\\": \\"vpc-2zew0rajjkmxy2369****\\",\\n \\"SecurityGroupId\\": \\"sg-2ze384sxttxbctnj****\\",\\n \\"VSwitches\\": [\\n \\"[\\\\\\"1\\\\\\",\\\\\\"2\\\\\\"]\\"\\n ]\\n },\\n \\"LoadBalancer\\": {\\n \\"PilotPublicEip\\": true,\\n \\"PilotPublicLoadbalancerId\\": \\"lb-2zesa8qs8kbkj9jkl****\\",\\n \\"ApiServerLoadbalancerId\\": \\"lb-2zekaak10uxds44vx****\\",\\n \\"ApiServerPublicEip\\": true\\n },\\n \\"MeshConfig\\": {\\n \\"Telemetry\\": true,\\n \\"OutboundTrafficPolicy\\": \\"ALLOW_ANY\\",\\n \\"Tracing\\": true,\\n \\"StrictMtls\\": true,\\n \\"Pilot\\": {\\n \\"Http10Enabled\\": true,\\n \\"TraceSampling\\": 0.2\\n },\\n \\"Mtls\\": true,\\n \\"SidecarInjector\\": {\\n \\"EnableNamespacesByDefault\\": false,\\n \\"AutoInjectionPolicyEnabled\\": true,\\n \\"InitCNIConfiguration\\": {\\n \\"ExcludeNamespaces\\": \\"default,foo\\",\\n \\"Enabled\\": true\\n }\\n },\\n \\"ExtraConfiguration\\": {\\n \\"Playground\\": {\\n \\"Scene\\": \\"ewmaLb\\"\\n }\\n }\\n }\\n },\\n \\"Clusters\\": [\\n \\"[\\\\\\"caf089e56daba4c51a8906fe43ea1****\\\\\\",\\\\\\"c80f45444b3da447da60a911390c2****\\\\\\"]\\"\\n ],\\n \\"ClusterSpec\\": \\"standard\\",\\n \\"OwnerType\\": \\"ackone\\",\\n \\"OwnerId\\": \\"cc3e96f249d124eb38b72718ec5*****\\",\\n \\"Tag\\": [\\n {\\n \\"Key\\": \\"test\\",\\n \\"Value\\": \\"yahaha\\"\\n }\\n ],\\n \\"Upgradable\\": false\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeServiceMeshesResponse>\\n <RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>\\n <ServiceMeshes>\\n <Endpoints>\\n <IntranetPilotEndpoint>192.168.xx.xx:15011</IntranetPilotEndpoint>\\n <ReverseTunnelEndpoint>...</ReverseTunnelEndpoint>\\n <PublicPilotEndpoint>182.92.xx.xx:15011</PublicPilotEndpoint>\\n <IntranetApiServerEndpoint>https://192.168.xx.xx:6443</IntranetApiServerEndpoint>\\n <PublicApiServerEndpoint>https://123.56.xx.xx:6443</PublicApiServerEndpoint>\\n </Endpoints>\\n <ServiceMeshInfo>\\n <Profile>Pro</Profile>\\n <CreationTime>2020-04-21T09:42:20+08:00</CreationTime>\\n <UpdateTime>2020-04-21T09:42:20+08:00</UpdateTime>\\n <ErrorMessage>error</ErrorMessage>\\n <Version>1</Version>\\n <State>success</State>\\n <ServiceMeshId>cb8963379255149cb98c8686f274x****</ServiceMeshId>\\n <Name>test</Name>\\n <RegionId>cn-beijing</RegionId>\\n </ServiceMeshInfo>\\n <Spec>\\n <Network>\\n <VpcId>vpc-2zew0rajjkmxy2369****</VpcId>\\n <SecurityGroupId>sg-2ze384sxttxbctnj****</SecurityGroupId>\\n <VSwitches>[\\"1\\",\\"2\\"]</VSwitches>\\n </Network>\\n <LoadBalancer>\\n <PilotPublicEip>true</PilotPublicEip>\\n <PilotPublicLoadbalancerId>lb-2zesa8qs8kbkj9jkl****</PilotPublicLoadbalancerId>\\n <ApiServerLoadbalancerId>lb-2zekaak10uxds44vx****</ApiServerLoadbalancerId>\\n <ApiServerPublicEip>true</ApiServerPublicEip>\\n </LoadBalancer>\\n <MeshConfig>\\n <Telemetry>true</Telemetry>\\n <OutboundTrafficPolicy>xxx</OutboundTrafficPolicy>\\n <Tracing>true</Tracing>\\n <StrictMtls>true</StrictMtls>\\n <Pilot>\\n <Http10Enabled>true</Http10Enabled>\\n <TraceSampling>0.2</TraceSampling>\\n </Pilot>\\n <Mtls>true</Mtls>\\n <SidecarInjector>\\n <EnableNamespacesByDefault>false</EnableNamespacesByDefault>\\n <AutoInjectionPolicyEnabled>true</AutoInjectionPolicyEnabled>\\n <InitCNIConfiguration>\\n <ExcludeNamespaces>default,foo</ExcludeNamespaces>\\n <Enabled>true</Enabled>\\n </InitCNIConfiguration>\\n </SidecarInjector>\\n </MeshConfig>\\n </Spec>\\n <Clusters>[\\"caf089e56daba4c51a8906fe43ea1****\\",\\"c80f45444b3da447da60a911390c2****\\"]</Clusters>\\n <ClusterSpec>standard</ClusterSpec>\\n <OwnerType>ackone</OwnerType>\\n <OwnerId>cc3e96f249d124eb38b72718ec5*****</OwnerId>\\n </ServiceMeshes>\\n</DescribeServiceMeshesResponse>","errorExample":""}]', - 'title' => 'DescribeServiceMeshes', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeServiceMeshDetail' => [ - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 500 => [ + ['errorCode' => 'ERR500', 'errorMessage' => 'An internal server error occurred.', 'description' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'DescribeIstioGatewayRoutes', + 'summary' => 'Queries the routes of a gateway in a Service Mesh (ASM) instance.', + 'changeSet' => [ + ['createdAt' => '2022-08-25T09:27:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-03-18T10:02:51.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeIstioGatewayRoutes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ManagementRoutes\\": [\\n {\\n \\"ASMGatewayName\\": \\"ingressgateway\\",\\n \\"RouteName\\": \\"http-route\\",\\n \\"RoutePath\\": \\"/reviews/v1\\",\\n \\"Status\\": 1,\\n \\"Priority\\": 1,\\n \\"Description\\": \\"demo route\\",\\n \\"Namespace\\": \\"istio-demo\\",\\n \\"DestinationHost\\": [\\n \\"test.asm.aliyun.com\\"\\n ],\\n \\"DestinationSubSet\\": [\\n \\"v1\\"\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\"\\n}","type":"json"}]', + ], + 'DescribeMeshMultiClusterNetwork' => [ + 'summary' => 'Describes the network partition configurations for multiple Kubernetes clusters in a Service Mesh instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3402,1245 +4123,2012 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '17616', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh4LB119', - ], + 'abilityTreeCode' => '223129', + 'abilityTreeNodes' => ['FEATUREservicemesh4LB119'], ], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', + 'schema' => ['description' => 'The ID of the Service Mesh (ASM) instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ccb37ff104caf419fbf48fb38e6f3****'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', + 'title' => 'Schema of Response', + 'description' => 'The response schema.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '71680038-8009-5073-B43E-C057E9******'], + 'MultiClusterNetworks' => [ + 'description' => 'The network partition configurations for multiple Kubernetes clusters. The key is the cluster ID, and the value is the network partition configuration for the cluster.', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'Network' => ['type' => 'string', 'description' => 'The name of the network partition.', 'title' => '', 'example' => 'network1'], + 'EnableGateway' => ['type' => 'boolean', 'description' => 'Specifies whether to enable the east-west gateway for the cluster.'."\n" + ."\n" + .'- true: The east-west gateway is enabled.'."\n" + .'- false: The east-west gateway is disabled.', 'title' => '', 'example' => 'true'], + 'GatewayName' => ['type' => 'string', 'description' => 'The name of the east-west gateway that provides cross-cluster access.', 'title' => '', 'example' => 'asm-cross-network-ccb37ff104***'], + 'CustomGatewayAddress' => ['type' => 'string', 'description' => 'The custom endpoint of the east-west gateway. The value must be in the \\`ip:port\\` format.', 'title' => '', 'example' => '8.16x.1x.1x:15443'], + ], + 'description' => 'The network partition configuration for the cluster.', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 404 => [ + ['errorCode' => 'ERR404', 'errorMessage' => 'Not found', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeMeshMultiClusterNetwork', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeMeshMultiClusterNetwork', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"71680038-8009-5073-B43E-C057E9******\\",\\n \\"MultiClusterNetworks\\": {\\n \\"key\\": {\\n \\"Network\\": \\"network1\\",\\n \\"EnableGateway\\": true,\\n \\"GatewayName\\": \\"asm-cross-network-ccb37ff104***\\",\\n \\"CustomGatewayAddress\\": \\"8.16x.1x.1x:15443\\"\\n }\\n }\\n}","type":"json"}]', + ], + 'DescribeMetadata' => [ + 'summary' => 'Retrieves the basic information about a Service Mesh (ASM) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '17611', + 'abilityTreeNodes' => ['FEATUREservicemesh4LB119'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The return value.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '11fd0027-c27e-41bb-a565-75583054****', - ], - 'ServiceMesh' => [ - 'description' => 'The information about the ASM instance.'."\n", + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'F93DDAD7-6E04-5AC3-86F4-852708******'], + 'MetaData' => [ + 'description' => 'The metadata of the ASM instance. This includes basic information about the ASM product.', 'type' => 'object', 'properties' => [ - 'Endpoints' => [ - 'description' => 'The endpoints of the ASM instance.'."\n", + 'VersionCrds' => [ + 'description' => 'The CustomResourceDefinition (CRD) information for each ASM version.', + 'type' => 'array', + 'items' => ['description' => 'The CRD information for the version.', 'type' => 'object', 'title' => '', 'example' => '{"1.5":[{"kind":"DestinationRule","api_group":"networking.istio.io","id":"2","api_version":"networking.istio.io/v1alpha3"}]}'], + 'title' => '', + 'example' => '', + ], + 'Versions' => [ + 'description' => 'A list of ASM versions.', + 'type' => 'array', + 'items' => ['description' => 'The version information.', 'type' => 'string', 'title' => '', 'example' => 'v1.14.3.87-g96cf7305-aliyun'], + 'title' => '', + 'example' => '', + ], + 'Regions' => [ + 'description' => 'A list of regions where ASM is available.', + 'type' => 'array', + 'items' => ['description' => 'The region.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], + 'title' => '', + 'example' => '', + ], + 'CurrentVersion' => ['description' => 'The current version.', 'type' => 'string', 'title' => '', 'example' => 'v1.14.3.87-g96cf7305-aliyun'], + 'VersionRegistry' => [ + 'description' => 'The Istio version that corresponds to the ASM version.', + 'type' => 'array', + 'items' => ['description' => 'The Istio version that corresponds to the ASM version.', 'type' => 'object', 'title' => '', 'example' => '{"v1.14.3.87-g96cf7305-aliyun": "1.14.3"}'], + 'title' => '', + 'example' => '', + ], + 'ProEdition' => [ + 'description' => 'The version information of ASM Commercial Edition.', 'type' => 'object', 'properties' => [ - 'IntranetPilotEndpoint' => [ - 'description' => 'The endpoint that is used to access Istio Pilot from the internal network.'."\n", - 'type' => 'string', - 'example' => '192.168.**.**:15011', + 'Versions' => [ + 'description' => 'A list of ASM versions.', + 'type' => 'array', + 'items' => ['description' => 'The version information.', 'type' => 'string', 'title' => '', 'example' => 'v1.14.3.87-g96cf7305-aliyun'], + 'title' => '', + 'example' => '', ], - 'PublicPilotEndpoint' => [ - 'description' => 'The endpoint that is used to expose Istio Pilot to the Internet.'."\n", - 'type' => 'string', - 'example' => '182.92.**.**:15011', + 'CurrentVersion' => ['description' => 'The current version.', 'type' => 'string', 'title' => '', 'example' => 'v1.14.3.87-g96cf7305-aliyun'], + 'VersionRegistry' => [ + 'description' => 'The Istio version that corresponds to the ASM version.', + 'type' => 'array', + 'items' => ['description' => 'The Istio version that corresponds to the ASM version.', 'type' => 'object', 'title' => '', 'example' => '{"v1.14.3.87-g96cf7305-aliyun": "1.14.3"}'], + 'title' => '', + 'example' => '', ], - 'IntranetApiServerEndpoint' => [ - 'description' => 'The endpoint that is used to access the API server from the internal network.'."\n", - 'type' => 'string', - 'example' => 'https://192.168.**.**:6443', + 'VersionCrds' => [ + 'description' => 'The CRD information for each ASM version.', + 'type' => 'array', + 'items' => ['description' => 'The CRD information for the version.', 'type' => 'object', 'title' => '', 'example' => '{"1.5":[{"kind":"DestinationRule","api_group":"networking.istio.io","id":"2","api_version":"networking.istio.io/v1alpha3"}]}'], + 'title' => '', + 'example' => '', ], - 'PublicApiServerEndpoint' => [ - 'description' => 'The endpoint that is used to access the API server over the Internet.'."\n", - 'type' => 'string', - 'example' => 'https://123.56.**.**:6443', + ], + 'title' => '', + 'example' => '', + ], + 'CompatibilityInfoList' => [ + 'description' => 'A list of ASM and Kubernetes (K8s) version compatibilities.', + 'type' => 'array', + 'items' => ['description' => 'The range of K8s versions that are compatible with the ASM version.', 'type' => 'object', 'title' => '', 'example' => '{'."\n" + .' "k8s_version": {'."\n" + .' "MaxMajor": 1,'."\n" + .' "MaxMinor": 24,'."\n" + .' "MinMajor": 1,'."\n" + .' "MinMinor": 16'."\n" + .' },'."\n" + .' "asm_version": {'."\n" + .' "Major": 1,'."\n" + .' "Minor": 5'."\n" + .' }'."\n" + .' }'], + 'title' => '', + 'example' => '', + ], + 'PlaygroundScene' => [ + 'description' => 'The data for ASM lab scenarios.', + 'type' => 'object', + 'properties' => [ + 'trafficManagement' => [ + 'description' => 'The traffic management scenarios.', + 'type' => 'array', + 'items' => ['description' => 'The scenario ID.', 'type' => 'string', 'title' => '', 'example' => 'ewmaLb'], + 'title' => '', + 'example' => '', ], - 'IntranetCanaryPilotEndpoint' => [ - 'description' => 'The endpoint that is used to access Istio Pilot from the internal network (Intranet) during canary release.'."\n", - 'type' => 'string', - 'example' => '192.168.**.**:15011', + 'security' => [ + 'description' => 'The security scenarios.', + 'type' => 'array', + 'items' => ['description' => 'The scenario ID.', 'type' => 'string', 'title' => '', 'example' => 'none'], + 'title' => '', + 'example' => '', + ], + 'observability' => [ + 'description' => 'The observability scenarios.', + 'type' => 'array', + 'items' => ['description' => 'The scenario ID.', 'type' => 'string', 'title' => '', 'example' => 'none'], + 'title' => '', + 'example' => '', ], - 'PublicCanaryPilotEndpoint' => [ - 'description' => 'The endpoint that is used to expose Istio Pilot to the public network (Internet) during canary release.'."\n", - 'type' => 'string', - 'example' => '182.92.**.**:15011', + 'other' => [ + 'description' => 'Other scenario categories.', + 'type' => 'array', + 'items' => ['description' => 'The scenario ID.', 'type' => 'string', 'title' => '', 'example' => 'none'], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'ServiceMeshInfo' => [ - 'description' => 'The basic information about the ASM instance.'."\n", + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeMetadata', + 'changeSet' => [ + ['createdAt' => '2024-09-18T14:25:40.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-05-11T08:37:50.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeMetadata', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F93DDAD7-6E04-5AC3-86F4-852708******\\",\\n \\"MetaData\\": {\\n \\"VersionCrds\\": [\\n {\\n \\"1.5\\": [\\n {\\n \\"kind\\": \\"DestinationRule\\",\\n \\"api_group\\": \\"networking.istio.io\\",\\n \\"id\\": \\"2\\",\\n \\"api_version\\": \\"networking.istio.io/v1alpha3\\"\\n }\\n ]\\n }\\n ],\\n \\"Versions\\": [\\n \\"v1.14.3.87-g96cf7305-aliyun\\"\\n ],\\n \\"Regions\\": [\\n \\"cn-hangzhou\\"\\n ],\\n \\"CurrentVersion\\": \\"v1.14.3.87-g96cf7305-aliyun\\",\\n \\"VersionRegistry\\": [\\n {\\n \\"v1.14.3.87-g96cf7305-aliyun\\": \\"1.14.3\\"\\n }\\n ],\\n \\"ProEdition\\": {\\n \\"Versions\\": [\\n \\"v1.14.3.87-g96cf7305-aliyun\\"\\n ],\\n \\"CurrentVersion\\": \\"v1.14.3.87-g96cf7305-aliyun\\",\\n \\"VersionRegistry\\": [\\n {\\n \\"v1.14.3.87-g96cf7305-aliyun\\": \\"1.14.3\\"\\n }\\n ],\\n \\"VersionCrds\\": [\\n {\\n \\"1.5\\": [\\n {\\n \\"kind\\": \\"DestinationRule\\",\\n \\"api_group\\": \\"networking.istio.io\\",\\n \\"id\\": \\"2\\",\\n \\"api_version\\": \\"networking.istio.io/v1alpha3\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"CompatibilityInfoList\\": [\\n {\\n \\"k8s_version\\": {\\n \\"MaxMajor\\": 1,\\n \\"MaxMinor\\": 24,\\n \\"MinMajor\\": 1,\\n \\"MinMinor\\": 16\\n },\\n \\"asm_version\\": {\\n \\"Major\\": 1,\\n \\"Minor\\": 5\\n }\\n }\\n ],\\n \\"PlaygroundScene\\": {\\n \\"trafficManagement\\": [\\n \\"ewmaLb\\"\\n ],\\n \\"security\\": [\\n \\"none\\"\\n ],\\n \\"observability\\": [\\n \\"none\\"\\n ],\\n \\"other\\": [\\n \\"none\\"\\n ]\\n }\\n }\\n}","type":"json"}]', + ], + 'DescribeNamespaceScopeSidecarConfig' => [ + 'summary' => 'Call `DescribeNamespaceScopeSidecarConfig` to query the namespace-level sidecar configuration.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '114962', + 'abilityTreeNodes' => ['FEATUREservicemeshB27TWZ'], + ], + 'parameters' => [ + [ + 'name' => 'ServiceMeshId', + 'in' => 'formData', + 'schema' => ['description' => 'The Service Mesh (ASM) instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'c7120e75a202d4fd8acb028a86b6a****', 'title' => ''], + ], + [ + 'name' => 'Namespace', + 'in' => 'formData', + 'schema' => ['description' => 'The namespace.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response body.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', 'title' => ''], + 'ConfigPatches' => [ + 'description' => 'The Sidecar Proxy configurations for the namespace.', + 'type' => 'object', + 'properties' => [ + 'TerminationDrainDuration' => ['description' => 'The termination drain duration for the sidecar proxy.', 'type' => 'string', 'example' => '6s', 'title' => ''], + 'SidecarProxyInitResourceLimit' => [ + 'description' => 'The resource limits for the sidecar proxy init container.', 'type' => 'object', 'properties' => [ - 'Profile' => [ - 'description' => 'The edition of the ASM instance. Valid values:'."\n" - ."\n" - .'* `Default`: Standard Edition'."\n" - .'* `Pro`: Enterprise Edition and Ultimate Edition'."\n", - 'type' => 'string', - 'example' => 'Default', - ], - 'CreationTime' => [ - 'description' => 'The time when the ASM instance was created.'."\n", - 'type' => 'string', - 'example' => '2020-04-21T09:42:20+08:00', - ], - 'UpdateTime' => [ - 'description' => 'The time when the ASM instance was last modified.'."\n", - 'type' => 'string', - 'example' => '2020-06-03T14:48:54+08:00', + 'ResourceCPULimit' => ['description' => 'The CPU resource limit.', 'type' => 'string', 'example' => '2000 m', 'title' => ''], + 'ResourceMemoryLimit' => ['description' => 'The memory resource limit.', 'type' => 'string', 'example' => '50 Mi', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SidecarProxyInitResourceRequest' => [ + 'description' => 'The resource requests for the sidecar proxy init container.', + 'type' => 'object', + 'properties' => [ + 'ResourceCPURequest' => ['description' => 'The CPU resource request.', 'type' => 'string', 'example' => '60 m', 'title' => ''], + 'ResourceMemoryRequest' => ['description' => 'The memory resource request.', 'type' => 'string', 'example' => '30 Mi', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SidecarProxyResourceLimit' => [ + 'description' => 'The resource limits for the sidecar proxy container.', + 'type' => 'object', + 'properties' => [ + 'ResourceCPULimit' => ['description' => 'The CPU resource limit.', 'type' => 'string', 'example' => '2000 m', 'title' => ''], + 'ResourceMemoryLimit' => ['description' => 'The memory resource limit.', 'type' => 'string', 'example' => '50 Mi', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SidecarProxyResourceRequest' => [ + 'description' => 'The resource requests for the sidecar proxy container.', + 'type' => 'object', + 'properties' => [ + 'ResourceCPURequest' => ['description' => 'The CPU resource request.', 'type' => 'string', 'example' => '60 m', 'title' => ''], + 'ResourceMemoryRequest' => ['description' => 'The Memory Resource Request.', 'type' => 'string', 'example' => '30 Mi', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ExcludeOutboundPorts' => ['description' => 'The outbound traffic ports to exclude from sidecar proxy interception.', 'type' => 'string', 'example' => '81', 'title' => ''], + 'ExcludeOutboundIPRanges' => ['description' => 'The outbound traffic IP ranges to exclude from sidecar proxy interception.', 'type' => 'string', 'example' => '192.168.1.3/31', 'title' => ''], + 'IncludeOutboundIPRanges' => ['description' => 'The outbound traffic IP ranges to include in sidecar proxy interception.', 'type' => 'string', 'example' => '192.168.1.4/31', 'title' => ''], + 'ExcludeInboundPorts' => ['description' => 'The inbound traffic ports to exclude from sidecar proxy interception.', 'type' => 'string', 'example' => '82', 'title' => ''], + 'IncludeInboundPorts' => ['description' => 'The inbound traffic ports to include in sidecar proxy interception.', 'type' => 'string', 'example' => '83', 'title' => ''], + 'IncludeOutboundPorts' => ['description' => 'The outbound traffic ports to include in sidecar proxy interception.', 'type' => 'string', 'example' => '84', 'title' => ''], + 'IstioDNSProxyEnabled' => ['description' => 'Specifies whether to enable the DNS proxy feature. Valid values:'."\n" + ."\n" + .'- `true`: Enables the DNS proxy feature.'."\n" + ."\n" + .'- `false`: Disables the DNS proxy feature.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'LifecycleStr' => ['description' => 'The lifecycle of the sidecar proxy, defined as a JSON string.', 'type' => 'string', 'example' => '{"postStart":{"exec":{"command":["pilot-agent","wait"]}},"preStop":{"exec":{"command":["/bin/sh","-c","sleep 15"]}}}', 'title' => ''], + 'Concurrency' => ['description' => 'The number of worker threads for the istio-proxy.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'LogLevel' => ['description' => 'The log level. Valid values: `info`, `debug`, `trace`, and `error`.', 'type' => 'string', 'example' => 'info', 'title' => ''], + 'HoldApplicationUntilProxyStarts' => ['description' => 'Specifies whether the application container should wait for the istio-proxy container to be ready before starting. Valid values:'."\n" + ."\n" + .'- `true`: Wait for the istio-proxy container to be ready.'."\n" + ."\n" + .'- `false`: Do not wait for the istio-proxy container to be ready.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ProxyStatsMatcher' => [ + 'description' => 'The metrics for Envoy monitoring.', + 'type' => 'object', + 'properties' => [ + 'InclusionPrefixes' => [ + 'description' => 'The prefixes for the metrics to be included in Envoy monitoring.', + 'type' => 'array', + 'items' => ['description' => 'A prefix for the metrics to be included in Envoy monitoring.', 'type' => 'string', 'example' => 'server', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'ErrorMessage' => [ - 'description' => 'The returned error message.'."\n", - 'type' => 'string', - 'example' => ' error', + 'InclusionSuffixes' => [ + 'description' => 'The suffixes for the metrics to be included in Envoy monitoring.', + 'type' => 'array', + 'items' => ['description' => 'A suffix for the metrics to be included in Envoy monitoring.', 'type' => 'string', 'example' => 'cluster.outbound', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'Version' => [ - 'description' => 'The version of the ASM instance.'."\n", - 'type' => 'string', - 'example' => 'v1.7.4.0-gfb34ba99-aliyun', + 'InclusionRegexps' => [ + 'description' => 'The regular expressions for including metrics in Envoy monitoring.', + 'type' => 'array', + 'items' => ['description' => 'A regular expression for including metrics in Envoy monitoring.', 'type' => 'string', 'example' => 'listener.*.downstream_cx_total', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'State' => [ - 'description' => 'The state of the ASM instance.'."\n", - 'type' => 'string', - 'example' => 'running', + ], + 'title' => '', + 'example' => '', + ], + 'Tracing' => [ + 'description' => 'The custom tracing configurations.', + 'type' => 'object', + 'properties' => [ + 'Sampling' => ['description' => 'The sampling rate for tracing.', 'type' => 'number', 'format' => 'double', 'example' => '99.8', 'title' => ''], + 'CustomTags' => ['description' => 'The custom tags to add to reported traces. The key is the custom tag name. The value is a JSON object that defines how to obtain the tag\'s value. You can source the value in one of the following ways:'."\n" + ."\n" + .'- `literal`: The tag has a static value. The JSON object must contain a `value` field to specify the literal value. For example: `{"value":"test"}`.'."\n" + ."\n" + .'- `header`: The tag takes its value from a request header. The JSON object must contain `name` and `defaultValue` fields. The `name` field specifies the name of the request header, and the `defaultValue` field provides a fallback value. For example: `{"name":"test","defaultValue":"test"}`.'."\n" + ."\n" + .'- `environment`: The tag takes its value from an environment variable. The JSON object must contain `name` and `defaultValue` fields. The `name` field specifies the name of the environment variable, and the `defaultValue` field provides a fallback value. For example: `{"name":"test","defaultValue":"test"}`.', 'type' => 'object', 'example' => '{"test":{"literal":{"value":"test"}}}', 'title' => ''], + 'MaxPathTagLength' => ['description' => 'The maximum length of the tracing tag.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'InterceptionMode' => ['description' => 'The traffic interception mode for the sidecar. Valid values:'."\n" + ."\n" + .'- `REDIRECT`: The default mode. The sidecar proxy uses iptables redirection to intercept traffic.'."\n" + ."\n" + .'- `TPROXY`: The transparent proxy mode. The sidecar proxy uses TPROXY to intercept traffic.', 'type' => 'string', 'example' => 'TPROXY', 'title' => ''], + 'ProxyMetadata' => [ + 'description' => 'Additional environment variables for the sidecar proxy. The keys are the variable names and the values are their corresponding values.', + 'type' => 'object', + 'additionalProperties' => ['description' => 'The value of an additional environment variable.', 'type' => 'string', 'example' => '"true"', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'SidecarProxyInitAckSloResource' => [ + 'description' => 'The resource limit and resource request for the sidecar proxy init container, specified as ACK (Alibaba Cloud Container Service for Kubernetes) dynamic overcommitment resources. These settings apply if the pod has the ACK dynamic overcommitment label `labelkoordinator.sh/qosClass`.', + 'type' => 'object', + 'properties' => [ + 'Requests' => [ + 'description' => 'The resource requests for the sidecar proxy init container, specified as ACK dynamic overcommitment resources. These settings apply when the pod has the ACK dynamic overcommitment label `labelkoordinator.sh/qosClass`. The object can contain keys for the following resource types:'."\n" + ."\n" + .'- `kubernetes.io/batch-cpu`: The CPU resources of the ACK overcommitment type. Unit: millicores.'."\n" + ."\n" + .'- `kubernetes.io/batch-memory`: The memory resources of the ACK overcommitment type.', + 'type' => 'object', + 'additionalProperties' => ['description' => 'The value of the resource request for the sidecar proxy init container.', 'type' => 'string', 'example' => '128Mi', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'ServiceMeshId' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', + 'Limits' => [ + 'description' => 'The resource limits for the sidecar proxy init container, specified as ACK dynamic overcommitment resources. These settings apply when the pod has the ACK dynamic overcommitment label `labelkoordinator.sh/qosClass`. The object can contain keys for the following resource types:'."\n" + ."\n" + .'- `kubernetes.io/batch-cpu`: The CPU resources of the ACK overcommitment type. Unit: millicores.'."\n" + ."\n" + .'- `kubernetes.io/batch-memory`: The memory resources of the ACK overcommitment type.', + 'type' => 'object', + 'additionalProperties' => ['description' => 'The value of the resource limit for the sidecar proxy init container.', 'type' => 'string', 'example' => '2048Mi', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'Name' => [ - 'description' => 'The name of the ASM instance.'."\n", - 'type' => 'string', - 'example' => 'mesh1', + ], + 'title' => '', + 'example' => '', + ], + 'SidecarProxyAckSloResource' => [ + 'description' => 'The resource settings for the sidecar proxy container, specified as ACK dynamic overcommitment resources. These settings are used when the pod has the ACK dynamic overcommitment label `labelkoordinator.sh/qosClass`.', + 'type' => 'object', + 'properties' => [ + 'Requests' => [ + 'description' => 'The resource requests for the sidecar proxy container, specified as ACK dynamic overcommitment resources. These settings apply when the pod has the ACK dynamic overcommitment label `labelkoordinator.sh/qosClass`. The object can contain keys for the following resource types:'."\n" + ."\n" + .'- `kubernetes.io/batch-cpu`: The CPU resources of the ACK overcommitment type. Unit: millicores.'."\n" + ."\n" + .'- `kubernetes.io/batch-memory`: The memory resources of the ACK overcommitment type.', + 'type' => 'object', + 'additionalProperties' => ['description' => 'The value of the resource request for the sidecar proxy container.', 'type' => 'string', 'example' => '128Mi', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'RegionId' => [ - 'description' => 'The ID of the region in which the ASM instance resides.'."\n", - 'type' => 'string', - 'example' => 'cn-beijing', + 'Limits' => [ + 'description' => 'The resource limits for the sidecar proxy container, specified as ACK dynamic overcommitment resources. These settings apply when the pod has the ACK dynamic overcommitment label `labelkoordinator.sh/qosClass`. The object can contain keys for the following resource types:'."\n" + ."\n" + .'- `kubernetes.io/batch-cpu`: The CPU resources of the ACK overcommitment type. Unit: millicores.'."\n" + ."\n" + .'- `kubernetes.io/batch-memory`: The memory resources of the ACK overcommitment type.', + 'type' => 'object', + 'additionalProperties' => ['description' => 'The value of the resource limit for the sidecar proxy container.', 'type' => 'string', 'example' => '2048Mi', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', + ], + 'Privileged' => ['description' => 'Specifies whether to run the sidecar proxy container in privileged mode. Valid values:'."\n" + ."\n" + .'- `true`: The sidecar proxy container runs in privileged mode.'."\n" + ."\n" + .'- `false`: The sidecar proxy container does not run in privileged mode.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'EnableCoreDump' => ['description' => 'Specifies whether to enable core dump for the sidecar proxy container. Valid values:'."\n" + ."\n" + .'- `true`: Enables core dump.'."\n" + ."\n" + .'- `false`: Disables core dump.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ReadinessInitialDelaySeconds' => ['description' => 'The delay in seconds before the first readiness probe is run on the sidecar proxy container.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'ReadinessPeriodSeconds' => ['description' => 'The interval in seconds between readiness probes for the sidecar proxy container.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'ReadinessFailureThreshold' => ['description' => 'The number of consecutive failed readiness probes before the sidecar proxy container is marked as not ready.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'SMCConfiguration' => [ + 'description' => 'The configurations for SMC-R optimization.', + 'type' => 'object', + 'properties' => [ + 'Enabled' => ['description' => 'Enables or disables SMC-R optimization. SMC-R improves cross-node communication performance and requires Alibaba Cloud Linux 3 and an elastic Remote Direct Memory Access (eRDMA) network device on the node.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'RuntimeValues' => [ + 'description' => 'The runtime parameters for the Envoy proxy.', + 'type' => 'object', + 'additionalProperties' => ['description' => 'The value of an Envoy runtime parameter.', 'type' => 'string', 'example' => '"65536"', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'ScaledSidecarResource' => [ + 'type' => 'object', + 'properties' => [ + 'ResourceCalculationStrategy' => ['description' => 'The calculation strategy for sidecar resources.', 'type' => 'string', 'title' => '', 'example' => ''], + 'ContainerRef' => ['description' => 'The baseline container for calculating sidecar resources.', 'type' => 'string', 'title' => '', 'example' => ''], + 'ResourcePercentage' => ['description' => 'The resource percentage for the sidecar.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => ''], + ], + 'description' => 'The settings for dynamically scaling sidecar resources based on a specified percentage.', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"ConfigPatches\\": {\\n \\"TerminationDrainDuration\\": \\"6s\\",\\n \\"SidecarProxyInitResourceLimit\\": {\\n \\"ResourceCPULimit\\": \\"2000 m\\",\\n \\"ResourceMemoryLimit\\": \\"50 Mi\\"\\n },\\n \\"SidecarProxyInitResourceRequest\\": {\\n \\"ResourceCPURequest\\": \\"60 m\\",\\n \\"ResourceMemoryRequest\\": \\"30 Mi\\"\\n },\\n \\"SidecarProxyResourceLimit\\": {\\n \\"ResourceCPULimit\\": \\"2000 m\\",\\n \\"ResourceMemoryLimit\\": \\"50 Mi\\"\\n },\\n \\"SidecarProxyResourceRequest\\": {\\n \\"ResourceCPURequest\\": \\"60 m\\",\\n \\"ResourceMemoryRequest\\": \\"30 Mi\\"\\n },\\n \\"ExcludeOutboundPorts\\": \\"81\\",\\n \\"ExcludeOutboundIPRanges\\": \\"192.168.1.3/31\\",\\n \\"IncludeOutboundIPRanges\\": \\"192.168.1.4/31\\",\\n \\"ExcludeInboundPorts\\": \\"82\\",\\n \\"IncludeInboundPorts\\": \\"83\\",\\n \\"IncludeOutboundPorts\\": \\"84\\",\\n \\"IstioDNSProxyEnabled\\": true,\\n \\"LifecycleStr\\": \\"{\\\\\\"postStart\\\\\\":{\\\\\\"exec\\\\\\":{\\\\\\"command\\\\\\":[\\\\\\"pilot-agent\\\\\\",\\\\\\"wait\\\\\\"]}},\\\\\\"preStop\\\\\\":{\\\\\\"exec\\\\\\":{\\\\\\"command\\\\\\":[\\\\\\"/bin/sh\\\\\\",\\\\\\"-c\\\\\\",\\\\\\"sleep 15\\\\\\"]}}}\\",\\n \\"Concurrency\\": 2,\\n \\"LogLevel\\": \\"info\\",\\n \\"HoldApplicationUntilProxyStarts\\": true,\\n \\"ProxyStatsMatcher\\": {\\n \\"InclusionPrefixes\\": [\\n \\"server\\"\\n ],\\n \\"InclusionSuffixes\\": [\\n \\"cluster.outbound\\"\\n ],\\n \\"InclusionRegexps\\": [\\n \\"listener.*.downstream_cx_total\\"\\n ]\\n },\\n \\"Tracing\\": {\\n \\"Sampling\\": 99.8,\\n \\"CustomTags\\": {\\n \\"test\\": {\\n \\"literal\\": {\\n \\"value\\": \\"test\\"\\n }\\n }\\n },\\n \\"MaxPathTagLength\\": 10\\n },\\n \\"InterceptionMode\\": \\"TPROXY\\",\\n \\"ProxyMetadata\\": {\\n \\"key\\": \\"\\\\\\"true\\\\\\"\\"\\n },\\n \\"SidecarProxyInitAckSloResource\\": {\\n \\"Requests\\": {\\n \\"key\\": \\"128Mi\\"\\n },\\n \\"Limits\\": {\\n \\"key\\": \\"2048Mi\\"\\n }\\n },\\n \\"SidecarProxyAckSloResource\\": {\\n \\"Requests\\": {\\n \\"key\\": \\"128Mi\\"\\n },\\n \\"Limits\\": {\\n \\"key\\": \\"2048Mi\\"\\n }\\n },\\n \\"Privileged\\": false,\\n \\"EnableCoreDump\\": false,\\n \\"ReadinessInitialDelaySeconds\\": 2,\\n \\"ReadinessPeriodSeconds\\": 3,\\n \\"ReadinessFailureThreshold\\": 5,\\n \\"SMCConfiguration\\": {\\n \\"Enabled\\": true\\n },\\n \\"RuntimeValues\\": {\\n \\"key\\": \\"\\\\\\"65536\\\\\\"\\"\\n },\\n \\"ScaledSidecarResource\\": {\\n \\"ResourceCalculationStrategy\\": \\"\\",\\n \\"ContainerRef\\": \\"\\",\\n \\"ResourcePercentage\\": 0\\n }\\n }\\n}","type":"json"}]', + 'title' => 'DescribeNamespaceScopeSidecarConfig', + 'description' => 'Use DescribeASMSidecarExpectedVersion to query the expected version of a sidecar in the Service Mesh (ASM) data plane. For example, say a Pod has a v1.11 sidecar. You then upgrade the Service Mesh (ASM) instance to v1.12 but do not restart the Pod. Although the sidecar continues to run its actual version (v1.11), the DescribeASMSidecarExpectedVersion API returns the expected version: v1.12.', + 'changeSet' => [ + ['createdAt' => '2025-04-16T02:02:14.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-07-26T03:30:56.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-05-21T02:20:24.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-08-31T03:27:26.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-03-27T02:54:06.000Z', 'description' => 'Response parameters changed, Response parameters changed'], + ['createdAt' => '2022-11-30T04:07:25.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-12-14T08:03:40.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-12-14T08:03:40.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeNamespaceScopeSidecarConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeNodesInstanceType' => [ + 'summary' => 'You can call the DescribeNodesInstanceType operation to query the types of data plane nodes and determine whether MultiBuffer performance acceleration is supported.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREservicemeshB27TWZ'], + ], + 'parameters' => [ + [ + 'name' => 'ServiceMeshId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'type' => 'object', + 'properties' => [ + 'InstanceTypes' => [ + 'description' => 'A list of node type information.', + 'type' => 'array', + 'items' => [ + 'description' => 'The node type information.', + 'type' => 'object', + 'properties' => [ + 'NodeType' => ['description' => 'The instance type of the node.', 'type' => 'string', 'title' => '', 'example' => 'ecs.g7.xlarge'], + 'MultiBufferEnabled' => ['description' => 'Indicates whether the MultiBuffer acceleration feature is supported. Valid values:'."\n" + ."\n" + .'- `true`: The MultiBuffer acceleration feature is supported.'."\n" + ."\n" + .'- `false`: The MultiBuffer acceleration feature is not supported.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'Key' => ['description' => 'The key of the node label that supports MultiBuffer optimization. If you specify this parameter, MultiBuffer optimization is enabled only when a pod is scheduled to a node that has this label key and a label value that matches the \\`Value\\` parameter.', 'type' => 'string', 'title' => '', 'example' => 'feature.node.kubernetes.io/mb-feature-enable'], + 'Value' => ['description' => 'The value of the node label that supports MultiBuffer optimization. If you specify this parameter, MultiBuffer optimization is enabled only when a pod is scheduled to a node that has the specified \\`Key\\` and a label value that matches this parameter.', 'type' => 'string', 'title' => '', 'example' => 'true'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 500 => [ + ['errorCode' => 'ERR500', 'errorMessage' => 'An internal server error occurred.', 'description' => ''], + ], + ], + 'title' => 'DescribeNodesInstanceType', + 'changeSet' => [ + ['createdAt' => '2022-08-02T16:10:55.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-01-19T11:11:56.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeNodesInstanceType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InstanceTypes\\": [\\n {\\n \\"NodeType\\": \\"ecs.g7.xlarge\\",\\n \\"MultiBufferEnabled\\": true,\\n \\"Key\\": \\"feature.node.kubernetes.io/mb-feature-enable\\",\\n \\"Value\\": \\"true\\"\\n }\\n ],\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","type":"json"}]', + ], + 'DescribeReusableSlb' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '17614', + 'abilityTreeNodes' => ['FEATUREservicemesh8LRZ5X', 'FEATUREservicemeshRMLVVZ'], + ], + 'parameters' => [ + [ + 'name' => 'K8sClusterId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the data plane cluster. You must specify either this parameter or ServiceMeshId, but not both.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'title' => '', 'example' => 'ca2cfe41fefeb489d9b9dba18a7c5****'], + ], + [ + 'name' => 'NetworkType', + 'in' => 'formData', + 'schema' => ['description' => 'The network type. Valid values:'."\n" + ."\n" + .'- `intranet`: virtual private cloud (VPC)'."\n" + ."\n" + .'- `internet`: Internet', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'internet'], + ], + [ + 'name' => 'LbType', + 'in' => 'formData', + 'schema' => ['description' => 'The type of the load balancer. Valid values:'."\n" + ."\n" + .'- `clb`: Classic Load Balancer'."\n" + ."\n" + .'- `nlb`: Network Load Balancer (NLB)'."\n" + ."\n" + .'The default value is `clb`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'clb'], + ], + [ + 'name' => 'ServiceMeshId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the ASM instance. You must specify either this parameter or K8sClusterId, but not both.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The list of reusable CLB instances.', + 'type' => 'object', + 'properties' => [ + 'ReusableSlbList' => [ + 'description' => 'The list of reusable load balancer instances.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LoadBalancerName' => ['description' => 'The name of the load balancer instance.', 'type' => 'string', 'title' => '', 'example' => 'ad6044b015ac54484a20c4724117****'], + 'LoadBalancerId' => ['description' => 'The ID of the load balancer instance.', 'type' => 'string', 'title' => '', 'example' => 'lb-bp17xygzsxth0bwlz****'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'EDDC0D86-2FC3-56FB-9213-96EB0A3523F1'], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeReusableSlb', + 'summary' => 'Retrieves reusable Classic Load Balancer (CLB) instances.', + 'changeSet' => [ + ['createdAt' => '2024-03-22T01:52:09.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-27T09:24:17.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeReusableSlb', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ReusableSlbList\\": [\\n {\\n \\"LoadBalancerName\\": \\"ad6044b015ac54484a20c4724117****\\",\\n \\"LoadBalancerId\\": \\"lb-bp17xygzsxth0bwlz****\\"\\n }\\n ],\\n \\"RequestId\\": \\"EDDC0D86-2FC3-56FB-9213-96EB0A3523F1\\"\\n}","type":"json"}]', + ], + 'DescribeServiceMeshAdditionalStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '42928', + 'abilityTreeNodes' => ['FEATUREservicemesh4LB119'], + ], + 'parameters' => [ + [ + 'name' => 'ServiceMeshId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ca04bc38979214bf2882be79d39b4****'], + ], + [ + 'name' => 'CheckMode', + 'in' => 'formData', + 'schema' => ['description' => 'The check mode of the service mesh. Valid values:'."\n" + ."\n" + .'- `normal`: Checks the status of only the API Server load balancing, Pilot load balancing, audit logs, and Logtail installation on the data plane.'."\n" + ."\n" + .'- full: Checks the items in `normal` mode and the status of control plane logs, access logs, the service mesh security group, and the API Server EIP.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'full'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The result of the status query.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '11fd0027-c27e-41bb-a565-75583054****'], + 'ClusterStatus' => [ + 'description' => 'The status of the cluster.', + 'type' => 'object', + 'properties' => [ + 'ApiServerLoadBalancerStatus' => [ + 'description' => 'The status of API Server load balancing.', + 'type' => 'object', + 'properties' => [ + 'SLBExistStatus' => ['description' => 'The status of the SLB instance. Valid values:'."\n" + ."\n" + .'- `exist`: The SLB instance exists.'."\n" + ."\n" + .'- `not_exist`: The SLB instance does not exist.'."\n" + ."\n" + .'- `conflict`: A conflict is detected.'."\n" + ."\n" + .'- `failed`: The check failed.'."\n" + ."\n" + .'- `time_out`: The check timed out.', 'type' => 'string', 'title' => '', 'example' => 'exist'], + 'SLBBackEndServerNumStatus' => ['description' => 'The status of the number of backend servers of the SLB instance. Valid values:'."\n" + ."\n" + .'- `too_much`: The number of backend servers is greater than expected.'."\n" + ."\n" + .'- `num_exact`: The number of backend servers is as expected.'."\n" + ."\n" + .'- `too_little`: The number of backend servers is less than expected.', 'type' => 'string', 'title' => '', 'example' => 'num_exact'], + 'Reused' => ['description' => 'Indicates whether the SLB instance is reused. Valid values:'."\n" + ."\n" + .'- `true`: The SLB instance is reused.'."\n" + ."\n" + .'- `false`: The SLB instance is not reused.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'Locked' => ['description' => 'Indicates whether the SLB instance is locked. Valid values:'."\n" + ."\n" + .'- `true`: The SLB instance is locked.'."\n" + ."\n" + .'- `false`: The SLB instance is not locked.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'PayType' => ['description' => 'The billing method of the SLB instance. Valid values:'."\n" + ."\n" + .'- `PrePay`: subscription'."\n" + ."\n" + .'- `PayOnDemand`: pay-as-you-go', 'type' => 'string', 'title' => '', 'example' => 'PrePay'], + ], + 'title' => '', + 'example' => '', + ], + 'PilotLoadBalancerStatus' => [ + 'description' => 'The status of Pilot load balancing.', + 'type' => 'object', + 'properties' => [ + 'SLBExistStatus' => ['description' => 'The status of the SLB instance. Valid values:'."\n" + ."\n" + .'- `exist`: The SLB instance exists.'."\n" + ."\n" + .'- `not_exist`: The SLB instance does not exist.'."\n" + ."\n" + .'- `conflict`: A conflict is detected.'."\n" + ."\n" + .'- `failed`: The check failed.'."\n" + ."\n" + .'- `time_out`: The check timed out.', 'type' => 'string', 'title' => '', 'example' => 'exist'], + 'SLBBackEndServerNumStatus' => ['description' => 'The status of the number of backend servers of the SLB instance. Valid values:'."\n" + ."\n" + .'- `too_much`: The number of backend servers is greater than expected.'."\n" + ."\n" + .'- `num_exact`: The number of backend servers is as expected.'."\n" + ."\n" + .'- `too_little`: The number of backend servers is less than expected.', 'type' => 'string', 'title' => '', 'example' => 'num_exact'], + 'Reused' => ['description' => 'Indicates whether the SLB instance is reused. Valid values:'."\n" + ."\n" + .'- `true`: The SLB instance is reused.'."\n" + ."\n" + .'- `false`: The SLB instance is not reused.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'Locked' => ['description' => 'Indicates whether the SLB instance is locked. Valid values:'."\n" + ."\n" + .'- `true`: The SLB instance is locked.'."\n" + ."\n" + .'- `false`: The SLB instance is not locked.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'PayType' => ['description' => 'The billing method of the SLB instance. Valid values:'."\n" + ."\n" + .'- `PrePay`: subscription'."\n" + ."\n" + .'- `PayOnDemand`: pay-as-you-go', 'type' => 'string', 'title' => '', 'example' => 'PayOnDemand'], + ], + 'title' => '', + 'example' => '', + ], + 'CanaryPilotLoadBalancerStatus' => [ + 'description' => 'The status of Pilot load balancing for the canary release version.', + 'type' => 'object', + 'properties' => [ + 'SLBExistStatus' => ['description' => 'Indicates whether the SLB instance exists. Valid values:'."\n" + ."\n" + .'- `exist`: The SLB instance exists.'."\n" + ."\n" + .'- `not_exist`: The SLB instance does not exist.'."\n" + ."\n" + .'- `time_out`: A timeout occurred when obtaining the status.'."\n" + ."\n" + .'- `failed`: The instance is invalid.', 'type' => 'string', 'title' => '', 'example' => 'exist'], + 'SLBBackEndServerNumStatus' => ['description' => 'The status of the number of backend servers of the SLB instance. Valid values:'."\n" + ."\n" + .'- `num_exact`: The number is as expected.'."\n" + ."\n" + .'- `too_much`: The number of backend servers is too large.'."\n" + ."\n" + .'- `too_little`: The number of backend servers is too small.', 'type' => 'string', 'title' => '', 'example' => 'num_exact'], + 'Reused' => ['description' => 'Indicates whether the SLB instance is reused. Valid values:'."\n" + ."\n" + .'- `true`: The SLB instance is reused. A listener that is not for the service mesh is detected on the SLB instance.'."\n" + ."\n" + .'- `false`: The SLB instance is not reused.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'Locked' => ['description' => 'Indicates whether the SLB instance has a financial lock. Valid values:'."\n" + ."\n" + .'- `true`: The SLB instance has a financial lock.'."\n" + ."\n" + .'- `false`: The SLB instance does not have a financial lock.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'PayType' => ['description' => 'The billing method of the SLB instance. Valid values:'."\n" + ."\n" + .'- `PrePay`: subscription'."\n" + ."\n" + .'- `PayOnDemand` (default): pay-as-you-go', 'type' => 'string', 'title' => '', 'example' => 'PayOnDemand'], + ], + 'title' => '', + 'example' => '', + ], + 'AuditProjectStatus' => ['description' => 'The status of the audit log project. Valid values:'."\n" + ."\n" + .'- `exist`: The project exists.'."\n" + ."\n" + .'- `not exist`: The project does not exist.', 'type' => 'string', 'title' => '', 'example' => 'exist'], + 'LogtailStatusRecord' => ['description' => 'The Logtail installation status of each data plane cluster.', 'type' => 'object', 'title' => '', 'example' => '{ "ca35eae22013e43758a0e26d04****":{ "accessLogDashboards":[ { "title":"mesh-access-log_details_cn", "url":"https://sls.console.aliyun.com/lognext/project/****/dashboard/mesh-access-log_details_cn" }, { "title":"mesh-access-log_monitoring_center_cn", "url":"https://sls.console.aliyun.com/lognext/project/****/dashboard/mesh-access-log_monitoring_center_cn" } ], "logtailStatus":"exist", "clusterId":"ca35eae22013e43758a0e26d04****" } }'], + 'ControlPlaneProjectStatus' => ['description' => 'The status of the control plane log project. Valid values:'."\n" + ."\n" + .'- `exist`: The project exists.'."\n" + ."\n" + .'- `not_exist`: The project does not exist.'."\n" + ."\n" + .'- `failed`: The check failed.'."\n" + ."\n" + .'- `time_out`: The check timed out.', 'type' => 'string', 'title' => '', 'example' => 'exist'], + 'SgStatus' => ['description' => 'The reuse status of the service mesh security group. Valid values:'."\n" + ."\n" + .'- `reused`: The security group is reused.'."\n" + ."\n" + .'- `not_reused`: The security group is not reused.'."\n" + ."\n" + .'- `failed`: The check failed.'."\n" + ."\n" + .'- `time_out`: The check timed out.', 'type' => 'string', 'title' => '', 'example' => 'reused'], + 'ApiServerEIPStatus' => ['description' => 'The status of the elastic IP address (EIP) that is attached to the API Server. Valid values:'."\n" + ."\n" + .'- `exist`: The EIP exists.'."\n" + ."\n" + .'- `not_exist`: The EIP does not exist.'."\n" + ."\n" + .'- `failed`: The check failed.'."\n" + ."\n" + .'- `time_out`: The check timed out.'."\n" + ."\n" + .'- `not_in_use`: The EIP is not attached to the API Server.'."\n" + ."\n" + .'- `locked`: The EIP is locked.', 'type' => 'string', 'title' => '', 'example' => 'exist'], + 'PilotEIPStatus' => ['description' => 'The status of the EIP that is attached to Pilot. Valid values:'."\n" + ."\n" + .'- `exist`: The EIP exists.'."\n" + ."\n" + .'- `not_exist`: The EIP does not exist.'."\n" + ."\n" + .'- `failed`: The check failed.'."\n" + ."\n" + .'- `time_out`: The check timed out.'."\n" + ."\n" + .'- `not_in_use`: The EIP is not attached to the API Server.'."\n" + ."\n" + .'- `locked`: The EIP is locked.', 'type' => 'string', 'title' => '', 'example' => 'exist'], + 'AccessLogProjectStatus' => ['description' => 'The status of the access log project. Valid values:'."\n" + ."\n" + .'- `exist`: The project exists.'."\n" + ."\n" + .'- `not_exist`: The project does not exist.'."\n" + ."\n" + .'- `failed`: The check failed.'."\n" + ."\n" + .'- `time_out`: The check timed out.', 'type' => 'string', 'title' => '', 'example' => 'exist'], + 'RAMApplicationStatus' => ['description' => 'The status of the RAM OAuth application that is integrated with the service mesh topology. Valid values:'."\n" + ."\n" + .'- `exist`: The application exists.'."\n" + ."\n" + .'- `reused`: The application is reused.'."\n" + ."\n" + .'- `not_exist`: The application does not exist.'."\n" + ."\n" + .'- `failed`: The check failed.'."\n" + ."\n" + .'- `time_out`: The check timed out.', 'type' => 'string', 'title' => '', 'example' => 'reused'], + 'CanaryPilotEIPStatus' => ['description' => 'The status of the EIP for the canary release version of Pilot.', 'type' => 'string', 'title' => '', 'example' => 'exist'], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeServiceMeshAdditionalStatus', + 'summary' => 'Call DescribeServiceMeshAdditionalStatus to query information about additional checks for an ASM instance.', + 'changeSet' => [ + ['createdAt' => '2024-11-22T07:56:43.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-05-28T12:58:43.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-06-27T02:28:32.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-07-26T06:20:03.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-03-03T07:46:39.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-03-03T07:46:39.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshAdditionalStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"11fd0027-c27e-41bb-a565-75583054****\\",\\n \\"ClusterStatus\\": {\\n \\"ApiServerLoadBalancerStatus\\": {\\n \\"SLBExistStatus\\": \\"exist\\",\\n \\"SLBBackEndServerNumStatus\\": \\"num_exact\\",\\n \\"Reused\\": false,\\n \\"Locked\\": false,\\n \\"PayType\\": \\"PrePay\\"\\n },\\n \\"PilotLoadBalancerStatus\\": {\\n \\"SLBExistStatus\\": \\"exist\\",\\n \\"SLBBackEndServerNumStatus\\": \\"num_exact\\",\\n \\"Reused\\": true,\\n \\"Locked\\": false,\\n \\"PayType\\": \\"PayOnDemand\\"\\n },\\n \\"CanaryPilotLoadBalancerStatus\\": {\\n \\"SLBExistStatus\\": \\"exist\\",\\n \\"SLBBackEndServerNumStatus\\": \\"num_exact\\",\\n \\"Reused\\": false,\\n \\"Locked\\": false,\\n \\"PayType\\": \\"PayOnDemand\\"\\n },\\n \\"AuditProjectStatus\\": \\"exist\\",\\n \\"LogtailStatusRecord\\": {\\n \\"ca35eae22013e43758a0e26d04****\\": {\\n \\"accessLogDashboards\\": [\\n {\\n \\"title\\": \\"mesh-access-log_details_cn\\",\\n \\"url\\": \\"https://sls.console.aliyun.com/lognext/project/****/dashboard/mesh-access-log_details_cn\\"\\n },\\n {\\n \\"title\\": \\"mesh-access-log_monitoring_center_cn\\",\\n \\"url\\": \\"https://sls.console.aliyun.com/lognext/project/****/dashboard/mesh-access-log_monitoring_center_cn\\"\\n }\\n ],\\n \\"logtailStatus\\": \\"exist\\",\\n \\"clusterId\\": \\"ca35eae22013e43758a0e26d04****\\"\\n }\\n },\\n \\"ControlPlaneProjectStatus\\": \\"exist\\",\\n \\"SgStatus\\": \\"reused\\",\\n \\"ApiServerEIPStatus\\": \\"exist\\",\\n \\"PilotEIPStatus\\": \\"exist\\",\\n \\"AccessLogProjectStatus\\": \\"exist\\",\\n \\"RAMApplicationStatus\\": \\"reused\\",\\n \\"CanaryPilotEIPStatus\\": \\"exist\\"\\n }\\n}","type":"json"}]', + ], + 'DescribeServiceMeshClusters' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'ServiceMeshId', + 'in' => 'query', + 'schema' => ['description' => 'The service mesh ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], + ], + [ + 'name' => 'Offset', + 'in' => 'formData', + 'allowEmptyValue' => true, + 'schema' => ['description' => 'The start position of the query.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '20'], + ], + [ + 'name' => 'Limit', + 'in' => 'formData', + 'allowEmptyValue' => true, + 'schema' => ['description' => 'The maximum number of clusters to return.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '30'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****'], + 'Clusters' => [ + 'description' => 'A list of clusters.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SgId' => ['description' => 'The security group ID.', 'type' => 'string', 'title' => '', 'example' => 'sg-bp197668l6iupljy****'], + 'VpcId' => ['description' => 'The virtual private cloud (VPC) ID.', 'type' => 'string', 'title' => '', 'example' => 'vpc-8vbrwmt95b4zf6wf7****'], + 'CreationTime' => ['description' => 'The time when the cluster was created.', 'type' => 'string', 'title' => '', 'example' => '2020-05-12T15:38:16+08:00'], + 'UpdateTime' => ['description' => 'The time when the cluster was last modified.', 'type' => 'string', 'title' => '', 'example' => '2020-05-12T15:38:16+08:00'], + 'ErrorMessage' => ['description' => 'The error message returned if the cluster is in an abnormal state.', 'type' => 'string', 'title' => '', 'example' => 'fail'], + 'State' => ['description' => 'The status of the cluster. Valid values:'."\n" + ."\n" + .'- `running`: The cluster is running.'."\n" + ."\n" + .'- `starting `: The cluster is being started.'."\n" + ."\n" + .'- `stopping `: The cluster is being stopped.'."\n" + ."\n" + .'- `stopped`: The cluster is stopped.'."\n" + ."\n" + .'- `failed`: The cluster is in the failed state.', 'type' => 'string', 'title' => '', 'example' => 'running'], + 'ServiceMeshId' => ['description' => 'The service mesh ID.', 'type' => 'string', 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], + 'RegionId' => ['description' => 'The ID of the region where the cluster resides.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], + 'ClusterDomain' => ['description' => 'The domain name of the cluster.', 'type' => 'string', 'title' => '', 'example' => 'c.com'], + 'Version' => ['description' => 'The version number of the cluster.', 'type' => 'string', 'title' => '', 'example' => 'v1.16.6-aliyun.1'], + 'ClusterType' => ['description' => 'The type of the cluster.', 'type' => 'string', 'title' => '', 'example' => 'Ask'], + 'Name' => ['description' => 'The name of the cluster.', 'type' => 'string', 'title' => '', 'example' => 'ask1'], + 'ClusterId' => ['description' => 'The cluster ID.', 'type' => 'string', 'title' => '', 'example' => 'c80f45444b3da447da60a911390c2****'], + 'ForbiddenFlag' => ['description' => 'The reason why the data plane cluster cannot be added to the ASM instance. Valid values:'."\n" + ."\n" + .'- `0`: The cluster is normal and can be added.'."\n" + ."\n" + .'- `1`: You do not have the administrative permissions on the cluster.'."\n" + ."\n" + .'- `2`: The cluster and the service mesh are in different VPCs, and no Cloud Enterprise Network (CEN) instance is used to connect them.'."\n" + ."\n" + .'- `3`: The CIDR block of the cluster conflicts with that of the service mesh.'."\n" + ."\n" + .'- `4`: The cluster has a namespace named istio-system.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'ForbiddenInfo' => ['description' => 'The detailed reason why the data plane cluster cannot be added to the ASM instance. The value is a JSON string in the following format:'."\n" + ."\n" + .'```'."\n" + .'['."\n" + .' {'."\n" + .' "cluster": "cdd55bd6e054b4c6ca18ec02614******",'."\n" + .' "object": "Pod",'."\n" + .' "cidr": "172.16.0.0/24"'."\n" + .' },'."\n" + .' {'."\n" + .' "cluster": "cfa37fdf7cb1641e1976f8293ac******",'."\n" + .' "object": "Pod",'."\n" + .' "cidr": "172.16.0.0/24"'."\n" + .' }'."\n" + .']'."\n" + .'```'."\n" + ."\n" + .'The preceding example indicates that the pod CIDR block `172.16.0.0/24` of the cluster `cdd55bd6e054b4c6ca18ec02614******` conflicts with the pod CIDR block `172.16.0.0/24` of the cluster `cfa37fdf7cb1641e1976f8293ac******`.'."\n" + ."\n" + .'Valid values of `object`:'."\n" + ."\n" + .'- `Pod`'."\n" + ."\n" + .'- `Service`'."\n" + ."\n" + .'- `VSwitch`'."\n" + ."\n" + .'- `VPC`'."\n" + ."\n" + .'- `VPC CIDR`', 'type' => 'string', 'title' => '', 'example' => '[{"cluster":"cdd55bd6e054b4c6ca18ec02614******", "object":"Pod", "cidr":"172.16.0.0/24"},{"cluster":"cfa37fdf7cb1641e1976f8293ac******", "object":"Pod", "cidr":"172.16.0.0/24"}]'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'NumberOfClusters' => ['description' => 'The total number of container service clusters in the current region.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '5'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeServiceMeshClusters', + 'summary' => 'Queries the available clusters in a service mesh.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-05T04:16:36.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-03-03T07:46:39.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshClusters', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"Clusters\\": [\\n {\\n \\"SgId\\": \\"sg-bp197668l6iupljy****\\",\\n \\"VpcId\\": \\"vpc-8vbrwmt95b4zf6wf7****\\",\\n \\"CreationTime\\": \\"2020-05-12T15:38:16+08:00\\",\\n \\"UpdateTime\\": \\"2020-05-12T15:38:16+08:00\\",\\n \\"ErrorMessage\\": \\"fail\\",\\n \\"State\\": \\"running\\",\\n \\"ServiceMeshId\\": \\"cb8963379255149cb98c8686f274x****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ClusterDomain\\": \\"c.com\\",\\n \\"Version\\": \\"v1.16.6-aliyun.1\\",\\n \\"ClusterType\\": \\"Ask\\",\\n \\"Name\\": \\"ask1\\",\\n \\"ClusterId\\": \\"c80f45444b3da447da60a911390c2****\\",\\n \\"ForbiddenFlag\\": 0,\\n \\"ForbiddenInfo\\": \\"[{\\\\\\"cluster\\\\\\":\\\\\\"cdd55bd6e054b4c6ca18ec02614******\\\\\\", \\\\\\"object\\\\\\":\\\\\\"Pod\\\\\\", \\\\\\"cidr\\\\\\":\\\\\\"172.16.0.0/24\\\\\\"},{\\\\\\"cluster\\\\\\":\\\\\\"cfa37fdf7cb1641e1976f8293ac******\\\\\\", \\\\\\"object\\\\\\":\\\\\\"Pod\\\\\\", \\\\\\"cidr\\\\\\":\\\\\\"172.16.0.0/24\\\\\\"}]\\"\\n }\\n ],\\n \\"NumberOfClusters\\": 5\\n}","type":"json"}]', + ], + 'DescribeServiceMeshDetail' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '17616', + 'abilityTreeNodes' => ['FEATUREservicemesh4LB119'], + ], + 'parameters' => [ + [ + 'name' => 'ServiceMeshId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '11fd0027-c27e-41bb-a565-75583054****'], + 'ServiceMesh' => [ + 'description' => 'The details of the service mesh.', + 'type' => 'object', + 'properties' => [ + 'Endpoints' => [ + 'description' => 'The endpoint details.', + 'type' => 'object', + 'properties' => [ + 'IntranetPilotEndpoint' => ['description' => 'The internal endpoint of Istio Pilot.', 'type' => 'string', 'title' => '', 'example' => '192.168.**.**:15011'], + 'PublicPilotEndpoint' => ['description' => 'The public endpoint of Istio Pilot.', 'type' => 'string', 'title' => '', 'example' => '182.92.**.**:15011'], + 'IntranetApiServerEndpoint' => ['description' => 'The internal endpoint of the API server.', 'type' => 'string', 'title' => '', 'example' => 'https://192.168.**.**:6443'], + 'PublicApiServerEndpoint' => ['description' => 'The public endpoint of the API server.', 'type' => 'string', 'title' => '', 'example' => 'https://123.56.**.**:6443'], + 'IntranetCanaryPilotEndpoint' => ['description' => 'The internal endpoint of the canary version of Istio Pilot.', 'type' => 'string', 'title' => '', 'example' => '192.168.**.**:15011'], + 'PublicCanaryPilotEndpoint' => ['description' => 'The public endpoint of the canary version of Istio Pilot.', 'type' => 'string', 'title' => '', 'example' => '182.92.**.**:15011'], + ], + 'title' => '', + 'example' => '', + ], + 'ServiceMeshInfo' => [ + 'description' => 'The basic information about the service mesh.', + 'type' => 'object', + 'properties' => [ + 'Profile' => ['description' => 'The edition of the mesh. Valid values:'."\n" + ."\n" + .'- `Default`: Standard Edition.'."\n" + ."\n" + .'- `Pro`: ASM Commercial Edition (Professional Edition).', 'type' => 'string', 'title' => '', 'example' => 'Default'], + 'CreationTime' => ['description' => 'The time when the service mesh was created.', 'type' => 'string', 'title' => '', 'example' => '2020-04-21T09:42:20+08:00'], + 'UpdateTime' => ['description' => 'The time when the service mesh was last modified.', 'type' => 'string', 'title' => '', 'example' => '2020-06-03T14:48:54+08:00'], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => ' error'], + 'Version' => ['description' => 'The version number of the service mesh.', 'type' => 'string', 'title' => '', 'example' => 'v1.7.4.0-gfb34ba99-aliyun'], + 'State' => ['description' => 'The status of the service mesh.', 'type' => 'string', 'title' => '', 'example' => 'running'], + 'ServiceMeshId' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], + 'Name' => ['description' => 'The name of the service mesh.', 'type' => 'string', 'title' => '', 'example' => 'mesh1'], + 'RegionId' => ['description' => 'The ID of the region where the service mesh resides.', 'type' => 'string', 'title' => '', 'example' => 'cn-beijing'], + ], + 'title' => '', + 'example' => '', ], 'Spec' => [ - 'description' => 'The specifications of the ASM instance.'."\n", + 'description' => 'The specifications of the service mesh.', 'type' => 'object', 'properties' => [ 'Network' => [ - 'description' => 'The network configurations of the ASM instance.'."\n", + 'description' => 'The network configurations of the service mesh.', 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'description' => 'The ID of the virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'example' => 'vpc-2zew0rajjkmxy2369****', - ], - 'SecurityGroupId' => [ - 'description' => 'The security group ID.'."\n", - 'type' => 'string', - 'example' => 'sg-2ze384sxttxbctnj****', - ], + 'VpcId' => ['description' => 'The virtual private cloud (VPC) ID.', 'type' => 'string', 'title' => '', 'example' => 'vpc-2zew0rajjkmxy2369****'], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'title' => '', 'example' => 'sg-2ze384sxttxbctnj****'], 'VSwitches' => [ - 'description' => 'The virtual switches (vSwitches).'."\n", + 'description' => 'The virtual switches.', 'type' => 'array', - 'items' => [ - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'string', - 'example' => 'vsw-2ze66z3ntvsej0mdo****', - ], + 'items' => ['description' => 'The virtual switch ID.', 'type' => 'string', 'title' => '', 'example' => 'vsw-2ze66z3ntvsej0mdo****'], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], 'LoadBalancer' => [ - 'description' => 'The information about the load balancer.'."\n", + 'description' => 'The load balancing information.', 'type' => 'object', 'properties' => [ - 'PilotPublicLoadbalancerId' => [ - 'description' => 'The ID of the Classic Load Balancer (CLB) instance that is used when Istio Pilot is exposed to the Internet.'."\n", - 'type' => 'string', - 'example' => 'lb-2zesa8qs8kbkj9jkl****', - ], - 'PilotPublicEip' => [ - 'description' => 'Indicates whether Istio Pilot is exposed to the Internet. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'PilotPublicEipId' => [ - 'description' => 'The ID of the endpoint that is used to expose Istio Pilot to the Internet.'."\n", - 'type' => 'string', - 'example' => 'eip-wz9gtwau6b2aklgjk****', - ], - 'CanaryPilotPublicEipId' => [ - 'description' => 'The ID of the endpoint that is used to expose Istio Pilot to the Internet during canary release.'."\n", - 'type' => 'string', - 'example' => 'eip-wz9gtwau6b2aklgjk****', - ], - 'ApiServerLoadbalancerId' => [ - 'description' => 'The ID of the CLB instance that is used when the API server is exposed to the Internet.'."\n", - 'type' => 'string', - 'example' => 'lb-2zekaak10uxds44vx****', - ], - 'ApiServerPublicEip' => [ - 'description' => 'Indicates whether the API server is exposed to the Internet. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ApiServerPublicEipId' => [ - 'description' => 'The ID of the endpoint that is used to expose API server to the Internet.'."\n", - 'type' => 'string', - 'example' => 'eip-wz9gtwau6b2aklgjk****', - ], - 'CanaryPilotLoadBalancerId' => [ - 'description' => 'The ID of the Classic Load Balancer (CLB) instance that is used during the canary release of Istio Pilot.'."\n", - 'type' => 'string', - 'example' => 'lb-2zesa8qs8kbkj9jkl****'."\n", - ], + 'PilotPublicLoadbalancerId' => ['description' => 'The ID of the Server Load Balancer (SLB) instance that is used to expose Istio Pilot to the Internet.', 'type' => 'string', 'title' => '', 'example' => 'lb-2zesa8qs8kbkj9jkl****'], + 'PilotPublicEip' => ['description' => 'Indicates whether Istio Pilot is exposed to the Internet. Valid values:'."\n" + ."\n" + .'- `true`: Istio Pilot is exposed to the Internet.'."\n" + ."\n" + .'- `false`: Istio Pilot is not exposed to the Internet.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'PilotPublicEipId' => ['description' => 'The public IP address ID of Istio Pilot.', 'type' => 'string', 'title' => '', 'example' => 'eip-wz9gtwau6b2aklgjk****'], + 'CanaryPilotPublicEipId' => ['description' => 'The public IP address ID of the canary version of Istio Pilot.', 'type' => 'string', 'title' => '', 'example' => 'eip-wz9gtwau6b2aklgjk****'], + 'ApiServerLoadbalancerId' => ['description' => 'The ID of the SLB instance that is used to expose the API server to the Internet.', 'type' => 'string', 'title' => '', 'example' => 'lb-2zekaak10uxds44vx****'], + 'ApiServerPublicEip' => ['description' => 'Indicates whether the API server is exposed to the Internet. Valid values:'."\n" + ."\n" + .'- `true`: The API server is exposed to the Internet.'."\n" + ."\n" + .'- `false`: The API server is not exposed to the Internet.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'ApiServerPublicEipId' => ['description' => 'The public IP address ID of the API server.', 'type' => 'string', 'title' => '', 'example' => 'eip-wz9gtwau6b2aklgjk****'], + 'CanaryPilotLoadBalancerId' => ['description' => 'The ID of the SLB instance for the canary version of Istio Pilot.', 'type' => 'string', 'title' => '', 'example' => 'lb-2zesa8qs8kbkj9jkl****'."\n"], ], + 'title' => '', + 'example' => '', ], 'MeshConfig' => [ - 'description' => 'The configurations of the ASM instance.'."\n", + 'description' => 'The configurations of the service mesh.', 'type' => 'object', 'properties' => [ 'OPA' => [ - 'description' => 'The information about the Open Policy Agent (OPA) plug-in.'."\n", + 'description' => 'The information about the Open Policy Agent (OPA) plug-in.', 'type' => 'object', 'properties' => [ - 'RequestMemory' => [ - 'description' => 'The size of the memory that is requested by OPA.'."\n", - 'type' => 'string', - 'example' => '1024Mi', - ], - 'LogLevel' => [ - 'description' => 'The level of the logs to be generated for OPA.'."\n", - 'type' => 'string', - 'example' => 'info', - ], - 'Enabled' => [ - 'description' => 'Indicates whether the OPA plug-in is installed. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'LimitMemory' => [ - 'description' => 'The maximum size of the memory that is available to the OPA proxy container.'."\n", - 'type' => 'string', - 'example' => '512Mi', - ], - 'RequestCPU' => [ - 'description' => 'The number of CPU cores that are requested by the OPA proxy container.'."\n", - 'type' => 'string', - 'example' => '2', - ], - 'LimitCPU' => [ - 'description' => 'The maximum number of CPU cores that are available to the OPA proxy container.'."\n", - 'type' => 'string', - 'example' => '1', - ], + 'RequestMemory' => ['description' => 'The memory resource requested by the OPA proxy container.', 'type' => 'string', 'title' => '', 'example' => '1024Mi'], + 'LogLevel' => ['description' => 'The log level of the OPA proxy container.', 'type' => 'string', 'title' => '', 'example' => 'info'], + 'Enabled' => ['description' => 'Indicates whether the OPA plug-in is integrated. Valid values:'."\n" + ."\n" + .'- `true`: The OPA plug-in is integrated.'."\n" + ."\n" + .'- `false`: The OPA plug-in is not integrated.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'LimitMemory' => ['description' => 'The memory resource limit for the OPA proxy container.', 'type' => 'string', 'title' => '', 'example' => '512Mi'], + 'RequestCPU' => ['description' => 'The CPU resource requested by the OPA proxy container.', 'type' => 'string', 'title' => '', 'example' => '2'], + 'LimitCPU' => ['description' => 'The CPU resource limit for the OPA proxy container.', 'type' => 'string', 'title' => '', 'example' => '1'], ], + 'title' => '', + 'example' => '', ], 'Prometheus' => [ - 'description' => 'The configurations of Prometheus monitoring.'."\n", + 'description' => 'The Prometheus configurations.', 'type' => 'object', 'properties' => [ - 'UseExternal' => [ - 'description' => 'Indicates whether a custom Prometheus instance is used. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'ExternalUrl' => [ - 'description' => 'The endpoint of Prometheus monitoring. If you use a custom Prometheus instance, this parameter is populated by the system.'."\n", - 'type' => 'string', - 'example' => 'http://prometheus:9090', - ], + 'UseExternal' => ['description' => 'Indicates whether to use an external Prometheus instance. Valid values:'."\n" + ."\n" + .'- `true`: Use an external Prometheus instance.'."\n" + ."\n" + .'- `false`: Do not use an external Prometheus instance.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'ExternalUrl' => ['description' => 'The endpoint of the Prometheus service. This parameter is automatically populated when you use an external Prometheus instance.', 'type' => 'string', 'title' => '', 'example' => 'http://prometheus:9090'], ], + 'title' => '', + 'example' => '', ], 'AccessLog' => [ - 'description' => 'The configurations of access log collection.'."\n", + 'description' => 'The access log configurations.', 'type' => 'object', 'properties' => [ - 'Enabled' => [ - 'description' => 'Indicates whether access log collection is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Project' => [ - 'description' => 'The name of the Simple Log Service project that stores access logs.'."\n", - 'type' => 'string', - 'example' => 'k8s-log-b7b05d08670e41ca8c8fc0b7718f*****', - ], + 'Enabled' => ['description' => 'Indicates whether to enable access log. Valid values:'."\n" + ."\n" + .'- `true`: Enable access log.'."\n" + ."\n" + .'- `false`: Disable access log.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'Project' => ['description' => 'The name of the access log project.', 'type' => 'string', 'title' => '', 'example' => 'k8s-log-b7b05d08670e41ca8c8fc0b7718f*****'], ], + 'title' => '', + 'example' => '', ], 'Pilot' => [ - 'description' => 'The Pilot configurations.'."\n", + 'description' => 'The Pilot configurations.', 'type' => 'object', 'properties' => [ - 'Http10Enabled' => [ - 'description' => 'Indicates whether HTTP/1.0 is supported. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'TraceSampling' => [ - 'description' => 'The sampling percentage of tracing analysis.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '100', - ], + 'Http10Enabled' => ['description' => 'Indicates whether HTTP 1.0 is supported. Valid values:'."\n" + ."\n" + .'- `true`: HTTP 1.0 is supported.'."\n" + ."\n" + .'- `false`: HTTP 1.0 is not supported.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'TraceSampling' => ['description' => 'The sampling percentage of Tracing Analysis.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '100'], 'Feature' => [ - 'description' => 'The configurations of Pilot features.'."\n", + 'description' => 'The Pilot feature configurations.', 'type' => 'object', 'properties' => [ - 'FilterGatewayClusterConfig' => [ - 'description' => 'Indicates whether gateway configuration filtering is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'EnableSDSServer' => [ - 'description' => 'Indicates whether Secret Discovery Service (SDS) is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], + 'FilterGatewayClusterConfig' => ['description' => 'Indicates whether to filter gateway configurations. Valid values:'."\n" + ."\n" + .'- `true`: Filter gateway configurations.'."\n" + ."\n" + .'- `false`: Do not filter gateway configurations.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'EnableSDSServer' => ['description' => 'Indicates whether to enable the Secret Discovery Service (SDS). Valid values:'."\n" + ."\n" + .'- `true`: Enable SDS.'."\n" + ."\n" + .'- `false`: Disable SDS.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], ], + 'title' => '', + 'example' => '', ], 'ConfigSource' => [ - 'description' => 'The configurations of communication between external services and services in the mesh.'."\n", + 'description' => 'The configurations for accessing external services.', 'type' => 'object', 'properties' => [ - 'Enabled' => [ - 'description' => 'Indicates whether communication is allowed between external services and services in the mesh. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'NacosID' => [ - 'description' => 'The ID of the Nacos instance that provides external service information.'."\n", - 'type' => 'string', - 'example' => 'mse-cn-tl326******', - ], + 'Enabled' => ['description' => 'Indicates whether to access external services. Valid values:'."\n" + ."\n" + .'- `true`: Access external services.'."\n" + ."\n" + .'- `false`: Do not access external services.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'NacosID' => ['description' => 'The ID of the Nacos instance that provides external service information.', 'type' => 'string', 'title' => '', 'example' => 'mse-cn-tl326******'], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], 'MSE' => [ - 'description' => 'The configurations of Microservices Engine (MSE).'."\n", + 'description' => 'The MSE configurations.', 'type' => 'object', 'properties' => [ - 'Enabled' => [ - 'description' => 'Indicates whether MSE is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], + 'Enabled' => ['description' => 'Indicates whether to enable MSE. Valid values:'."\n" + ."\n" + .'- `true`: Enable MSE.'."\n" + ."\n" + .'- `false`: Disable MSE.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], ], + 'title' => '', + 'example' => '', ], - 'CustomizedZipkin' => [ - 'description' => 'Indicates whether a custom Zipkin system is used. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], + 'CustomizedZipkin' => ['description' => 'Indicates whether to enable custom Zipkin. Valid values:'."\n" + ."\n" + .'- `true`: Enable custom Zipkin.'."\n" + ."\n" + .'- `false`: Disable custom Zipkin.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], 'SidecarInjector' => [ - 'description' => 'The configurations of the sidecar injector.'."\n", + 'description' => 'The configurations of the sidecar injector.', 'type' => 'object', 'properties' => [ - 'EnableNamespacesByDefault' => [ - 'description' => 'Indicates whether automatic sidecar proxy injection is enabled for all namespaces. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'RequestMemory' => [ - 'description' => 'The size of the memory that is requested by the pod where the sidecar injector resides.'."\n", - 'type' => 'string', - 'example' => '512Mi', - ], - 'LimitMemory' => [ - 'description' => 'The maximum size of the memory that is available to the pod where the sidecar injector resides.'."\n", - 'type' => 'string', - 'example' => '2048Mi', - ], - 'RequestCPU' => [ - 'description' => 'The number of CPU cores that are requested by the pod where the sidecar injector resides.'."\n", - 'type' => 'string', - 'example' => '1000m', - ], - 'AutoInjectionPolicyEnabled' => [ - 'description' => 'Indicates whether automatic sidecar proxy injection can be enabled by using pod annotations. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'LimitCPU' => [ - 'description' => 'The maximum number of CPU cores that are available to the pod where the sidecar injector resides.'."\n", - 'type' => 'string', - 'example' => '4000m', - ], + 'EnableNamespacesByDefault' => ['description' => 'Indicates whether to enable automatic sidecar injection for all namespaces. Valid values:'."\n" + ."\n" + .'- `true`: Enable automatic sidecar injection for all namespaces.'."\n" + ."\n" + .'- `false`: Disable automatic sidecar injection for all namespaces.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'RequestMemory' => ['description' => 'The memory resource requested by the sidecar injector pod.', 'type' => 'string', 'title' => '', 'example' => '512Mi'], + 'LimitMemory' => ['description' => 'The memory resource limit for the sidecar injector pod.', 'type' => 'string', 'title' => '', 'example' => '2048Mi'], + 'RequestCPU' => ['description' => 'The CPU resource requested by the sidecar injector pod.', 'type' => 'string', 'title' => '', 'example' => '1000m'], + 'AutoInjectionPolicyEnabled' => ['description' => 'Indicates whether to enable automatic sidecar injection using pod annotations. Valid values:'."\n" + ."\n" + .'- `true`: Enable automatic sidecar injection using pod annotations.'."\n" + ."\n" + .'- `false`: Disable automatic sidecar injection using pod annotations.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'LimitCPU' => ['description' => 'The CPU resource limit for the sidecar injector pod.', 'type' => 'string', 'title' => '', 'example' => '4000m'], 'InitCNIConfiguration' => [ - 'description' => 'The configurations of Container Network Interface (CNI).'."\n", + 'description' => 'The CNI configurations.', 'type' => 'object', 'properties' => [ - 'ExcludeNamespaces' => [ - 'description' => 'The namespaces to exclude. The CNI plug-in ignores pods in the excluded namespaces.'."\n", - 'type' => 'string', - 'example' => 'kube-system,istio-system', - ], - 'Enabled' => [ - 'description' => 'Indicates whether the CNI plug-in is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], + 'ExcludeNamespaces' => ['description' => 'The excluded namespaces.', 'type' => 'string', 'title' => '', 'example' => 'kube-system,istio-system'], + 'Enabled' => ['description' => 'Indicates whether to enable CNI. Valid values:'."\n" + ."\n" + .'- `true`: Enable CNI.'."\n" + ."\n" + .'- `false`: Disable CNI.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], ], + 'title' => '', + 'example' => '', ], - 'SidecarInjectorWebhookAsYaml' => [ - 'description' => 'Other configurations of automatic sidecar proxy injection, in the YAML format. For more information, see [Enable automatic sidecar proxy injection](~~186136~~).'."\n", - 'type' => 'string', - 'example' => '{"injectedAnnotations":{"test/istio-init":"runtime/default2","test/istio-proxy":"runtime/default"},"replicaCount":2,"nodeSelector":{"beta.kubernetes.io/os":"linux"}}', - ], - 'SidecarInjectorNum' => [ - 'description' => 'The number of component replicas that are used for sidecar proxy injection. Default value: `1`.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'SidecarInjectorWebhookAsYaml' => ['description' => 'Other configurations for automatic sidecar injection, in YAML format. For more information, see [Enable automatic sidecar injection using flexible methods](~~186136~~).', 'type' => 'string', 'title' => '', 'example' => '{"injectedAnnotations":{"test/istio-init":"runtime/default2","test/istio-proxy":"runtime/default"},"replicaCount":2,"nodeSelector":{"beta.kubernetes.io/os":"linux"}}'], + 'SidecarInjectorNum' => ['description' => 'The number of replicas of the component that is responsible for sidecar injection. Default value: `1`.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], ], + 'title' => '', + 'example' => '', ], - 'IncludeIPRanges' => [ - 'description' => 'The IP ranges in CIDR form to redirect to the sidecar proxies in the ASM instance.'."\n", - 'type' => 'string', - 'example' => '192.168.0.0/16', - ], - 'ExcludeIPRanges' => [ - 'description' => 'The IP ranges in CIDR form to be excluded from redirection to sidecar proxies in the ASM instance.'."\n", - 'type' => 'string', - 'example' => '172.16.0.0', - ], - 'ExcludeOutboundPorts' => [ - 'description' => 'The outbound ports to be excluded from redirection to sidecar proxies in the ASM instance.'."\n", - 'type' => 'string', - 'example' => '80,81', - ], - 'ExcludeInboundPorts' => [ - 'description' => 'The inbound ports to be excluded from redirection to sidecar proxies in the ASM instance.'."\n", - 'type' => 'string', - 'example' => '80,81', - ], - 'Telemetry' => [ - 'description' => 'Indicates whether Prometheus monitoring is enabled. We recommend that you use [Managed Service for Prometheus](https://arms.console.aliyun.com/). Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'IncludeIPRanges' => ['description' => 'The IP address ranges that are included.', 'type' => 'string', 'title' => '', 'example' => '192.168.0.0/16'], + 'ExcludeIPRanges' => ['description' => 'The IP address ranges that are not intercepted.', 'type' => 'string', 'title' => '', 'example' => '172.16.0.0'], + 'ExcludeOutboundPorts' => ['description' => 'The outbound ports that are not intercepted.', 'type' => 'string', 'title' => '', 'example' => '80,81'], + 'ExcludeInboundPorts' => ['description' => 'The inbound ports that are not intercepted.', 'type' => 'string', 'title' => '', 'example' => '80,81'], + 'Telemetry' => ['description' => 'Indicates whether to collect Prometheus monitoring metrics. We recommend that you use [Managed Service for Prometheus](https://arms.console.aliyun.com/). Valid values:'."\n" + ."\n" + .'- `true`: Collect Prometheus monitoring metrics.'."\n" + ."\n" + .'- `false`: Do not collect Prometheus monitoring metrics.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], 'Edition' => [ - 'description' => 'The information about the edition.'."\n", + 'description' => 'The version information.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the edition.'."\n", - 'type' => 'string', - 'example' => 'Pro', - ], - 'IstiodImageTag' => [ - 'description' => 'The version of the Istiod image.'."\n", - 'type' => 'string', - 'example' => 'v1.9.7.1-3-gb3f1ab3c9c-pro-aliyun', - ], - 'ProxyImageTag' => [ - 'description' => 'The version of the Istio Proxy image.'."\n", - 'type' => 'string', - 'example' => 'v1.9.7.1-3-gb3f1ab3c9c-pro-aliyun', - ], + 'Name' => ['description' => 'The version name.', 'type' => 'string', 'title' => '', 'example' => 'Pro'], + 'IstiodImageTag' => ['description' => 'The image version of Istiod.', 'type' => 'string', 'title' => '', 'example' => 'v1.9.7.1-3-gb3f1ab3c9c-pro-aliyun'], + 'ProxyImageTag' => ['description' => 'The image version of Istio Proxy.', 'type' => 'string', 'title' => '', 'example' => 'v1.9.7.1-3-gb3f1ab3c9c-pro-aliyun'], ], + 'title' => '', + 'example' => '', ], 'ProtocolSupport' => [ - 'description' => 'The configurations of protocol support.'."\n", + 'description' => 'The protocol support configurations.', 'type' => 'object', 'properties' => [ - 'MysqlFilterEnabled' => [ - 'description' => 'Indicates whether MySQL Filter is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'RedisFilterEnabled' => [ - 'description' => 'Indicates whether Redis Filter is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'ThriftFilterEnabled' => [ - 'description' => 'Indicates whether Thrift Filter is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'DubboFilterEnabled' => [ - 'description' => 'Indicates whether Dubbo Filter is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], + 'MysqlFilterEnabled' => ['description' => 'Indicates whether to enable MysqlFilter. Valid values:'."\n" + ."\n" + .'- `true`: Enable MysqlFilter.'."\n" + ."\n" + .'- `false`: Disable MysqlFilter.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'RedisFilterEnabled' => ['description' => 'Indicates whether to enable RedisFilter. Valid values:'."\n" + ."\n" + .'- `true`: Enable RedisFilter.'."\n" + ."\n" + .'- `false`: Disable RedisFilter.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'ThriftFilterEnabled' => ['description' => 'Indicates whether to enable ThriftFilter. Valid values:'."\n" + ."\n" + .'- `true`: Enable ThriftFilter.'."\n" + ."\n" + .'- `false`: Disable ThriftFilter.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'DubboFilterEnabled' => ['description' => 'Indicates whether to enable DubboFilter. Valid values:'."\n" + ."\n" + .'- `true`: Enable DubboFilter.'."\n" + ."\n" + .'- `false`: Disable DubboFilter.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], ], + 'title' => '', + 'example' => '', ], - 'OutboundTrafficPolicy' => [ - 'description' => 'The outbound traffic policy. Valid values:'."\n" - ."\n" - .'* `ALLOW_ANY`: Outbound traffic to all external services is allowed.'."\n" - .'* `REGISTRY_ONLY`: Outbound traffic is allowed to only external services that are defined in the service registry of the ASM instance.'."\n", - 'type' => 'string', - 'example' => 'ALLOW_ANY', - ], + 'OutboundTrafficPolicy' => ['description' => 'The outbound traffic policy. Valid values:'."\n" + ."\n" + .'- `ALLOW_ANY`: Allow access to all external services.'."\n" + ."\n" + .'- `REGISTRY_ONLY`: Only allow access to services that are registered in the mesh.', 'type' => 'string', 'title' => '', 'example' => 'ALLOW_ANY'], 'Kiali' => [ - 'description' => 'The configurations of mesh topology.'."\n", + 'description' => 'The mesh topology configurations.', 'type' => 'object', 'properties' => [ - 'Enabled' => [ - 'description' => 'Indicates whether mesh topology is enabled. Mesh topology can be enabled only when Prometheus monitoring is enabled. If Prometheus monitoring is disabled, you must set this parameter to `false`.`` Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'Url' => [ - 'description' => 'The endpoint of the mesh topology service.'."\n", - 'type' => 'string', - 'example' => 'http://1.2.**.**:20001', - ], + 'Enabled' => ['description' => 'Indicates whether to enable the mesh topology. You must first enable the collection of Prometheus monitoring metrics. If this parameter is set to `false`, the value of this parameter is automatically set to `false`. Valid values:'."\n" + ."\n" + .'- `true`: Enable the mesh topology.'."\n" + ."\n" + .'- `false`: Disable the mesh topology.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'Url' => ['description' => 'The endpoint of the mesh topology service.', 'type' => 'string', 'title' => '', 'example' => 'http://1.2.**.**:20001'], ], + 'title' => '', + 'example' => '', ], - 'Tracing' => [ - 'description' => 'Indicates whether tracing analysis is enabled. This feature can be enabled only after [Managed Service for OpenTelemetry](https://tracing-analysis.console.aliyun.com/) is activated. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Tracing' => ['description' => 'Indicates whether to enable Tracing Analysis. You must activate [Managed Service for OpenTelemetry](https://tracing-analysis.console.aliyun.com/). Valid values:'."\n" + ."\n" + .'- `true`: Enable Tracing Analysis.'."\n" + ."\n" + .'- `false`: Disable Tracing Analysis.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], 'WebAssemblyFilterDeployment' => [ - 'description' => 'The configurations of WebAssembly Filter.'."\n", + 'description' => 'The WebAssemblyFilter configuration.', 'type' => 'object', 'properties' => [ - 'Enabled' => [ - 'description' => 'Indicates whether WebAssembly Filter is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], + 'Enabled' => ['description' => 'Indicates whether WebAssemblyFilter is enabled. Valid values:'."\n" + ."\n" + .'- `true`: WebAssemblyFilter is enabled.'."\n" + ."\n" + .'- `false`: WebAssemblyFilter is not enabled.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], ], + 'title' => '', + 'example' => '', ], - 'EnableLocalityLB' => [ - 'description' => 'Indicates whether the feature that routes traffic to the nearest instance is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'EnableLocalityLB' => ['description' => 'Specifies whether to enable locality-based load balancing. Valid values:'."\n" + ."\n" + .'- `true`: Locality-based load balancing is enabled.'."\n" + ."\n" + .'- `false`: Locality-based load balancing is disabled.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], 'Audit' => [ - 'description' => 'The information about mesh audit.'."\n", + 'description' => 'The audit information for the Service Mesh.', 'type' => 'object', 'properties' => [ - 'Enabled' => [ - 'description' => 'Indicates whether mesh audit is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Project' => [ - 'description' => 'The name of the Simple Log Service project that is used for mesh audit.'."\n", - 'type' => 'string', - 'example' => 'audit-project', - ], - 'AuditProjectStatus' => [ - 'description' => 'Indicates whether an audit project exists in the ASM instance. Valid values:'."\n" - ."\n" - .'* `audit_project_exist`: An audit project exists.'."\n" - .'* `audit_project_not_exist`: No audit project exists.'."\n", - 'type' => 'string', - 'example' => 'audit_project_not_exist', - ], + 'Enabled' => ['description' => 'Indicates whether mesh audit is enabled. Valid values:'."\n" + ."\n" + .'- `true`: Mesh audit is enabled.'."\n" + ."\n" + .'- `false`: Mesh audit is disabled.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'Project' => ['description' => 'The log project for the mesh audit.', 'type' => 'string', 'title' => '', 'example' => 'audit-project'], + 'AuditProjectStatus' => ['description' => 'The status of the Service Mesh audit project. Valid values:'."\n" + ."\n" + .'- `audit_project_exist`: The audit project exists.'."\n" + ."\n" + .'- `audit_project_not_exist`: The audit project does not exist.', 'type' => 'string', 'title' => '', 'example' => 'audit_project_not_exist'], ], + 'title' => '', + 'example' => '', ], 'Proxy' => [ - 'description' => 'The proxy configurations.'."\n", + 'description' => 'The proxy configuration.', 'type' => 'object', 'properties' => [ - 'RequestMemory' => [ - 'description' => 'The size of the memory that is requested.'."\n", - 'type' => 'string', - 'example' => '128Mi', - ], - 'ClusterDomain' => [ - 'description' => 'The trusted domain.'."\n", - 'type' => 'string', - 'example' => 'cluster.domain', - ], - 'LimitMemory' => [ - 'description' => 'The maximum size of the memory.'."\n", - 'type' => 'string', - 'example' => '1024Mi', - ], - 'RequestCPU' => [ - 'description' => 'The number of CPU cores that are requested.'."\n", - 'type' => 'string', - 'example' => '100m', - ], - 'EnableDNSProxying' => [ - 'description' => 'Indicates whether the Domain Name System (DNS) proxy feature is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'LimitCPU' => [ - 'description' => 'The maximum number of CPU cores.'."\n", - 'type' => 'string', - 'example' => '2000m', - ], - 'AccessLogServiceEnabled' => [ - 'description' => 'Indicates whether gRPC Access Log Service (ALS) for Envoy is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'AccessLogServiceHost' => [ - 'description' => 'The endpoint of gRPC ALS for Envoy.'."\n", - 'type' => 'string', - 'example' => '0.0.0.0', - ], - 'AccessLogServicePort' => [ - 'description' => 'The port of gRPC ALS for Envoy.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9999', - ], - 'AccessLogFormat' => [ - 'description' => 'The format of the access logs of sidecar proxies.'."\n", - 'type' => 'string', - 'example' => '{"authority_for":"%REQ(:AUTHORITY)%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","duration":"%DURATION%","istio_policy_status":"%DYNAMIC_METADATA(istio.mixer:status)%","method":"%REQ(:METHOD)%","path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","request_id":"%REQ(X-REQUEST-ID)%","requested_server_name":"%REQUESTED_SERVER_NAME%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","route_name":"%ROUTE_NAME%","start_time":"%START_TIME%","trace_id":"%REQ(X-B3-TRACEID)%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_host":"%UPSTREAM_HOST%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","upstream_service_time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","user_agent":"%REQ(USER-AGENT)%","x_forwarded_for":"%REQ(X-FORWARDED-FOR)%"}', - ], - 'AccessLogFile' => [ - 'description' => 'The path to the file that stores the access logs of sidecar proxies.'."\n", - 'type' => 'string', - 'example' => '/dev/stdout', - ], + 'RequestMemory' => ['description' => 'The requested memory resource.', 'type' => 'string', 'title' => '', 'example' => '128Mi'], + 'ClusterDomain' => ['description' => 'The trust domain.', 'type' => 'string', 'title' => '', 'example' => 'cluster.domain'], + 'LimitMemory' => ['description' => 'The memory limit.', 'type' => 'string', 'title' => '', 'example' => '1024Mi'], + 'RequestCPU' => ['description' => 'The requested CPU resource.', 'type' => 'string', 'title' => '', 'example' => '100m'], + 'EnableDNSProxying' => ['description' => 'Specifies whether DNS Proxying is enabled. Valid values:'."\n" + ."\n" + .'- `true`: DNS Proxying is enabled.'."\n" + ."\n" + .'- `false`: DNS Proxying is disabled.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'LimitCPU' => ['description' => 'The CPU resource limit.', 'type' => 'string', 'title' => '', 'example' => '2000m'], + 'AccessLogServiceEnabled' => ['description' => 'Specifies whether to enable the gRPC Access Log Service (ALS) for Envoy. Valid values:'."\n" + ."\n" + .'- `true`: Enables the service.'."\n" + ."\n" + .'- `false`: Disables the service.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'AccessLogServiceHost' => ['description' => 'The address of the gRPC Access Log Service (ALS) for Envoy.', 'type' => 'string', 'title' => '', 'example' => '0.0.0.0'], + 'AccessLogServicePort' => ['description' => 'The port for the Envoy gRPC Access Log Service (ALS).', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '9999'], + 'AccessLogFormat' => ['description' => 'The format of the sidecar access log.', 'type' => 'string', 'title' => '', 'example' => '{"authority_for":"%REQ(:AUTHORITY)%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","duration":"%DURATION%","istio_policy_status":"%DYNAMIC_METADATA(istio.mixer:status)%","method":"%REQ(:METHOD)%","path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","request_id":"%REQ(X-REQUEST-ID)%","requested_server_name":"%REQUESTED_SERVER_NAME%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","route_name":"%ROUTE_NAME%","start_time":"%START_TIME%","trace_id":"%REQ(X-B3-TRACEID)%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_host":"%UPSTREAM_HOST%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","upstream_service_time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","user_agent":"%REQ(USER-AGENT)%","x_forwarded_for":"%REQ(X-FORWARDED-FOR)%"}'], + 'AccessLogFile' => ['description' => 'The path to the sidecar access log file.', 'type' => 'string', 'title' => '', 'example' => '/dev/stdout'], ], + 'title' => '', + 'example' => '', ], 'K8sNewAPIsSupport' => [ - 'description' => 'The information about the Kubernetes API.'."\n", + 'description' => 'Kubernetes API support.', 'type' => 'object', 'properties' => [ - 'GatewayAPIEnabled' => [ - 'description' => 'Indicates whether Gateway API is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], + 'GatewayAPIEnabled' => ['description' => 'Specifies whether to enable Gateway API. Valid values:'."\n" + ."\n" + .'- `true`: Gateway API is enabled.'."\n" + ."\n" + .'- `false`: Gateway API is disabled.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], ], + 'title' => '', + 'example' => '', ], 'LocalityLB' => [ - 'description' => 'The configurations of cross-region load balancing.'."\n", + 'description' => 'The configuration for cross-region load balancing.', 'type' => 'object', 'properties' => [ - 'Enabled' => [ - 'description' => 'Indicates whether cross-region load balancing is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'Failover' => [ - 'description' => 'The configurations of cross-region failover.'."\n" - ."\n" - .'> Either Failover or `Distribute` can be set. If you set `Failover`, you cannot set `Distribute`.'."\n", - 'type' => 'object', - 'example' => '{"failover":[{"from":"cn-hangzhou","to":"cn-shanghai"}]}', - ], - 'Distribute' => [ - 'description' => 'The configurations of cross-region traffic distribution.'."\n" - ."\n" - .'> Either `Failover` or Distribute can be set. If you set `Distribute`, you cannot set Failover.'."\n", - 'type' => 'object', - 'example' => '[{"from":"cn-shanghai","to":{"cn-hangzhou/*":50,"cn-shanghai/*":25,"cn-zhangjiakou/*":25}},{"from":"cn-hangzhou","to":{"cn-hangzhou/*":50,"cn-shanghai/*":25,"cn-zhangjiakou/*":25}}]', - ], - 'FailoverPriority' => [ - 'type' => 'object', - ], + 'Enabled' => ['description' => 'Specifies whether to enable cross-region load balancing.'."\n" + ."\n" + .'- `true`: Enables cross-region load balancing.'."\n" + ."\n" + .'- `false`: Disables cross-region load balancing.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'Failover' => ['description' => 'The cross-region failover configuration.'."\n" + ."\n" + .'> This parameter is mutually exclusive with `Distribute`. For example, if you configure `Failover`, you cannot configure `Distribute`.', 'type' => 'object', 'title' => '', 'example' => '{"failover":[{"from":"cn-hangzhou","to":"cn-shanghai"}]}'], + 'Distribute' => ['description' => 'The configuration for distributing traffic across regions.'."\n" + ."\n" + .'> You can configure either `Distribute` or `Failover`, but not both.', 'type' => 'object', 'title' => '', 'example' => '[{"from":"cn-shanghai","to":{"cn-hangzhou/*":50,"cn-shanghai/*":25,"cn-zhangjiakou/*":25}},{"from":"cn-hangzhou","to":{"cn-hangzhou/*":50,"cn-shanghai/*":25,"cn-zhangjiakou/*":25}}]'], + 'FailoverPriority' => ['type' => 'object', 'description' => 'The list of failover priorities for locality load balancing.', 'title' => '', 'example' => '["topology.istio.io/network","topology.kubernetes.io/region","topology.kubernetes.io/zone","topology.istio.io/subzone"]'], ], + 'title' => '', + 'example' => '', ], 'ControlPlaneLogInfo' => [ - 'description' => 'The configurations of control-plane log collection.'."\n", + 'description' => 'The collection configuration for control plane logs.', 'type' => 'object', 'properties' => [ - 'Enabled' => [ - 'description' => 'Indicates whether the collection of control plane logs is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'Project' => [ - 'description' => 'The name of the Simple Log Service project that stores control plane logs.'."\n", - 'type' => 'string', - 'example' => 'mesh-log-cbeb85a09161b4a26ab73e0ac****', - ], - 'LogTTL' => [ - 'description' => 'The time to live (TTL) of the collected control-plane logs. Unit: day.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], + 'Enabled' => ['description' => 'Indicates whether log collection for the control plane is enabled. Valid values:'."\n" + ."\n" + .'- `true`: Enabled.'."\n" + ."\n" + .'- `false`: Disabled.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'Project' => ['description' => 'The name of the SLS Project for control plane log collection.', 'type' => 'string', 'title' => '', 'example' => 'mesh-log-cbeb85a09161b4a26ab73e0ac****'], + 'LogTTL' => ['description' => 'The retention period for control plane logs, in days.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '30'], ], + 'title' => '', + 'example' => '', ], 'ExtraConfiguration' => [ - 'description' => 'The configurations of additional features for the ASM instance.'."\n", + 'description' => 'The feature enhancement configuration for the Service Mesh.', 'type' => 'object', 'properties' => [ 'IstioCRHistory' => [ - 'description' => 'The configurations of the rollback feature for Istio resources.'."\n", + 'description' => 'The settings for the Istio resource version history feature.', 'type' => 'object', 'properties' => [ - 'EnableHistory' => [ - 'description' => 'Indicates whether the rollback feature for Istio resources is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], + 'EnableHistory' => ['description' => 'Specifies whether to enable the version history feature for Istio resources in ASM. Valid values:'."\n" + ."\n" + .'- `true`: The feature is enabled.'."\n" + ."\n" + .'- `false`: The feature is not enabled.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], ], + 'title' => '', + 'example' => '', ], - 'CRAggregationEnabled' => [ - 'description' => 'Indicates whether the Kubernetes API of clusters on the data plane can be used to access Istio resources. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], + 'CRAggregationEnabled' => ['description' => 'Indicates whether to enable access to Istio resources from the Kubernetes API of a data plane cluster. Valid values:'."\n" + ."\n" + .'- `true`: Enables this access.'."\n" + ."\n" + .'- `false`: Disables this access.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], 'MultiBuffer' => [ - 'description' => 'The information about Transport Layer Security (TLS) acceleration based on MultiBuffer.', + 'description' => 'MultiBuffer-based TLS performance optimization.', 'type' => 'object', 'properties' => [ - 'Enabled' => [ - 'description' => 'Indicates whether MultiBuffer-based TLS acceleration is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`', - 'type' => 'boolean', - 'example' => 'false', - ], - 'PollDelay' => [ - 'description' => 'The pull-request latency.'."\n", - 'type' => 'string', - 'example' => '0.02s', - ], + 'Enabled' => ['description' => 'Specifies whether to enable MultiBuffer-based TLS performance optimization. Valid values:'."\n" + ."\n" + .'- `true`: Enables MultiBuffer-based TLS performance optimization.'."\n" + ."\n" + .'- `false`: Does not enable MultiBuffer-based TLS performance optimization.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'PollDelay' => ['description' => 'The pull latency.', 'type' => 'string', 'title' => '', 'example' => '0.02s'], ], + 'title' => '', + 'example' => '', ], - 'TerminationDrainDuration' => [ - 'description' => 'The maximum period of time that Istio Proxy waits for a request to end.'."\n", - 'type' => 'string', - 'example' => '5s', - ], + 'TerminationDrainDuration' => ['description' => 'The wait time before the Istio proxy is terminated.', 'type' => 'string', 'title' => '', 'example' => '5s'], 'Lifecycle' => [ - 'description' => 'The lifecycle of Istio Proxy.'."\n", + 'description' => 'The lifecycle of the Istio proxy.', 'type' => 'object', 'properties' => [ 'postStart' => [ - 'description' => 'The post-start parameters.'."\n", + 'description' => 'The script to execute after the Istio Proxy starts.', 'type' => 'object', 'properties' => [ 'exec' => [ - 'description' => 'The post-start script.'."\n", + 'description' => 'The command to execute.', 'type' => 'object', 'properties' => [ 'command' => [ - 'description' => 'The executed commands. The value is a string that consists of JSON arrays.'."\n", + 'description' => 'An array of strings that specifies the command to execute.', 'type' => 'array', - 'items' => [ - 'description' => 'The executed command.'."\n", - 'type' => 'string', - 'example' => 'sleep 3s', - ], + 'items' => ['description' => 'The content of the command.', 'type' => 'string', 'title' => '', 'example' => 'sleep 3s'], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], 'httpGet' => [ - 'description' => 'The HTTP GET request that is sent before the instance stops.'."\n", + 'description' => 'Executes an HTTP GET request.', 'type' => 'object', 'properties' => [ - 'port' => [ - 'description' => 'The port number of the request.'."\n", - 'type' => 'string', - 'example' => '80', - ], - 'host' => [ - 'description' => 'The URL of the request.'."\n", - 'type' => 'string', - 'example' => '127.xx.xx.1', - ], - 'scheme' => [ - 'description' => 'The request method. Valid values: `http` and `https`.'."\n", - 'type' => 'string', - 'example' => 'http', - ], + 'port' => ['description' => 'The port.', 'type' => 'string', 'title' => '', 'example' => '80'], + 'host' => ['description' => 'The endpoint to call.', 'type' => 'string', 'title' => '', 'example' => '127.xx.xx.1'], + 'scheme' => ['description' => 'The request scheme. Valid values are `http` and `https`.', 'type' => 'string', 'title' => '', 'example' => 'http'], 'httpHeaders' => [ - 'description' => 'The HTTP request headers.'."\n", + 'description' => 'The headers to send with the network request.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'A key-value pair for the header.', 'type' => 'object', 'properties' => [ - 'name' => [ - 'description' => 'The name of the HTTP request header.'."\n", - 'type' => 'string', - 'example' => 'key', - ], - 'value' => [ - 'description' => 'The value of the HTTP request header.'."\n", - 'type' => 'string', - 'example' => 'value', - ], + 'name' => ['description' => 'The key in the header.', 'type' => 'string', 'title' => '', 'example' => 'key'], + 'value' => ['description' => 'The value of the header key.', 'type' => 'string', 'title' => '', 'example' => 'value'], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], 'tcpSocket' => [ - 'description' => 'The TCP socket request that is sent.'."\n", + 'description' => 'Sends a request using a TCP socket.', 'type' => 'object', 'properties' => [ - 'port' => [ - 'description' => 'The port number of the TCP socket request.'."\n", - 'type' => 'string', - 'example' => '888', - ], - 'host' => [ - 'description' => 'The URL of the TCP socket request.'."\n", - 'type' => 'string', - 'example' => '127.xx.xx.1', - ], + 'port' => ['description' => 'The TCP socket port.', 'type' => 'string', 'title' => '', 'example' => '888'], + 'host' => ['description' => 'The remote TCP socket address.', 'type' => 'string', 'title' => '', 'example' => '127.xx.xx.1'], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], 'preStop' => [ - 'description' => 'The pre-close parameters.'."\n", + 'description' => 'The script to execute before the Istio Proxy stops.', 'type' => 'object', 'properties' => [ 'exec' => [ - 'description' => 'The pre-close script.'."\n", + 'description' => 'The command to execute.', 'type' => 'object', 'properties' => [ 'command' => [ - 'description' => 'The executed commands. The value is a string that consists of JSON arrays.'."\n", + 'description' => 'The command to execute. The command is an array of strings.', 'type' => 'array', - 'items' => [ - 'description' => 'The executed command.'."\n", - 'type' => 'string', - 'example' => 'sleep 3s', - ], + 'items' => ['description' => 'The content of the command.', 'type' => 'string', 'title' => '', 'example' => 'sleep 3s'], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], 'httpGet' => [ - 'description' => 'The HTTP GET request that is sent before the instance stops.'."\n", + 'description' => 'Executes an HTTP GET request.', 'type' => 'object', 'properties' => [ - 'port' => [ - 'description' => 'The port number of the request.'."\n", - 'type' => 'string', - 'example' => '80', - ], - 'host' => [ - 'description' => 'The URL of the request.'."\n", - 'type' => 'string', - 'example' => '127.xx.xx.1', - ], - 'scheme' => [ - 'description' => 'The request method. Valid values: `http` and `https`.'."\n", - 'type' => 'string', - 'example' => 'http', - ], + 'port' => ['description' => 'The port.', 'type' => 'string', 'title' => '', 'example' => '80'], + 'host' => ['description' => 'The endpoint to call.', 'type' => 'string', 'title' => '', 'example' => '127.xx.xx.1'], + 'scheme' => ['description' => 'The scheme for the call. Valid values are `http` and `https`.', 'type' => 'string', 'title' => '', 'example' => 'http'], 'httpHeaders' => [ - 'description' => 'The HTTP request headers.'."\n", + 'description' => 'The headers to send with the network request.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The key-value pair for the HTTP header.', 'type' => 'object', 'properties' => [ - 'name' => [ - 'description' => 'The name of the HTTP request header.'."\n", - 'type' => 'string', - 'example' => 'key', - ], - 'value' => [ - 'description' => 'The value of the HTTP request header.'."\n", - 'type' => 'string', - 'example' => 'value', - ], + 'name' => ['description' => 'The key in the header.', 'type' => 'string', 'title' => '', 'example' => 'key'], + 'value' => ['description' => 'The value of the header.', 'type' => 'string', 'title' => '', 'example' => 'value'], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], 'tcpSocket' => [ - 'description' => 'The TCP socket request that is sent.'."\n", + 'description' => 'Sends a request using a TCP socket.', 'type' => 'object', 'properties' => [ - 'port' => [ - 'description' => 'The port number of the request.'."\n", - 'type' => 'string', - 'example' => '888', - ], - 'host' => [ - 'description' => 'The URL of the request.'."\n", - 'type' => 'string', - 'example' => '127.xx.xx.1', - ], + 'port' => ['description' => 'The port.', 'type' => 'string', 'title' => '', 'example' => '888'], + 'host' => ['description' => 'The address.', 'type' => 'string', 'title' => '', 'example' => '127.xx.xx.1'], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], 'SidecarProxyInitResourceLimit' => [ - 'description' => 'The resource limits on the istio-init container.'."\n", + 'description' => 'The resource limit for the istio-init init container.', 'type' => 'object', 'properties' => [ - 'ResourceCPULimit' => [ - 'description' => 'The maximum number of CPU cores that are available to the istio-init container.'."\n", - 'type' => 'string', - 'example' => '2000m', - ], - 'ResourceMemoryLimit' => [ - 'description' => 'The maximum size of the memory that is available to the istio-init container.'."\n", - 'type' => 'string', - 'example' => '1024Mi', - ], + 'ResourceCPULimit' => ['description' => 'The CPU resource limit for the istio-init container.', 'type' => 'string', 'title' => '', 'example' => '2000m'], + 'ResourceMemoryLimit' => ['description' => 'The memory resource limit for the istio-init container.', 'type' => 'string', 'title' => '', 'example' => '1024Mi'], ], + 'title' => '', + 'example' => '', ], 'SidecarProxyInitResourceRequest' => [ - 'description' => 'The resources that are required by the istio-init container.'."\n", + 'description' => 'The resources required by the istio-init init container.', 'type' => 'object', 'properties' => [ - 'ResourceCPURequest' => [ - 'description' => 'The number of CPU cores that are requested by the istio-init container.'."\n", - 'type' => 'string', - 'example' => '10m', - ], - 'ResourceMemoryRequest' => [ - 'description' => 'The size of the memory that is requested by the istio-init container.'."\n", - 'type' => 'string', - 'example' => '10Mi', - ], + 'ResourceCPURequest' => ['description' => 'The CPU resource request for the istio-init init container.', 'type' => 'string', 'title' => '', 'example' => '10m'], + 'ResourceMemoryRequest' => ['description' => 'The memory resource required for the istio-init init container.', 'type' => 'string', 'title' => '', 'example' => '10Mi'], ], + 'title' => '', + 'example' => '', ], 'DiscoverySelectors' => [ - 'description' => 'The label selectors used to specify the namespaces of the clusters on the data plane. The control plane discovers and processes only application services in the specified namespaces.'."\n", + 'description' => 'A list of label selectors for data plane namespaces used for selective service discovery.', 'type' => 'array', - 'items' => [ - 'description' => 'The label selectors used to specify the namespaces of the clusters on the data plane. The control plane discovers and processes only application services in the specified namespaces.'."\n", - 'type' => 'object', - 'example' => '[{"matchExpressions":[{"key":"asm-discovery","operator":"Exists"}]}]', - ], + 'items' => ['description' => 'A list of data plane namespace label selectors for selective service discovery.', 'type' => 'object', 'title' => '', 'example' => '[{"matchExpressions":[{"key":"asm-discovery","operator":"Exists"}]}]'], + 'title' => '', + 'example' => '', ], 'OPAScopeInjection' => [ - 'description' => 'The configurations of the feature of controlling the OPA injection scope.'."\n", + 'description' => 'Controls the scope of OPA injection.', 'type' => 'object', 'properties' => [ - 'OPAScopeInjected' => [ - 'description' => 'Indicates whether the feature of controlling the OPA injection scope is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], + 'OPAScopeInjected' => ['description' => 'Specifies whether to enable scope control for OPA injection.'."\n" + ."\n" + .'- `true`: Enables scope control for OPA injection.'."\n" + ."\n" + .'- `false`: Disables scope control for OPA injection.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], ], + 'title' => '', + 'example' => '', ], 'CRAggregationConfiguration' => [ - 'description' => 'Access to Istio resources by using the Kubernetes API on the data plane.'."\n", + 'description' => 'The ability of the data plane to access the KubeAPI.', 'type' => 'object', 'properties' => [ - 'Enabled' => [ - 'description' => 'Indicates whether Istio resources can be accessed by using the Kubernetes API on the data plane.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Enabled' => ['description' => 'Whether KubeAPI access for the data plane is enabled.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], + 'title' => '', + 'example' => '', ], 'NFDConfiguration' => [ - 'description' => 'The configurations of Node Feature Discovery (NFD).'."\n", + 'description' => 'The configuration for automatic node feature discovery.', 'type' => 'object', 'properties' => [ - 'Enabled' => [ - 'description' => 'Indicates whether NFD is enabled.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'NFDLabelPruned' => [ - 'description' => 'Indicates whether feature labels on nodes are cleared when NFD is disabled.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Enabled' => ['description' => 'Indicates whether the automatic discovery of node features is enabled.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'NFDLabelPruned' => ['description' => 'Indicates whether the feature-related labels on the nodes are purged when automatic node feature discovery is disabled.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], + 'title' => '', + 'example' => '', ], 'AccessLogExtraConf' => [ - 'description' => 'The configurations of additional features for access log collection.'."\n", + 'description' => 'The advanced configurations for the access log feature.', 'type' => 'object', 'properties' => [ - 'GatewayLifecycle' => [ - 'description' => 'The retention period for the access logs of the ingress gateway. Unit: day. The logs are collected by using Simple Log Service. For example, the value 30 indicates that the logs are retained for 30 days.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'SidecarLifecycle' => [ - 'description' => 'The retention period for the access logs of sidecar proxies. Unit: day. The logs are collected by using Simple Log Service. For example, the value 30 indicates that the logs are retained for 30 days.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'GatewayEnabled' => [ - 'description' => 'Indicates whether gateway log collection is enabled.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'SidecarEnabled' => [ - 'description' => 'Indicates whether sidecar log collection is enabled.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'GatewayLifecycle' => ['description' => 'The retention period, in days, for the access logs of the ingress gateway that are collected to SLS. For example, a value of 30 specifies a 30-day retention period.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '30'], + 'SidecarLifecycle' => ['description' => 'The number of days to retain Sidecar access logs in SLS. For example, a value of 30 means the logs are kept for 30 days.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '30'], + 'GatewayEnabled' => ['description' => 'Indicates whether gateway log collection is enabled.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'SidecarEnabled' => ['description' => 'Indicates whether Sidecar log collection is enabled.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], + 'title' => '', + 'example' => '', ], 'AutoDiagnosis' => [ - 'description' => 'The configurations of automatic diagnostics for the ASM instance.'."\n", + 'description' => 'The configuration of the automatic diagnosis feature for the mesh.', 'type' => 'object', 'properties' => [ - 'AutoDiagnosisEnabled' => [ - 'description' => 'Indicates whether automatic diagnostics is enabled for the ASM instance. If you enable this feature, the ASM instance is automatically diagnosed 5 minutes after you modify an Istio resource.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'AutoDiagnosisEnabled' => ['description' => 'Specifies whether to automatically diagnose the service mesh after an Istio resource is modified. If enabled, modifying any Istio resource triggers an automatic diagnosis of the service mesh after five minutes.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], + 'title' => '', + 'example' => '', ], 'AdaptiveXdsConfiguration' => [ - 'description' => 'The configurations of adaptive xDS optimization.'."\n", + 'description' => 'The configuration for the adaptive configuration push optimization feature.', 'type' => 'object', 'properties' => [ - 'Enabled' => [ - 'description' => 'Indicates whether adaptive xDS optimization is enabled.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Enabled' => ['description' => 'Indicates whether the adaptive configuration push optimization feature is enabled.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], 'EgressResources' => [ - 'description' => 'The resource configurations of the egress gateway that is used by adaptive xDS optimization.'."\n", + 'description' => 'Adaptive configuration push optimizes the resource configuration of the egress gateway.', 'type' => 'object', 'properties' => [ - 'Requests' => [ - 'description' => 'The resources that are requested by the egress gateway.'."\n", - 'type' => 'object', - 'example' => '{"cpu":"100m", "memory": "256Mi"}', - ], - 'Limits' => [ - 'description' => 'The resources that are available to the egress gateway.'."\n", - 'type' => 'object', - 'example' => '{"cpu":"200m", "memory": "512Mi"}', - ], + 'Requests' => ['description' => 'The resource requests for the egress gateway. The adaptive configuration push feature optimizes these requests.', 'type' => 'object', 'title' => '', 'example' => '{"cpu":"100m", "memory": "256Mi"}'], + 'Limits' => ['description' => 'The resource limits for the egress gateway that are optimized by adaptive configuration push.', 'type' => 'object', 'title' => '', 'example' => '{"cpu":"200m", "memory": "512Mi"}'], ], + 'title' => '', + 'example' => '', ], - 'EgressReplicaCount' => [ - 'description' => 'The number of the egress gateway pod replicas.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'EgressAutoscaleEnabled' => [ - 'description' => 'Indicates whether Horizontal Pod Autoscaling (HPA) is enabled for the egress gateway.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'EgressMinReplica' => [ - 'description' => 'The minimum number of egress gateway pod replicas when HPA is enabled.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EgressMaxReplica' => [ - 'description' => 'The maximum number of egress gateway pod replicas when HPA is enabled.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], + 'EgressReplicaCount' => ['description' => 'The number of egress gateway replicas for adaptive configuration push optimization.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '2'], + 'EgressAutoscaleEnabled' => ['description' => 'Indicates whether to enable auto scaling (HPA) for the egress gateway to optimize adaptive configuration push.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'EgressMinReplica' => ['description' => 'The minimum number of replicas for the egress gateway when Horizontal Pod Autoscaler (HPA) is enabled for adaptive configuration push optimization.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'EgressMaxReplica' => ['description' => 'The maximum number of replicas for the egress gateway when Horizontal Pod Autoscaler (HPA) is enabled to optimize adaptive configuration pushes.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '2'], 'EgressHpaCpu' => [ - 'description' => 'The CPU resource configurations of the egress gateway when HPA is enabled.'."\n", + 'description' => 'Adaptive configuration push optimizes the CPU metric configuration for the egress gateway HPA.', 'type' => 'object', 'properties' => [ - 'TargetAverageUtilization' => [ - 'description' => 'The expected CPU utilization when HPA is enabled. Valid values: 1 to 100. If the CPU utilization exceeds this value, the number of pod replicas increases. If the CPU utilization is less than this value, the number of pod replicas decreases.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], + 'TargetAverageUtilization' => ['description' => 'The target CPU utilization for the egress gateway when you use Horizontal Pod Autoscaler (HPA) with adaptive configuration push optimization. The value must be an integer from 1 to 100. If utilization exceeds this value, the number of replicas increases. If utilization is below this value, the number of replicas decreases.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '80'], ], + 'title' => '', + 'example' => '', ], 'EgressHpaMemory' => [ - 'description' => 'The memory resource configurations of the egress gateway when HPA is enabled.'."\n", + 'description' => 'The memory metric configuration for the egress gateway HPA, which is used for adaptive configuration push optimization.', 'type' => 'object', 'properties' => [ - 'TargetAverageUtilization' => [ - 'description' => 'The expected memory usage when HPA is enabled. Valid values: 1 to 100. If the memory usage exceeds this value, the number of pod replicas increases. If the memory usage is less than this value, the number of pod replicas decreases.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], + 'TargetAverageUtilization' => ['description' => 'The target memory utilization for the egress gateway\'s Horizontal Pod Autoscaler (HPA) when adaptive configuration push is enabled. The value must be an integer from 1 to 100. If memory usage exceeds this value, the number of replicas increases. If memory usage is below this value, the number of replicas decreases.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '80'], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], 'IstiodExtraConfiguration' => [ - 'description' => 'Additional configurations for Istiod.'."\n", + 'description' => 'Additional Istiod configuration.', 'type' => 'object', 'properties' => [ - 'LabelsForOffloadedWorkloads' => [ - 'description' => 'The labels for isolated workloads.'."\n", - 'type' => 'string', - 'example' => 'name=xx,region=xx', - ], - 'PilotEnableQuicListeners' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], + 'LabelsForOffloadedWorkloads' => ['description' => 'The labels for isolated workloads.', 'type' => 'string', 'title' => '', 'example' => 'name=xx,region=xx'], + 'PilotEnableQuicListeners' => ['description' => 'Specifies whether to enable QUIC protocol listeners.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], ], + 'title' => '', + 'example' => '', ], 'Playground' => [ 'type' => 'object', 'properties' => [ - 'Scene' => [ - 'type' => 'string', - ], + 'Scene' => ['type' => 'string', 'description' => 'The ASM Lab scenario.', 'title' => '', 'example' => 'ewmaLb'], ], + 'description' => 'The ASM Lab configuration.', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], 'Clusters' => [ - 'description' => 'The clusters.'."\n", + 'description' => 'The list of clusters.', 'type' => 'array', - 'items' => [ - 'description' => 'The cluster.'."\n", - 'type' => 'string', - 'example' => '["caf089e56daba4c51a8906fe43ea1****","c80f45444b3da447da60a911390c2****"]', - ], - ], - 'ClusterSpec' => [ - 'description' => 'The specification of the ASM instance. Valid values:'."\n" - ."\n" - .'* `standard`: Standard Edition'."\n" - .'* `enterprise`: Enterprise Edition'."\n" - .'* `ultimate`: Ultimate Edition'."\n", - 'type' => 'string', - 'example' => 'standard', - ], - 'OwnerType' => [ - 'description' => 'The Alibaba Cloud service for which the ASM instance is created. Valid values:'."\n" - ."\n" - .'* `ackone`: The ASM instance is created for Alibaba Cloud Distributed Cloud Container Platform (ACK One).'."\n" - .'* An empty value indicates that the ASM instance is created by the user.'."\n", - 'type' => 'string', - 'example' => 'ackone', - ], - 'OwnerId' => [ - 'description' => 'The ID of the Alibaba Cloud service instance for which the ASM instance is created.'."\n", - 'type' => 'string', - 'example' => 'cc3e96f249d124eb38b72718ec5*****', + 'items' => ['description' => 'A list of clusters.', 'type' => 'string', 'title' => '', 'example' => '["caf089e56daba4c51a8906fe43ea1****","c80f45444b3da447da60a911390c2****"]'], + 'title' => '', + 'example' => '', ], + 'ClusterSpec' => ['description' => 'The instance type of the Service Mesh instance. The value can be one of the following:'."\n" + ."\n" + .'- `standard`: Standard Edition.'."\n" + ."\n" + .'- `enterprise`: Enterprise Edition.'."\n" + ."\n" + .'- `ultimate`: Ultimate Edition.', 'type' => 'string', 'title' => '', 'example' => 'standard'], + 'OwnerType' => ['description' => 'The type of cloud product that created the mesh. Valid values:'."\n" + ."\n" + .'- `ackone`: The mesh was created by ACK One.'."\n" + ."\n" + .'- If this parameter is empty, the mesh was created by a user.', 'type' => 'string', 'title' => '', 'example' => 'ackone'], + 'OwnerId' => ['description' => 'The ID of the cloud product instance that created the mesh.', 'type' => 'string', 'title' => '', 'example' => 'cc3e96f249d124eb38b72718ec5*****'], ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"11fd0027-c27e-41bb-a565-75583054****\\",\\n \\"ServiceMesh\\": {\\n \\"Endpoints\\": {\\n \\"IntranetPilotEndpoint\\": \\"192.168.**.**:15011\\",\\n \\"PublicPilotEndpoint\\": \\"182.92.**.**:15011\\",\\n \\"IntranetApiServerEndpoint\\": \\"https://192.168.**.**:6443\\",\\n \\"PublicApiServerEndpoint\\": \\"https://123.56.**.**:6443\\",\\n \\"IntranetCanaryPilotEndpoint\\": \\"192.168.**.**:15011\\",\\n \\"PublicCanaryPilotEndpoint\\": \\"182.92.**.**:15011\\"\\n },\\n \\"ServiceMeshInfo\\": {\\n \\"Profile\\": \\"Default\\",\\n \\"CreationTime\\": \\"2020-04-21T09:42:20+08:00\\",\\n \\"UpdateTime\\": \\"2020-06-03T14:48:54+08:00\\",\\n \\"ErrorMessage\\": \\" error\\",\\n \\"Version\\": \\"v1.7.4.0-gfb34ba99-aliyun\\",\\n \\"State\\": \\"running\\",\\n \\"ServiceMeshId\\": \\"c08ba3fd1e6484b0f8cc1ad8fe10d****\\",\\n \\"Name\\": \\"mesh1\\",\\n \\"RegionId\\": \\"cn-beijing\\"\\n },\\n \\"Spec\\": {\\n \\"Network\\": {\\n \\"VpcId\\": \\"vpc-2zew0rajjkmxy2369****\\",\\n \\"SecurityGroupId\\": \\"sg-2ze384sxttxbctnj****\\",\\n \\"VSwitches\\": [\\n \\"vsw-2ze66z3ntvsej0mdo****\\"\\n ]\\n },\\n \\"LoadBalancer\\": {\\n \\"PilotPublicLoadbalancerId\\": \\"lb-2zesa8qs8kbkj9jkl****\\",\\n \\"PilotPublicEip\\": true,\\n \\"PilotPublicEipId\\": \\"eip-wz9gtwau6b2aklgjk****\\",\\n \\"CanaryPilotPublicEipId\\": \\"eip-wz9gtwau6b2aklgjk****\\",\\n \\"ApiServerLoadbalancerId\\": \\"lb-2zekaak10uxds44vx****\\",\\n \\"ApiServerPublicEip\\": true,\\n \\"ApiServerPublicEipId\\": \\"eip-wz9gtwau6b2aklgjk****\\",\\n \\"CanaryPilotLoadBalancerId\\": \\"lb-2zesa8qs8kbkj9jkl****\\\\n\\"\\n },\\n \\"MeshConfig\\": {\\n \\"OPA\\": {\\n \\"RequestMemory\\": \\"1024Mi\\",\\n \\"LogLevel\\": \\"info\\",\\n \\"Enabled\\": true,\\n \\"LimitMemory\\": \\"512Mi\\",\\n \\"RequestCPU\\": \\"2\\",\\n \\"LimitCPU\\": \\"1\\"\\n },\\n \\"Prometheus\\": {\\n \\"UseExternal\\": false,\\n \\"ExternalUrl\\": \\"http://prometheus:9090\\"\\n },\\n \\"AccessLog\\": {\\n \\"Enabled\\": true,\\n \\"Project\\": \\"k8s-log-b7b05d08670e41ca8c8fc0b7718f*****\\"\\n },\\n \\"Pilot\\": {\\n \\"Http10Enabled\\": false,\\n \\"TraceSampling\\": 100,\\n \\"Feature\\": {\\n \\"FilterGatewayClusterConfig\\": false,\\n \\"EnableSDSServer\\": false\\n },\\n \\"ConfigSource\\": {\\n \\"Enabled\\": false,\\n \\"NacosID\\": \\"mse-cn-tl326******\\"\\n }\\n },\\n \\"MSE\\": {\\n \\"Enabled\\": false\\n },\\n \\"CustomizedZipkin\\": false,\\n \\"SidecarInjector\\": {\\n \\"EnableNamespacesByDefault\\": false,\\n \\"RequestMemory\\": \\"512Mi\\",\\n \\"LimitMemory\\": \\"2048Mi\\",\\n \\"RequestCPU\\": \\"1000m\\",\\n \\"AutoInjectionPolicyEnabled\\": true,\\n \\"LimitCPU\\": \\"4000m\\",\\n \\"InitCNIConfiguration\\": {\\n \\"ExcludeNamespaces\\": \\"kube-system,istio-system\\",\\n \\"Enabled\\": false\\n },\\n \\"SidecarInjectorWebhookAsYaml\\": \\"{\\\\\\"injectedAnnotations\\\\\\":{\\\\\\"test/istio-init\\\\\\":\\\\\\"runtime/default2\\\\\\",\\\\\\"test/istio-proxy\\\\\\":\\\\\\"runtime/default\\\\\\"},\\\\\\"replicaCount\\\\\\":2,\\\\\\"nodeSelector\\\\\\":{\\\\\\"beta.kubernetes.io/os\\\\\\":\\\\\\"linux\\\\\\"}}\\",\\n \\"SidecarInjectorNum\\": 1\\n },\\n \\"IncludeIPRanges\\": \\"192.168.0.0/16\\",\\n \\"ExcludeIPRanges\\": \\"172.16.0.0\\",\\n \\"ExcludeOutboundPorts\\": \\"80,81\\",\\n \\"ExcludeInboundPorts\\": \\"80,81\\",\\n \\"Telemetry\\": true,\\n \\"Edition\\": {\\n \\"Name\\": \\"Pro\\",\\n \\"IstiodImageTag\\": \\"v1.9.7.1-3-gb3f1ab3c9c-pro-aliyun\\",\\n \\"ProxyImageTag\\": \\"v1.9.7.1-3-gb3f1ab3c9c-pro-aliyun\\"\\n },\\n \\"ProtocolSupport\\": {\\n \\"MysqlFilterEnabled\\": false,\\n \\"RedisFilterEnabled\\": false,\\n \\"ThriftFilterEnabled\\": false,\\n \\"DubboFilterEnabled\\": false\\n },\\n \\"OutboundTrafficPolicy\\": \\"ALLOW_ANY\\",\\n \\"Kiali\\": {\\n \\"Enabled\\": false,\\n \\"Url\\": \\"http://1.2.**.**:20001\\"\\n },\\n \\"Tracing\\": true,\\n \\"WebAssemblyFilterDeployment\\": {\\n \\"Enabled\\": false\\n },\\n \\"EnableLocalityLB\\": true,\\n \\"Audit\\": {\\n \\"Enabled\\": true,\\n \\"Project\\": \\"audit-project\\",\\n \\"AuditProjectStatus\\": \\"audit_project_not_exist\\"\\n },\\n \\"Proxy\\": {\\n \\"RequestMemory\\": \\"128Mi\\",\\n \\"ClusterDomain\\": \\"cluster.domain\\",\\n \\"LimitMemory\\": \\"1024Mi\\",\\n \\"RequestCPU\\": \\"100m\\",\\n \\"EnableDNSProxying\\": false,\\n \\"LimitCPU\\": \\"2000m\\",\\n \\"AccessLogServiceEnabled\\": false,\\n \\"AccessLogServiceHost\\": \\"0.0.0.0\\",\\n \\"AccessLogServicePort\\": 9999,\\n \\"AccessLogFormat\\": \\"{\\\\\\"authority_for\\\\\\":\\\\\\"%REQ(:AUTHORITY)%\\\\\\",\\\\\\"bytes_received\\\\\\":\\\\\\"%BYTES_RECEIVED%\\\\\\",\\\\\\"bytes_sent\\\\\\":\\\\\\"%BYTES_SENT%\\\\\\",\\\\\\"downstream_local_address\\\\\\":\\\\\\"%DOWNSTREAM_LOCAL_ADDRESS%\\\\\\",\\\\\\"downstream_remote_address\\\\\\":\\\\\\"%DOWNSTREAM_REMOTE_ADDRESS%\\\\\\",\\\\\\"duration\\\\\\":\\\\\\"%DURATION%\\\\\\",\\\\\\"istio_policy_status\\\\\\":\\\\\\"%DYNAMIC_METADATA(istio.mixer:status)%\\\\\\",\\\\\\"method\\\\\\":\\\\\\"%REQ(:METHOD)%\\\\\\",\\\\\\"path\\\\\\":\\\\\\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\\\\\\",\\\\\\"protocol\\\\\\":\\\\\\"%PROTOCOL%\\\\\\",\\\\\\"request_id\\\\\\":\\\\\\"%REQ(X-REQUEST-ID)%\\\\\\",\\\\\\"requested_server_name\\\\\\":\\\\\\"%REQUESTED_SERVER_NAME%\\\\\\",\\\\\\"response_code\\\\\\":\\\\\\"%RESPONSE_CODE%\\\\\\",\\\\\\"response_flags\\\\\\":\\\\\\"%RESPONSE_FLAGS%\\\\\\",\\\\\\"route_name\\\\\\":\\\\\\"%ROUTE_NAME%\\\\\\",\\\\\\"start_time\\\\\\":\\\\\\"%START_TIME%\\\\\\",\\\\\\"trace_id\\\\\\":\\\\\\"%REQ(X-B3-TRACEID)%\\\\\\",\\\\\\"upstream_cluster\\\\\\":\\\\\\"%UPSTREAM_CLUSTER%\\\\\\",\\\\\\"upstream_host\\\\\\":\\\\\\"%UPSTREAM_HOST%\\\\\\",\\\\\\"upstream_local_address\\\\\\":\\\\\\"%UPSTREAM_LOCAL_ADDRESS%\\\\\\",\\\\\\"upstream_service_time\\\\\\":\\\\\\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\\\\\\",\\\\\\"upstream_transport_failure_reason\\\\\\":\\\\\\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\\\\\\",\\\\\\"user_agent\\\\\\":\\\\\\"%REQ(USER-AGENT)%\\\\\\",\\\\\\"x_forwarded_for\\\\\\":\\\\\\"%REQ(X-FORWARDED-FOR)%\\\\\\"}\\",\\n \\"AccessLogFile\\": \\"/dev/stdout\\"\\n },\\n \\"K8sNewAPIsSupport\\": {\\n \\"GatewayAPIEnabled\\": false\\n },\\n \\"LocalityLB\\": {\\n \\"Enabled\\": false,\\n \\"Failover\\": {\\n \\"failover\\": [\\n {\\n \\"from\\": \\"cn-hangzhou\\",\\n \\"to\\": \\"cn-shanghai\\"\\n }\\n ]\\n },\\n \\"Distribute\\": [\\n {\\n \\"from\\": \\"cn-shanghai\\",\\n \\"to\\": {\\n \\"cn-hangzhou/*\\": 50,\\n \\"cn-shanghai/*\\": 25,\\n \\"cn-zhangjiakou/*\\": 25\\n }\\n },\\n {\\n \\"from\\": \\"cn-hangzhou\\",\\n \\"to\\": {\\n \\"cn-hangzhou/*\\": 50,\\n \\"cn-shanghai/*\\": 25,\\n \\"cn-zhangjiakou/*\\": 25\\n }\\n }\\n ],\\n \\"FailoverPriority\\": [\\n \\"topology.istio.io/network\\",\\n \\"topology.kubernetes.io/region\\",\\n \\"topology.kubernetes.io/zone\\",\\n \\"topology.istio.io/subzone\\"\\n ]\\n },\\n \\"ControlPlaneLogInfo\\": {\\n \\"Enabled\\": false,\\n \\"Project\\": \\"mesh-log-cbeb85a09161b4a26ab73e0ac****\\",\\n \\"LogTTL\\": 30\\n },\\n \\"ExtraConfiguration\\": {\\n \\"IstioCRHistory\\": {\\n \\"EnableHistory\\": false\\n },\\n \\"CRAggregationEnabled\\": false,\\n \\"MultiBuffer\\": {\\n \\"Enabled\\": false,\\n \\"PollDelay\\": \\"0.02s\\"\\n },\\n \\"TerminationDrainDuration\\": \\"5s\\",\\n \\"Lifecycle\\": {\\n \\"postStart\\": {\\n \\"exec\\": {\\n \\"command\\": [\\n \\"sleep 3s\\"\\n ]\\n },\\n \\"httpGet\\": {\\n \\"port\\": \\"80\\",\\n \\"host\\": \\"127.xx.xx.1\\",\\n \\"scheme\\": \\"http\\",\\n \\"httpHeaders\\": [\\n {\\n \\"name\\": \\"key\\",\\n \\"value\\": \\"value\\"\\n }\\n ]\\n },\\n \\"tcpSocket\\": {\\n \\"port\\": \\"888\\",\\n \\"host\\": \\"127.xx.xx.1\\"\\n }\\n },\\n \\"preStop\\": {\\n \\"exec\\": {\\n \\"command\\": [\\n \\"sleep 3s\\"\\n ]\\n },\\n \\"httpGet\\": {\\n \\"port\\": \\"80\\",\\n \\"host\\": \\"127.xx.xx.1\\",\\n \\"scheme\\": \\"http\\",\\n \\"httpHeaders\\": [\\n {\\n \\"name\\": \\"key\\",\\n \\"value\\": \\"value\\"\\n }\\n ]\\n },\\n \\"tcpSocket\\": {\\n \\"port\\": \\"888\\",\\n \\"host\\": \\"127.xx.xx.1\\"\\n }\\n }\\n },\\n \\"SidecarProxyInitResourceLimit\\": {\\n \\"ResourceCPULimit\\": \\"2000m\\",\\n \\"ResourceMemoryLimit\\": \\"1024Mi\\"\\n },\\n \\"SidecarProxyInitResourceRequest\\": {\\n \\"ResourceCPURequest\\": \\"10m\\",\\n \\"ResourceMemoryRequest\\": \\"10Mi\\"\\n },\\n \\"DiscoverySelectors\\": [\\n [\\n {\\n \\"matchExpressions\\": [\\n {\\n \\"key\\": \\"asm-discovery\\",\\n \\"operator\\": \\"Exists\\"\\n }\\n ]\\n }\\n ]\\n ],\\n \\"OPAScopeInjection\\": {\\n \\"OPAScopeInjected\\": false\\n },\\n \\"CRAggregationConfiguration\\": {\\n \\"Enabled\\": true\\n },\\n \\"NFDConfiguration\\": {\\n \\"Enabled\\": true,\\n \\"NFDLabelPruned\\": true\\n },\\n \\"AccessLogExtraConf\\": {\\n \\"GatewayLifecycle\\": 30,\\n \\"SidecarLifecycle\\": 30,\\n \\"GatewayEnabled\\": true,\\n \\"SidecarEnabled\\": true\\n },\\n \\"AutoDiagnosis\\": {\\n \\"AutoDiagnosisEnabled\\": true\\n },\\n \\"AdaptiveXdsConfiguration\\": {\\n \\"Enabled\\": true,\\n \\"EgressResources\\": {\\n \\"Requests\\": {\\n \\"cpu\\": \\"100m\\",\\n \\"memory\\": \\"256Mi\\"\\n },\\n \\"Limits\\": {\\n \\"cpu\\": \\"200m\\",\\n \\"memory\\": \\"512Mi\\"\\n }\\n },\\n \\"EgressReplicaCount\\": 2,\\n \\"EgressAutoscaleEnabled\\": true,\\n \\"EgressMinReplica\\": 1,\\n \\"EgressMaxReplica\\": 2,\\n \\"EgressHpaCpu\\": {\\n \\"TargetAverageUtilization\\": 80\\n },\\n \\"EgressHpaMemory\\": {\\n \\"TargetAverageUtilization\\": 80\\n }\\n },\\n \\"IstiodExtraConfiguration\\": {\\n \\"LabelsForOffloadedWorkloads\\": \\"name=xx,region=xx\\",\\n \\"PilotEnableQuicListeners\\": false\\n },\\n \\"Playground\\": {\\n \\"Scene\\": \\"ewmaLb\\"\\n }\\n }\\n }\\n },\\n \\"Clusters\\": [\\n \\"[\\\\\\"caf089e56daba4c51a8906fe43ea1****\\\\\\",\\\\\\"c80f45444b3da447da60a911390c2****\\\\\\"]\\"\\n ],\\n \\"ClusterSpec\\": \\"standard\\",\\n \\"OwnerType\\": \\"ackone\\",\\n \\"OwnerId\\": \\"cc3e96f249d124eb38b72718ec5*****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeServiceMeshDetailResponse>\\n <RequestId>11fd0027-c27e-41bb-a565-75583054****</RequestId>\\n <ServiceMesh>\\n <Endpoints>\\n <IntranetPilotEndpoint>192.168.**.**:15011</IntranetPilotEndpoint>\\n <PublicPilotEndpoint>182.92.**.**:15011</PublicPilotEndpoint>\\n <IntranetApiServerEndpoint>https://192.168.**.**:6443</IntranetApiServerEndpoint>\\n <PublicApiServerEndpoint>https://123.56.**.**:6443</PublicApiServerEndpoint>\\n </Endpoints>\\n <ServiceMeshInfo>\\n <Profile>Default</Profile>\\n <CreationTime>2020-04-21T09:42:20+08:00</CreationTime>\\n <UpdateTime>2020-06-03T14:48:54+08:00</UpdateTime>\\n <ErrorMessage> error</ErrorMessage>\\n <Version>v1.7.4.0-gfb34ba99-aliyun</Version>\\n <State>running</State>\\n <ServiceMeshId>c08ba3fd1e6484b0f8cc1ad8fe10d****</ServiceMeshId>\\n <Name>mesh1</Name>\\n <RegionId>cn-beijing</RegionId>\\n </ServiceMeshInfo>\\n <Spec>\\n <Network>\\n <VpcId>vpc-2zew0rajjkmxy2369****</VpcId>\\n <SecurityGroupId>sg-2ze384sxttxbctnj****</SecurityGroupId>\\n <VSwitches>vsw-2ze66z3ntvsej0mdo****</VSwitches>\\n </Network>\\n <LoadBalancer>\\n <PilotPublicEip>true</PilotPublicEip>\\n <PilotPublicLoadbalancerId>lb-2zesa8qs8kbkj9jkl****</PilotPublicLoadbalancerId>\\n <ApiServerLoadbalancerId>lb-2zekaak10uxds44vx****</ApiServerLoadbalancerId>\\n <ApiServerPublicEip>true</ApiServerPublicEip>\\n </LoadBalancer>\\n <MeshConfig>\\n <OPA>\\n <RequestMemory>1024Mi</RequestMemory>\\n <LogLevel>info</LogLevel>\\n <Enabled>true</Enabled>\\n <LimitMemory>512Mi</LimitMemory>\\n <RequestCPU>2</RequestCPU>\\n <LimitCPU>1</LimitCPU>\\n </OPA>\\n <Prometheus>\\n <UseExternal>false</UseExternal>\\n <ExternalUrl>http://prometheus:9090</ExternalUrl>\\n </Prometheus>\\n <AccessLog>\\n <Enabled>true</Enabled>\\n <Project>k8s-log-b7b05d08670e41ca8c8fc0b7718f*****</Project>\\n </AccessLog>\\n <Pilot>\\n <Http10Enabled>false</Http10Enabled>\\n <TraceSampling>100</TraceSampling>\\n <Feature>\\n <FilterGatewayClusterConfig>false</FilterGatewayClusterConfig>\\n <EnableSDSServer>false</EnableSDSServer>\\n </Feature>\\n <ConfigSource>\\n <Enabled>false</Enabled>\\n <NacosID>mse-cn-tl326******</NacosID>\\n </ConfigSource>\\n </Pilot>\\n <MSE>\\n <Enabled>false</Enabled>\\n </MSE>\\n <CustomizedZipkin>false</CustomizedZipkin>\\n <SidecarInjector>\\n <EnableNamespacesByDefault>false</EnableNamespacesByDefault>\\n <RequestMemory>512Mi</RequestMemory>\\n <LimitMemory>2048Mi</LimitMemory>\\n <RequestCPU>1000m</RequestCPU>\\n <AutoInjectionPolicyEnabled>true</AutoInjectionPolicyEnabled>\\n <LimitCPU>4000m</LimitCPU>\\n <InitCNIConfiguration>\\n <ExcludeNamespaces>kube-system,istio-system</ExcludeNamespaces>\\n <Enabled>false</Enabled>\\n </InitCNIConfiguration>\\n <SidecarInjectorWebhookAsYaml>{\\"injectedAnnotations\\":{\\"test/istio-init\\":\\"runtime/default2\\",\\"test/istio-proxy\\":\\"runtime/default\\"},\\"replicaCount\\":2,\\"nodeSelector\\":{\\"beta.kubernetes.io/os\\":\\"linux\\"}}</SidecarInjectorWebhookAsYaml>\\n <SidecarInjectorNum>1</SidecarInjectorNum>\\n </SidecarInjector>\\n <IncludeIPRanges>192.168.0.0/16</IncludeIPRanges>\\n <ExcludeIPRanges>172.16.0.0</ExcludeIPRanges>\\n <ExcludeOutboundPorts>80,81</ExcludeOutboundPorts>\\n <ExcludeInboundPorts>80,81</ExcludeInboundPorts>\\n <Telemetry>true</Telemetry>\\n <Edition>\\n <Name>Pro</Name>\\n <IstiodImageTag>v1.9.7.1-3-gb3f1ab3c9c-pro-aliyun</IstiodImageTag>\\n <ProxyImageTag>v1.9.7.1-3-gb3f1ab3c9c-pro-aliyun</ProxyImageTag>\\n </Edition>\\n <ProtocolSupport>\\n <MysqlFilterEnabled>false</MysqlFilterEnabled>\\n <RedisFilterEnabled>false</RedisFilterEnabled>\\n <ThriftFilterEnabled>false</ThriftFilterEnabled>\\n <DubboFilterEnabled>false</DubboFilterEnabled>\\n </ProtocolSupport>\\n <OutboundTrafficPolicy>ALLOW_ANY</OutboundTrafficPolicy>\\n <Kiali>\\n <Enabled>false</Enabled>\\n <Url>http://1.2.**.**:20001</Url>\\n </Kiali>\\n <Tracing>true</Tracing>\\n <WebAssemblyFilterDeployment>\\n <Enabled>false</Enabled>\\n </WebAssemblyFilterDeployment>\\n <EnableLocalityLB>true</EnableLocalityLB>\\n <Audit>\\n <Enabled>true</Enabled>\\n <Project>audit-project</Project>\\n <AuditProjectStatus>audit_project_not_exist</AuditProjectStatus>\\n </Audit>\\n <Proxy>\\n <RequestMemory>128Mi</RequestMemory>\\n <ClusterDomain>cluster.domain</ClusterDomain>\\n <LimitMemory>1024Mi</LimitMemory>\\n <RequestCPU>100m</RequestCPU>\\n <EnableDNSProxying>false</EnableDNSProxying>\\n <LimitCPU>2000m</LimitCPU>\\n <AccessLogServiceEnabled>false</AccessLogServiceEnabled>\\n <AccessLogServiceHost>0.0.0.0</AccessLogServiceHost>\\n <AccessLogServicePort>9999</AccessLogServicePort>\\n <AccessLogFormat>{\\"authority_for\\":\\"%REQ(:AUTHORITY)%\\",\\"bytes_received\\":\\"%BYTES_RECEIVED%\\",\\"bytes_sent\\":\\"%BYTES_SENT%\\",\\"downstream_local_address\\":\\"%DOWNSTREAM_LOCAL_ADDRESS%\\",\\"downstream_remote_address\\":\\"%DOWNSTREAM_REMOTE_ADDRESS%\\",\\"duration\\":\\"%DURATION%\\",\\"istio_policy_status\\":\\"%DYNAMIC_METADATA(istio.mixer:status)%\\",\\"method\\":\\"%REQ(:METHOD)%\\",\\"path\\":\\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\\",\\"protocol\\":\\"%PROTOCOL%\\",\\"request_id\\":\\"%REQ(X-REQUEST-ID)%\\",\\"requested_server_name\\":\\"%REQUESTED_SERVER_NAME%\\",\\"response_code\\":\\"%RESPONSE_CODE%\\",\\"response_flags\\":\\"%RESPONSE_FLAGS%\\",\\"route_name\\":\\"%ROUTE_NAME%\\",\\"start_time\\":\\"%START_TIME%\\",\\"trace_id\\":\\"%REQ(X-B3-TRACEID)%\\",\\"upstream_cluster\\":\\"%UPSTREAM_CLUSTER%\\",\\"upstream_host\\":\\"%UPSTREAM_HOST%\\",\\"upstream_local_address\\":\\"%UPSTREAM_LOCAL_ADDRESS%\\",\\"upstream_service_time\\":\\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\\",\\"upstream_transport_failure_reason\\":\\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\\",\\"user_agent\\":\\"%REQ(USER-AGENT)%\\",\\"x_forwarded_for\\":\\"%REQ(X-FORWARDED-FOR)%\\"}</AccessLogFormat>\\n <AccessLogFile>/dev/stdout</AccessLogFile>\\n </Proxy>\\n <K8sNewAPIsSupport>\\n <GatewayAPIEnabled>false</GatewayAPIEnabled>\\n </K8sNewAPIsSupport>\\n <LocalityLB>\\n <Enabled>false</Enabled>\\n </LocalityLB>\\n <ControlPlaneLogInfo>\\n <Enabled>false</Enabled>\\n <Project>mesh-log-cbeb85a09161b4a26ab73e0ac****</Project>\\n </ControlPlaneLogInfo>\\n <ExtraConfiguration>\\n <IstioCRHistory>\\n <EnableHistory>false</EnableHistory>\\n </IstioCRHistory>\\n <CRAggregationEnabled>false</CRAggregationEnabled>\\n <MultiBuffer>\\n <Enabled>false</Enabled>\\n <PollDelay>0.02s</PollDelay>\\n </MultiBuffer>\\n <TerminationDrainDuration>5s</TerminationDrainDuration>\\n <Lifecycle>\\n <postStart>\\n <exec>\\n <command>sleep 3s</command>\\n </exec>\\n <httpGet>\\n <port>80</port>\\n <host>127.xx.xx.1</host>\\n <scheme>http</scheme>\\n <httpHeaders>\\n <name>key</name>\\n <value>value</value>\\n </httpHeaders>\\n </httpGet>\\n <tcpSocket>\\n <port>888</port>\\n <host>127.xx.xx.1</host>\\n </tcpSocket>\\n </postStart>\\n <preStop>\\n <exec>\\n <command>sleep 3s</command>\\n </exec>\\n <httpGet>\\n <port>80</port>\\n <host>127.xx.xx.1</host>\\n <scheme>http</scheme>\\n <httpHeaders>\\n <name>key</name>\\n <value>value</value>\\n </httpHeaders>\\n </httpGet>\\n <tcpSocket>\\n <port>888</port>\\n <host>127.xx.xx.1</host>\\n </tcpSocket>\\n </preStop>\\n </Lifecycle>\\n <SidecarProxyInitResourceLimit>\\n <ResourceCPULimit>2000m</ResourceCPULimit>\\n <ResourceMemoryLimit>1024Mi</ResourceMemoryLimit>\\n </SidecarProxyInitResourceLimit>\\n <SidecarProxyInitResourceRequest>\\n <ResourceCPURequest>10m</ResourceCPURequest>\\n <ResourceMemoryRequest>10Mi</ResourceMemoryRequest>\\n </SidecarProxyInitResourceRequest>\\n <DiscoverySelectors/>\\n <OPAScopeInjection>\\n <OPAScopeInjected>false</OPAScopeInjected>\\n </OPAScopeInjection>\\n <CRAggregationConfiguration>\\n <Enabled>true</Enabled>\\n </CRAggregationConfiguration>\\n <NFDConfiguration>\\n <Enabled>true</Enabled>\\n <NFDLabelPruned>true</NFDLabelPruned>\\n </NFDConfiguration>\\n <AccessLogExtraConf>\\n <GatewayLifecycle>30</GatewayLifecycle>\\n <SidecarLifecycle>30</SidecarLifecycle>\\n </AccessLogExtraConf>\\n <AutoDiagnosis>\\n <AutoDiagnosisEnabled>true</AutoDiagnosisEnabled>\\n </AutoDiagnosis>\\n <AdaptiveXdsConfiguration>\\n <Enabled>true</Enabled>\\n <EgressResources/>\\n <EgressReplicaCount>2</EgressReplicaCount>\\n <EgressAutoscaleEnabled>true</EgressAutoscaleEnabled>\\n <EgressMinReplica>1</EgressMinReplica>\\n <EgressMaxReplica>2</EgressMaxReplica>\\n <EgressHpaCpu>\\n <TargetAverageUtilization>80</TargetAverageUtilization>\\n </EgressHpaCpu>\\n <EgressHpaMemory>\\n <TargetAverageUtilization>80</TargetAverageUtilization>\\n </EgressHpaMemory>\\n </AdaptiveXdsConfiguration>\\n </ExtraConfiguration>\\n </MeshConfig>\\n </Spec>\\n <Clusters>[\\"caf089e56daba4c51a8906fe43ea1****\\",\\"c80f45444b3da447da60a911390c2****\\"]</Clusters>\\n <ClusterSpec>standard</ClusterSpec>\\n <OwnerType>ackone</OwnerType>\\n <OwnerId>cc3e96f249d124eb38b72718ec5*****</OwnerId>\\n </ServiceMesh>\\n</DescribeServiceMeshDetailResponse>","errorExample":""}]', 'title' => 'DescribeServiceMeshDetail', - 'summary' => 'Queries the details of a Service Mesh (ASM) instance.', + 'summary' => 'Call DescribeServiceMeshDetail to retrieve the details of a service mesh.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-02-17T07:05:36.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-11-22T08:50:07.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-09-25T09:29:35.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-07-18T02:35:48.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-06-26T08:40:48.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-01-29T09:00:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-01-27T13:32:37.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-01-27T09:12:01.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-08-31T07:03:48.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-04-13T07:00:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-08-31T02:08:02.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-06-30T10:06:31.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-03-03T13:48:29.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-03-03T13:48:29.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-03-03T13:48:29.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-03-03T13:48:29.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-12-03T07:51:18.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-11-02T01:58:08.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-11-02T01:58:08.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-10-28T04:07:14.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-09-06T03:26:37.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-09-06T03:26:37.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-08-17T08:17:18.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-05-17T11:45:59.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-03-30T09:44:18.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-03-30T09:44:18.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceMeshDetail'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"11fd0027-c27e-41bb-a565-75583054****\\",\\n \\"ServiceMesh\\": {\\n \\"Endpoints\\": {\\n \\"IntranetPilotEndpoint\\": \\"192.168.**.**:15011\\",\\n \\"PublicPilotEndpoint\\": \\"182.92.**.**:15011\\",\\n \\"IntranetApiServerEndpoint\\": \\"https://192.168.**.**:6443\\",\\n \\"PublicApiServerEndpoint\\": \\"https://123.56.**.**:6443\\",\\n \\"IntranetCanaryPilotEndpoint\\": \\"192.168.**.**:15011\\",\\n \\"PublicCanaryPilotEndpoint\\": \\"182.92.**.**:15011\\"\\n },\\n \\"ServiceMeshInfo\\": {\\n \\"Profile\\": \\"Default\\",\\n \\"CreationTime\\": \\"2020-04-21T09:42:20+08:00\\",\\n \\"UpdateTime\\": \\"2020-06-03T14:48:54+08:00\\",\\n \\"ErrorMessage\\": \\" error\\",\\n \\"Version\\": \\"v1.7.4.0-gfb34ba99-aliyun\\",\\n \\"State\\": \\"running\\",\\n \\"ServiceMeshId\\": \\"c08ba3fd1e6484b0f8cc1ad8fe10d****\\",\\n \\"Name\\": \\"mesh1\\",\\n \\"RegionId\\": \\"cn-beijing\\"\\n },\\n \\"Spec\\": {\\n \\"Network\\": {\\n \\"VpcId\\": \\"vpc-2zew0rajjkmxy2369****\\",\\n \\"SecurityGroupId\\": \\"sg-2ze384sxttxbctnj****\\",\\n \\"VSwitches\\": [\\n \\"vsw-2ze66z3ntvsej0mdo****\\"\\n ]\\n },\\n \\"LoadBalancer\\": {\\n \\"PilotPublicLoadbalancerId\\": \\"lb-2zesa8qs8kbkj9jkl****\\",\\n \\"PilotPublicEip\\": true,\\n \\"PilotPublicEipId\\": \\"eip-wz9gtwau6b2aklgjk****\\",\\n \\"CanaryPilotPublicEipId\\": \\"eip-wz9gtwau6b2aklgjk****\\",\\n \\"ApiServerLoadbalancerId\\": \\"lb-2zekaak10uxds44vx****\\",\\n \\"ApiServerPublicEip\\": true,\\n \\"ApiServerPublicEipId\\": \\"eip-wz9gtwau6b2aklgjk****\\",\\n \\"CanaryPilotLoadBalancerId\\": \\"lb-2zesa8qs8kbkj9jkl****\\\\n\\"\\n },\\n \\"MeshConfig\\": {\\n \\"OPA\\": {\\n \\"RequestMemory\\": \\"1024Mi\\",\\n \\"LogLevel\\": \\"info\\",\\n \\"Enabled\\": true,\\n \\"LimitMemory\\": \\"512Mi\\",\\n \\"RequestCPU\\": \\"2\\",\\n \\"LimitCPU\\": \\"1\\"\\n },\\n \\"Prometheus\\": {\\n \\"UseExternal\\": false,\\n \\"ExternalUrl\\": \\"http://prometheus:9090\\"\\n },\\n \\"AccessLog\\": {\\n \\"Enabled\\": true,\\n \\"Project\\": \\"k8s-log-b7b05d08670e41ca8c8fc0b7718f*****\\"\\n },\\n \\"Pilot\\": {\\n \\"Http10Enabled\\": false,\\n \\"TraceSampling\\": 100,\\n \\"Feature\\": {\\n \\"FilterGatewayClusterConfig\\": false,\\n \\"EnableSDSServer\\": false\\n },\\n \\"ConfigSource\\": {\\n \\"Enabled\\": false,\\n \\"NacosID\\": \\"mse-cn-tl326******\\"\\n }\\n },\\n \\"MSE\\": {\\n \\"Enabled\\": false\\n },\\n \\"CustomizedZipkin\\": false,\\n \\"SidecarInjector\\": {\\n \\"EnableNamespacesByDefault\\": false,\\n \\"RequestMemory\\": \\"512Mi\\",\\n \\"LimitMemory\\": \\"2048Mi\\",\\n \\"RequestCPU\\": \\"1000m\\",\\n \\"AutoInjectionPolicyEnabled\\": true,\\n \\"LimitCPU\\": \\"4000m\\",\\n \\"InitCNIConfiguration\\": {\\n \\"ExcludeNamespaces\\": \\"kube-system,istio-system\\",\\n \\"Enabled\\": false\\n },\\n \\"SidecarInjectorWebhookAsYaml\\": \\"{\\\\\\"injectedAnnotations\\\\\\":{\\\\\\"test/istio-init\\\\\\":\\\\\\"runtime/default2\\\\\\",\\\\\\"test/istio-proxy\\\\\\":\\\\\\"runtime/default\\\\\\"},\\\\\\"replicaCount\\\\\\":2,\\\\\\"nodeSelector\\\\\\":{\\\\\\"beta.kubernetes.io/os\\\\\\":\\\\\\"linux\\\\\\"}}\\",\\n \\"SidecarInjectorNum\\": 1\\n },\\n \\"IncludeIPRanges\\": \\"192.168.0.0/16\\",\\n \\"ExcludeIPRanges\\": \\"172.16.0.0\\",\\n \\"ExcludeOutboundPorts\\": \\"80,81\\",\\n \\"ExcludeInboundPorts\\": \\"80,81\\",\\n \\"Telemetry\\": true,\\n \\"Edition\\": {\\n \\"Name\\": \\"Pro\\",\\n \\"IstiodImageTag\\": \\"v1.9.7.1-3-gb3f1ab3c9c-pro-aliyun\\",\\n \\"ProxyImageTag\\": \\"v1.9.7.1-3-gb3f1ab3c9c-pro-aliyun\\"\\n },\\n \\"ProtocolSupport\\": {\\n \\"MysqlFilterEnabled\\": false,\\n \\"RedisFilterEnabled\\": false,\\n \\"ThriftFilterEnabled\\": false,\\n \\"DubboFilterEnabled\\": false\\n },\\n \\"OutboundTrafficPolicy\\": \\"ALLOW_ANY\\",\\n \\"Kiali\\": {\\n \\"Enabled\\": false,\\n \\"Url\\": \\"http://1.2.**.**:20001\\"\\n },\\n \\"Tracing\\": true,\\n \\"WebAssemblyFilterDeployment\\": {\\n \\"Enabled\\": false\\n },\\n \\"EnableLocalityLB\\": true,\\n \\"Audit\\": {\\n \\"Enabled\\": true,\\n \\"Project\\": \\"audit-project\\",\\n \\"AuditProjectStatus\\": \\"audit_project_not_exist\\"\\n },\\n \\"Proxy\\": {\\n \\"RequestMemory\\": \\"128Mi\\",\\n \\"ClusterDomain\\": \\"cluster.domain\\",\\n \\"LimitMemory\\": \\"1024Mi\\",\\n \\"RequestCPU\\": \\"100m\\",\\n \\"EnableDNSProxying\\": false,\\n \\"LimitCPU\\": \\"2000m\\",\\n \\"AccessLogServiceEnabled\\": false,\\n \\"AccessLogServiceHost\\": \\"0.0.0.0\\",\\n \\"AccessLogServicePort\\": 9999,\\n \\"AccessLogFormat\\": \\"{\\\\\\"authority_for\\\\\\":\\\\\\"%REQ(:AUTHORITY)%\\\\\\",\\\\\\"bytes_received\\\\\\":\\\\\\"%BYTES_RECEIVED%\\\\\\",\\\\\\"bytes_sent\\\\\\":\\\\\\"%BYTES_SENT%\\\\\\",\\\\\\"downstream_local_address\\\\\\":\\\\\\"%DOWNSTREAM_LOCAL_ADDRESS%\\\\\\",\\\\\\"downstream_remote_address\\\\\\":\\\\\\"%DOWNSTREAM_REMOTE_ADDRESS%\\\\\\",\\\\\\"duration\\\\\\":\\\\\\"%DURATION%\\\\\\",\\\\\\"istio_policy_status\\\\\\":\\\\\\"%DYNAMIC_METADATA(istio.mixer:status)%\\\\\\",\\\\\\"method\\\\\\":\\\\\\"%REQ(:METHOD)%\\\\\\",\\\\\\"path\\\\\\":\\\\\\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\\\\\\",\\\\\\"protocol\\\\\\":\\\\\\"%PROTOCOL%\\\\\\",\\\\\\"request_id\\\\\\":\\\\\\"%REQ(X-REQUEST-ID)%\\\\\\",\\\\\\"requested_server_name\\\\\\":\\\\\\"%REQUESTED_SERVER_NAME%\\\\\\",\\\\\\"response_code\\\\\\":\\\\\\"%RESPONSE_CODE%\\\\\\",\\\\\\"response_flags\\\\\\":\\\\\\"%RESPONSE_FLAGS%\\\\\\",\\\\\\"route_name\\\\\\":\\\\\\"%ROUTE_NAME%\\\\\\",\\\\\\"start_time\\\\\\":\\\\\\"%START_TIME%\\\\\\",\\\\\\"trace_id\\\\\\":\\\\\\"%REQ(X-B3-TRACEID)%\\\\\\",\\\\\\"upstream_cluster\\\\\\":\\\\\\"%UPSTREAM_CLUSTER%\\\\\\",\\\\\\"upstream_host\\\\\\":\\\\\\"%UPSTREAM_HOST%\\\\\\",\\\\\\"upstream_local_address\\\\\\":\\\\\\"%UPSTREAM_LOCAL_ADDRESS%\\\\\\",\\\\\\"upstream_service_time\\\\\\":\\\\\\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\\\\\\",\\\\\\"upstream_transport_failure_reason\\\\\\":\\\\\\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\\\\\\",\\\\\\"user_agent\\\\\\":\\\\\\"%REQ(USER-AGENT)%\\\\\\",\\\\\\"x_forwarded_for\\\\\\":\\\\\\"%REQ(X-FORWARDED-FOR)%\\\\\\"}\\",\\n \\"AccessLogFile\\": \\"/dev/stdout\\"\\n },\\n \\"K8sNewAPIsSupport\\": {\\n \\"GatewayAPIEnabled\\": false\\n },\\n \\"LocalityLB\\": {\\n \\"Enabled\\": false,\\n \\"Failover\\": {\\n \\"failover\\": [\\n {\\n \\"from\\": \\"cn-hangzhou\\",\\n \\"to\\": \\"cn-shanghai\\"\\n }\\n ]\\n },\\n \\"Distribute\\": [\\n {\\n \\"from\\": \\"cn-shanghai\\",\\n \\"to\\": {\\n \\"cn-hangzhou/*\\": 50,\\n \\"cn-shanghai/*\\": 25,\\n \\"cn-zhangjiakou/*\\": 25\\n }\\n },\\n {\\n \\"from\\": \\"cn-hangzhou\\",\\n \\"to\\": {\\n \\"cn-hangzhou/*\\": 50,\\n \\"cn-shanghai/*\\": 25,\\n \\"cn-zhangjiakou/*\\": 25\\n }\\n }\\n ],\\n \\"FailoverPriority\\": [\\n \\"topology.istio.io/network\\",\\n \\"topology.kubernetes.io/region\\",\\n \\"topology.kubernetes.io/zone\\",\\n \\"topology.istio.io/subzone\\"\\n ]\\n },\\n \\"ControlPlaneLogInfo\\": {\\n \\"Enabled\\": false,\\n \\"Project\\": \\"mesh-log-cbeb85a09161b4a26ab73e0ac****\\",\\n \\"LogTTL\\": 30\\n },\\n \\"ExtraConfiguration\\": {\\n \\"IstioCRHistory\\": {\\n \\"EnableHistory\\": false\\n },\\n \\"CRAggregationEnabled\\": false,\\n \\"MultiBuffer\\": {\\n \\"Enabled\\": false,\\n \\"PollDelay\\": \\"0.02s\\"\\n },\\n \\"TerminationDrainDuration\\": \\"5s\\",\\n \\"Lifecycle\\": {\\n \\"postStart\\": {\\n \\"exec\\": {\\n \\"command\\": [\\n \\"sleep 3s\\"\\n ]\\n },\\n \\"httpGet\\": {\\n \\"port\\": \\"80\\",\\n \\"host\\": \\"127.xx.xx.1\\",\\n \\"scheme\\": \\"http\\",\\n \\"httpHeaders\\": [\\n {\\n \\"name\\": \\"key\\",\\n \\"value\\": \\"value\\"\\n }\\n ]\\n },\\n \\"tcpSocket\\": {\\n \\"port\\": \\"888\\",\\n \\"host\\": \\"127.xx.xx.1\\"\\n }\\n },\\n \\"preStop\\": {\\n \\"exec\\": {\\n \\"command\\": [\\n \\"sleep 3s\\"\\n ]\\n },\\n \\"httpGet\\": {\\n \\"port\\": \\"80\\",\\n \\"host\\": \\"127.xx.xx.1\\",\\n \\"scheme\\": \\"http\\",\\n \\"httpHeaders\\": [\\n {\\n \\"name\\": \\"key\\",\\n \\"value\\": \\"value\\"\\n }\\n ]\\n },\\n \\"tcpSocket\\": {\\n \\"port\\": \\"888\\",\\n \\"host\\": \\"127.xx.xx.1\\"\\n }\\n }\\n },\\n \\"SidecarProxyInitResourceLimit\\": {\\n \\"ResourceCPULimit\\": \\"2000m\\",\\n \\"ResourceMemoryLimit\\": \\"1024Mi\\"\\n },\\n \\"SidecarProxyInitResourceRequest\\": {\\n \\"ResourceCPURequest\\": \\"10m\\",\\n \\"ResourceMemoryRequest\\": \\"10Mi\\"\\n },\\n \\"DiscoverySelectors\\": [\\n [\\n {\\n \\"matchExpressions\\": [\\n {\\n \\"key\\": \\"asm-discovery\\",\\n \\"operator\\": \\"Exists\\"\\n }\\n ]\\n }\\n ]\\n ],\\n \\"OPAScopeInjection\\": {\\n \\"OPAScopeInjected\\": false\\n },\\n \\"CRAggregationConfiguration\\": {\\n \\"Enabled\\": true\\n },\\n \\"NFDConfiguration\\": {\\n \\"Enabled\\": true,\\n \\"NFDLabelPruned\\": true\\n },\\n \\"AccessLogExtraConf\\": {\\n \\"GatewayLifecycle\\": 30,\\n \\"SidecarLifecycle\\": 30,\\n \\"GatewayEnabled\\": true,\\n \\"SidecarEnabled\\": true\\n },\\n \\"AutoDiagnosis\\": {\\n \\"AutoDiagnosisEnabled\\": true\\n },\\n \\"AdaptiveXdsConfiguration\\": {\\n \\"Enabled\\": true,\\n \\"EgressResources\\": {\\n \\"Requests\\": {\\n \\"cpu\\": \\"100m\\",\\n \\"memory\\": \\"256Mi\\"\\n },\\n \\"Limits\\": {\\n \\"cpu\\": \\"200m\\",\\n \\"memory\\": \\"512Mi\\"\\n }\\n },\\n \\"EgressReplicaCount\\": 2,\\n \\"EgressAutoscaleEnabled\\": true,\\n \\"EgressMinReplica\\": 1,\\n \\"EgressMaxReplica\\": 2,\\n \\"EgressHpaCpu\\": {\\n \\"TargetAverageUtilization\\": 80\\n },\\n \\"EgressHpaMemory\\": {\\n \\"TargetAverageUtilization\\": 80\\n }\\n },\\n \\"IstiodExtraConfiguration\\": {\\n \\"LabelsForOffloadedWorkloads\\": \\"name=xx,region=xx\\",\\n \\"PilotEnableQuicListeners\\": false\\n },\\n \\"Playground\\": {\\n \\"Scene\\": \\"ewmaLb\\"\\n }\\n }\\n }\\n },\\n \\"Clusters\\": [\\n \\"[\\\\\\"caf089e56daba4c51a8906fe43ea1****\\\\\\",\\\\\\"c80f45444b3da447da60a911390c2****\\\\\\"]\\"\\n ],\\n \\"ClusterSpec\\": \\"standard\\",\\n \\"OwnerType\\": \\"ackone\\",\\n \\"OwnerId\\": \\"cc3e96f249d124eb38b72718ec5*****\\"\\n }\\n}","type":"json"}]', ], 'DescribeServiceMeshKubeconfig' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4648,30 +6136,17 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ASM instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], ], [ 'name' => 'PrivateIpAddress', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to query the kubeconfig file that is used for Internet access or internal network access.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to access the instance over an internal network.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], ], 'responses' => [ @@ -4679,42 +6154,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', - ], - 'Kubeconfig' => [ - 'description' => 'The content of the kubeconfig file of the cluster.'."\n", - 'type' => 'string', - 'example' => 'apiVersion: v1 clusters: - cluster: server: https://47.110.xx.xx:6443 certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURUakNDQWphZ0F3SUJBZ0lVYzBQVy82ejR1aHlxYkRRdnNsV1htSmpJeFdNd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1BqRW5NQThHQTFVRUNoTUlhR0Z1WjNwb2IzVXdGQVlEVlFRS0V3MWhiR2xpWVdKaElHTnNiM1ZrTVJNdwpFUVlEVlFRREV3cHJkV0psY201bGRHVnpNQ0FYRFRJeU1EUXdOekExTVRnd01Gb1lEekl3TlRJd016TXdNRFV4Ck9EQXdXakErTVNjd0R3WURWUVFLRXdob1lXNW5lbWh2ZFRBVUJnTlZCQW9URFdGc2FXSmhZbUVnWTJ4dmRXUXgKRXpBUkJnTlZCQU1UQ210MVltVnlibVYwWlhNd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJE****', - ], - 'ExpireTime' => [ - 'description' => 'The expiration time of the kubeconfig certificate. The format is: YYYY-MM-DD hh: mm: ss.', - 'type' => 'string', - 'example' => '2024-05-28 16:00:00', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****'], + 'Kubeconfig' => ['description' => 'The content of the kubeconfig file.', 'type' => 'string', 'title' => '', 'example' => 'apiVersion: v1 clusters: - cluster: server: https://47.110.xx.xx:6443 certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURUakNDQWphZ0F3SUJBZ0lVYzBQVy82ejR1aHlxYkRRdnNsV1htSmpJeFdNd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1BqRW5NQThHQTFVRUNoTUlhR0Z1WjNwb2IzVXdGQVlEVlFRS0V3MWhiR2xpWVdKaElHTnNiM1ZrTVJNdwpFUVlEVlFRREV3cHJkV0psY201bGRHVnpNQ0FYRFRJeU1EUXdOekExTVRnd01Gb1lEekl3TlRJd016TXdNRFV4Ck9EQXdXakErTVNjd0R3WURWUVFLRXdob1lXNW5lbWh2ZFRBVUJnTlZCQW9URFdGc2FXSmhZbUVnWTJ4dmRXUXgKRXpBUkJnTlZCQU1UQ210MVltVnlibVYwWlhNd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJE****'], + 'ExpireTime' => ['description' => 'The expiration time of the kubeconfig certificate. The format is YYYY-MM-DD hh:mm:ss.', 'type' => 'string', 'title' => '', 'example' => '2024-05-28 16:00:00'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"Kubeconfig\\": \\"apiVersion: v1 clusters: - cluster: server: https://47.110.xx.xx:6443 certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURUakNDQWphZ0F3SUJBZ0lVYzBQVy82ejR1aHlxYkRRdnNsV1htSmpJeFdNd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1BqRW5NQThHQTFVRUNoTUlhR0Z1WjNwb2IzVXdGQVlEVlFRS0V3MWhiR2xpWVdKaElHTnNiM1ZrTVJNdwpFUVlEVlFRREV3cHJkV0psY201bGRHVnpNQ0FYRFRJeU1EUXdOekExTVRnd01Gb1lEekl3TlRJd016TXdNRFV4Ck9EQXdXakErTVNjd0R3WURWUVFLRXdob1lXNW5lbWh2ZFRBVUJnTlZCQW9URFdGc2FXSmhZbUVnWTJ4dmRXUXgKRXpBUkJnTlZCQU1UQ210MVltVnlibVYwWlhNd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJE****\\",\\n \\"ExpireTime\\": \\"2024-05-28 16:00:00\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeServiceMeshKubeconfigResponse>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n <Kubeconfig>apiVersion: v1 clusters: - cluster: server: https://47.110.xx.xx:6443 certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURUakNDQWphZ0F3SUJBZ0lVYzBQVy82ejR1aHlxYkRRdnNsV1htSmpJeFdNd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1BqRW5NQThHQTFVRUNoTUlhR0Z1WjNwb2IzVXdGQVlEVlFRS0V3MWhiR2xpWVdKaElHTnNiM1ZrTVJNdwpFUVlEVlFRREV3cHJkV0psY201bGRHVnpNQ0FYRFRJeU1EUXdOekExTVRnd01Gb1lEekl3TlRJd016TXdNRFV4Ck9EQXdXakErTVNjd0R3WURWUVFLRXdob1lXNW5lbWh2ZFRBVUJnTlZCQW9URFdGc2FXSmhZbUVnWTJ4dmRXUXgKRXpBUkJnTlZCQU1UQ210MVltVnlibVYwWlhNd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJE****</Kubeconfig>\\n</DescribeServiceMeshKubeconfigResponse>","errorExample":""}]', 'title' => 'DescribeServiceMeshKubeconfig', - 'summary' => 'Queries the content of the kubeconfig file of a Service Mesh (ASM) instance.', + 'summary' => 'Retrieves the KubeConfig configuration for a Service Mesh instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeServiceMeshAdditionalStatus' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2023-08-21T01:38:49.000Z', 'description' => 'Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshKubeconfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"Kubeconfig\\": \\"apiVersion: v1 clusters: - cluster: server: https://47.110.xx.xx:6443 certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURUakNDQWphZ0F3SUJBZ0lVYzBQVy82ejR1aHlxYkRRdnNsV1htSmpJeFdNd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1BqRW5NQThHQTFVRUNoTUlhR0Z1WjNwb2IzVXdGQVlEVlFRS0V3MWhiR2xpWVdKaElHTnNiM1ZrTVJNdwpFUVlEVlFRREV3cHJkV0psY201bGRHVnpNQ0FYRFRJeU1EUXdOekExTVRnd01Gb1lEekl3TlRJd016TXdNRFV4Ck9EQXdXakErTVNjd0R3WURWUVFLRXdob1lXNW5lbWh2ZFRBVUJnTlZCQW9URFdGc2FXSmhZbUVnWTJ4dmRXUXgKRXpBUkJnTlZCQU1UQ210MVltVnlibVYwWlhNd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJE****\\",\\n \\"ExpireTime\\": \\"2024-05-28 16:00:00\\"\\n}","type":"json"}]', + ], + 'DescribeServiceMeshLogs' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4722,306 +6200,68 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '42928', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh4LB119', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the ASM instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca04bc38979214bf2882be79d39b4****', - ], - ], - [ - 'name' => 'CheckMode', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The check mode of the ASM instance. Valid values:'."\n" - ."\n" - .'* `normal`: checks the Server Load Balancer (SLB) instances created for exposing the API server and Istio Pilot, audit logs, and installation of Logtail for clusters on the data plane.'."\n" - .'* `full`: checks control plane logs, access logs, security groups, and the elastic IP addresses (EIPs) of the API server in addition to the check items in normal mode.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'full', - ], + 'schema' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ca04bc38979214bf2882be79d39b4****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", + 'description' => 'The log records of the service mesh.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '11fd0027-c27e-41bb-a565-75583054****', - ], - 'ClusterStatus' => [ - 'description' => 'The status of the cluster.'."\n", - 'type' => 'object', - 'properties' => [ - 'ApiServerLoadBalancerStatus' => [ - 'description' => 'The check results of the CLB instance created for exposing the API server.'."\n", - 'type' => 'object', - 'properties' => [ - 'SLBExistStatus' => [ - 'description' => 'The check results of the CLB instance. Valid values:'."\n" - ."\n" - .'* `exist`: The CLB instance exists.'."\n" - .'* `not_exist`: The CLB instance does not exist.'."\n" - .'* `conflict`: Conflicts are detected.'."\n" - .'* `failed`: The check fails.'."\n" - .'* `time_out`: The check times out.'."\n", - 'type' => 'string', - 'example' => 'exist', - ], - 'SLBBackEndServerNumStatus' => [ - 'description' => 'The check results of the number of backend servers of the CLB instance created for exposing Istio Pilot. Valid values:'."\n" - ."\n" - .'* `too_much`: An excessive number of backend servers are created.'."\n" - .'* `num_exact`: A proper number of backend servers are created.'."\n" - .'* `too_little`: The number of backend servers falls short.'."\n", - 'type' => 'string', - 'example' => 'num_exact', - ], - 'Reused' => [ - 'description' => 'Indicates whether the CLB instance is reused. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'Locked' => [ - 'description' => 'Indicates whether the CLB instance is locked. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'PayType' => [ - 'description' => 'The billing method of the CLB instance. Valid values:'."\n" - ."\n" - .'* `PrePay`: subscription'."\n" - .'* `PayOnDemand`: pay-as-you-go'."\n", - 'type' => 'string', - 'example' => 'PrePay', - ], - ], - ], - 'PilotLoadBalancerStatus' => [ - 'description' => 'The check results of the CLB instance created for exposing Istio Pilot.'."\n", - 'type' => 'object', - 'properties' => [ - 'SLBExistStatus' => [ - 'description' => 'The check results of the CLB instance. Valid values:'."\n" - ."\n" - .'* `exist`: The CLB instance exists.'."\n" - .'* `not_exist`: The CLB instance does not exist.'."\n" - .'* `conflict`: Conflicts are detected.'."\n" - .'* `failed`: The check fails.'."\n" - .'* `time_out`: The check times out.'."\n", - 'type' => 'string', - 'example' => 'exist', - ], - 'SLBBackEndServerNumStatus' => [ - 'description' => 'The check results of the number of backend servers of the CLB instance created for exposing Istio Pilot. Valid values:'."\n" - ."\n" - .'* `too_much`: An excessive number of backend servers are created.'."\n" - .'* `num_exact`: A proper number of backend servers are created.'."\n" - .'* `too_little`: The number of backend servers falls short.'."\n", - 'type' => 'string', - 'example' => 'num_exact', - ], - 'Reused' => [ - 'description' => 'Indicates whether the CLB instance is reused. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Locked' => [ - 'description' => 'Indicates whether the CLB instance is locked. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'PayType' => [ - 'description' => 'The billing method of the CLB instance. Valid values:'."\n" - ."\n" - .'* `PrePay`: subscription'."\n" - .'* `PayOnDemand`: pay-as-you-go'."\n", - 'type' => 'string', - 'example' => 'PayOnDemand', - ], - ], - ], - 'CanaryPilotLoadBalancerStatus' => [ - 'description' => 'The check results of the CLB instance that is created for exposing Istio Pilot and used during canary release.'."\n", - 'type' => 'object', - 'properties' => [ - 'SLBExistStatus' => [ - 'description' => 'The check result of the CLB instance. Valid values:'."\n" - ."\n" - .'* `exist`: The CLB instance exists.'."\n" - .'* `not_exist`: The CLB instance does not exist.'."\n" - .'* `time_out`: The check times out.'."\n" - .'* `failed`: The CLB instance has expired.'."\n", - 'type' => 'string', - 'example' => 'exist', - ], - 'SLBBackEndServerNumStatus' => [ - 'description' => 'The check result of the number of backend servers of the CLB instance created for exposing Istio Pilot. Valid values:'."\n" - ."\n" - .'* `num_exact`: A proper number of backend servers are created.'."\n" - .'* `too_much`: An excessive number of backend servers are created.'."\n" - .'* `too_little`: The number of backend servers falls short.'."\n", - 'type' => 'string', - 'example' => 'num_exact', - ], - 'Reused' => [ - 'description' => 'Indicates whether the CLB instance is reused. Valid values:'."\n" - ."\n" - .'* `true`: The CLB instance is reused. Non-ASM listener configuration is detected in the listener configurations of the CLB instance.'."\n" - .'* `false`: The CLB instance is not reused.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'Locked' => [ - 'description' => 'Indicates whether the CLB instance is locked due to overdue payments. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'PayType' => [ - 'description' => 'The billing method of the CLB instance. Valid values:'."\n" - ."\n" - .'* `PrePay`: subscription'."\n" - .'* `PayOnDemand` (default): pay-as-you-go'."\n", - 'type' => 'string', - 'example' => 'PayOnDemand', - ], - ], - ], - 'AuditProjectStatus' => [ - 'description' => 'Indicates whether audit logs exist. Valid values:'."\n" - ."\n" - .'* `exist`'."\n" - .'* `not exist`'."\n", - 'type' => 'string', - 'example' => 'exist', - ], - 'LogtailStatusRecord' => [ - 'description' => 'Indicates whether Logtail is installed in clusters on the data plane.'."\n", - 'type' => 'object', - 'example' => '{ "ca35eae22013e43758a0e26d04****":{ "accessLogDashboards":[ { "title":"mesh-access-log_details_cn", "url":"https://sls.console.aliyun.com/lognext/project/****/dashboard/mesh-access-log_details_cn" }, { "title":"mesh-access-log_monitoring_center_cn", "url":"https://sls.console.aliyun.com/lognext/project/****/dashboard/mesh-access-log_monitoring_center_cn" } ], "logtailStatus":"exist", "clusterId":"ca35eae22013e43758a0e26d04****" } }', - ], - 'ControlPlaneProjectStatus' => [ - 'description' => 'Indicates whether control plane logs exist. Valid values:'."\n" - ."\n" - .'* `exist`: Control plane logs exist.'."\n" - .'* `not_exist`: Control plane logs do not exist.'."\n" - .'* `failed`: The check fails.'."\n" - .'* `time_out`: The check times out.'."\n", - 'type' => 'string', - 'example' => 'exist', - ], - 'SgStatus' => [ - 'description' => 'Indicates whether the security group is reused. Valid values:'."\n" - ."\n" - .'* `reused`: The security group is reused.'."\n" - .'* `not_reused`: The security group is not reused.'."\n" - .'* `failed`: The check fails.'."\n" - .'* `time_out`: The check times out.'."\n", - 'type' => 'string', - 'example' => 'reused', - ], - 'ApiServerEIPStatus' => [ - 'description' => 'The check result of the EIP associated with the API server. Valid values:'."\n" - ."\n" - .'* `exist`: The EIP exists.'."\n" - .'* `not_exist`: The EIP does not exist.'."\n" - .'* `failed`: The check fails.'."\n" - .'* `time_out`: The check times out.'."\n" - .'* `not_in_use`: The EIP is not associated with the API Server.'."\n" - .'* `locked`: The EIP is locked.'."\n", - 'type' => 'string', - 'example' => 'exist', - ], - 'PilotEIPStatus' => [ - 'description' => 'The check result of whether the EIP is associated with the API server. Valid values:'."\n" - ."\n" - .'* `exist`: The EIP exists.'."\n" - .'* `not_exist`: The EIP does not exist.'."\n" - .'* `failed`: The check fails.'."\n" - .'* `time_out`: The check is timed out.'."\n" - .'* `not_in_use`: The EIP is not associated with the API server.'."\n" - .'* `locked`: The EIP is locked.'."\n", - 'type' => 'string', - 'example' => 'exist', - ], - 'AccessLogProjectStatus' => [ - 'description' => 'Indicates whether access logs exist. Valid values:'."\n" - ."\n" - .'* `exist`: Access logs exist.'."\n" - .'* `not_exist`: Access logs do not exist.'."\n" - .'* `failed`: The check fails.'."\n" - .'* `time_out`: The check times out.'."\n", - 'type' => 'string', - 'example' => 'exist', - ], - 'RAMApplicationStatus' => [ - 'description' => 'The status of the RAM OAuth application that is integrated with Mesh Topology. Valid values:'."\n" - ."\n" - .'* `exist`: The RAM OAuth application exists.'."\n" - .'* `reused`: The RAM OAuth application is reused.'."\n" - .'* `not_exist`: The RAM OAuth application does not exist.'."\n" - .'* `failed`: The check fails.'."\n" - .'* `time_out`: The check times out.'."\n", - 'type' => 'string', - 'example' => 'reused', - ], - 'CanaryPilotEIPStatus' => [ - 'description' => 'The EIP status of the Pilot during canary release.'."\n", - 'type' => 'string', - 'example' => 'exist', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****'], + 'Logs' => [ + 'description' => 'A list of log entries.', + 'type' => 'array', + 'items' => [ + 'description' => 'A log entry.', + 'type' => 'object', + 'properties' => [ + 'CreationTime' => ['description' => 'The time when the log entry was created.', 'type' => 'string', 'title' => '', 'example' => '2021-11-19T15:21:53+08:00'], + 'ServiceMeshId' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'title' => '', 'example' => 'ca04bc38979214bf2882be79d39b4****'], + 'Log' => ['description' => 'The content of the log entry.', 'type' => 'string', 'title' => '', 'example' => '[RequestID: 31d3a0f0-07ed-4f6e-9004-1804498c****, UID-110982038403****] c096d641835af4658827a4c66c234**** | Start to add cluster c186a6d9641a24098b5499d4d8313****'], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"11fd0027-c27e-41bb-a565-75583054****\\",\\n \\"ClusterStatus\\": {\\n \\"ApiServerLoadBalancerStatus\\": {\\n \\"SLBExistStatus\\": \\"exist\\",\\n \\"SLBBackEndServerNumStatus\\": \\"num_exact\\",\\n \\"Reused\\": false,\\n \\"Locked\\": false,\\n \\"PayType\\": \\"PrePay\\"\\n },\\n \\"PilotLoadBalancerStatus\\": {\\n \\"SLBExistStatus\\": \\"exist\\",\\n \\"SLBBackEndServerNumStatus\\": \\"num_exact\\",\\n \\"Reused\\": true,\\n \\"Locked\\": false,\\n \\"PayType\\": \\"PayOnDemand\\"\\n },\\n \\"CanaryPilotLoadBalancerStatus\\": {\\n \\"SLBExistStatus\\": \\"exist\\",\\n \\"SLBBackEndServerNumStatus\\": \\"num_exact\\",\\n \\"Reused\\": false,\\n \\"Locked\\": false,\\n \\"PayType\\": \\"PayOnDemand\\"\\n },\\n \\"AuditProjectStatus\\": \\"exist\\",\\n \\"LogtailStatusRecord\\": {\\n \\"ca35eae22013e43758a0e26d04****\\": {\\n \\"accessLogDashboards\\": [\\n {\\n \\"title\\": \\"mesh-access-log_details_cn\\",\\n \\"url\\": \\"https://sls.console.aliyun.com/lognext/project/****/dashboard/mesh-access-log_details_cn\\"\\n },\\n {\\n \\"title\\": \\"mesh-access-log_monitoring_center_cn\\",\\n \\"url\\": \\"https://sls.console.aliyun.com/lognext/project/****/dashboard/mesh-access-log_monitoring_center_cn\\"\\n }\\n ],\\n \\"logtailStatus\\": \\"exist\\",\\n \\"clusterId\\": \\"ca35eae22013e43758a0e26d04****\\"\\n }\\n },\\n \\"ControlPlaneProjectStatus\\": \\"exist\\",\\n \\"SgStatus\\": \\"reused\\",\\n \\"ApiServerEIPStatus\\": \\"exist\\",\\n \\"PilotEIPStatus\\": \\"exist\\",\\n \\"AccessLogProjectStatus\\": \\"exist\\",\\n \\"RAMApplicationStatus\\": \\"reused\\",\\n \\"CanaryPilotEIPStatus\\": \\"exist\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeServiceMeshAdditionalStatusResponse>\\n <RequestId>11fd0027-c27e-41bb-a565-75583054****</RequestId>\\n <ClusterStatus>\\n <ApiServerLoadBalancerStatus>\\n <SLBExistStatus>exist</SLBExistStatus>\\n <SLBBackEndServerNumStatus>num_exact</SLBBackEndServerNumStatus>\\n <Reused>false</Reused>\\n <PayType>PrePay</PayType>\\n </ApiServerLoadBalancerStatus>\\n <PilotLoadBalancerStatus>\\n <SLBExistStatus>exist</SLBExistStatus>\\n <SLBBackEndServerNumStatus>num_exact</SLBBackEndServerNumStatus>\\n <Reused>true</Reused>\\n <PayType>PayOnDemand</PayType>\\n </PilotLoadBalancerStatus>\\n <AuditProjectStatus>exist</AuditProjectStatus>\\n <LogtailStatusRecord>\\n <key>\\n <ClusterId>caeac85a793c94afbbb0a4bb20320****</ClusterId>\\n <LogtailDetailStatus>exist</LogtailDetailStatus>\\n <AccessLogDashboards>\\n <Title>audit-c186a6d9641a24098b549****</Title>\\n <Url>https://sls.console.aliyun.com/lognext/project/audit-c186a6d9641a24098b549xxxxxxxxxxxx/dashboard/mesh</Url>\\n </AccessLogDashboards>\\n </key>\\n </LogtailStatusRecord>\\n <ControlPlaneProjectStatus>exist</ControlPlaneProjectStatus>\\n <SgStatus>reused</SgStatus>\\n <ApiServerEIPStatus>exist</ApiServerEIPStatus>\\n <AccessLogProjectStatus>exist</AccessLogProjectStatus>\\n </ClusterStatus>\\n</DescribeServiceMeshAdditionalStatusResponse>","errorExample":""}]', - 'title' => 'DescribeServiceMeshAdditionalStatus', - 'summary' => 'Queries the check results of a Service Mesh (ASM) instance.', - ], - 'DescribeVersions' => [ - 'summary' => 'Queries available Service Mesh (ASM) versions when you create an ASM instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'DescribeServiceMeshLogs', + 'summary' => 'Retrieves service mesh logs.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshLogs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"Logs\\": [\\n {\\n \\"CreationTime\\": \\"2021-11-19T15:21:53+08:00\\",\\n \\"ServiceMeshId\\": \\"ca04bc38979214bf2882be79d39b4****\\",\\n \\"Log\\": \\"[RequestID: 31d3a0f0-07ed-4f6e-9004-1804498c****, UID-110982038403****] c096d641835af4658827a4c66c234**** | Start to add cluster c186a6d9641a24098b5499d4d8313****\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeServiceMeshProxyStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5029,69 +6269,114 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh4LB119', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'ServiceMeshId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ca04bc38979214bf2882be79d39b4****'], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The status of the proxy.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], - 'VersionInfo' => [ - 'description' => 'The available ASM versions.'."\n", + 'Message' => ['description' => 'The response message.', 'type' => 'string', 'title' => '', 'example' => 'success'], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****'], + 'ProxyStatus' => [ + 'description' => 'A list of proxy statuses.', 'type' => 'array', 'items' => [ + 'description' => 'The status of the proxy.', 'type' => 'object', 'properties' => [ - 'Edition' => [ - 'description' => 'The edition of the ASM instance. Valid values:'."\n" - ."\n" - .'* `Default`: Standard Edition'."\n" - .'* `Pro`: Professional Edition that is commercially released'."\n", - 'type' => 'string', - 'example' => 'Default', - ], - 'Versions' => [ - 'description' => 'The list of ASM versions available for the ASM instance of the current edition.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'An ASM version available for the ASM instance of the current edition.'."\n", - 'type' => 'string', - 'example' => 'v1.10.5.40-g2adf45be-aliyun', - ], - ], + 'ProxyVersion' => ['description' => 'The version of the proxy.', 'type' => 'string', 'title' => '', 'example' => '1.9.7'], + 'ClusterSynced' => ['description' => 'The status of the proxy. Valid values:'."\n" + ."\n" + .'- `SYNCED`: The proxy status is synchronized.'."\n" + ."\n" + .'- `NOT SENT`: The proxy status is not synchronized.'."\n" + ."\n" + .'- `STALE (Never Acknowledged)`: Istiod sent a proxy status update to Envoy, but an acknowledgment was never received.'."\n" + ."\n" + .'- `STALE`: Istiod sent a proxy status update to Envoy, but an acknowledgment has not been received.', 'type' => 'string', 'title' => '', 'example' => 'SYNCED'], + 'EndpointPercent' => ['description' => 'The percentage of endpoints.', 'type' => 'string', 'title' => '', 'example' => '1'], + 'ListenerSynced' => ['description' => 'The synchronization status of the listener. Valid values:'."\n" + ."\n" + .'- `SYNCED`: The listener status is synchronized.'."\n" + ."\n" + .'- `NOT SENT`: The listener status is not synchronized.'."\n" + ."\n" + .'- `STALE (Never Acknowledged)`: Istiod sent a listener status update to Envoy, but an acknowledgment was never received.'."\n" + ."\n" + .'- `STALE`: Istiod sent a listener status update to Envoy, but an acknowledgment has not been received.', 'type' => 'string', 'title' => '', 'example' => 'SYNCED'], + 'RouteSynced' => ['description' => 'The synchronization status of the route. Valid values:'."\n" + ."\n" + .'- `SYNCED`: The route status is synchronized.'."\n" + ."\n" + .'- `NOT SENT`: The route status is not synchronized.'."\n" + ."\n" + .'- `STALE (Never Acknowledged)`: Istiod sent a route status update to Envoy, but an acknowledgment was never received.'."\n" + ."\n" + .'- `STALE`: Istiod sent a route status update to Envoy, but an acknowledgment has not been received.', 'type' => 'string', 'title' => '', 'example' => 'SYNCED'], + 'EndpointSynced' => ['description' => 'The synchronization status of the endpoint. Valid values:'."\n" + ."\n" + .'- `SYNCED`: The endpoint status is synchronized.'."\n" + ."\n" + .'- `NOT SENT`: The endpoint status is not synchronized.'."\n" + ."\n" + .'- `STALE (Never Acknowledged)`: Istiod sent an endpoint status update to Envoy, but an acknowledgment was never received.'."\n" + ."\n" + .'- `STALE`: Istiod sent an endpoint status update to Envoy, but an acknowledgment has not been received.', 'type' => 'string', 'title' => '', 'example' => 'SYNCED'], + 'ProxyId' => ['description' => 'The ID of the proxy.', 'type' => 'string', 'title' => '', 'example' => '119q****'], + 'IstioVersion' => ['description' => 'The version of Istiod.', 'type' => 'string', 'title' => '', 'example' => '1.9.7'], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], + 'Code' => ['description' => 'The status code. Valid values:'."\n" + ."\n" + .'-` 200`: The status of the Istio proxy was queried.'."\n" + ."\n" + .'- `403`: Permission denied.'."\n" + ."\n" + .'- `503`: A backend service error occurred.', 'type' => 'string', 'title' => '', 'example' => '200'], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'string', 'title' => '', 'example' => 'success'], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"VersionInfo\\": [\\n {\\n \\"Edition\\": \\"Default\\",\\n \\"Versions\\": [\\n \\"v1.10.5.40-g2adf45be-aliyun\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeVersionsResponse>\\n <RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>\\n <VersionInfo>\\n <Edition>Default</Edition>\\n <Versions>v1.10.5.40-g2adf45be-aliyun</Versions>\\n </VersionInfo>\\n</DescribeVersionsResponse>","errorExample":""}]', - 'title' => 'DescribeVersions', - ], - 'ReActivateAudit' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'DescribeServiceMeshProxyStatus', + 'summary' => 'Queries the status of an Istio proxy.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshProxyStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"ProxyStatus\\": [\\n {\\n \\"ProxyVersion\\": \\"1.9.7\\",\\n \\"ClusterSynced\\": \\"SYNCED\\",\\n \\"EndpointPercent\\": \\"1\\",\\n \\"ListenerSynced\\": \\"SYNCED\\",\\n \\"RouteSynced\\": \\"SYNCED\\",\\n \\"EndpointSynced\\": \\"SYNCED\\",\\n \\"ProxyId\\": \\"119q****\\",\\n \\"IstioVersion\\": \\"1.9.7\\"\\n }\\n ],\\n \\"Code\\": \\"200\\",\\n \\"Success\\": \\"success\\"\\n}","type":"json"}]', + ], + 'DescribeServiceMeshUpgradeStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5099,167 +6384,197 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ServiceMeshId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => '11fd0027-c27e-41bb-a565-75583054****'], + ], + [ + 'name' => 'GuestClusterIds', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Service Mesh (ASM) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c5bf9eb05c4424b89985d6536a809****', - ], + 'schema' => ['description' => 'The IDs of the data plane clusters that are added to the ASM instance. Separate multiple IDs with commas.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'caeac85a793c94afbbb0a4bb20320****'], ], [ - 'name' => 'EnableAudit', + 'name' => 'AllIstioGatewayFullNames', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to recreate a project that is used to store audit logs. Valid values:'."\n" - ."\n" - .'* true: recreates a project.'."\n" - .'* false: does not recreate a project.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The fully qualified names of the ASM gateways. Separate multiple names with commas.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'istio-system:ingressgateway1,istio-system:ingressgateway2'], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ + 'description' => 'The upgrade status.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '17163CE9-CE4B-1B87-9185-1A1AD7E7****', - ], - 'Data' => [ - 'description' => 'The name of the project that is used to store audit logs.'."\n", - 'type' => 'string', - 'example' => 'k8s-log-c0703599f695f4b8fa1c6492a33af****', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '11fd0027-c27e-41bb-a565-75583054****'], + 'UpgradeDetail' => [ + 'description' => 'The details of the upgrade status.', + 'type' => 'object', + 'properties' => [ + 'FinishedGatewaysNum' => ['description' => 'The number of gateways that are upgraded.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], + 'MeshStatus' => ['description' => 'The status of the ASM instance. Valid values:'."\n" + ."\n" + .'- running: The instance is running.'."\n" + ."\n" + .'- `upgrading`: The instance is being upgraded.'."\n" + ."\n" + .'- `upgrading_failed`: The upgrade failed.', 'type' => 'string', 'title' => '', 'example' => 'running'], + 'TotalGatewaysNum' => ['description' => 'The total number of gateways.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2'], + 'GatewayStatusRecord' => [ + 'description' => 'The status records of the ASM gateways.', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['type' => 'string', 'description' => 'The upgrade status of the ASM gateway. Valid values:'."\n" + ."\n" + .'- `upgrading`: The gateway is being upgraded.'."\n" + ."\n" + .'- `pending`: The upgrade is pending.'."\n" + ."\n" + .'- `finished`: The upgrade is complete.'."\n" + ."\n" + .'- `notStart`: The upgrade has not started.'."\n" + ."\n" + .'- `failed`: The upgrade failed.'."\n" + ."\n" + .'- `unknown`: The status is unknown.', 'title' => '', 'example' => 'upgrading'], + 'Message' => ['type' => 'string', 'description' => 'The additional status information about the ASM gateway.', 'title' => '', 'example' => 'success'], + 'Version' => ['type' => 'string', 'description' => 'The version of the ASM gateway.', 'title' => '', 'example' => '1.9.7'], + ], + 'description' => 'The status of an ASM gateway.', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"17163CE9-CE4B-1B87-9185-1A1AD7E7****\\",\\n \\"Data\\": \\"k8s-log-c0703599f695f4b8fa1c6492a33af****\\"\\n}","errorExample":""},{"type":"xml","example":"<ReActivateAuditResponse>\\n <RequestId>17163CE9-CE4B-1B87-9185-1A1AD7E7****</RequestId>\\n <Data>k8s-log-c0703599f695f4b8fa1c6492a33af****</Data>\\n</ReActivateAuditResponse>","errorExample":""}]', - 'title' => 'ReActivateAudit', - 'summary' => 'Recreates a project that is used to store audit logs. After mesh audit is enabled, if you delete the log project that stores audit logs by mistake, you can recreate a project for storing audit logs.', - 'description' => 'Before you call this operation, make sure that you understand the billing methods of Simple Log Service. For more information, visit the [pricing page](https://www.alibabacloud.com/zh/pricing-calculator?\\_p_lc=1\\&spm=a2796.7960336.3034855210.1.44e6b91aaSp2M7#/commodity/vm_intl).'."\n", - ], - 'DescribeNodesInstanceType' => [ - 'summary' => 'Queries the instance types of nodes on the data plane and whether the instance types support Multi-Buffer acceleration.', - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 404 => [ + ['errorCode' => 'ERR404', 'errorMessage' => 'Not found', 'description' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'DescribeServiceMeshUpgradeStatus', + 'summary' => 'Queries the upgrade status of an ASM instance and its ASM gateways.', + 'changeSet' => [ + ['createdAt' => '2022-10-28T09:09:45.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-11-25T09:09:13.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-11-18T08:21:50.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-10-27T07:14:26.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshUpgradeStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"11fd0027-c27e-41bb-a565-75583054****\\",\\n \\"UpgradeDetail\\": {\\n \\"FinishedGatewaysNum\\": 1,\\n \\"MeshStatus\\": \\"running\\",\\n \\"TotalGatewaysNum\\": 2,\\n \\"GatewayStatusRecord\\": {\\n \\"key\\": {\\n \\"Status\\": \\"upgrading\\",\\n \\"Message\\": \\"success\\",\\n \\"Version\\": \\"1.9.7\\"\\n }\\n }\\n }\\n}","type":"json"}]', + ], + 'DescribeServiceMeshVMs' => [ + 'summary' => 'Calls DescribeServiceMeshVMs to obtain the ECS instances that reside in the same VPC as the Service Mesh.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREservicemeshB27TWZ', - ], - ], + 'deprecated' => true, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ServiceMeshId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Alibaba Cloud Service Mesh (ASM) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cb8963379255149cb98c8686f274x****', - ], + 'in' => 'query', + 'schema' => ['description' => 'The Service Mesh ID.', 'type' => 'string', 'required' => true, 'example' => 'ccb37ff104caf419fbf48fb38e6f****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The returned data.'."\n", + 'title' => '', + 'description' => 'Response parameters.', 'type' => 'object', 'properties' => [ - 'InstanceTypes' => [ - 'description' => 'The instance types of the nodes.'."\n", + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '4b2c0fe0-6705-4614-8521-6b9d289163c8'], + 'VMs' => [ + 'description' => 'The list of VMs that reside in the same VPC as the Service Mesh.', 'type' => 'array', 'items' => [ - 'description' => 'The instance type of the node.'."\n", 'type' => 'object', 'properties' => [ - 'NodeType' => [ - 'description' => 'The instance type of the node.'."\n", - 'type' => 'string', - 'example' => 'ecs.g7.xlarge', - ], - 'MultiBufferEnabled' => [ - 'description' => 'Indicates whether the instance type supports Multi-Buffer acceleration. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Key' => [ - 'description' => 'The label keys of nodes which have MultiBuffer optimization supported. (Enable optimization only if pod being scheduled to node which have a label key specified by this field and its value equals with the value field)', - 'type' => 'string', - 'example' => 'feature.node.kubernetes.io/mb-feature-enable', - ], - 'Value' => [ - 'description' => 'The label keys of nodes which have MultiBuffer optimization supported. (Enable optimization only if pod being scheduled to node which have a label key specified by the key field and its value equals with this field)', - 'type' => 'string', - 'example' => 'true', - ], + 'Status' => ['description' => 'The status of the VM.', 'type' => 'string', 'example' => 'Running', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the VM.', 'type' => 'string', 'example' => 'i-2ze0kub9scdguom****', 'title' => ''], + 'HasTag' => ['description' => 'Indicates whether the VM has been tagged.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'IpAddress' => ['description' => 'The IP address of the VM.', 'type' => 'string', 'example' => '192.168.2.241', 'title' => ''], + 'HostName' => ['description' => 'The hostname.', 'type' => 'string', 'example' => 'iZ2ze45cgxkx4q12eh****', 'title' => ''], + 'SecurityGroupIds' => ['description' => 'The security group.', 'type' => 'string', 'example' => 'sg-2zeaqy08amco9osl****', 'title' => ''], + 'ServiceMeshId' => ['description' => 'The Service Mesh ID.', 'type' => 'string', 'example' => 'ccb37ff104caf419fbf48fb38e6f3****', 'title' => ''], + 'Region' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'errorCodes' => [ - 500 => [ - [ - 'errorCode' => 'ERR500', - 'errorMessage' => 'An internal server error occurred.', + 'staticInfo' => ['noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4b2c0fe0-6705-4614-8521-6b9d289163c8\\",\\n \\"VMs\\": [\\n {\\n \\"Status\\": \\"Running\\",\\n \\"InstanceId\\": \\"i-2ze0kub9scdguom****\\",\\n \\"HasTag\\": false,\\n \\"IpAddress\\": \\"192.168.2.241\\",\\n \\"HostName\\": \\"iZ2ze45cgxkx4q12eh****\\",\\n \\"SecurityGroupIds\\": \\"sg-2zeaqy08amco9osl****\\",\\n \\"ServiceMeshId\\": \\"ccb37ff104caf419fbf48fb38e6f3****\\",\\n \\"Region\\": \\"cn-beijing\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Obtain ECS instances in the same VPC', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceMeshVMs'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshVMs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"InstanceTypes\\": [\\n {\\n \\"NodeType\\": \\"ecs.g7.xlarge\\",\\n \\"MultiBufferEnabled\\": true,\\n \\"Key\\": \\"feature.node.kubernetes.io/mb-feature-enable\\",\\n \\"Value\\": \\"true\\"\\n }\\n ],\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => 'DescribeNodesInstanceType', ], - 'DescribeCCMVersion' => [ - 'summary' => 'Queries the versions of the Cloud Controller Manager (CCM) component.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeServiceMeshes' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5268,244 +6583,377 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh8LRZ5X', - 'FEATUREservicemesh7GZC6M', - ], + 'abilityTreeCode' => '17617', + 'abilityTreeNodes' => ['FEATUREservicemesh4LB119'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ServiceMeshId', + 'name' => 'Tag', 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => 'The ID of the Service Mesh (ASM) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', + 'description' => 'The list of tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tag of the resource.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'test'], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'yahaha'], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'CCMVersions' => [ - 'description' => 'The versions of the CCM component in all clusters on the data plane.'."\n", - 'type' => 'object', - 'additionalProperties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], + 'ServiceMeshes' => [ + 'description' => 'The details of the service meshes.', + 'type' => 'array', + 'items' => [ 'type' => 'object', 'properties' => [ - 'QueryState' => [ - 'type' => 'string', - 'example' => 'time_out', - 'description' => 'The status of the query. Valid values:'."\n" - ."\n" - .'* `time_out`: The query times out.'."\n" - .'* `failed`: The query fails.'."\n" - .'* `Empty string`: The query is successful.'."\n", - ], - 'Version' => [ - 'type' => 'string', - 'example' => 'v2.0.1', - 'description' => 'The CCM version.'."\n", + 'Endpoints' => [ + 'description' => 'The endpoint details.', + 'type' => 'object', + 'properties' => [ + 'IntranetPilotEndpoint' => ['description' => 'The internal endpoint of Istio Pilot.', 'type' => 'string', 'title' => '', 'example' => '192.168.xx.xx:15011'], + 'IntranetApiServerEndpoint' => ['description' => 'The internal endpoint of the API server.', 'type' => 'string', 'title' => '', 'example' => 'https://192.168.xx.xx:6443'], + 'PublicApiServerEndpoint' => ['description' => 'The public endpoint of the API server.', 'type' => 'string', 'title' => '', 'example' => 'https://123.56.xx.xx:6443'], + 'ReverseTunnelEndpoint' => ['description' => 'The endpoint of the reverse tunnel. This parameter is deprecated.', 'type' => 'string', 'title' => '', 'example' => 'none'], + 'PublicPilotEndpoint' => ['description' => 'The public endpoint of the Istio Pilot for the mesh instance.', 'type' => 'string', 'title' => '', 'example' => 'xx.xx.xx.xx'], + ], + 'title' => '', + 'example' => '', ], - 'SLBGracefulDrainSupported' => [ - 'type' => 'boolean', - 'example' => 'true', - 'description' => 'Indicates whether Classic Load Balancer (CLB) graceful shutdown is supported.'."\n", + 'ServiceMeshInfo' => [ + 'description' => 'The basic information about the service mesh.', + 'type' => 'object', + 'properties' => [ + 'Profile' => ['description' => 'The edition of the service mesh instance before commercialization. Valid values:'."\n" + ."\n" + .'- `Pro`: Professional Edition.'."\n" + ."\n" + .'- `Default`: Standard Edition.', 'type' => 'string', 'title' => '', 'example' => 'Pro'], + 'CreationTime' => ['description' => 'The time when the service mesh was created.', 'type' => 'string', 'title' => '', 'example' => '2020-04-21T09:42:20+08:00'], + 'UpdateTime' => ['description' => 'The time when the service mesh was last modified.', 'type' => 'string', 'title' => '', 'example' => '2020-04-21T09:42:20+08:00'], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'error'], + 'Version' => ['description' => 'The version of the service mesh.', 'type' => 'string', 'title' => '', 'example' => '1'], + 'State' => ['description' => 'The status of the service mesh.', 'type' => 'string', 'title' => '', 'example' => 'success'], + 'ServiceMeshId' => ['description' => 'The service mesh ID.', 'type' => 'string', 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], + 'Name' => ['description' => 'The name of the service mesh.', 'type' => 'string', 'title' => '', 'example' => 'test'], + 'RegionId' => ['description' => 'The ID of the region where the service mesh resides.', 'type' => 'string', 'title' => '', 'example' => 'cn-beijing'], + ], + 'title' => '', + 'example' => '', ], - 'ClusterId' => [ - 'type' => 'string', - 'description' => 'The ID of the cluster instance on the data plane.'."\n", - 'example' => 'cfbb81b9b51a44b299349xxxxxxxxxxxx', + 'Spec' => [ + 'description' => 'The specifications.', + 'type' => 'object', + 'properties' => [ + 'Network' => [ + 'description' => 'The network configurations of the service mesh.', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The virtual private cloud (VPC) ID.', 'type' => 'string', 'title' => '', 'example' => 'vpc-2zew0rajjkmxy2369****'], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'title' => '', 'example' => 'sg-2ze384sxttxbctnj****'], + 'VSwitches' => [ + 'description' => 'The list of virtual switch IDs.', + 'type' => 'array', + 'items' => ['description' => 'The list of virtual switch IDs.', 'type' => 'string', 'title' => '', 'example' => '["1","2"]'], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'LoadBalancer' => [ + 'description' => 'The Server Load Balancer information.', + 'type' => 'object', + 'properties' => [ + 'PilotPublicEip' => ['description' => 'Indicates whether to expose Istio Pilot to the internet. Valid values:'."\n" + ."\n" + .'- `true`: Istio Pilot is exposed to the internet.'."\n" + ."\n" + .'- `false`: Istio Pilot is not exposed to the internet.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'PilotPublicLoadbalancerId' => ['description' => 'The ID of the Server Load Balancer instance that is used to expose Istio Pilot.', 'type' => 'string', 'title' => '', 'example' => 'lb-2zesa8qs8kbkj9jkl****'], + 'ApiServerLoadbalancerId' => ['description' => 'The ID of the Server Load Balancer instance that is used to expose the API server.', 'type' => 'string', 'title' => '', 'example' => 'lb-2zekaak10uxds44vx****'], + 'ApiServerPublicEip' => ['description' => 'Indicates whether to expose the API server to the internet. Valid values:'."\n" + ."\n" + .'- `true`: The API server is exposed to the internet.'."\n" + ."\n" + .'- `false`: The API server is not exposed to the internet.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + ], + 'title' => '', + 'example' => '', + ], + 'MeshConfig' => [ + 'description' => 'The configurations of the service mesh.', + 'type' => 'object', + 'properties' => [ + 'Telemetry' => ['description' => 'Indicates whether to enable Prometheus to collect metrics. (Managed Service for Prometheus is recommended.) Valid values:'."\n" + ."\n" + .'- `true`: Prometheus is enabled to collect metrics.'."\n" + ."\n" + .'- `false`: Prometheus is not enabled to collect metrics.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'OutboundTrafficPolicy' => ['description' => 'The outbound traffic policy. Valid values:'."\n" + ."\n" + .'- `ALLOW_ANY`: allows access to services outside the mesh.'."\n" + ."\n" + .'- `REGISTRY_ONLY`: allows access to only services that are registered in the mesh.', 'type' => 'string', 'title' => '', 'example' => 'ALLOW_ANY'], + 'Tracing' => ['description' => 'Indicates whether to enable Tracing Analysis. To enable this feature, activate Managed Service for OpenTelemetry. Valid values:'."\n" + ."\n" + .'- `true`: Tracing Analysis is enabled.'."\n" + ."\n" + .'- `false`: Tracing Analysis is not enabled.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'StrictMtls' => ['description' => 'The mode.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'Pilot' => [ + 'description' => 'The control plane configurations.', + 'type' => 'object', + 'properties' => [ + 'Http10Enabled' => ['description' => 'Indicates whether to enable HTTP 1.0. Valid values:'."\n" + ."\n" + .'- `true`: HTTP 1.0 is supported.'."\n" + ."\n" + .'- `false`: HTTP 1.0 is not supported.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'TraceSampling' => ['description' => 'The sample rate for Tracing Analysis.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '0.2'], + ], + 'title' => '', + 'example' => '', + ], + 'Mtls' => ['description' => 'Indicates whether to enable locality load balancing. Valid values:'."\n" + ."\n" + .'- `true`: Locality load balancing is enabled.'."\n" + ."\n" + .'- `false`: Locality load balancing is not enabled.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'SidecarInjector' => [ + 'description' => 'The configurations of the sidecar injector.', + 'type' => 'object', + 'properties' => [ + 'EnableNamespacesByDefault' => ['description' => 'Indicates whether to enable automatic sidecar injection for all namespaces.'."\n" + ."\n" + .'- `true`: Automatic sidecar injection is enabled for all namespaces.'."\n" + ."\n" + .'- `false`: Automatic sidecar injection is not enabled for all namespaces.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'AutoInjectionPolicyEnabled' => ['description' => 'Indicates whether to enable automatic sidecar injection using pod annotations.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'InitCNIConfiguration' => [ + 'description' => 'The configurations of Container Network Interface (CNI) initialization.', + 'type' => 'object', + 'properties' => [ + 'ExcludeNamespaces' => ['description' => 'The namespaces that are excluded from the Istio pod check.', 'type' => 'string', 'title' => '', 'example' => 'default,foo'], + 'Enabled' => ['description' => 'Indicates whether the istio-init container has privileged permissions for traffic redirection to istio-proxy. Valid values:'."\n" + ."\n" + .'- `true`: The istio-init container does not have privileged permissions.'."\n" + ."\n" + .'- `false`: The istio-init container has privileged permissions.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'ExtraConfiguration' => [ + 'description' => 'The extended configurations of the Service Mesh instance.', + 'type' => 'object', + 'properties' => [ + 'Playground' => [ + 'description' => 'The configurations of the ASM lab. This parameter is valid only for ASM lab instances.', + 'type' => 'object', + 'properties' => [ + 'Scene' => ['description' => 'The ID of the ASM lab scenario.', 'type' => 'string', 'title' => '', 'example' => 'ewmaLb'], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], - 'Message' => [ - 'type' => 'string', - 'description' => 'The additional information that is returned when the query fails. This parameter is empty if the query is successful.'."\n", - 'example' => 'timeout error', + 'Clusters' => [ + 'description' => 'The list of clusters.', + 'type' => 'array', + 'items' => ['description' => 'The list of clusters.', 'type' => 'string', 'title' => '', 'example' => '["caf089e56daba4c51a8906fe43ea1****","c80f45444b3da447da60a911390c2****"]'], + 'title' => '', + 'example' => '', ], - 'SLBGracefulDrainSupport' => [ - 'type' => 'boolean', - 'deprecated' => true, + 'ClusterSpec' => ['description' => 'The instance type of the Service Mesh instance. Valid values:'."\n" + ."\n" + .'- `standard`: Standard Edition.'."\n" + ."\n" + .'- `enterprise`: Enterprise Edition.'."\n" + ."\n" + .'- `ultimate`: Ultimate Edition.', 'type' => 'string', 'title' => '', 'example' => 'standard'], + 'OwnerType' => ['description' => 'The type of the cloud service that created the mesh. Valid values:'."\n" + ."\n" + .'- `ackone`: The mesh is created by ACK One.'."\n" + ."\n" + .'- If this parameter is empty, the mesh is created by a user.', 'type' => 'string', 'title' => '', 'example' => 'ackone'], + 'OwnerId' => ['description' => 'The ID of the cloud service instance that created the mesh.', 'type' => 'string', 'title' => '', 'example' => 'cc3e96f249d124eb38b72718ec5*****'], + 'Tag' => [ + 'description' => 'The collection of tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The resource tag.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'test'], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'yahaha'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'Upgradable' => ['description' => 'Indicates whether the mesh can be upgraded.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], ], - 'description' => 'The version information about the CCM component.'."\n", + 'description' => '', + 'title' => '', + 'example' => '', ], - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'ERR404', - 'errorMessage' => 'Not found', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeServiceMeshes', + 'summary' => 'Queries a list of service meshes.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-09-18T15:31:39.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-14T03:15:38.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-10-09T02:27:44.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-08-15T03:42:02.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2021-10-18T08:58:09.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CCMVersions\\": {\\n \\"key\\": {\\n \\"QueryState\\": \\"time_out\\",\\n \\"Version\\": \\"v2.0.1\\",\\n \\"SLBGracefulDrainSupported\\": true,\\n \\"ClusterId\\": \\"cfbb81b9b51a44b299349xxxxxxxxxxxx\\",\\n \\"Message\\": \\"timeout error\\",\\n \\"SLBGracefulDrainSupport\\": true\\n }\\n },\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeCCMVersionResponse>\\n <CCMVersions>\\n <key>\\n <QueryState>time_out</QueryState>\\n <Version>v2.0.1</Version>\\n <SLBGracefulDrainSupport>true</SLBGracefulDrainSupport>\\n <ClusterId>cfbb81b9b51a44b299349xxxxxxxxxxxx</ClusterId>\\n <Message>timeout error</Message>\\n </key>\\n </CCMVersions>\\n <RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>\\n</DescribeCCMVersionResponse>","errorExample":""}]', - 'title' => 'DescribeCCMVersion', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"ServiceMeshes\\": [\\n {\\n \\"Endpoints\\": {\\n \\"IntranetPilotEndpoint\\": \\"192.168.xx.xx:15011\\",\\n \\"IntranetApiServerEndpoint\\": \\"https://192.168.xx.xx:6443\\",\\n \\"PublicApiServerEndpoint\\": \\"https://123.56.xx.xx:6443\\",\\n \\"ReverseTunnelEndpoint\\": \\"none\\",\\n \\"PublicPilotEndpoint\\": \\"xx.xx.xx.xx\\"\\n },\\n \\"ServiceMeshInfo\\": {\\n \\"Profile\\": \\"Pro\\",\\n \\"CreationTime\\": \\"2020-04-21T09:42:20+08:00\\",\\n \\"UpdateTime\\": \\"2020-04-21T09:42:20+08:00\\",\\n \\"ErrorMessage\\": \\"error\\",\\n \\"Version\\": \\"1\\",\\n \\"State\\": \\"success\\",\\n \\"ServiceMeshId\\": \\"cb8963379255149cb98c8686f274x****\\",\\n \\"Name\\": \\"test\\",\\n \\"RegionId\\": \\"cn-beijing\\"\\n },\\n \\"Spec\\": {\\n \\"Network\\": {\\n \\"VpcId\\": \\"vpc-2zew0rajjkmxy2369****\\",\\n \\"SecurityGroupId\\": \\"sg-2ze384sxttxbctnj****\\",\\n \\"VSwitches\\": [\\n \\"[\\\\\\"1\\\\\\",\\\\\\"2\\\\\\"]\\"\\n ]\\n },\\n \\"LoadBalancer\\": {\\n \\"PilotPublicEip\\": true,\\n \\"PilotPublicLoadbalancerId\\": \\"lb-2zesa8qs8kbkj9jkl****\\",\\n \\"ApiServerLoadbalancerId\\": \\"lb-2zekaak10uxds44vx****\\",\\n \\"ApiServerPublicEip\\": true\\n },\\n \\"MeshConfig\\": {\\n \\"Telemetry\\": true,\\n \\"OutboundTrafficPolicy\\": \\"ALLOW_ANY\\",\\n \\"Tracing\\": true,\\n \\"StrictMtls\\": true,\\n \\"Pilot\\": {\\n \\"Http10Enabled\\": true,\\n \\"TraceSampling\\": 0.2\\n },\\n \\"Mtls\\": true,\\n \\"SidecarInjector\\": {\\n \\"EnableNamespacesByDefault\\": false,\\n \\"AutoInjectionPolicyEnabled\\": true,\\n \\"InitCNIConfiguration\\": {\\n \\"ExcludeNamespaces\\": \\"default,foo\\",\\n \\"Enabled\\": true\\n }\\n },\\n \\"ExtraConfiguration\\": {\\n \\"Playground\\": {\\n \\"Scene\\": \\"ewmaLb\\"\\n }\\n }\\n }\\n },\\n \\"Clusters\\": [\\n \\"[\\\\\\"caf089e56daba4c51a8906fe43ea1****\\\\\\",\\\\\\"c80f45444b3da447da60a911390c2****\\\\\\"]\\"\\n ],\\n \\"ClusterSpec\\": \\"standard\\",\\n \\"OwnerType\\": \\"ackone\\",\\n \\"OwnerId\\": \\"cc3e96f249d124eb38b72718ec5*****\\",\\n \\"Tag\\": [\\n {\\n \\"Key\\": \\"test\\",\\n \\"Value\\": \\"yahaha\\"\\n }\\n ],\\n \\"Upgradable\\": false\\n }\\n ]\\n}","type":"json"}]', ], - 'GetCaCert' => [ - 'summary' => 'Obtains a certificate issued by a certificate authority (CA).', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeUpgradeVersion' => [ + 'summary' => 'Call DescribeUpgradeVersion to retrieve the available upgrade versions for a Service Mesh instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREservicemesh4LB119'], ], 'parameters' => [ [ 'name' => 'ServiceMeshId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c7894c929677643a5bfe1a732d778a****', - ], + 'in' => 'query', + 'schema' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", + 'description' => 'The status of the upgrade.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'E0496204-7586-5B4C-B364-2361CC0ED****', - ], - 'CaCert' => [ - 'title' => 'base64 encode format', - 'description' => 'The Base64-encoded content of the CA certificate.'."\n", - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----\\nMIIFszCCA5ugAwIBAgIDM/1OMA0GCSqGSIb3DQEBCwUAME427zhT4HDLcCEW****-----END CERTIFICATE-----\\n', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '11fd0027-c27e-41bb-a565-75583054****'], + 'Version' => [ + 'description' => 'The version information.', + 'type' => 'object', + 'properties' => [ + 'KubernetesVersion' => ['description' => 'The Kubernetes version.', 'type' => 'string', 'title' => '', 'example' => 'v1.24.6-aliyun.1'], + 'IstioOperatorVersion' => ['description' => 'The version of the ASM instance.', 'type' => 'string', 'title' => '', 'example' => 'v1.17.2.42-gf7619883-aliyun'], + 'IstioVersion' => ['description' => 'The Istio version.', 'type' => 'string', 'title' => '', 'example' => '1.17.2'], + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E0496204-7586-5B4C-B364-2361CC0ED****\\",\\n \\"CaCert\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\nMIIFszCCA5ugAwIBAgIDM/1OMA0GCSqGSIb3DQEBCwUAME427zhT4HDLcCEW****-----END CERTIFICATE-----\\\\\\\\n\\"\\n}","errorExample":""},{"type":"xml","example":"<GetCaCertResponse>\\n <RequestId>E0496204-7586-5B4C-B364-2361CC0ED****</RequestId>\\n <CaCert>-----BEGIN CERTIFICATE-----\\\\nMIIFszCCA5ugAwIBAgIDM/1OMA0GCSqGSIb3DQEBCwUAME427zhT4HDLcCEW****-----END CERTIFICATE-----\\\\n</CaCert>\\n</GetCaCertResponse>","errorExample":""}]', - 'title' => 'GetCaCert', - ], - 'GrantUserPermissions' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'SubAccountUserId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the RAM user or RAM role.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => '27852573609480****', - ], - ], - [ - 'name' => 'Permissions', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The permissions that are granted to an entity. The content is a string that consists of JSON arrays. You must specify all permissions that you want to grant to an entity. You can add or remove permissions by modifying the content. Field definition of the sample code:'."\n" - ."\n" - .'* `IsCustom`: a parameter that is required by the system. Set the value to `true`.'."\n" - .'* `Cluster`: the ID of the Service Mesh (ASM) instance.'."\n" - .'* `RoleName`: the name of the permissions. Valid values: `istio-admin`, `istio-ops`, and `istio-readonly`. A value of istio-admin indicates the permissions of ASM administrators. A value of istio-ops indicates the permissions of ASM restricted users. A value of istio-readonly indicates the read-only permissions.'."\n" - .'* `IsRamRole`: the entity to which you want to grant the permissions. To grant the permissions to a RAM role, set the value to `true`. Otherwise, set the value to `false`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '[{"IsCustom":true,"RoleName":"istio-ops","Cluster":"c57b848115458460583a4260cb713****","RoleType":"custom","IsRamRole":false},{"IsCustom":true,"RoleName":"istio-ops","Cluster":"c4ec191f4e12145c09286ea3e2b8f****","RoleType":"custom","IsRamRole":false}]', - ], - ], - [ - 'name' => 'SubAccountUserIds', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The IDs of RAM users or RAM roles. You can grant permissions to multiple users at a time.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the RAM user or RAM role.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '27852573609480****'."\n", - ], - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '5A7C9E37-C171-584F-9A99-869B48C4****', - ], + 'title' => 'DescribeUpgradeVersion', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeUpgradeVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5A7C9E37-C171-584F-9A99-869B48C4****\\"\\n}","errorExample":""},{"type":"xml","example":"<GrantUserPermissionsResponse>\\n <RequestId>5A7C9E37-C171-584F-9A99-869B48C4****</RequestId>\\n</GrantUserPermissionsResponse>","errorExample":""}]', - 'title' => 'GrantUserPermissions', - 'summary' => 'Grants permissions to a Resource Access Management (RAM) user.', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"11fd0027-c27e-41bb-a565-75583054****\\",\\n \\"Version\\": {\\n \\"KubernetesVersion\\": \\"v1.24.6-aliyun.1\\",\\n \\"IstioOperatorVersion\\": \\"v1.17.2.42-gf7619883-aliyun\\",\\n \\"IstioVersion\\": \\"1.17.2\\"\\n }\\n}","type":"json"}]', ], 'DescribeUserPermissions' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5513,19 +6961,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'SubAccountUserId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of a RAM user or RAM role.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '27852573609480****', - ], + 'schema' => ['description' => 'The ID of the RAM user or RAM role.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '27852573609480****'], ], ], 'responses' => [ @@ -5533,73 +6974,65 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '5A7C9E37-C171-584F-9A99-869B48C4196D', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '5A7C9E37-C171-584F-9A99-869B48C4196D'], 'Permissions' => [ - 'description' => 'The permissions that are granted to an entity.'."\n", + 'description' => 'The list of permissions.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ParentId' => [ - 'description' => 'The value is fixed as `0`.'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'IsRamRole' => [ - 'description' => 'The entity to which the permissions are granted. A value of `true` indicates that the permissions are granted to a RAM user. A value of `false` indicates that the permissions are granted to a RAM role.'."\n", - 'type' => 'string', - 'example' => 'false', - ], - 'ResourceType' => [ - 'description' => 'The value is fixed as `cluster`.'."\n", - 'type' => 'string', - 'example' => 'cluster', - ], - 'RoleType' => [ - 'description' => 'The value is fixed as `custom`.'."\n", - 'type' => 'string', - 'example' => 'custom', - ], - 'RoleName' => [ - 'description' => 'The name of the permissions. Valid values:'."\n" - ."\n" - .'* `istio-admin`: the permissions of ASM administrators.'."\n" - .'* `istio-ops`: the permissions of ASM restricted users.'."\n" - .'* `istio-readonly`: the read-only permissions.'."\n", - 'type' => 'string', - 'example' => 'istio-admin', - ], - 'ResourceId' => [ - 'description' => 'The ID of the ASM instance.'."\n", - 'type' => 'string', - 'example' => 'c57b848115458460583a4260cb713****', - ], + 'ParentId' => ['description' => 'A required parameter. The value is fixed to `0`.', 'type' => 'string', 'title' => '', 'example' => '0'], + 'IsRamRole' => ['description' => 'The entity to which the permissions are granted. The value is `true` if the entity is a RAM role. Otherwise, the value is `false`.', 'type' => 'string', 'title' => '', 'example' => 'false'], + 'ResourceType' => ['description' => 'A required parameter. The value is fixed to `cluster`.', 'type' => 'string', 'title' => '', 'example' => 'cluster'], + 'RoleType' => ['description' => 'A required parameter. The value is fixed to `custom`.', 'type' => 'string', 'title' => '', 'example' => 'custom'], + 'RoleName' => ['description' => 'The name of the permission. Valid values:'."\n" + ."\n" + .'- `istio-admin`: administrator.'."\n" + ."\n" + .'- `istio-ops`: grid resource administrator.'."\n" + ."\n" + .'- `istio-readonly`: read-only permission.', 'type' => 'string', 'title' => '', 'example' => 'istio-admin'], + 'ResourceId' => ['description' => 'The ID of the grid instance.', 'type' => 'string', 'title' => '', 'example' => 'c57b848115458460583a4260cb713****'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5A7C9E37-C171-584F-9A99-869B48C4196D\\",\\n \\"Permissions\\": [\\n {\\n \\"ParentId\\": \\"0\\",\\n \\"IsRamRole\\": \\"false\\",\\n \\"ResourceType\\": \\"cluster\\",\\n \\"RoleType\\": \\"custom\\",\\n \\"RoleName\\": \\"istio-admin\\",\\n \\"ResourceId\\": \\"c57b848115458460583a4260cb713****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeUserPermissionsResponse>\\n <RequestId>5A7C9E37-C171-584F-9A99-869B48C4196D</RequestId>\\n <Permissions>\\n <ParentId>0</ParentId>\\n <IsRamRole>false</IsRamRole>\\n <ResourceType>cluster</ResourceType>\\n <RoleType>custom</RoleType>\\n <RoleName>istio-admin</RoleName>\\n <ResourceId>c57b848115458460583a4260cb713****</ResourceId>\\n </Permissions>\\n</DescribeUserPermissionsResponse>","errorExample":""}]', 'title' => 'DescribeUserPermissions', - 'summary' => 'Obtains role-based access control (RBAC) permissions.', + 'summary' => 'Obtains the authorizations for a RAM user.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeUserPermissions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5A7C9E37-C171-584F-9A99-869B48C4196D\\",\\n \\"Permissions\\": [\\n {\\n \\"ParentId\\": \\"0\\",\\n \\"IsRamRole\\": \\"false\\",\\n \\"ResourceType\\": \\"cluster\\",\\n \\"RoleType\\": \\"custom\\",\\n \\"RoleName\\": \\"istio-admin\\",\\n \\"ResourceId\\": \\"c57b848115458460583a4260cb713****\\"\\n }\\n ]\\n}","type":"json"}]', ], 'DescribeUsersWithPermissions' => [ - 'summary' => 'Queries the IDs of all RAM users or RAM roles to which a Role-based Access Control (RBAC) role is assigned.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Call DescribeUsersWithPermissions to retrieve the IDs of all Resource Access Management (RAM) users or RAM roles that have Role-Based Access Control (RBAC) permissions.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5611,24 +7044,18 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh45Z8Y2', - ], + 'abilityTreeNodes' => ['FEATUREservicemesh45Z8Y2'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'UserType', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to query the IDs of all RAM users or RAM roles to which an RBAC role is assigned. Valid values:'."\n" - ."\n" - .'* `SubUser`: Query the IDs of all RAM users to which an RBAC role is assigned.'."\n" - .'* `RamRole`: Query the IDs of all RAM roles to which an RBAC role is assigned.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'SubUser', - ], + 'schema' => ['description' => 'Specifies whether to list the IDs of RAM users or RAM roles. Valid values:'."\n" + ."\n" + .'- `SubUser`: Lists the IDs of RAM users.'."\n" + ."\n" + .'- `RamRole`: Lists the IDs of RAM roles.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'SubUser'], ], ], 'responses' => [ @@ -5636,156 +7063,125 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '12B94024-C241-13CD-BA44-6106DF1****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '12B94024-C241-13CD-BA44-6106DF1****'], 'UIDs' => [ - 'description' => 'The list of the IDs of the RAM users or RAM roles to which an RBAC role is assigned.'."\n", + 'description' => 'A list of IDs for the RAM users or RAM roles that currently have RBAC permissions.', 'type' => 'array', - 'items' => [ - 'description' => 'The ID of a RAM user or RAM role to which an RBAC role is assigned.'."\n", - 'type' => 'string', - 'example' => '2940213405997****', - ], + 'items' => ['description' => 'The ID of a RAM user or RAM role that currently has RBAC permissions.', 'type' => 'string', 'title' => '', 'example' => '2940213405997****'], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"12B94024-C241-13CD-BA44-6106DF1****\\",\\n \\"UIDs\\": [\\n \\"2940213405997****\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeUsersWithPermissionsResponse>\\n <RequestId>12B94024-C241-13CD-BA44-6106DF1*****</RequestId>\\n <UIDs>2940213405997*****</UIDs>\\n</DescribeUsersWithPermissionsResponse>","errorExample":""}]', 'title' => 'DescribeUsersWithPermissions', - ], - 'UpdateMeshCRAggregation' => [ - 'summary' => 'Updates the settings of whether to enable the Kubernetes API on the data plane to access Istio resources.', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2022-01-12T01:53:47.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeUsersWithPermissions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"12B94024-C241-13CD-BA44-6106DF1****\\",\\n \\"UIDs\\": [\\n \\"2940213405997****\\"\\n ]\\n}","type":"json"}]', + ], + 'DescribeVMsInServiceMesh' => [ + 'summary' => 'Retrieves the virtual machines that have been added to a service mesh.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'deprecated' => true, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ServiceMeshId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The Service Mesh (ASM) instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], - ], - [ - 'name' => 'Enabled', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the Kubernetes API on the data plane to access Istio resources in the ASM instance. Valid values:'."\n" - ."\n" - .'* `true`: enables the Kubernetes API to access Istio resources in the ASM instance.'."\n" - .'* `false`: disables the Kubernetes API to access Istio resources in the ASM instance.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'CPURequirement', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The number of CPU cores that are requested by the components installed in the Container Service for Kubernetes (ACK) cluster on the data plane if you enable the Kubernetes API to access Istio resources in the ASM instance. You can specify the parameter value in the standard quantity representation used by Kubernetes.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'MemoryRequirement', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The size of the memory that is requested by the components installed in the ACK cluster on the data plane if you enable the Kubernetes API to access Istio resources in the ASM instance. You can specify the parameter value in the standard quantity representation used by Kubernetes. 1 Mi equals 1,024 KB.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '500Mi', - ], - ], - [ - 'name' => 'CPULimit', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of CPU cores that are available for the components installed in the ACK cluster on the data plane if you enable the Kubernetes API to access Istio resources in the ASM instance. You can specify the parameter value in the standard quantity representation used by Kubernetes.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'MemoryLimit', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum size of the memory that is available for the components installed in the ACK cluster on the data plane if you enable the Kubernetes API to access Istio resources in the ASM instance. You can specify the parameter value in the standard quantity representation used by Kubernetes. 1 Mi equals 1,024 KB.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '500Mi', - ], - ], - [ - 'name' => 'UsePublicApiServer', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether the Kubernetes API on the data plane uses the public endpoint of the API server to access Istio resources in the ASM instance. Valid values:'."\n" - ."\n" - .'* `true`: The Kubernetes API on the data plane uses the public endpoint of the API server to access Istio resources in the ASM instance.'."\n" - .'* `false`: The Kubernetes API on the data plane uses the private endpoint of the API server to access Istio resources in the ASM instance.'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'in' => 'query', + 'schema' => ['description' => 'The service mesh ID.', 'type' => 'string', 'required' => true, 'example' => 'ccb37ff104caf419fbf48fb38e6f3****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '4b2c0fe0-6705-4614-8521-6b9d289163c8'], + 'VMs' => [ + 'description' => 'The list of virtual machines that have been added to the service mesh.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The virtual machine ID.', 'type' => 'string', 'example' => 'i-2ze45cgxkx4q12e****', 'title' => ''], + 'HasTag' => ['description' => 'Indicates whether the virtual machine has been tagged.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'IpAddress' => ['description' => 'The IP address of the virtual machine.', 'type' => 'string', 'example' => '10.0.*,***', 'title' => ''], + 'HostName' => ['description' => 'The hostname.', 'type' => 'string', 'example' => 'iZ2ze45cgxkx4q12eh9l****', 'title' => ''], + 'Status' => ['description' => 'The virtual machine status.', 'type' => 'string', 'example' => 'Running', 'title' => ''], + 'SecurityGroupIds' => ['description' => 'The security group IDs.', 'type' => 'string', 'example' => 'sg-2zeaqy08amco9osl****', 'title' => ''], + 'Region' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateMeshCRAggregationResponse>\\n <RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>\\n</UpdateMeshCRAggregationResponse>","errorExample":""}]', - 'title' => 'UpdateMeshCRAggregation', - ], - 'ModifyApiServerEipResource' => [ - 'summary' => 'Disassociates an elastic IP address (EIP) from an API server or associates an EIP with an API server.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4b2c0fe0-6705-4614-8521-6b9d289163c8\\",\\n \\"VMs\\": [\\n {\\n \\"InstanceId\\": \\"i-2ze45cgxkx4q12e****\\",\\n \\"HasTag\\": true,\\n \\"IpAddress\\": \\"10.0.*,***\\",\\n \\"HostName\\": \\"iZ2ze45cgxkx4q12eh9l****\\",\\n \\"Status\\": \\"Running\\",\\n \\"SecurityGroupIds\\": \\"sg-2zeaqy08amco9osl****\\",\\n \\"Region\\": \\"cn-beijing\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Get virtual machines in a service mesh', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVMsInServiceMesh'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeVMsInServiceMesh', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeVSwitches' => [ + 'summary' => 'Retrieves a list of vSwitches in a specified region and VPC.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5793,80 +7189,91 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ServiceMeshId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Alibaba Cloud Service Mesh (ASM) instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cb8963379255149cb98c8686f274x****', - ], - ], - [ - 'name' => 'Operation', + 'name' => 'RegionId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The type of the operation. Valid values:'."\n" - ."\n" - .'* `UnBindEip`: disassociates an EIP from the API server.'."\n" - .'* `BindEip`: associates an EIP with the API server.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'BindEip', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ApiServerEipId', + 'name' => 'VpcId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the EIP.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'eip-bp1adu9jegmxnaoq****', - ], + 'schema' => ['description' => 'The VPC ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'vpc-bp17gig441u0msmd78****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', + 'TotalCount' => ['title' => '', 'description' => 'The total number of entries that meet the query conditions. This parameter is optional and may not be returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], + 'NextToken' => ['title' => '', 'description' => 'The token that indicates the start of the next page of results. If this parameter is empty, all results have been returned.', 'type' => 'string', 'required' => true, 'example' => '“”'], + 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries returned on a single page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'VSwitches' => [ + 'title' => 'VSwitches', + 'description' => 'The list of available vSwitches.', + 'type' => 'array', + 'items' => [ + 'description' => 'An available vSwitch.', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The ID of the VPC to which the vSwitch belongs.', 'type' => 'string', 'title' => '', 'example' => 'vpc-bp17gig441u0msmd6****'], + 'VSwitchId' => ['description' => 'The ID of the vSwitch.', 'type' => 'string', 'title' => '', 'example' => 'vsw-bp1g24p9no0iqir46****'], + 'Status' => ['description' => 'The status of the vSwitch. Valid values:'."\n" + ."\n" + .'- `Pending`: The vSwitch is being configured.'."\n" + ."\n" + .'- `Available`: The vSwitch is available.', 'type' => 'string', 'title' => '', 'example' => 'Available'], + 'IsDefault' => ['description' => 'Indicates whether the vSwitch is the default vSwitch. Valid values:'."\n" + ."\n" + .'- `true`: The vSwitch is the default vSwitch.'."\n" + ."\n" + .'- `false`: The vSwitch is not the default vSwitch.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'VSwitchName' => ['description' => 'The name of the vSwitch.', 'type' => 'string', 'title' => '', 'example' => 'vsw-test'], + 'ZoneId' => ['description' => 'The zone to which the vSwitch belongs.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou-k'], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'errorCodes' => [ - 500 => [ - [ - 'errorCode' => 'ERR500', - 'errorMessage' => 'An internal server error occurred.', + 'title' => 'DescribeVSwitches', + 'changeSet' => [ + ['createdAt' => '2023-04-12T03:53:03.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-05-12T13:22:48.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVSwitches'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeVSwitches', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyApiServerEipResourceResponse>\\n <RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>\\n</ModifyApiServerEipResourceResponse>","errorExample":""}]', - 'title' => 'ModifyApiServerEipResource', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"NextToken\\": \\"“”\\",\\n \\"MaxResults\\": 10,\\n \\"VSwitches\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp17gig441u0msmd6****\\",\\n \\"VSwitchId\\": \\"vsw-bp1g24p9no0iqir46****\\",\\n \\"Status\\": \\"Available\\",\\n \\"IsDefault\\": false,\\n \\"VSwitchName\\": \\"vsw-test\\",\\n \\"ZoneId\\": \\"cn-hangzhou-k\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'DescribeVSwitches' => [ - 'summary' => 'Queries a list of vSwitches that are deployed in a specified virtual private cloud (VPC) in a region.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeVersions' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5876,128 +7283,78 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREservicemesh4LB119'], + 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'VpcId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The VPC ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-bp17gig441u0msmd78****', - ], - ], - ], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', - 'description' => 'The total number of vSwitches that are deployed in the VPC in the region. This parameter is optional and is not returned by default.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], - 'NextToken' => [ - 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕', - 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '“”', - ], - 'MaxResults' => [ - 'title' => 'MaxResults本次请求所返回的最大记录条数', - 'description' => 'The maximum number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'VSwitches' => [ - 'title' => 'VSwitches', - 'description' => 'The available vSwitches.'."\n", + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], + 'VersionInfo' => [ + 'description' => 'The information about the available ASM versions.', 'type' => 'array', 'items' => [ - 'description' => 'The information about the array object.'."\n", 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'description' => 'The ID of the VPC to which the vSwitch belongs.'."\n", - 'type' => 'string', - 'example' => 'vpc-bp17gig441u0msmd6****', - ], - 'VSwitchId' => [ - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'string', - 'example' => 'vsw-bp1g24p9no0iqir46****', - ], - 'Status' => [ - 'description' => 'The state of the vSwitch. Valid values:'."\n" - ."\n" - .'* `Pending`: The vSwitch is being configured.'."\n" - .'* `Available`: The vSwitch is available.'."\n", - 'type' => 'string', - 'example' => 'Available', - ], - 'IsDefault' => [ - 'description' => 'Indicates whether the vSwitch is the default vSwitch. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'VSwitchName' => [ - 'description' => 'The name of the vSwitch.'."\n", - 'type' => 'string', - 'example' => 'vsw-test', - ], - 'ZoneId' => [ - 'description' => 'The zone to which the switch belongs.', - 'type' => 'string', - 'example' => 'cn-hangzhou-k', + 'Edition' => ['description' => 'The edition of the ASM instance. Valid values:'."\n" + ."\n" + .'- `Default`: ASM Standard Edition'."\n" + ."\n" + .'- `Pro`: ASM Professional Edition', 'type' => 'string', 'title' => '', 'example' => 'Default'], + 'Versions' => [ + 'description' => 'A list of available ASM versions for the specified edition.', + 'type' => 'array', + 'items' => ['description' => 'An available ASM version for the specified edition.', 'type' => 'string', 'title' => '', 'example' => 'v1.10.5.40-g2adf45be-aliyun'], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"NextToken\\": \\"“”\\",\\n \\"MaxResults\\": 10,\\n \\"VSwitches\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp17gig441u0msmd6****\\",\\n \\"VSwitchId\\": \\"vsw-bp1g24p9no0iqir46****\\",\\n \\"Status\\": \\"Available\\",\\n \\"IsDefault\\": false,\\n \\"VSwitchName\\": \\"vsw-test\\",\\n \\"ZoneId\\": \\"cn-hangzhou-k\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeVSwitchesResponse>\\n <TotalCount>10</TotalCount>\\n <RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>\\n <NextToken>“”</NextToken>\\n <MaxResults>10</MaxResults>\\n <VSwitches>\\n <VpcId>vpc-bp17gig441u0msmd6****</VpcId>\\n <VSwitchId>vsw-bp1g24p9no0iqir46****</VSwitchId>\\n <Status>Available</Status>\\n <IsDefault>false</IsDefault>\\n <VSwitchName>vsw-test</VSwitchName>\\n <ZoneId>cn-hangzhou-k</ZoneId>\\n </VSwitches>\\n</DescribeVSwitchesResponse>","errorExample":""}]', - 'title' => 'DescribeVSwitches', + 'title' => 'DescribeVersions', + 'summary' => 'Call DescribeVersions to retrieve the available ASM versions for creating a service mesh.', + 'changeSet' => [ + ['createdAt' => '2021-12-31T09:35:31.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeVersions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"VersionInfo\\": [\\n {\\n \\"Edition\\": \\"Default\\",\\n \\"Versions\\": [\\n \\"v1.10.5.40-g2adf45be-aliyun\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', ], 'DescribeVpcs' => [ - 'summary' => 'Queries the virtual private clouds (VPCs) that are available in a specified region.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Call DescribeVpcs to retrieve available VPCs in a specified region.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6009,112 +7366,83 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh4LB119', - ], + 'abilityTreeNodes' => ['FEATUREservicemesh4LB119'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", + 'description' => 'Response parameters', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', - 'description' => 'The total number of entries returned. By default, this parameter is not returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], - 'NextToken' => [ - 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕', - 'description' => 'The token that marks the end of the current returned page. If this parameter is empty, it indicates that you have retrieved all the data.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '""', - ], - 'MaxResults' => [ - 'title' => 'MaxResults本次请求所返回的最大记录条数', - 'description' => 'The maximum number of entries returned on a single page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'TotalCount' => ['title' => '', 'description' => 'The total amount of data under the current request conditions. This parameter is optional and can be omitted by default', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Request ID', 'type' => 'string', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], + 'NextToken' => ['title' => '', 'description' => 'Indicates the position where the current call returns reading to. Empty indicates that all data has been read', 'type' => 'string', 'required' => true, 'example' => '""'], + 'MaxResults' => ['title' => '', 'description' => 'The maximum number of records returned by this request', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'Vpcs' => [ 'title' => 'Vpcs', - 'description' => 'The list of VPCs that are available in the specified region.'."\n", + 'description' => 'List of available VPCs in the specified region', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'Available VPC in the specified region', 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'description' => 'The ID of a VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-bp1qkf2o3xmqc2519****', - ], - 'VpcName' => [ - 'description' => 'The name of the VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-test', - ], - 'Status' => [ - 'description' => 'The status of the VPC. Valid values:'."\n" - ."\n" - .'* `Pending`: The VPC is being configured.'."\n" - .'* `Available`: The VPC is available for use.'."\n", - 'type' => 'string', - 'example' => 'Available', - ], - 'IsDefault' => [ - 'description' => 'Indicates whether the VPC is the default VPC in the specified region. Valid values:'."\n" - ."\n" - .'* `true`: yes'."\n" - .'* `false`: no'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], + 'VpcId' => ['description' => 'The ID of the VPC', 'type' => 'string', 'title' => '', 'example' => 'vpc-bp1qkf2o3xmqc2519****'], + 'VpcName' => ['description' => 'VPC name', 'type' => 'string', 'title' => '', 'example' => 'vpc-test'], + 'Status' => ['description' => 'The status of the VPC, values:'."\n" + ."\n" + .'- `Pending`: Configuring'."\n" + .'- `Available`: Available', 'type' => 'string', 'title' => '', 'example' => 'Available'], + 'IsDefault' => ['description' => 'Whether it is the default VPC for the region, values:'."\n" + ."\n" + .'- `true`: Default VPC'."\n" + .'- `false`: Not the default VPC', 'type' => 'boolean', 'title' => '', 'example' => 'false'], ], + 'title' => '', + 'example' => '', ], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"NextToken\\": \\"\\\\\\"\\\\\\"\\",\\n \\"MaxResults\\": 10,\\n \\"Vpcs\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp1qkf2o3xmqc2519****\\",\\n \\"VpcName\\": \\"vpc-test\\",\\n \\"Status\\": \\"Available\\",\\n \\"IsDefault\\": false\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeVpcsResponse>\\n <TotalCount>10</TotalCount>\\n <RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>\\n <NextToken>\\"\\"</NextToken>\\n <MaxResults>10</MaxResults>\\n <Vpcs>\\n <VpcId>vpc-bp1qkf2o3xmqc2519****</VpcId>\\n <VpcName>vpc-test</VpcName>\\n <Status>Available</Status>\\n <IsDefault>false</IsDefault>\\n </Vpcs>\\n</DescribeVpcsResponse>","errorExample":""}]', 'title' => 'DescribeVpcs', - ], - 'DescribeCens' => [ - 'summary' => 'Queries the network connectivity between clusters that are deployed across virtual private clouds (VPCs) in a Service Mesh (ASM) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2021-05-12T13:22:48.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcs'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeVpcs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"NextToken\\": \\"\\\\\\"\\\\\\"\\",\\n \\"MaxResults\\": 10,\\n \\"Vpcs\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp1qkf2o3xmqc2519****\\",\\n \\"VpcName\\": \\"vpc-test\\",\\n \\"Status\\": \\"Available\\",\\n \\"IsDefault\\": false\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetCaCert' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6122,176 +7450,149 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh4LB119', - ], - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ServiceMeshId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ASM instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ce134b0727aa2492db69f6c3880e1****', - ], + 'in' => 'formData', + 'schema' => ['description' => 'The Service Mesh ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c7894c929677643a5bfe1a732d778a****'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The Base64-encoded content of the CA certificate.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], - 'Clusters' => [ - 'description' => 'The list of Kubernetes clusters that are added to the same ASM instance but are in different VPCs and are not connected by using a Cloud Enterprise Network (CEN) instance.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The Kubernetes cluster ID.'."\n", - 'type' => 'string', - 'example' => 'c584d805c7bd442b8bac421f9849f*****', - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'E0496204-7586-5B4C-B364-2361CC0ED****'], + 'CaCert' => ['title' => 'base64 encode format', 'description' => 'The Base64-encoded content of the CA certificate.', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----\\nMIIFszCCA5ugAwIBAgIDM/1OMA0GCSqGSIb3DQEBCwUAME427zhT4HDLcCEW****-----END CERTIFICATE-----\\n'], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"Clusters\\": [\\n \\"c584d805c7bd442b8bac421f9849f*****\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeCensResponse>\\n <RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>\\n <Clusters>c584d805c7bd442b8bac421f9849f*****</Clusters>\\n</DescribeCensResponse>","errorExample":""}]', - 'title' => 'DescribeCens', - ], - 'DescribeCrTemplates' => [ - 'summary' => 'Queries the common YAML templates of Istio resources used by Service Mesh (ASM) instances.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetCaCert', + 'summary' => 'Obtains the CA certificate.', + 'changeSet' => [ + ['createdAt' => '2021-04-22T09:40:55.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:GetCaCert', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E0496204-7586-5B4C-B364-2361CC0ED****\\",\\n \\"CaCert\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\nMIIFszCCA5ugAwIBAgIDM/1OMA0GCSqGSIb3DQEBCwUAME427zhT4HDLcCEW****-----END CERTIFICATE-----\\\\\\\\n\\"\\n}","type":"json"}]', + ], + 'GetDeploymentBySelector' => [ + 'summary' => 'Retrieves a list of workloads that are specified by a selector.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREservicemeshC7BE8V', - ], - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => [], 'parameters' => [ [ - 'name' => 'IstioVersion', + 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The version of Istio used by the ASM instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'v1.9.7.31-g24cdcb43-aliyun', - ], + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ce9fc65def2aa4c918747b9360fbda737'], ], [ - 'name' => 'Kind', + 'name' => 'GuestCluster', 'in' => 'formData', + 'schema' => ['description' => 'The name of the cluster.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cbe80a56d07ed45818b4d39273e234688'], + ], + [ + 'name' => 'NameSpace', + 'in' => 'formData', + 'schema' => ['description' => 'The namespace.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], + ], + [ + 'name' => 'Limit', + 'in' => 'formData', + 'schema' => ['description' => 'The maximum number of entries to return.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '10'], + ], + [ + 'name' => 'Mark', + 'in' => 'formData', + 'schema' => ['description' => 'The pagination token that is returned from the previous query.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6NzgxODk3MCwic3RhcnQiOiJuZ2lueDQ1N1x1MDAwMCJ9'], + ], + [ + 'name' => 'LabelSelector', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => 'The type of Istio resource whose common YAML templates you want to query. Valid values:'."\n" - ."\n" - .'* AuthorizationPolicy'."\n" - .'* RequestAuthentication'."\n" - .'* PeerAuthentication'."\n" - .'* WorkloadGroup'."\n" - .'* WorkloadEntry'."\n" - .'* Sidecar'."\n" - .'* EnvoyFilter'."\n" - .'* ServiceEntry'."\n" - .'* Gateway'."\n" - .'* DestinationRule'."\n" - .'* VirtualService'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'VirtualService', + 'description' => 'The label selector.', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string', 'description' => 'The label selector.', 'title' => '', 'example' => 'app=perth-gateway'], + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '74E97AE2-2900-55C1-A069-C3C1EA*****', - ], - 'Templates' => [ - 'description' => 'The common YAML templates for the specified type of Istio resource.'."\n", + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '946690C2-41D3-55A0-A501-E2FFAB5F8C24'], + 'DeploymentNameList' => [ + 'description' => 'A list of workload names.', 'type' => 'array', - 'items' => [ - 'description' => 'The common YAML templates for the specified type of Istio resource.'."\n", - 'type' => 'object', - 'properties' => [ - 'ChineseName' => [ - 'description' => 'The Chinese name of the YAML template.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'EnglishName' => [ - 'description' => 'The English name of the YAML template.'."\n", - 'type' => 'string', - 'example' => 'HTTP basic routing', - ], - 'Yaml' => [ - 'description' => 'The content in the YAML template.'."\n", - 'type' => 'string', - 'example' => 'apiVersion: networking.istio.io/v1beta1\\nkind: VirtualService\\nmetadata:\\n name: reviews-route # Name for this VirtualService.\\nspec:\\n hosts:\\n - reviews.prod.svc.cluster.local # Service that this VirtualSerivce belongs to. \\n http:\\n - name: \\"reviews-route\\" # Name for the route.\\n route:\\n - destination: # Uniquely identifies the instances of a service to which all traffic should be forwarded to.\\n host: reviews.prod.svc.cluster.local # The name of a service from the service registry or ServiceEntry.\\n port:\\n number: 8080"', - ], - ], - ], + 'items' => ['description' => 'The name of a workload.', 'type' => 'string', 'format' => 'byte', 'title' => '', 'example' => 'httpbin'], + 'title' => '', + 'example' => '', ], + 'Mark' => ['description' => 'The token that marks the end of the returned data.', 'type' => 'string', 'title' => '', 'example' => 'eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6NTgyMDUzMzk5MCwic3RhcnQiOiJwbXMtYWRhcHRlci1kZGxsXHUwMDAwIn0'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'ERR404', - 'errorMessage' => 'Not found', + 'title' => 'GetDeploymentBySelector', + 'changeSet' => [ + ['createdAt' => '2022-09-28T07:26:38.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:GetDeploymentBySelector', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"74E97AE2-2900-55C1-A069-C3C1EA*****\\",\\n \\"Templates\\": [\\n {\\n \\"ChineseName\\": \\"HTTP基础路由\\",\\n \\"EnglishName\\": \\"HTTP basic routing\\",\\n \\"Yaml\\": \\"apiVersion: networking.istio.io/v1beta1\\\\\\\\nkind: VirtualService\\\\\\\\nmetadata:\\\\\\\\n name: reviews-route # Name for this VirtualService.\\\\\\\\nspec:\\\\\\\\n hosts:\\\\\\\\n - reviews.prod.svc.cluster.local # Service that this VirtualSerivce belongs to. \\\\\\\\n http:\\\\\\\\n - name: \\\\\\\\\\\\\\"reviews-route\\\\\\\\\\\\\\" # Name for the route.\\\\\\\\n route:\\\\\\\\n - destination: # Uniquely identifies the instances of a service to which all traffic should be forwarded to.\\\\\\\\n host: reviews.prod.svc.cluster.local # The name of a service from the service registry or ServiceEntry.\\\\\\\\n port:\\\\\\\\n number: 8080\\\\\\"\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeCrTemplatesResponse>\\n <RequestId>74E97AE2-2900-55C1-A069-C3C1EA*****</RequestId>\\n <Templates>\\n <ChineseName>HTTP基础路由</ChineseName>\\n <EnglishName>HTTP basic routing</EnglishName>\\n <Yaml>apiVersion: networking.istio.io/v1beta1\\\\nkind: VirtualService\\\\nmetadata:\\\\n name: reviews-route # Name for this VirtualService.\\\\nspec:\\\\n hosts:\\\\n - reviews.prod.svc.cluster.local # Service that this VirtualSerivce belongs to. \\\\n http:\\\\n - name: \\\\\\"reviews-route\\\\\\" # Name for the route.\\\\n route:\\\\n - destination: # Uniquely identifies the instances of a service to which all traffic should be forwarded to.\\\\n host: reviews.prod.svc.cluster.local # The name of a service from the service registry or ServiceEntry.\\\\n port:\\\\n number: 8080\\"</Yaml>\\n </Templates>\\n</DescribeCrTemplatesResponse>","errorExample":""}]', - 'title' => 'DescribeCrTemplates', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"946690C2-41D3-55A0-A501-E2FFAB5F8C24\\",\\n \\"DeploymentNameList\\": [\\n \\"httpbin\\"\\n ],\\n \\"Mark\\": \\"eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6NTgyMDUzMzk5MCwic3RhcnQiOiJwbXMtYWRhcHRlci1kZGxsXHUwMDAwIn0\\"\\n}","type":"json"}]', ], - 'DescribeEipResources' => [ - 'summary' => 'Queries elastic IP addresses (EIPs).', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetGrafanaDashboardUrl' => [ + 'summary' => 'Retrieves a Grafana dashboard URL from ARMS.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6299,782 +7600,366 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the ASM instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cb8963379255149cb98c8686f274x****', - ], + 'schema' => ['description' => 'The service mesh ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], ], [ - 'name' => 'PageNum', + 'name' => 'K8sClusterId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The number of the page to return. Default value: 1.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the ACK or ASK cluster.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c94ca2d27f7aa47ab84ed73e6f084****'], ], [ - 'name' => 'PageSize', + 'name' => 'Title', 'in' => 'formData', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '50', - ], + 'schema' => ['description' => 'The name of the dashboard.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'Cloud ASM Istio Http Gateway'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], - 'EipList' => [ - 'description' => 'The EIPs.'."\n", + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '76DBB8A0-5AA6-5A56-9A8A-****'], + 'Dashboards' => [ + 'description' => 'The dashboard information.', 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'IpAddress' => [ - 'description' => 'The IP address of the EIP.'."\n", - 'type' => 'string', - 'example' => '120.xx.xx.112', - ], - 'Status' => [ - 'description' => 'The status of the EIP. Valid values:'."\n" - ."\n" - .'* `Associating`: The EIP is being associated with a resource.'."\n" - .'* `Unassociating`: The EIP is being disassociated from a resource.'."\n" - .'* `InUse`: The EIP is associated with a resource.'."\n" - .'* `Available`: The EIP is available.'."\n", - 'type' => 'string', - 'example' => 'InUse', - ], - 'AllocationId' => [ - 'description' => 'The ID of the EIP.'."\n", - 'type' => 'string', - 'example' => 'eip-2zeerraiwb7ujxscd****', - ], - 'InstanceType' => [ - 'description' => 'The type of the resource that is associated with the EIP. Valid values:'."\n" - ."\n" - .'* `EcsInstance`: an ECS instance in a VPC'."\n" - .'* `SlbInstance`: a Server Load Balancer (SLB) instance in a VPC'."\n" - .'* `Nat`: a NAT gateway'."\n" - .'* `HaVip`: a high-availability virtual IP address (HAVIP)'."\n" - .'* `NetworkInterface`: a secondary elastic network interface (ENI)'."\n" - ."\n" - .'Default value: `EcsInstance`.'."\n", - 'type' => 'string', - 'example' => 'SlbInstance', - ], - ], - ], - ], - 'PageResult' => [ - 'description' => 'The pagination information.'."\n", - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => 'The number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', + 'Url' => ['description' => 'The URL of the dashboard.', 'type' => 'string', 'title' => '', 'example' => 'https://g.console.aliyun.com/d/181863583797****-14651340-200-2/alibaba-cloud-mesh-service?orgId=32****&refresh=60s'], + 'Title' => ['description' => 'The name of the dashboard.', 'type' => 'string', 'title' => '', 'example' => 'Cloud ASM Istio Http Gateway'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 500 => [ - [ - 'errorCode' => 'ERR500', - 'errorMessage' => 'An internal server error occurred.', + 'title' => 'GetGrafanaDashboardUrl', + 'changeSet' => [ + ['createdAt' => '2022-09-28T07:26:38.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:GetGrafanaDashboardUrl', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"EipList\\": [\\n {\\n \\"IpAddress\\": \\"120.xx.xx.112\\",\\n \\"Status\\": \\"InUse\\",\\n \\"AllocationId\\": \\"eip-2zeerraiwb7ujxscd****\\",\\n \\"InstanceType\\": \\"SlbInstance\\"\\n }\\n ],\\n \\"PageResult\\": {\\n \\"TotalCount\\": 10,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeEipResourcesResponse>\\n <RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>\\n <EipList>\\n <IpAddress>120.xx.xx.112</IpAddress>\\n <Status>InUse</Status>\\n <AllocationId>eip-2zeerraiwb7ujxscd****</AllocationId>\\n <InstanceType>SlbInstance</InstanceType>\\n </EipList>\\n <PageResult>\\n <TotalCount>10</TotalCount>\\n <PageNumber>1</PageNumber>\\n <PageSize>10</PageSize>\\n </PageResult>\\n</DescribeEipResourcesResponse>","errorExample":""}]', - 'title' => 'DescribeEipResources', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"76DBB8A0-5AA6-5A56-9A8A-****\\",\\n \\"Dashboards\\": [\\n {\\n \\"Url\\": \\"https://g.console.aliyun.com/d/181863583797****-14651340-200-2/alibaba-cloud-mesh-service?orgId=32****&refresh=60s\\",\\n \\"Title\\": \\"Cloud ASM Istio Http Gateway\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'UpdateNamespaceScopeSidecarConfig' => [ - 'summary' => 'Updates the configurations of sidecar proxies at the namespace level.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetRegisteredServiceEndpoints' => [ + 'summary' => 'You can call GetRegisteredServiceEndpoints to retrieve information about registered service endpoints.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '114945', - 'abilityTreeNodes' => [ - 'FEATUREservicemeshB27TWZ', - ], + 'abilityTreeNodes' => ['FEATUREservicemeshC7BE8V'], ], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the ASM instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca04bc38979214bf2882be79d39b4****', - ], + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], ], [ 'name' => 'Namespace', 'in' => 'formData', - 'schema' => [ - 'description' => 'The namespace for which you want to update the sidecar proxy configurations.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'IncludeIPRanges', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The range of IP addresses that are denied to access external services. (`global.proxy.includelPRanges`)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '*', - ], - ], - [ - 'name' => 'ExcludeIPRanges', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The range of IP addresses that are allowed to access external services. (`global.proxy.excludelPRanges`)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '172.16.0.0/12', - ], - ], - [ - 'name' => 'IncludeInboundPorts', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The port that the inbound traffic of the sidecar proxy passes through.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '83', - ], - ], - [ - 'name' => 'ExcludeOutboundPorts', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The port that the outbound traffic of the sidecar proxy does not pass through.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '81', - ], - ], - [ - 'name' => 'ExcludeInboundPorts', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The port that the inbound traffic of the sidecar proxy does not pass through.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '82', - ], - ], - [ - 'name' => 'IncludeOutboundPorts', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The port that the outbound traffic of the sidecar proxy passes through.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '84', - ], - ], - [ - 'name' => 'TerminationDrainDuration', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum period of time that the sidecar proxy waits for a request to end.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '6s', - ], - ], - [ - 'name' => 'ProxyInitCPUResourceLimit', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of CPU cores that are available to the sidecar proxy init container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2000 m', - ], - ], - [ - 'name' => 'ProxyInitMemoryResourceLimit', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum size of memory that is available to the sidecar proxy init container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '50 Mi', - ], - ], - [ - 'name' => 'ProxyInitCPUResourceRequest', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The minimum number of CPU cores that are requested by the sidecar proxy init container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '60 m', - ], - ], - [ - 'name' => 'ProxyInitMemoryResourceRequest', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The minimum size of memory that is requested by the sidecar proxy init container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '30 Mi', - ], - ], - [ - 'name' => 'SidecarProxyCPUResourceLimit', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of CPU cores that are available to the sidecar proxy container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2000 m', - ], - ], - [ - 'name' => 'SidecarProxyMemoryResourceLimit', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum size of memory that is available to the sidecar proxy container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '50 Mi', - ], - ], - [ - 'name' => 'SidecarProxyCPUResourceRequest', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The minimum number of CPU cores that are requested by the sidecar proxy container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '60 m', - ], - ], - [ - 'name' => 'SidecarProxyMemoryResourceRequest', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The minimum size of memory that is requested by the sidecar proxy container.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '30 Mi', - ], - ], - [ - 'name' => 'Lifecycle', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The lifecycle of the sidecar proxy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"postStart":{"exec":{"command":["pilot-agent","wait"]}},"preStop":{"exec":{"command":["/bin/sh","-c","sleep 15"]}}}', - ], - ], - [ - 'name' => 'IstioDNSProxyEnabled', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the Domain Name System (DNS) proxy feature. Valid values:'."\n" - ."\n" - .'* `true`: The DNS proxy feature is enabled.'."\n" - .'* `false`: The DNS proxy feature is disabled.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'PostStart', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The post-start parameters of Istio Proxy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"exec":{"command":["pilot-agent","wait"]}}', - ], + 'schema' => ['description' => 'The namespace.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], ], [ - 'name' => 'PreStop', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The pre-close parameters of Istio Proxy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"exec":{"command":["/bin/sh","-c","sleep 15"]}}', - ], - ], - [ - 'name' => 'Concurrency', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The number of worker threads to run in Istio Proxy.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], - ], - [ - 'name' => 'ProxyStatsMatcher', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The monitoring metrics for data collected by Envoy proxies. The value is in the JSON format.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{ "inclusionPrefixes": [ "cluster.outbound", "cluster_manager", "listener_manager", "server", "cluster.xds-grpc" ], "inclusionRegexps": [ "listener.*.downstream_cx_total", "listener.*.downstream_cx_active" ] }', - ], - ], - [ - 'name' => 'HoldApplicationUntilProxyStarts', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether applications can be started only after Istio Proxy starts. Valid values:'."\n" - ."\n" - .'* `true`: Applications can be started only after Istio Proxy starts.'."\n" - .'* `false`: Applications can be started before Istio Proxy starts.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'LogLevel', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The log level. Valid values: `info`, `debug`, `tracing`, and `error`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'info', - ], - ], - [ - 'name' => 'Tracing', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The custom configurations of Tracing Analysis. The configurations must be serialized into JSON strings. The configurations contain the following parameters:'."\n" - ."\n" - .'* `sampling`: The sampling rate, which is of the DOUBLE type.'."\n" - ."\n" - .'* `custom_tags`: The custom tags added to reported spans, which are of the MAP type. The key of a tag is of the string type. The value of a tag is in the JSON format. A custom tag can belong to one of the following types:'."\n" - ."\n" - .' * `literal`: The tag value is a fixed value in the JSON format. This tag must contain the `value` field that specifies a literal. Example: `{"value":"test"}`.'."\n" - .' * `header`: The tag value is a request header in the JSON format. This tag must contain the `name` field and `defaultValue` field.The name field indicates the name of the request header. The defaultValue field indicates the default value that is used when no request header is available. Example: `{"name":"test","defaultValue":"test"}`.'."\n" - .' * `environment`: The tag value is an environment variable in the JSON format. This tag must contain the `name` field and `defaultValue` field. The name field indicates the name of the environment variable. The defaultValue field indicates the environment variable that is used when no environment variable is available. Example: `{"name":"test","defaultValue":"test"}`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"sampling":99.8,"custom_tags":{"test":{"literal":{"value":"testnamespace"}}}}', - ], - ], - [ - 'name' => 'InterceptionMode', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The mode in which the sidecar proxy intercepts inbound traffic. Valid values:'."\n" - ."\n" - .'* `REDIRECT`: The sidecar proxy intercepts inbound traffic in the REDIRECT mode.'."\n" - .'* `TPROXY`: The sidecar proxy intercepts inbound traffic in the TPROXY mode.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TPROXY', - ], - ], - [ - 'name' => 'ProxyMetadata', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The environment variables that are added to a sidecar proxy. The environment variables are represented as JSON objects. The keys and values in the JSON objects represent the keys and values added to the environment variables of the sidecar proxy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"EXIT_ON_ZERO_ACTIVE_CONNECTIONS":"true"}', - ], - ], - [ - 'name' => 'ProxyInitAckSloCPUResourceLimit', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of reclaimed CPU cores provided by Container Service for Kubernetes (ACK) that are available to the istio-init container. Reclaimed resources, including CPU cores and memory, are resources that can be dynamically overcommitted. This configuration item is used to set the maximum number of CPU cores that are available to the istio-init container in a pod labeled with `koordinator.sh/qosClass`. Unit: millicore.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2000', - ], - ], - [ - 'name' => 'ProxyInitAckSloMemoryResourceLimit', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum size of reclaimed memory resources provided by ACK that are available to the istio-init container. This configuration item is used to set the maximum size of memory that is available to the istio-init container in a pod labeled with `koordinator.sh/qosClass`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2048Mi', - ], - ], - [ - 'name' => 'ProxyInitAckSloCPUResourceRequest', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The minimum number of reclaimed CPU cores provided by ACK that the istio-init container requires at runtime. This configuration item is used to set the minimum number of reclaimed CPU cores for the istio-init container in a pod labeled with `koordinator.sh/qosClass`. Unit: millicore.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '100', - ], - ], - [ - 'name' => 'ProxyInitAckSloMemoryResourceRequest', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The minimum size of reclaimed memory provided by ACK that the istio-init container requires at runtime. This configuration item is used to set the minimum size of reclaimed memory for the istio-init container in a pod labeled with `koordinator.sh/qosClass`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '128Mi', - ], - ], - [ - 'name' => 'SidecarProxyAckSloCPUResourceLimit', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of reclaimed CPU cores provided by ACK that are available to the sidecar proxy container. This configuration item is used to set the maximum number of CPU cores that are available to the sidecar proxy container in a pod labeled with `koordinator.sh/qosClass`. Unit: millicore.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2000', - ], - ], - [ - 'name' => 'SidecarProxyAckSloMemoryResourceLimit', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum size of reclaimed memory resources provided by ACK that are available to the sidecar proxy container. This configuration item is used to set the maximum size of memory that is available to the sidecar proxy container in a pod labeled with `koordinator.sh/qosClass`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2048Mi', - ], - ], - [ - 'name' => 'SidecarProxyAckSloCPUResourceRequest', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The minimum number of reclaimed CPU cores provided by ACK that the sidecar proxy container requires at runtime. This configuration item is used to set the minimum number of reclaimed CPU cores for the sidecar proxy container in a pod labeled with `koordinator.sh/qosClass`. Unit: millicore.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '100', - ], - ], - [ - 'name' => 'SidecarProxyAckSloMemoryResourceRequest', + 'name' => 'ClusterIds', 'in' => 'formData', - 'schema' => [ - 'description' => 'The minimum size of reclaimed memory provided by ACK that the sidecar proxy container requires at runtime. This configuration item is used to set the minimum size of reclaimed memory for the sidecar proxy container in a pod labeled with `koordinator.sh/qosClass`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '128Mi', - ], + 'schema' => ['description' => 'A list of cluster IDs, separated by commas.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'c8b054ee8c3914d079b5ce9733328****,c58faedb8a78640d3aeb0372e4c02****'], ], [ - 'name' => 'Privileged', + 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the privileged mode in the security context of the sidecar proxy containers. Valid values:'."\n" - ."\n" - .'* `true`: enables the privileged mode. This means that the sidecar proxy containers run in privileged mode.'."\n" - .'* `false`: does not enable the privileged mode.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The service name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'reviews'], ], [ - 'name' => 'EnableCoreDump', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the core dump feature for the sidecar proxy containers. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'ReadinessInitialDelaySeconds', + 'name' => 'ServiceType', 'in' => 'formData', - 'schema' => [ - 'description' => 'The amount of time to wait before the first readiness check of a sidecar proxy container is performed. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The type of the service. Valid values:'."\n" + ."\n" + .'- `ServiceEntry`: a service registered in the Service Mesh by a service entry.'."\n" + ."\n" + .'- `Kubernetes`: a service registered in a Kubernetes cluster on the data plane.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Kubernetes'], ], - [ - 'name' => 'ReadinessPeriodSeconds', - 'in' => 'formData', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The interval between two readiness checks of a sidecar proxy container. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', + 'description' => 'The response body.', + 'type' => 'object', + 'properties' => [ + 'ServiceEndpoints' => [ + 'description' => 'A list of service endpoint information.', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about a service endpoint.', + 'type' => 'object', + 'properties' => [ + 'Address' => ['description' => 'The endpoint of the service.', 'type' => 'string', 'title' => '', 'example' => '192.168.25.153'], + 'ClusterId' => ['description' => 'The ID of the cluster on the data plane.', 'type' => 'string', 'title' => '', 'example' => 'c80f45444b3da447da60a911390c2****'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'EndPointSlice' => [ + 'description' => 'A list of detailed information about the service endpoints.', + 'type' => 'object', + 'properties' => [ + 'ServiceName' => ['description' => 'The service name.', 'type' => 'string', 'title' => '', 'example' => 'reviews'], + 'Namespace' => ['description' => 'The namespace.', 'type' => 'string', 'title' => '', 'example' => 'default'], + 'Location' => ['description' => 'The location of the service. Valid values:'."\n" + ."\n" + .'- `MESH_INTERNAL`: The service is inside the mesh.'."\n" + ."\n" + .'- `MESH_EXTERNAL`: The service is outside the mesh.', 'type' => 'string', 'title' => '', 'example' => 'MESH_INTERNAL'], + 'EndpointsDetails' => [ + 'description' => 'A list of detailed information about the service endpoints.', + 'type' => 'array', + 'items' => [ + 'description' => 'The detailed information about a service endpoint.', + 'type' => 'object', + 'properties' => [ + 'PodName' => ['description' => 'The pod name.', 'type' => 'string', 'title' => '', 'example' => 'provider-v1-8c86b6898-h***'], + 'Address' => ['description' => 'The endpoint of the service.', 'type' => 'string', 'title' => '', 'example' => '127.2.**.**'], + 'Ports' => [ + 'description' => 'A list of ports.', + 'type' => 'array', + 'items' => ['description' => 'The service port.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '9090'], + 'title' => '', + 'example' => '', + ], + 'Hostname' => ['description' => 'The endpoint of the service.', 'type' => 'string', 'title' => '', 'example' => 'www.demo.com'], + 'Region' => ['description' => 'The region ID.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], + 'SidecarInjected' => ['description' => 'Indicates whether a sidecar proxy is injected. Valid values:'."\n" + ."\n" + .'- `true`: A sidecar proxy is injected.'."\n" + ."\n" + .'- `false`: A sidecar proxy is not injected.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****'], + ], + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'ReadinessFailureThreshold', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The number of readiness check failures required before marking a sidecar proxy container as not ready.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '5', - ], + ], + 'errorCodes' => [ + 500 => [ + ['errorCode' => 'ERR500', 'errorMessage' => 'An internal server error occurred.', 'description' => ''], ], - [ - 'name' => 'SMCEnabled', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable Shared Memory Communications over Remote Direct Memory Access (SMC-R) optimization. The SMC-R optimization feature uses Alibaba Cloud Linux 3 and elastic remote direct memory access (eRDMA) network devices, which optimizes cross-node communication.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + 'title' => 'GetRegisteredServiceEndpoints', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:GetRegisteredServiceEndpoints', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ServiceEndpoints\\": [\\n {\\n \\"Address\\": \\"192.168.25.153\\",\\n \\"ClusterId\\": \\"c80f45444b3da447da60a911390c2****\\"\\n }\\n ],\\n \\"EndPointSlice\\": {\\n \\"ServiceName\\": \\"reviews\\",\\n \\"Namespace\\": \\"default\\",\\n \\"Location\\": \\"MESH_INTERNAL\\",\\n \\"EndpointsDetails\\": [\\n {\\n \\"PodName\\": \\"provider-v1-8c86b6898-h***\\",\\n \\"Address\\": \\"127.2.**.**\\",\\n \\"Ports\\": [\\n 9090\\n ],\\n \\"Hostname\\": \\"www.demo.com\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"SidecarInjected\\": false\\n }\\n ]\\n },\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\"\\n}","type":"json"}]', + ], + 'GetRegisteredServiceNamespaces' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'RuntimeValues', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Indicates the runtime parameters of Envoy proxy processes in the sidecar proxy container. This parameter is a serialized JSON string. The keys and values of a JSON object are the keys and the values of a Envoy Runtime Parameter respectively.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* global_downstream_max_connections: indicates that the limits on the number of connections from downstream to Envoy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"overload.global_downstream_max_connections":"65536"}', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'ScaledSidecarResource', + 'name' => 'ServiceMeshId', 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'ResourceCalculationStrategy' => [ - 'type' => 'string', - 'required' => false, - ], - 'ContainerRef' => [ - 'type' => 'string', - 'required' => false, - ], - 'ResourcePercentage' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - 'required' => false, - ], + 'schema' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', + 'Namespaces' => [ + 'description' => 'The list of namespaces.', + 'type' => 'array', + 'items' => ['description' => 'The namespace.', 'type' => 'string', 'title' => '', 'example' => 'default'], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****'], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateNamespaceScopeSidecarConfigResponse>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n</UpdateNamespaceScopeSidecarConfigResponse>","errorExample":""}]', - 'title' => 'UpdateNamespaceScopeSidecarConfig', - ], - 'UpdateIstioInjectionConfig' => [ - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 500 => [ + ['errorCode' => 'ERR500', 'errorMessage' => 'An internal server error occurred.', 'description' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetRegisteredServiceNamespaces', + 'summary' => 'Call GetRegisteredServiceNamespaces to retrieve a list of namespaces for registered services.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:GetRegisteredServiceNamespaces', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Namespaces\\": [\\n \\"default\\"\\n ],\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\"\\n}","type":"json"}]', + ], + 'GetSwimLaneDetail' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', + 'abilityTreeCode' => '146478', + 'abilityTreeNodes' => ['FEATUREservicemesh22WM61'], ], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the ASM instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ce2cdbb9d013f447180cf5ca8bb******', - ], - ], - [ - 'name' => 'Namespace', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The namespace for which you want to modify the sidecar injection setting.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'default', - ], - ], - [ - 'name' => 'EnableIstioInjection', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable Istio automatic sidecar injection.'."\n", - 'type' => 'boolean', - 'required' => false, - 'docRequired' => true, - 'example' => 'true', - ], - ], - [ - 'name' => 'EnableSidecarSetInjection', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable automatic sidecar injection by using SidecarSet.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The service mesh ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'xxx'], ], [ - 'name' => 'IstioRev', + 'name' => 'SwimLaneName', 'in' => 'formData', - 'schema' => [ - 'description' => '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.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'canary', - ], + 'schema' => ['description' => 'The name of the swimlane.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 's1'], ], [ - 'name' => 'DataPlaneMode', + 'name' => 'GroupName', 'in' => 'formData', - 'schema' => [ - 'description' => '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:'."\n" - ."\n" - .'* ambient: sets the data plane mode of the namespace to the Ambient Mesh mode.'."\n" - .'* sidecar: sets the data plane mode of the namespace to the Sidecar mode.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ambient', - ], + 'schema' => ['description' => 'The name of the swimlane group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'test'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The returned value.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '98B268E6-9381-5A98-8012-6E7E82******', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'yyyy'], + 'ServicesList' => ['description' => 'A list of all services associated with the swimlane.', 'type' => 'string', 'title' => '', 'example' => '["sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc"]'], + 'LabelSelectorKey' => ['description' => 'The value is fixed to **ASM\\_TRAFFIC\\_TAG**.', 'type' => 'string', 'title' => '', 'example' => 'ASM_TRAFFIC_TAG'], + 'LabelSelectorValue' => ['description' => 'The value of the ASM\\_TRAFFIC\\_TAG label.', 'type' => 'string', 'title' => '', 'example' => 'v1'], + 'IngressService' => ['description' => 'This field is deprecated.', 'type' => 'string', 'title' => '', 'example' => 'mocka.default.svc.cluster.local'], + 'IngressRule' => ['description' => 'The traffic routing rule. This rule corresponds to one or more custom routes defined for the ASM gateway.', 'type' => 'string', 'title' => '', 'example' => '[{"Domains":["*"],"RouteName":"r1","MatchRequest":{"Headers":[{"Name":"x-asm-prefer-tag","MatchingMode":"exact","MatchingContent":"s1"}],"URI":{"MatchingMode":"exact","MatchingContent":"/mock"}},"RouteDestinations":[{"Destination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"}}]},{"Domains":["*"],"RouteName":"hello","MatchRequest":{"Headers":[{"Name":"x-asm-prefer-tag","MatchingMode":"exact","MatchingContent":"s1"}],"URI":{"MatchingMode":"exact","MatchingContent":"/mocktest"}},"RouteDestinations":[{"Destination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"}}]}]'], + 'WeightedIngressDestination' => ['description' => 'This parameter is available when the traffic routing policy of the swimlane group is \\`weighted\\`. The value is a JSON string that specifies the domain name of the ingress service and the traffic weight for each swimlane.', 'type' => 'string', 'title' => '', 'example' => '{"RouteDestination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"},"Weight":40}'], + 'ValidationMessage' => ['description' => 'The current status of the swimlane. If the configuration is successful and takes effect, \\`null\\` is returned. Otherwise, an error message is returned.', 'type' => 'string', 'title' => '', 'example' => '[{"code":"CODE_UNEFFECTED_SWIMLANE_LABEL","level":"warning","message":"The label selector defined in the ASMSwimLane has no effect on any workload instance."}]'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"98B268E6-9381-5A98-8012-6E7E82******\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateIstioInjectionConfigResponse>\\n <RequestId>98B268E6-9381-5A98-8012-6E7E82******</RequestId>\\n</UpdateIstioInjectionConfigResponse>","errorExample":""}]', - 'title' => 'UpdateIstioInjectionConfig', - 'summary' => 'Modifies the sidecar proxy injection settings of a Service Mesh (ASM) instance.', - ], - 'DescribeServiceMeshProxyStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetSwimLaneDetail', + 'summary' => 'You can call GetSwimLaneDetail to retrieve the details of a specific swimlane.', + 'changeSet' => [ + ['createdAt' => '2024-11-08T07:04:34.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-05-17T02:32:33.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-28T07:26:38.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:GetSwimLaneDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"yyyy\\",\\n \\"ServicesList\\": \\"[\\\\\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka\\\\\\",\\\\\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb\\\\\\",\\\\\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc\\\\\\"]\\",\\n \\"LabelSelectorKey\\": \\"ASM_TRAFFIC_TAG\\",\\n \\"LabelSelectorValue\\": \\"v1\\",\\n \\"IngressService\\": \\"mocka.default.svc.cluster.local\\",\\n \\"IngressRule\\": \\"[{\\\\\\"Domains\\\\\\":[\\\\\\"*\\\\\\"],\\\\\\"RouteName\\\\\\":\\\\\\"r1\\\\\\",\\\\\\"MatchRequest\\\\\\":{\\\\\\"Headers\\\\\\":[{\\\\\\"Name\\\\\\":\\\\\\"x-asm-prefer-tag\\\\\\",\\\\\\"MatchingMode\\\\\\":\\\\\\"exact\\\\\\",\\\\\\"MatchingContent\\\\\\":\\\\\\"s1\\\\\\"}],\\\\\\"URI\\\\\\":{\\\\\\"MatchingMode\\\\\\":\\\\\\"exact\\\\\\",\\\\\\"MatchingContent\\\\\\":\\\\\\"/mock\\\\\\"}},\\\\\\"RouteDestinations\\\\\\":[{\\\\\\"Destination\\\\\\":{\\\\\\"Host\\\\\\":\\\\\\"mocka.default.svc.cluster.local\\\\\\",\\\\\\"Subset\\\\\\":\\\\\\"s1\\\\\\"}}]},{\\\\\\"Domains\\\\\\":[\\\\\\"*\\\\\\"],\\\\\\"RouteName\\\\\\":\\\\\\"hello\\\\\\",\\\\\\"MatchRequest\\\\\\":{\\\\\\"Headers\\\\\\":[{\\\\\\"Name\\\\\\":\\\\\\"x-asm-prefer-tag\\\\\\",\\\\\\"MatchingMode\\\\\\":\\\\\\"exact\\\\\\",\\\\\\"MatchingContent\\\\\\":\\\\\\"s1\\\\\\"}],\\\\\\"URI\\\\\\":{\\\\\\"MatchingMode\\\\\\":\\\\\\"exact\\\\\\",\\\\\\"MatchingContent\\\\\\":\\\\\\"/mocktest\\\\\\"}},\\\\\\"RouteDestinations\\\\\\":[{\\\\\\"Destination\\\\\\":{\\\\\\"Host\\\\\\":\\\\\\"mocka.default.svc.cluster.local\\\\\\",\\\\\\"Subset\\\\\\":\\\\\\"s1\\\\\\"}}]}]\\",\\n \\"WeightedIngressDestination\\": \\"{\\\\\\"RouteDestination\\\\\\":{\\\\\\"Host\\\\\\":\\\\\\"mocka.default.svc.cluster.local\\\\\\",\\\\\\"Subset\\\\\\":\\\\\\"s1\\\\\\"},\\\\\\"Weight\\\\\\":40}\\",\\n \\"ValidationMessage\\": \\"[{\\\\\\"code\\\\\\":\\\\\\"CODE_UNEFFECTED_SWIMLANE_LABEL\\\\\\",\\\\\\"level\\\\\\":\\\\\\"warning\\\\\\",\\\\\\"message\\\\\\":\\\\\\"The label selector defined in the ASMSwimLane has no effect on any workload instance.\\\\\\"}]\\"\\n}","type":"json"}]', + ], + 'GetSwimLaneGroupList' => [ + 'summary' => 'Lists all traffic lane groups in a Service Mesh (ASM) instance.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7084,613 +7969,195 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '153461', + 'abilityTreeNodes' => ['FEATUREservicemesh22WM61'], ], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca04bc38979214bf2882be79d39b4****', - ], + 'schema' => ['description' => 'The ID of the Service Mesh (ASM) instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'xxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned message.'."\n", - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', - ], - 'ProxyStatus' => [ - 'description' => 'The information about the status of the proxies on the data plane.'."\n", + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'yyyy', 'title' => ''], + 'SwimLaneGroupList' => [ + 'description' => 'A list of traffic lane groups.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The details of a traffic lane group.', 'type' => 'object', 'properties' => [ - 'ProxyVersion' => [ - 'description' => 'The version number of a proxy on the data plane.'."\n", - 'type' => 'string', - 'example' => '1.9.7', - ], - 'ClusterSynced' => [ - 'description' => 'The update status of the proxy. Valid values:'."\n" - ."\n" - .'* `SYNCED`: The status of the proxy is updated.'."\n" - .'* `NOT SENT`: The status of the proxy is not updated.'."\n" - .'* `STALE (Never Acknowledged)`: Istiod has sent multiple requests to the Envoy proxy to update the status of the proxy but receives no response.'."\n" - .'* `STALE`: Istiod has sent a request to the Envoy proxy to update the status of the proxy but receives no response.'."\n", - 'type' => 'string', - 'example' => 'SYNCED', - ], - 'EndpointPercent' => [ - 'description' => 'The percentage of the updated endpoints.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'ListenerSynced' => [ - 'description' => 'The update status of the listener. Valid values:'."\n" - ."\n" - .'* `SYNCED`: The status of the listener is updated.'."\n" - .'* `NOT SENT`: The status of the listener is not updated.'."\n" - .'* `STALE (Never Acknowledged)`: Istiod has sent multiple requests to the Envoy proxy to update the status of the listener but receives no response.'."\n" - .'* `STALE`: Istiod has sent a request to the Envoy proxy to update the status of the listener but receives no response.'."\n", - 'type' => 'string', - 'example' => 'SYNCED', - ], - 'RouteSynced' => [ - 'description' => 'The update status of the route. Valid values:'."\n" + 'GroupName' => ['description' => 'The name of the traffic lane group.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'ServiceList' => ['description' => 'A serialized JSON string that lists the services associated with the traffic lane group.', 'type' => 'string', 'example' => '["sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc"]', 'title' => ''], + 'IngressType' => ['description' => 'The type of ingress gateway. Only ASM gateways support traffic shifting. The value must be `ASM`.', 'type' => 'string', 'example' => 'ASM', 'title' => ''], + 'IngressGatewayName' => ['description' => 'The name of the ASM gateway.', 'type' => 'string', 'example' => 'ingressgateway', 'title' => ''], + 'IsPermissive' => ['description' => 'Specifies whether the traffic lane group is in loose mode.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'FallbackTarget' => ['description' => 'The name of the baseline traffic lane for the traffic lane group. This parameter applies only if the group is in loose mode (`IsPermissive` is `true`).', 'type' => 'string', 'example' => 's1', 'title' => ''], + 'TraceHeader' => ['description' => 'The request header for trace pass-through in a traffic lane group that is in loose mode.', 'type' => 'string', 'example' => 'my-request-id', 'title' => ''], + 'RouteHeader' => ['description' => 'The request header for traffic shifting when the traffic lane group is in loose mode.', 'type' => 'string', 'example' => 'x-asm-prefer-tag', 'title' => ''], + 'SwimLaneLabels' => ['description' => 'A serialized JSON string. Each key represents a label key that is common to all services in the traffic lane group. The corresponding value is an array of all possible values for that label key.', 'type' => 'string', 'example' => '{"ASM_TRAFFIC_TAG":["v2","v3","v1"],"version":["v3","v1","v2"]}', 'title' => ''], + 'IngressRoutingStrategy' => [ + 'description' => 'The policy for shifting traffic to different traffic lanes within the traffic lane group. Valid values:'."\n" ."\n" - .'* `SYNCED`: The status of the route is updated.'."\n" - .'* `NOT SENT`: The status of the route is not updated.'."\n" - .'* `STALE (Never Acknowledged)`: Istiod has sent multiple requests to the Envoy proxy to update the status of the route but receives no response.'."\n" - .'* `STALE`: Istiod has sent a request to the Envoy proxy to update the status of the route but receives no response.'."\n", - 'type' => 'string', - 'example' => 'SYNCED', - ], - 'EndpointSynced' => [ - 'description' => 'The update status of the endpoint. Valid values:'."\n" + .'- `weighted`: A policy that distributes traffic based on weights. A single rule matches requests, and the policy then distributes matched requests to different traffic lanes based on specified proportions.'."\n" ."\n" - .'* `SYNCED`: The status of the endpoint is updated.'."\n" - .'* `NOT SENT`: The status of the endpoint is not updated.'."\n" - .'* `STALE (Never Acknowledged)`: Istiod has sent multiple requests to the Envoy proxy to update the status of the endpoint but receives no response.'."\n" - .'* `STALE`: Istiod has sent a request to the Envoy proxy to update the status of the endpoint but receives no response.'."\n", - 'type' => 'string', - 'example' => 'SYNCED', - ], - 'ProxyId' => [ - 'description' => 'The ID of the proxy on the data plane.'."\n", - 'type' => 'string', - 'example' => '119q****', - ], - 'IstioVersion' => [ - 'description' => 'The version of Istiod.'."\n", + .'- `rule-based`: A policy that routes traffic based on specific rules. Each traffic lane has a unique matching rule, and a request is routed to a lane only if it matches that lane\'s rule.', + 'enumValueTitles' => ['weighted' => 'weighted', 'rule-based' => 'rule-based'], 'type' => 'string', - 'example' => '1.9.7', + 'example' => 'weighted', + 'title' => '', ], + 'WeightedIngressRule' => ['description' => 'The traffic shifting rule for the entire traffic lane group. This parameter applies only when the traffic shifting policy is `weighted`.', 'type' => 'string', 'example' => '{"Domains":["*"],"MatchRequests":[{"URI":{"MatchingMode":"exact","MatchingContent":"/mock"},"Headers":[{"Name":"test","MatchingMode":"exact","MatchingContent":"yes"}]}]}', 'title' => ''], + 'ServiceLevelFallbackTarget' => ['description' => 'Specifies a fallback version for each service. This setting overrides the group-level fallback policy.', 'type' => 'string', 'title' => '', 'example' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'Code' => [ - 'description' => 'The status code. Valid values:'."\n" - ."\n" - .'`200`: The operation is successful.'."\n" - ."\n" - .'* `403`: You are not authorized to perform this operation.'."\n" - .'* `503`: A backend server error occurs.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n", - 'type' => 'string', - 'example' => 'success', + 'title' => '', + 'example' => '', ], ], + 'description' => 'The response body.', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"ProxyStatus\\": [\\n {\\n \\"ProxyVersion\\": \\"1.9.7\\",\\n \\"ClusterSynced\\": \\"SYNCED\\",\\n \\"EndpointPercent\\": \\"1\\",\\n \\"ListenerSynced\\": \\"SYNCED\\",\\n \\"RouteSynced\\": \\"SYNCED\\",\\n \\"EndpointSynced\\": \\"SYNCED\\",\\n \\"ProxyId\\": \\"119q****\\",\\n \\"IstioVersion\\": \\"1.9.7\\"\\n }\\n ],\\n \\"Code\\": \\"200\\",\\n \\"Success\\": \\"success\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeServiceMeshProxyStatusResponse>\\n <Message>success</Message>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n <ProxyStatus>\\n <ProxyVersion>1.9.7</ProxyVersion>\\n <ClusterSynced>SYNCED</ClusterSynced>\\n <EndpointPercent>1</EndpointPercent>\\n <ListenerSynced>SYNCED</ListenerSynced>\\n <RouteSynced>SYNCED</RouteSynced>\\n <EndpointSynced>SYNCED</EndpointSynced>\\n <ProxyId>119q****</ProxyId>\\n <IstioVersion>1.9.7</IstioVersion>\\n </ProxyStatus>\\n <Code>200</Code>\\n <Success>success</Success>\\n</DescribeServiceMeshProxyStatusResponse>","errorExample":""}]', - 'title' => 'DescribeServiceMeshProxyStatus', - 'summary' => 'Queries the status of proxies on the data plane of a Service Mesh (ASM) instance.', - ], - 'DescribeNamespaceScopeSidecarConfig' => [ - 'summary' => 'Queries the configurations of sidecar proxies at the namespace level.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"yyyy\\",\\n \\"SwimLaneGroupList\\": [\\n {\\n \\"GroupName\\": \\"test\\",\\n \\"ServiceList\\": \\"[\\\\\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka\\\\\\",\\\\\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb\\\\\\",\\\\\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc\\\\\\"]\\",\\n \\"IngressType\\": \\"ASM\\",\\n \\"IngressGatewayName\\": \\"ingressgateway\\",\\n \\"IsPermissive\\": false,\\n \\"FallbackTarget\\": \\"s1\\",\\n \\"TraceHeader\\": \\"my-request-id\\",\\n \\"RouteHeader\\": \\"x-asm-prefer-tag\\",\\n \\"SwimLaneLabels\\": \\"{\\\\\\"ASM_TRAFFIC_TAG\\\\\\":[\\\\\\"v2\\\\\\",\\\\\\"v3\\\\\\",\\\\\\"v1\\\\\\"],\\\\\\"version\\\\\\":[\\\\\\"v3\\\\\\",\\\\\\"v1\\\\\\",\\\\\\"v2\\\\\\"]}\\",\\n \\"IngressRoutingStrategy\\": \\"weighted\\",\\n \\"WeightedIngressRule\\": \\"{\\\\\\"Domains\\\\\\":[\\\\\\"*\\\\\\"],\\\\\\"MatchRequests\\\\\\":[{\\\\\\"URI\\\\\\":{\\\\\\"MatchingMode\\\\\\":\\\\\\"exact\\\\\\",\\\\\\"MatchingContent\\\\\\":\\\\\\"/mock\\\\\\"},\\\\\\"Headers\\\\\\":[{\\\\\\"Name\\\\\\":\\\\\\"test\\\\\\",\\\\\\"MatchingMode\\\\\\":\\\\\\"exact\\\\\\",\\\\\\"MatchingContent\\\\\\":\\\\\\"yes\\\\\\"}]}]}\\",\\n \\"ServiceLevelFallbackTarget\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'GetSwimLaneGroupList', + 'description' => 'You can call the **DescribeASMSidecarExpectedVersion** API to query the **expected version** of sidecars in the ASM **data plane**. For example, if a sidecar is injected with version v1.11 prior to an ASM upgrade, and the ASM instance is then upgraded to v1.12, the **actual version** of the sidecar will remain v1.11 as long as the Pod is not restarted. However, invoking this API will return v1.12 as the expected version.', + 'changeSet' => [ + ['createdAt' => '2024-05-17T02:32:34.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-09-12T10:09:42.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-28T07:35:57.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:GetSwimLaneGroupList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetSwimLaneList' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '114962', - 'abilityTreeNodes' => [ - 'FEATUREservicemeshB27TWZ', - ], + 'abilityTreeCode' => '146477', + 'abilityTreeNodes' => ['FEATUREservicemesh22WM61'], ], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the ASM instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c7120e75a202d4fd8acb028a86b6a****', - ], + 'schema' => ['description' => 'The Service Mesh instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'xxx'], ], [ - 'name' => 'Namespace', + 'name' => 'GroupName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The namespace.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The name of the swimlane group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'test'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response body.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', - ], - 'ConfigPatches' => [ - 'description' => 'The namespace-level sidecar configurations.'."\n", - 'type' => 'object', - 'properties' => [ - 'TerminationDrainDuration' => [ - 'description' => 'The maximum period of time allowed for connections to complete on sidecar proxy shutdown.'."\n", - 'type' => 'string', - 'example' => '6s', - ], - 'SidecarProxyInitResourceLimit' => [ - 'description' => 'The maximum size of resources that are available to the istio-init container in the pod into which the sidecar proxy is injected. The istio-init container is used in this topic.'."\n", - 'type' => 'object', - 'properties' => [ - 'ResourceCPULimit' => [ - 'description' => 'The maximum number of CPU cores.'."\n", - 'type' => 'string', - 'example' => '2000 m', - ], - 'ResourceMemoryLimit' => [ - 'description' => 'The maximum size of the memory.'."\n", - 'type' => 'string', - 'example' => '50 Mi', - ], - ], - ], - 'SidecarProxyInitResourceRequest' => [ - 'description' => 'The minimum size of resources that are required by the istio-init container.'."\n", - 'type' => 'object', - 'properties' => [ - 'ResourceCPURequest' => [ - 'description' => 'The minimum number of CPU cores.'."\n", - 'type' => 'string', - 'example' => '60 m', - ], - 'ResourceMemoryRequest' => [ - 'description' => 'The minimum size of the memory.'."\n", - 'type' => 'string', - 'example' => '30 Mi', - ], - ], - ], - 'SidecarProxyResourceLimit' => [ - 'description' => 'The maximum size of resources that are available to the sidecar proxy container.'."\n", - 'type' => 'object', - 'properties' => [ - 'ResourceCPULimit' => [ - 'description' => 'The maximum number of CPU cores.'."\n", - 'type' => 'string', - 'example' => '2000 m', - ], - 'ResourceMemoryLimit' => [ - 'description' => 'The maximum size of the memory.'."\n", - 'type' => 'string', - 'example' => '50 Mi', - ], - ], - ], - 'SidecarProxyResourceRequest' => [ - 'description' => 'The minimum size of resources that are required by the sidecar proxy container.'."\n", - 'type' => 'object', - 'properties' => [ - 'ResourceCPURequest' => [ - 'description' => 'The minimum number of CPU cores.'."\n", - 'type' => 'string', - 'example' => '60 m', - ], - 'ResourceMemoryRequest' => [ - 'description' => 'The minimum size of the memory.'."\n", - 'type' => 'string', - 'example' => '30 Mi', - ], - ], - ], - 'ExcludeOutboundPorts' => [ - 'description' => 'The outbound ports to be excluded from redirection to the sidecar proxy in the ASM instance.'."\n", - 'type' => 'string', - 'example' => '81', - ], - 'ExcludeOutboundIPRanges' => [ - 'description' => 'The outbound IP ranges in CIDR form to be excluded from redirection to the sidecar proxy in the ASM instance.'."\n", - 'type' => 'string', - 'example' => '192.168.1.3/31', - ], - 'IncludeOutboundIPRanges' => [ - 'description' => 'The outbound IP ranges in CIDR form for which traffic is to be redirected to the sidecar proxy in the ASM instance.'."\n", - 'type' => 'string', - 'example' => '192.168.1.4/31', - ], - 'ExcludeInboundPorts' => [ - 'description' => 'The inbound ports to be excluded from redirection to the sidecar proxy in the ASM instance.'."\n", - 'type' => 'string', - 'example' => '82', - ], - 'IncludeInboundPorts' => [ - 'description' => 'The inbound ports for which traffic is to be redirected to the sidecar proxy in the ASM instance.'."\n", - 'type' => 'string', - 'example' => '83', - ], - 'IncludeOutboundPorts' => [ - 'description' => 'The outbound ports for which traffic is to be redirected to the sidecar proxy in the ASM instance.'."\n", - 'type' => 'string', - 'example' => '84', - ], - 'IstioDNSProxyEnabled' => [ - 'description' => 'Indicates whether the Domain Name System (DNS) proxy feature is enabled. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'LifecycleStr' => [ - 'description' => 'The JSON string that describes the lifecycle of the sidecar proxy.'."\n", - 'type' => 'string', - 'example' => '{"postStart":{"exec":{"command":["pilot-agent","wait"]}},"preStop":{"exec":{"command":["/bin/sh","-c","sleep 15"]}}}', - ], - 'Concurrency' => [ - 'description' => 'The number of worker threads to run in the istio-proxy container.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'LogLevel' => [ - 'description' => 'The log level. Valid values: `info`, `debug`, `trace`, and `error`.'."\n", - 'type' => 'string', - 'example' => 'info', - ], - 'HoldApplicationUntilProxyStarts' => [ - 'description' => 'Indicates whether applications can be started only after the istio-proxy container starts. Valid values:'."\n" - ."\n" - .'* `true`: Applications can be started only after the istio-proxy container starts.'."\n" - .'* `false`: Applications can be started before the istio-proxy container starts.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ProxyStatsMatcher' => [ - 'description' => 'The custom Envoy statistics that are reported by the sidecar proxy.'."\n", - 'type' => 'object', - 'properties' => [ - 'InclusionPrefixes' => [ - 'description' => 'The prefixes of the custom Envoy statistics that are reported by the sidecar proxy.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The prefix of the custom Envoy statistics that are reported by the sidecar proxy.'."\n", - 'type' => 'string', - 'example' => 'server', - ], - ], - 'InclusionSuffixes' => [ - 'description' => 'The suffixes of the custom Envoy statistics that are reported by the sidecar proxy.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The suffix of the custom Envoy statistics that are reported by the sidecar proxy.'."\n", - 'type' => 'string', - 'example' => 'cluster.outbound', - ], - ], - 'InclusionRegexps' => [ - 'description' => 'The regular expressions for specifying the custom Envoy statistics that are reported by the sidecar proxy.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The regular expression for specifying the custom Envoy statistics that are reported by the sidecar proxy.'."\n", - 'type' => 'string', - 'example' => 'listener.*.downstream_cx_total', - ], - ], - ], - ], - 'Tracing' => [ - 'description' => 'The custom configurations of Tracing Analysis.'."\n", - 'type' => 'object', - 'properties' => [ - 'Sampling' => [ - 'description' => 'The sampling rate.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '99.8', - ], - 'CustomTags' => [ - 'description' => 'The custom tags added to reported spans. The key of a tag is of the string type. The value of a tag is in the JSON format. A custom tag can belong to one of the following types:'."\n" - ."\n" - .'* `literal`: The tag value is a fixed value in the JSON format. This tag must contain the `value` field that specifies a literal. Example: `{"value":"test"}`.'."\n" - .'* `header`: The tag value is a request header in the JSON format. This tag must contain the `name` field and the `defaultValue` field. The name field indicates the name of the request header. The defaultValue field indicates the default value that is used when no request header is available. Example: `{"name":"test","defaultValue":"test"}`.'."\n" - .'* `environment`: The tag value is an environment variable in the JSON format. This tag must contain the `name` field and the `defaultValue` field. The name field indicates the name of the environment variable. The defaultValue field indicates the environment variable that is used when no environment variable is available. Example: `{"name":"test","defaultValue":"test"}`.'."\n", - 'type' => 'object', - 'example' => '{"test":{"literal":{"value":"test"}}}', - ], - 'MaxPathTagLength' => [ - 'description' => 'The maximum tag length.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - ], - ], - 'InterceptionMode' => [ - 'description' => 'The mode in which the sidecar proxy intercepts inbound traffic. Valid values:'."\n" - ."\n" - .'* `REDIRECT` (default): In this mode, source IP addresses are lost during traffic redirection to the sidecar proxy.'."\n" - .'* `TPROXY`: In this mode, both the source and destination IP addresses and ports are preserved.'."\n", - 'type' => 'string', - 'example' => 'TPROXY', - ], - 'ProxyMetadata' => [ - 'description' => '', - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '"true"', - 'description' => '', - ], - ], - 'SidecarProxyInitAckSloResource' => [ - 'description' => 'The reclaimed Container Service for Kubernetes (ACK) resources for the istio-init container. This configuration item indicates the resources of the istio-init container in a pod labeled with `koordinator.sh/qosClass`. Reclaimed ACK resources are resources that can be dynamically overcommitted.'."\n", - 'type' => 'object', - 'properties' => [ - 'Requests' => [ - 'description' => 'The minimum size of reclaimed ACK resources that the istio-init container needs to use at runtime. This configuration item indicates the minimum size of reclaimed ACK resources for the istio-init container in a pod labeled with `koordinator.sh/qosClass`. The object can contain the following two types of keys, which indicate two types of resources:'."\n" - ."\n" - .'* `kubernetes.io/batch-cpu`: CPU resources that can be dynamically overcommitted. Unit: millicore.'."\n" - .'* `kubernetes.io/batch-memory`: memory resources that can be dynamically overcommitted.'."\n", - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '128Mi', - 'description' => '', - ], - ], - 'Limits' => [ - 'description' => 'The maximum size of reclaimed ACK resources that are available to the istio-init container. This configuration item indicates the maximum size of resources that are available to the istio-init container in a pod labeled with `koordinator.sh/qosClass`. The object can contain the following two types of keys, which indicate two types of resources:'."\n" - ."\n" - .'* `kubernetes.io/batch-cpu`: CPU resources that can be dynamically overcommitted. Unit: millicore.'."\n" - .'* `kubernetes.io/batch-memory`: memory resources that can be dynamically overcommitted.'."\n", - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '2048Mi', - 'description' => '', - ], - ], - ], - ], - 'SidecarProxyAckSloResource' => [ - 'description' => 'The maximum size of reclaimed ACK resources that are available to the sidecar proxy container. This configuration item indicates the maximum size of resources that are available to the sidecar proxy container in a pod labeled with `koordinator.sh/qosClass`.'."\n", - 'type' => 'object', - 'properties' => [ - 'Requests' => [ - 'description' => 'The minimum size of reclaimed ACK resources that the sidecar proxy container needs to use at runtime. This configuration item indicates the minimum size of reclaimed ACK resources for the sidecar proxy container in a pod labeled with `koordinator.sh/qosClass`. The object can contain the following two types of keys, which indicate two types of resources:'."\n" - ."\n" - .'* `kubernetes.io/batch-cpu`: CPU resources that can be dynamically overcommitted. Unit: millicore.'."\n" - .'* `kubernetes.io/batch-memory`: memory resources that can be dynamically overcommitted.'."\n", - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '128Mi', - 'description' => '', - ], - ], - 'Limits' => [ - 'description' => 'The maximum size of reclaimed ACK resources that are available to the sidecar proxy container. This configuration item indicates the maximum size of resources that are available to the sidecar proxy container in a pod labeled with `koordinator.sh/qosClass`. The object can contain the following two types of keys, which indicate two types of resources:'."\n" - ."\n" - .'* `kubernetes.io/batch-cpu`: CPU resources that can be dynamically overcommitted. Unit: millicore.'."\n" - .'* `kubernetes.io/batch-memory`: memory resources that can be dynamically overcommitted.'."\n", - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'description' => '', - 'example' => '2048Mi', - ], - ], - ], - ], - 'Privileged' => [ - 'description' => 'Indicates whether the privileged mode is enabled in the security context of the sidecar proxy containers. Valid values:'."\n" - ."\n" - .'* `true`: The privileged mode is enabled, that is, the sidecar proxy containers run in privileged mode.'."\n" - .'* `false`: The privileged mode is not enabled.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'EnableCoreDump' => [ - 'description' => 'Indicates whether the core dump feature is enabled for the sidecar proxy containers. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'ReadinessInitialDelaySeconds' => [ - 'description' => 'The amount of time to wait before the first readiness check of a sidecar proxy container is performed. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'ReadinessPeriodSeconds' => [ - 'description' => 'The interval between two readiness checks of a sidecar proxy container. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'ReadinessFailureThreshold' => [ - 'description' => 'The number of readiness check failures required before marking a sidecar proxy container as not ready.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'SMCConfiguration' => [ - 'description' => 'The configurations of the Shared Memory Communications over Remote Direct Memory Access (SMC-R) optimization feature.'."\n", - 'type' => 'object', - 'properties' => [ - 'Enabled' => [ - 'description' => 'Indicates whether the SMC-R optimization feature is enabled. The SMC-R optimization feature uses Alibaba Cloud Linux 3 and elastic remote direct memory access (eRDMA) network devices, which optimizes cross-node communication.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - 'RuntimeValues' => [ - 'description' => 'Indicates the runtime parameters of Envoy proxy processes in the sidecar proxy container.'."\n", - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '"65536"', - 'description' => 'The values of Envoy Runtime Parameters'."\n", - ], - ], - 'ScaledSidecarResource' => [ - 'type' => 'object', - 'properties' => [ - 'ResourceCalculationStrategy' => [ - 'type' => 'string', - ], - 'ContainerRef' => [ - 'type' => 'string', - ], - 'ResourcePercentage' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'yyyy'], + 'SwimLaneList' => [ + 'description' => 'A list of swimlanes.', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about a swimlane.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the swimlane.', 'type' => 'string', 'title' => '', 'example' => 's1'], + 'GroupName' => ['description' => 'The name of the swimlane group.', 'type' => 'string', 'title' => '', 'example' => 'test'], + 'LabelSelectorKey' => ['description' => 'The label key for the associated service workload. The value is fixed to `ASM_TRAFFIC_TAG`.', 'type' => 'string', 'title' => '', 'example' => 'ASM_TRAFFIC_TAG'], + 'LabelSelectorValue' => ['description' => 'The value of the `ASM_TRAFFIC_TAG `label.', 'type' => 'string', 'title' => '', 'example' => 'v1'], + 'IngressService' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'title' => '', 'example' => 'mocka.default.svc.cluster.local'], + 'IngressRule' => ['description' => 'The traffic routing rule.', 'type' => 'string', 'title' => '', 'example' => '[{"Domains":["*"],"RouteName":"r1","MatchRequest":{"Headers":[{"Name":"x-asm-prefer-tag","MatchingMode":"exact","MatchingContent":"s1"}],"URI":{"MatchingMode":"exact","MatchingContent":"/mock"}},"RouteDestinations":[{"Destination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"}}]},{"Domains":["*"],"RouteName":"hello","MatchRequest":{"Headers":[{"Name":"x-asm-prefer-tag","MatchingMode":"exact","MatchingContent":"s1"}],"URI":{"MatchingMode":"exact","MatchingContent":"/mocktest"}},"RouteDestinations":[{"Destination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"}}]}]'], + 'ServiceList' => ['description' => 'A list of associated services.', 'type' => 'string', 'title' => '', 'example' => '["sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc"]'], + 'WeightedIngressDestinatin' => ['description' => 'This parameter is available when the traffic routing policy of the swimlane group is \\`weighted\\`. The value is a JSON-serialized string that specifies the ingress service domain name and traffic weight for the swimlane.', 'type' => 'string', 'title' => '', 'example' => '{"RouteDestination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"},"Weight":40}'], + 'ValidationMessage' => ['description' => 'A list of validation messages for the swimlane. If an issue occurs, such as a service in the swimlane group not existing, this list displays the corresponding validation information. If the configuration is successful and takes effect, \\`null\\` is returned.', 'type' => 'string', 'title' => '', 'example' => '[{"code":"CODE_UNEFFECTED_SWIMLANE_LABEL","level":"warning","message":"The label selector defined in the ASMSwimLane has no effect on any workload instance."}]'], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"ConfigPatches\\": {\\n \\"TerminationDrainDuration\\": \\"6s\\",\\n \\"SidecarProxyInitResourceLimit\\": {\\n \\"ResourceCPULimit\\": \\"2000 m\\",\\n \\"ResourceMemoryLimit\\": \\"50 Mi\\"\\n },\\n \\"SidecarProxyInitResourceRequest\\": {\\n \\"ResourceCPURequest\\": \\"60 m\\",\\n \\"ResourceMemoryRequest\\": \\"30 Mi\\"\\n },\\n \\"SidecarProxyResourceLimit\\": {\\n \\"ResourceCPULimit\\": \\"2000 m\\",\\n \\"ResourceMemoryLimit\\": \\"50 Mi\\"\\n },\\n \\"SidecarProxyResourceRequest\\": {\\n \\"ResourceCPURequest\\": \\"60 m\\",\\n \\"ResourceMemoryRequest\\": \\"30 Mi\\"\\n },\\n \\"ExcludeOutboundPorts\\": \\"81\\",\\n \\"ExcludeOutboundIPRanges\\": \\"192.168.1.3/31\\",\\n \\"IncludeOutboundIPRanges\\": \\"192.168.1.4/31\\",\\n \\"ExcludeInboundPorts\\": \\"82\\",\\n \\"IncludeInboundPorts\\": \\"83\\",\\n \\"IncludeOutboundPorts\\": \\"84\\",\\n \\"IstioDNSProxyEnabled\\": true,\\n \\"LifecycleStr\\": \\"{\\\\\\"postStart\\\\\\":{\\\\\\"exec\\\\\\":{\\\\\\"command\\\\\\":[\\\\\\"pilot-agent\\\\\\",\\\\\\"wait\\\\\\"]}},\\\\\\"preStop\\\\\\":{\\\\\\"exec\\\\\\":{\\\\\\"command\\\\\\":[\\\\\\"/bin/sh\\\\\\",\\\\\\"-c\\\\\\",\\\\\\"sleep 15\\\\\\"]}}}\\",\\n \\"Concurrency\\": 2,\\n \\"LogLevel\\": \\"info\\",\\n \\"HoldApplicationUntilProxyStarts\\": true,\\n \\"ProxyStatsMatcher\\": {\\n \\"InclusionPrefixes\\": [\\n \\"server\\"\\n ],\\n \\"InclusionSuffixes\\": [\\n \\"cluster.outbound\\"\\n ],\\n \\"InclusionRegexps\\": [\\n \\"listener.*.downstream_cx_total\\"\\n ]\\n },\\n \\"Tracing\\": {\\n \\"Sampling\\": 99.8,\\n \\"CustomTags\\": {\\n \\"test\\": {\\n \\"literal\\": {\\n \\"value\\": \\"test\\"\\n }\\n }\\n },\\n \\"MaxPathTagLength\\": 10\\n },\\n \\"InterceptionMode\\": \\"TPROXY\\",\\n \\"ProxyMetadata\\": {\\n \\"key\\": \\"\\\\\\"true\\\\\\"\\"\\n },\\n \\"SidecarProxyInitAckSloResource\\": {\\n \\"Requests\\": {\\n \\"key\\": \\"128Mi\\"\\n },\\n \\"Limits\\": {\\n \\"key\\": \\"2048Mi\\"\\n }\\n },\\n \\"SidecarProxyAckSloResource\\": {\\n \\"Requests\\": {\\n \\"key\\": \\"128Mi\\"\\n },\\n \\"Limits\\": {\\n \\"key\\": \\"2048Mi\\"\\n }\\n },\\n \\"Privileged\\": false,\\n \\"EnableCoreDump\\": false,\\n \\"ReadinessInitialDelaySeconds\\": 2,\\n \\"ReadinessPeriodSeconds\\": 3,\\n \\"ReadinessFailureThreshold\\": 5,\\n \\"SMCConfiguration\\": {\\n \\"Enabled\\": true\\n },\\n \\"RuntimeValues\\": {\\n \\"key\\": \\"\\\\\\"65536\\\\\\"\\"\\n },\\n \\"ScaledSidecarResource\\": {\\n \\"ResourceCalculationStrategy\\": \\"\\",\\n \\"ContainerRef\\": \\"\\",\\n \\"ResourcePercentage\\": 0\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeNamespaceScopeSidecarConfigResponse>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n <ConfigPatches>\\n <TerminationDrainDuration>6s</TerminationDrainDuration>\\n <SidecarProxyInitResourceLimit>\\n <ResourceCPULimit>2000 m</ResourceCPULimit>\\n <ResourceMemoryLimit>50 Mi</ResourceMemoryLimit>\\n </SidecarProxyInitResourceLimit>\\n <SidecarProxyInitResourceRequest>\\n <ResourceCPURequest>60 m</ResourceCPURequest>\\n <ResourceMemoryRequest>30 Mi</ResourceMemoryRequest>\\n </SidecarProxyInitResourceRequest>\\n <SidecarProxyResourceLimit>\\n <ResourceCPULimit>2000 m</ResourceCPULimit>\\n <ResourceMemoryLimit>50 Mi</ResourceMemoryLimit>\\n </SidecarProxyResourceLimit>\\n <SidecarProxyResourceRequest>\\n <ResourceCPURequest>60 m</ResourceCPURequest>\\n <ResourceMemoryRequest>30 Mi</ResourceMemoryRequest>\\n </SidecarProxyResourceRequest>\\n <ExcludeOutboundPorts>81</ExcludeOutboundPorts>\\n <ExcludeOutboundIPRanges>192.168.1.3/31</ExcludeOutboundIPRanges>\\n <IncludeOutboundIPRanges>192.168.1.4/31</IncludeOutboundIPRanges>\\n <ExcludeInboundPorts>82</ExcludeInboundPorts>\\n <IncludeInboundPorts>83</IncludeInboundPorts>\\n <IncludeOutboundPorts>84</IncludeOutboundPorts>\\n <IstioDNSProxyEnabled>true</IstioDNSProxyEnabled>\\n <LifecycleStr>{\\"postStart\\":{\\"exec\\":{\\"command\\":[\\"pilot-agent\\",\\"wait\\"]}},\\"preStop\\":{\\"exec\\":{\\"command\\":[\\"/bin/sh\\",\\"-c\\",\\"sleep 15\\"]}}}</LifecycleStr>\\n <Concurrency>2</Concurrency>\\n <LogLevel>info</LogLevel>\\n <HoldApplicationUntilProxyStarts>true</HoldApplicationUntilProxyStarts>\\n <ProxyStatsMatcher>\\n <InclusionPrefixes>server</InclusionPrefixes>\\n <InclusionSuffixes>cluster.outbound</InclusionSuffixes>\\n <InclusionRegexps>listener.*.downstream_cx_total</InclusionRegexps>\\n </ProxyStatsMatcher>\\n <Tracing>\\n <Sampling>99.8</Sampling>\\n <MaxPathTagLength>10</MaxPathTagLength>\\n </Tracing>\\n <InterceptionMode>TPROXY</InterceptionMode>\\n </ConfigPatches>\\n</DescribeNamespaceScopeSidecarConfigResponse>","errorExample":""}]', - 'title' => 'DescribeNamespaceScopeSidecarConfig', - ], - 'AddClusterIntoServiceMesh' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GetSwimLaneList', + 'summary' => 'Call GetSwimLaneList to retrieve a list of all swimlanes in a swimlane group.', + 'changeSet' => [ + ['createdAt' => '2024-11-08T07:04:34.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-05-17T02:32:33.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-28T07:26:39.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:GetSwimLaneList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"yyyy\\",\\n \\"SwimLaneList\\": [\\n {\\n \\"Name\\": \\"s1\\",\\n \\"GroupName\\": \\"test\\",\\n \\"LabelSelectorKey\\": \\"ASM_TRAFFIC_TAG\\",\\n \\"LabelSelectorValue\\": \\"v1\\",\\n \\"IngressService\\": \\"mocka.default.svc.cluster.local\\",\\n \\"IngressRule\\": \\"[{\\\\\\"Domains\\\\\\":[\\\\\\"*\\\\\\"],\\\\\\"RouteName\\\\\\":\\\\\\"r1\\\\\\",\\\\\\"MatchRequest\\\\\\":{\\\\\\"Headers\\\\\\":[{\\\\\\"Name\\\\\\":\\\\\\"x-asm-prefer-tag\\\\\\",\\\\\\"MatchingMode\\\\\\":\\\\\\"exact\\\\\\",\\\\\\"MatchingContent\\\\\\":\\\\\\"s1\\\\\\"}],\\\\\\"URI\\\\\\":{\\\\\\"MatchingMode\\\\\\":\\\\\\"exact\\\\\\",\\\\\\"MatchingContent\\\\\\":\\\\\\"/mock\\\\\\"}},\\\\\\"RouteDestinations\\\\\\":[{\\\\\\"Destination\\\\\\":{\\\\\\"Host\\\\\\":\\\\\\"mocka.default.svc.cluster.local\\\\\\",\\\\\\"Subset\\\\\\":\\\\\\"s1\\\\\\"}}]},{\\\\\\"Domains\\\\\\":[\\\\\\"*\\\\\\"],\\\\\\"RouteName\\\\\\":\\\\\\"hello\\\\\\",\\\\\\"MatchRequest\\\\\\":{\\\\\\"Headers\\\\\\":[{\\\\\\"Name\\\\\\":\\\\\\"x-asm-prefer-tag\\\\\\",\\\\\\"MatchingMode\\\\\\":\\\\\\"exact\\\\\\",\\\\\\"MatchingContent\\\\\\":\\\\\\"s1\\\\\\"}],\\\\\\"URI\\\\\\":{\\\\\\"MatchingMode\\\\\\":\\\\\\"exact\\\\\\",\\\\\\"MatchingContent\\\\\\":\\\\\\"/mocktest\\\\\\"}},\\\\\\"RouteDestinations\\\\\\":[{\\\\\\"Destination\\\\\\":{\\\\\\"Host\\\\\\":\\\\\\"mocka.default.svc.cluster.local\\\\\\",\\\\\\"Subset\\\\\\":\\\\\\"s1\\\\\\"}}]}]\\",\\n \\"ServiceList\\": \\"[\\\\\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka\\\\\\",\\\\\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb\\\\\\",\\\\\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc\\\\\\"]\\",\\n \\"WeightedIngressDestinatin\\": \\"{\\\\\\"RouteDestination\\\\\\":{\\\\\\"Host\\\\\\":\\\\\\"mocka.default.svc.cluster.local\\\\\\",\\\\\\"Subset\\\\\\":\\\\\\"s1\\\\\\"},\\\\\\"Weight\\\\\\":40}\\",\\n \\"ValidationMessage\\": \\"[{\\\\\\"code\\\\\\":\\\\\\"CODE_UNEFFECTED_SWIMLANE_LABEL\\\\\\",\\\\\\"level\\\\\\":\\\\\\"warning\\\\\\",\\\\\\"message\\\\\\":\\\\\\"The label selector defined in the ASMSwimLane has no effect on any workload instance.\\\\\\"}]\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetVmAppMeshInfo' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '17600', - 'abilityTreeNodes' => [ - 'FEATUREservicemeshBG5ZTX', - ], - ], + 'operationType' => 'read', + 'deprecated' => true, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ServiceMeshId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Service Mesh (ASM) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cb8963379255149cb98c8686f274x****', - ], - ], - [ - 'name' => 'ClusterId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the cluster to be added.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ce3c25e247da24f3aab9b7edfae83****', - ], - ], - [ - 'name' => 'IgnoreNamespaceCheck', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to check that the cluster you want to add to the ASM instance belongs to the istio-system namespace. This parameter is often used in scenarios where you migrate traffic from self-managed open source Istio to ASM. Valid values: true and false.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'Kubeconfig', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The cluster certificate.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'apiVersion: v1 clusters: - cluster: server: https://47.110.xx.xx:6443 certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURUakNDQWphZ0F3SUJBZ0lVYzBQVy82ejR1aHlxYkRRdnNsV1htSmpJeFdNd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1BqRW5NQThHQTFVRUNoTUlhR0Z1WjNwb2IzVXdGQVlEVlFRS0V3MWhiR2xpWVdKaElHTnNiM1ZrTVJNdwpFUVlEVlFRREV3cHJkV0psY201bGRHVnpNQ0FYRFRJeU1EUXdOekExTVRnd01Gb1lEekl3TlRJd016TXdNRFV4Ck9EQXdXakErTVNjd0R3WURWUVFLRXdob1lXNW5lbWh2ZFRBVUJnTlZCQW9URFdGc2FXSmhZbUVnWTJ4dmRXUXgKRXpBUkJnTlZCQU1UQ210MVltVnlibVYwWlhNd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJE****', - ], - ], - [ - 'name' => 'DiscoveryOnly', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Indicates whether to add the cluster to an ASM instance in only service discovery mode.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ce51a7de4a5144db88a864****', 'title' => ''], ], ], 'responses' => [ @@ -7698,88 +8165,71 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned message.'."\n", - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], - 'Code' => [ - 'description' => 'The returned status code.'."\n", - 'type' => 'string', - 'example' => '200', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '9522f7c9-63a1-4603-b850-37d12a****', 'title' => ''], + 'Data' => ['description' => 'The returned information.', 'type' => 'string', 'example' => '...', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>\\n<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]', - 'title' => 'AddClusterIntoServiceMesh', - 'summary' => 'Adds a cluster to an ASM instance.', + 'staticInfo' => ['noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9522f7c9-63a1-4603-b850-37d12a****\\",\\n \\"Data\\": \\"...\\"\\n}","type":"json"}]', + 'title' => 'GetVmAppMeshInfo', + 'summary' => 'Call GetVmAppMeshInfo to retrieve a list of mesh information for VMs.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'RemoveClusterFromServiceMesh' => [ - 'methods' => [ - 'post', - 'delete', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:GetVmAppMeshInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetVmMeta' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'read', + 'deprecated' => true, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ServiceMeshId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Service Mesh (ASM) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ce3c25e247da24f3aab9b7edfae83****', - ], + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Service Mesh (ASM) instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ce51a7de4a5144db88a864ed91****', 'title' => ''], ], [ - 'name' => 'ClusterId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the cluster that you want to delete.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cb8963379255149cb98c8686f274x****', - ], + 'name' => 'TrustDomain', + 'in' => 'query', + 'schema' => ['description' => 'The trust domain. If both the namespace and the service account are specified, the default value is cluster.local. Otherwise, this parameter is ignored.', 'type' => 'string', 'required' => false, 'example' => 'cluster.local', 'title' => ''], ], [ - 'name' => 'ReserveNamespace', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to reserve the istio-system namespace when you delete the cluster. Valid values: true and false.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => ['description' => 'The namespace. This parameter takes effect only when both the namespace and the service account are specified. Otherwise, it is ignored.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'hello', 'title' => ''], + ], + [ + 'name' => 'ServiceAccount', + 'in' => 'query', + 'schema' => ['description' => 'The service account. This parameter takes effect only when both the namespace and the service account are specified. Otherwise, it is ignored.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'http-sa', 'title' => ''], ], ], 'responses' => [ @@ -7787,43 +8237,55 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned message.'."\n", - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], - 'Code' => [ - 'description' => 'The returned status code.'."\n", - 'type' => 'string', - 'example' => '200', + 'VmMetaInfo' => [ + 'description' => 'The metadata required for adding a VM to the mesh.', + 'type' => 'object', + 'properties' => [ + 'HostsContent' => ['description' => 'The content of the hosts file.', 'type' => 'string', 'example' => '....', 'title' => ''], + 'TokenContent' => ['description' => 'The content of the token.', 'type' => 'string', 'example' => '....', 'title' => ''], + 'EnvoyEnvContent' => ['description' => 'The content of the EnvoyEnv configuration.', 'type' => 'string', 'example' => '....', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9522f7c9-63a1-4603-b850-37d12a****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>\\n<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]', - 'title' => 'RemoveClusterFromServiceMesh', - 'summary' => 'Removes a cluster from a Service Mesh (ASM) instance.', + 'staticInfo' => ['noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"VmMetaInfo\\": {\\n \\"HostsContent\\": \\"....\\",\\n \\"TokenContent\\": \\"....\\",\\n \\"EnvoyEnvContent\\": \\"....\\"\\n },\\n \\"RequestId\\": \\"9522f7c9-63a1-4603-b850-37d12a****\\"\\n}","type":"json"}]', + 'title' => 'Obtains the metadata required for adding a VM to the mesh.', + 'summary' => 'Calls the GetVmMeta operation to obtain the metadata required for adding a VM to the mesh.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateASMNamespaceFromGuestCluster' => [ - 'summary' => 'Synchronizes namespaces of a Kubernetes cluster that is added to a Service Mesh (ASM) instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2021-05-06T03:17:24.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:GetVmMeta', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GrantUserPermissions' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7831,35 +8293,37 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREservicemeshBG5ZTX', - ], - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ServiceMeshId', + 'name' => 'SubAccountUserId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cbf9ca9e6d5dc4c87a3ecd0ebf1e*****', - ], + 'schema' => ['description' => 'The ID of the RAM user or RAM role.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'title' => '', 'example' => '27852573609480****'], ], [ - 'name' => 'K8sClusterId', + 'name' => 'Permissions', + 'in' => 'formData', + 'schema' => ['description' => 'The list of permissions. The value is a JSON array string. You must pass all permissions. To add a permission, add an item to the list. To delete a permission, remove the item from the list. The following list describes the fields in the example value:'."\n" + ."\n" + .'- `IsCustom`: A required parameter. The value is fixed to `true`.'."\n" + ."\n" + .'- `Cluster`: The ID of the service mesh instance.'."\n" + ."\n" + .'- `RoleName`: The name of the permission. Valid values: `istio-admin`, `istio-ops`, and `istio-readonly`. These values correspond to the administrator, mesh resource administrator, and read-only permissions, respectively.'."\n" + ."\n" + .'- `IsRamRole`: The entity to which the permissions are granted. Set the value to `true` if the entity is a RAM role. Otherwise, set the value to `false`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '[{"IsCustom":true,"RoleName":"istio-ops","Cluster":"c57b848115458460583a4260cb713****","RoleType":"custom","IsRamRole":false},{"IsCustom":true,"RoleName":"istio-ops","Cluster":"c4ec191f4e12145c09286ea3e2b8f****","RoleType":"custom","IsRamRole":false}]'], + ], + [ + 'name' => 'SubAccountUserIds', 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => 'The ID of the Kubernetes cluster whose namespace information you want to synchronize to ASM. The Kubernetes cluster is added to the ASM instance that is specified by the ServiceMeshId parameter.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c6f6d46583def494ba1f2e2937c8*****', + 'description' => 'A list of RAM user or RAM role IDs. You can grant permissions to multiple users at a time.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the RAM user or RAM role.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '27852573609480****'."\n"], + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], @@ -7868,231 +8332,121 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '9DEC6122-ACEC-183D-8451-8E0A1A******', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '5A7C9E37-C171-584F-9A99-869B48C4****'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9DEC6122-ACEC-183D-8451-8E0A1A******\\"\\n}","type":"json"}]', - 'title' => 'UpdateASMNamespaceFromGuestCluster', - ], - 'DescribeServiceMeshClusters' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'GrantUserPermissions', + 'summary' => 'Updates the permissions of a RAM user.', + 'changeSet' => [ + ['createdAt' => '2023-08-21T02:12:07.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-06-08T06:06:28.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:GrantUserPermissions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5A7C9E37-C171-584F-9A99-869B48C4****\\"\\n}","type":"json"}]', + ], + 'ListServiceAccounts' => [ + 'summary' => 'This operation retrieves a list of all service accounts.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'ServiceMeshId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cb8963379255149cb98c8686f274x****', - ], + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the service mesh.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'title' => '', 'example' => 'ce134b0727aa2492db69f6c3880e1****'], ], [ - 'name' => 'Offset', + 'name' => 'ClusterId', 'in' => 'formData', - 'allowEmptyValue' => true, - 'schema' => [ - 'description' => 'The position where the query starts.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The ID of the data plane cluster.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'title' => '', 'example' => 'ce3c25e247da24f3aab9b7edfae83****'], ], [ - 'name' => 'Limit', + 'name' => 'Namespace', 'in' => 'formData', - 'allowEmptyValue' => true, - 'schema' => [ - 'description' => 'The maximum number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '30', - ], + 'schema' => ['description' => 'The namespace.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', - ], - 'Clusters' => [ - 'description' => 'The queried clusters.'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '8349374D-0F22-5CAB-9DE3-8CCE8EFA71FF'], + 'ServiceAccounts' => [ + 'description' => 'A list of service accounts.', 'type' => 'array', 'items' => [ + 'description' => 'A service account in the list.', 'type' => 'object', 'properties' => [ - 'SgId' => [ - 'description' => 'The ID of the security group.'."\n", - 'type' => 'string', - 'example' => 'sg-bp197668l6iupljy****', - ], - 'VpcId' => [ - 'description' => 'The ID of the virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'example' => 'vpc-8vbrwmt95b4zf6wf7****', - ], - 'CreationTime' => [ - 'description' => 'The time when the cluster was created.'."\n", - 'type' => 'string', - 'example' => '2020-05-12T15:38:16+08:00', - ], - 'UpdateTime' => [ - 'description' => 'The time when the cluster was last modified.'."\n", - 'type' => 'string', - 'example' => '2020-05-12T15:38:16+08:00', - ], - 'ErrorMessage' => [ - 'description' => 'The error message about the cluster.'."\n", - 'type' => 'string', - 'example' => 'fail', - ], - 'State' => [ - 'description' => 'The state of the cluster. Valid values:'."\n" - ."\n" - .'* `running`: The cluster is running.'."\n" - .'* `starting`: The cluster is starting.'."\n" - .'* `stopping`: The cluster is being stopped.'."\n" - .'* `stopped`: The cluster is stopped.'."\n" - .'* `failed`: The cluster fails to be run.'."\n", - 'type' => 'string', - 'example' => 'running', - ], - 'ServiceMeshId' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'example' => 'cb8963379255149cb98c8686f274x****', - ], - 'RegionId' => [ - 'description' => 'The ID of the region in which the cluster resides.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'ClusterDomain' => [ - 'description' => 'The domain name of the cluster.'."\n", - 'type' => 'string', - 'example' => 'c.com', - ], - 'Version' => [ - 'description' => 'The version number of the cluster.'."\n", - 'type' => 'string', - 'example' => 'v1.16.6-aliyun.1', - ], - 'ClusterType' => [ - 'description' => 'The cluster type.'."\n", - 'type' => 'string', - 'example' => 'Ask', - ], - 'Name' => [ - 'description' => 'The name of the cluster.'."\n", - 'type' => 'string', - 'example' => 'ask1', - ], - 'ClusterId' => [ - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'example' => 'c80f45444b3da447da60a911390c2****', - ], - 'ForbiddenFlag' => [ - 'description' => 'Indicates that the cluster is available or the reason why the cluster cannot be added to the ASM instance. Valid values:'."\n" - ."\n" - .'* `0`: The cluster can be added to the ASM instance.'."\n" - .'* `1`: The cluster cannot be added to the ASM instance because you do not have administrator permissions on the cluster.'."\n" - .'* `2`: The cluster cannot be added to the ASM instance because the cluster and the ASM instance reside in different VPCs between which no private connections are built.'."\n" - .'* `3`: The CIDR block of the cluster conflicts with that of the ASM instance.'."\n" - .'* `4`: The cluster has a namespace that is named istio-system.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'ForbiddenInfo' => [ - 'description' => 'The reason why the cluster on the data plane cannot be added to the ASM instance. The value is a JSON string in the following format:'."\n" - ."\n" - .' ['."\n" - .' {'."\n" - .' "cluster": "cdd55bd6e054b4c6ca18ec02614******",'."\n" - .' "object": "Pod",'."\n" - .' "cidr": "172.16.0.0/24"'."\n" - .' },'."\n" - .' {'."\n" - .' "cluster": "cfa37fdf7cb1641e1976f8293ac******",'."\n" - .' "object": "Pod",'."\n" - .' "cidr": "172.16.0.0/24"'."\n" - .' }'."\n" - .' ]'."\n" - ."\n" - .'In the preceding example, the CIDR block `172.16.0.0/24` of the pod in the `cdd55bd6e054b4c6ca18ec02614******` cluster conflicts with the CIDR block `172.16.0.0/24` of the pod in the `cfa37fdf7cb1641e1976f8293ac******` cluster.'."\n" - ."\n" - .'Valid values of the `object` parameter:'."\n" - ."\n" - .'* `Pod`'."\n" - .'* `Service`'."\n" - .'* `VSwitch`'."\n" - .'* `VPC`'."\n" - .'* `VPC CIDR`'."\n", - 'type' => 'string', - 'example' => '[{"cluster":"cdd55bd6e054b4c6ca18ec02614******", "object":"Pod", "cidr":"172.16.0.0/24"},{"cluster":"cfa37fdf7cb1641e1976f8293ac******", "object":"Pod", "cidr":"172.16.0.0/24"}]', - ], + 'Name' => ['description' => 'The name of the service account.', 'type' => 'string', 'title' => '', 'example' => 'bookinfo-reviews'], + 'Namespace' => ['description' => 'The namespace of the service account.', 'type' => 'string', 'title' => '', 'example' => 'default'], ], + 'title' => '', + 'example' => '', ], - ], - 'NumberOfClusters' => [ - 'description' => 'The total number of ACK clusters in the current Region.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"Clusters\\": [\\n {\\n \\"SgId\\": \\"sg-bp197668l6iupljy****\\",\\n \\"VpcId\\": \\"vpc-8vbrwmt95b4zf6wf7****\\",\\n \\"CreationTime\\": \\"2020-05-12T15:38:16+08:00\\",\\n \\"UpdateTime\\": \\"2020-05-12T15:38:16+08:00\\",\\n \\"ErrorMessage\\": \\"fail\\",\\n \\"State\\": \\"running\\",\\n \\"ServiceMeshId\\": \\"cb8963379255149cb98c8686f274x****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ClusterDomain\\": \\"c.com\\",\\n \\"Version\\": \\"v1.16.6-aliyun.1\\",\\n \\"ClusterType\\": \\"Ask\\",\\n \\"Name\\": \\"ask1\\",\\n \\"ClusterId\\": \\"c80f45444b3da447da60a911390c2****\\",\\n \\"ForbiddenFlag\\": 0,\\n \\"ForbiddenInfo\\": \\"[{\\\\\\"cluster\\\\\\":\\\\\\"cdd55bd6e054b4c6ca18ec02614******\\\\\\", \\\\\\"object\\\\\\":\\\\\\"Pod\\\\\\", \\\\\\"cidr\\\\\\":\\\\\\"172.16.0.0/24\\\\\\"},{\\\\\\"cluster\\\\\\":\\\\\\"cfa37fdf7cb1641e1976f8293ac******\\\\\\", \\\\\\"object\\\\\\":\\\\\\"Pod\\\\\\", \\\\\\"cidr\\\\\\":\\\\\\"172.16.0.0/24\\\\\\"}]\\"\\n }\\n ],\\n \\"NumberOfClusters\\": 5\\n}","errorExample":""},{"type":"xml","example":"<DescribeServiceMeshClustersResponse>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n <Clusters>\\n <SgId>sg-bp197668l6iupljy****</SgId>\\n <VpcId>vpc-8vbrwmt95b4zf6wf7****</VpcId>\\n <CreationTime>2020-05-12T15:38:16+08:00</CreationTime>\\n <UpdateTime>2020-05-12T15:38:16+08:00</UpdateTime>\\n <ErrorMessage>fail</ErrorMessage>\\n <State>running</State>\\n <ServiceMeshId>cb8963379255149cb98c8686f274x****</ServiceMeshId>\\n <RegionId>cn-hangzhou</RegionId>\\n <ClusterDomain>c.com</ClusterDomain>\\n <Version>v1.16.6-aliyun.1</Version>\\n <ClusterType>Ask</ClusterType>\\n <Name>ask1</Name>\\n <ClusterId>c80f45444b3da447da60a911390c2****</ClusterId>\\n <ForbiddenFlag>0</ForbiddenFlag>\\n </Clusters>\\n</DescribeServiceMeshClustersResponse>","errorExample":""}]', - 'title' => 'DescribeServiceMeshClusters', - 'summary' => 'Queries the clusters that can be added to a Service Mesh (ASM) instance.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeClustersInServiceMesh' => [ - 'summary' => 'Queries the information about clusters in a Service Mesh (ASM) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListServiceAccounts', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:ListServiceAccounts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8349374D-0F22-5CAB-9DE3-8CCE8EFA71FF\\",\\n \\"ServiceAccounts\\": [\\n {\\n \\"Name\\": \\"bookinfo-reviews\\",\\n \\"Namespace\\": \\"default\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListTagResources' => [ + 'summary' => 'Queries user tags for one or more instances.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8100,173 +8454,127 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '17608', - 'abilityTreeNodes' => [ - 'FEATUREservicemeshBG5ZTX', - ], - ], + 'systemTags' => [], 'parameters' => [ [ - 'name' => 'ServiceMeshId', + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the region where the Service Mesh (ASM) instance is located.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['description' => 'A required parameter. The value must be `servicemesh`.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'servicemesh'], + ], + [ + 'name' => 'ResourceId', 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cb8963379255149cb98c8686f274x****', + 'description' => 'A list of Service Mesh instance IDs.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the Nth resource, which is the service mesh ID. To query multiple resources, use parameters such as `ResourceId.2` and `ResourceId.3`. N must be a positive integer.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'c418807cb4e5840eab018da7d8f5d****'], + 'required' => false, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'description' => 'A list of tags. It can contain up to 20 items.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tag of the resource.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.'."\n" + ."\n" + .'The key can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'test'], + 'Value' => ['description' => 'The tag value.'."\n" + ."\n" + .'The value can be an empty string or a string of up to 128 characters. It cannot start with aliyun or acs:. It cannot contain http\\:// or https\\://.'."\n" + ."\n" + .'Each tag key must have a corresponding tag value. You can specify up to 20 tag key-value pairs at a time.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'yahaha'], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'minItems' => 1, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The token that is used to retrieve the next page of results. If this parameter is empty, all results have been returned.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '""'], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response body.'."\n", + 'title' => 'Schema of Response', + 'description' => 'The response schema.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', - ], - 'Clusters' => [ - 'description' => 'The list of the clusters in the ASM instance.'."\n", + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], + 'NextToken' => ['description' => 'The token that is used to retrieve the next page of results. If this parameter is empty, all results have been returned.', 'type' => 'string', 'title' => '', 'example' => '""'], + 'TagResources' => [ + 'description' => 'Information about the queried instances and their tags.', 'type' => 'array', 'items' => [ - 'description' => 'The information about the cluster.'."\n", + 'description' => 'Information about the queried resources and their tags.', 'type' => 'object', 'properties' => [ - 'SgId' => [ - 'description' => 'The ID of the security group.'."\n", - 'type' => 'string', - 'example' => 'sg-bp197668l6iupljy****', - ], - 'VpcId' => [ - 'description' => 'The ID of the virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'example' => 'vpc-2zew0rajjkmxy2369****', - ], - 'CreationTime' => [ - 'description' => 'The time when the cluster was created.'."\n", - 'type' => 'string', - 'example' => '2020-05-12T15:38:16+08:00', - ], - 'UpdateTime' => [ - 'description' => 'The time when the cluster was last modified.'."\n", - 'type' => 'string', - 'example' => '2020-05-12T15:38:16+08:00', - ], - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => ',', - ], - 'State' => [ - 'description' => 'The status of the cluster.'."\n", - 'type' => 'string', - 'example' => 'running', - ], - 'AccessLogDashboards' => [ - 'description' => 'The configurations of access log collection.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Url' => [ - 'description' => 'The URL of the dashboard for access logs.'."\n", - 'type' => 'string', - 'example' => 'https://sls.console.aliyun.com/next/project/****/dashboard/mesh-access-log_details_cn', - ], - 'Title' => [ - 'description' => 'The name of the dashboard for access logs.'."\n", - 'type' => 'string', - 'example' => 'mesh-access-log_details_cn', - ], - ], - ], - ], - 'RegionId' => [ - 'description' => 'The ID of the region in which the cluster resides.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'ClusterDomain' => [ - 'description' => 'The domain name of the cluster.'."\n", - 'type' => 'string', - 'example' => 'example.com', - ], - 'Version' => [ - 'description' => 'The version number of the cluster.'."\n", - 'type' => 'string', - 'example' => 'v1.16.6-aliyun.1', - ], - 'ClusterType' => [ - 'description' => 'The type of the cluster.'."\n", - 'type' => 'string', - 'example' => 'Ask', - ], - 'Name' => [ - 'description' => 'The name of the cluster.'."\n", - 'type' => 'string', - 'example' => 'ask1', - ], - 'ClusterId' => [ - 'description' => 'The ID of the cluster.'."\n", - 'type' => 'string', - 'example' => 'c80f45444b3da447da60a911390c2****', - ], - 'LogtailInstalledState' => [ - 'description' => 'Indicates whether the Logtail component is installed in the cluster. Valid values:'."\n" - ."\n" - .'* `logtail_installed`: The Logtail component is installed.'."\n" - ."\n" - .'\\-`logtail_uninstalled`: The Logtail component is not installed.'."\n" - ."\n" - .'* `logtail_state_get_error`: The Logtail component failed to be installed.'."\n", - 'type' => 'string', - 'example' => 'logtail_installed', - ], - 'GuestClusterConfig' => [ - 'type' => 'object', - 'properties' => [ - 'SMC' => [ - 'type' => 'object', - 'properties' => [ - 'Enabled' => [ - 'type' => 'boolean', - ], - ], - ], - ], - ], + 'ResourceId' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'title' => '', 'example' => '863c333b-9a8e-4b53-a13f-52a97936****'], + 'ResourceType' => ['description' => 'The resource type. The value is `servicemesh`.', 'type' => 'string', 'title' => '', 'example' => 'servicemesh'], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'k1'], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'yahaha'], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"Clusters\\": [\\n {\\n \\"SgId\\": \\"sg-bp197668l6iupljy****\\",\\n \\"VpcId\\": \\"vpc-2zew0rajjkmxy2369****\\",\\n \\"CreationTime\\": \\"2020-05-12T15:38:16+08:00\\",\\n \\"UpdateTime\\": \\"2020-05-12T15:38:16+08:00\\",\\n \\"ErrorMessage\\": \\",\\",\\n \\"State\\": \\"running\\",\\n \\"AccessLogDashboards\\": [\\n {\\n \\"Url\\": \\"https://sls.console.aliyun.com/next/project/****/dashboard/mesh-access-log_details_cn\\",\\n \\"Title\\": \\"mesh-access-log_details_cn\\"\\n }\\n ],\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ClusterDomain\\": \\"example.com\\",\\n \\"Version\\": \\"v1.16.6-aliyun.1\\",\\n \\"ClusterType\\": \\"Ask\\",\\n \\"Name\\": \\"ask1\\",\\n \\"ClusterId\\": \\"c80f45444b3da447da60a911390c2****\\",\\n \\"LogtailInstalledState\\": \\"logtail_installed\\",\\n \\"GuestClusterConfig\\": {\\n \\"SMC\\": {\\n \\"Enabled\\": true\\n }\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeClustersInServiceMeshResponse>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n <Clusters>\\n <SgId>sg-bp197668l6iupljy****</SgId>\\n <VpcId>vpc-2zew0rajjkmxy2369****</VpcId>\\n <CreationTime>2020-05-12T15:38:16+08:00</CreationTime>\\n <UpdateTime>2020-05-12T15:38:16+08:00</UpdateTime>\\n <ErrorMessage>,</ErrorMessage>\\n <State>running</State>\\n <AccessLogDashboards>\\n <Url>https://sls.console.aliyun.com/next/project/****/dashboard/mesh-access-log_details_cn</Url>\\n <Title>mesh-access-log_details_cn</Title>\\n </AccessLogDashboards>\\n <RegionId>cn-hangzhou</RegionId>\\n <ClusterDomain>example.com</ClusterDomain>\\n <Version>v1.16.6-aliyun.1</Version>\\n <ClusterType>Ask</ClusterType>\\n <Name>ask1</Name>\\n <ClusterId>c80f45444b3da447da60a911390c2****</ClusterId>\\n <LogtailInstalledState>logtail_installed</LogtailInstalledState>\\n </Clusters>\\n</DescribeClustersInServiceMeshResponse>","errorExample":""}]', - 'title' => 'DescribeClustersInServiceMesh', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeGuestClusterPods' => [ - 'summary' => 'Queries a list of the pods in a specified namespace of a Kubernetes cluster that is added to a Service Mesh (ASM) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListTagResources', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:ListTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"NextToken\\": \\"\\\\\\"\\\\\\"\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceId\\": \\"863c333b-9a8e-4b53-a13f-52a97936****\\",\\n \\"ResourceType\\": \\"servicemesh\\",\\n \\"TagKey\\": \\"k1\\",\\n \\"TagValue\\": \\"yahaha\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListWaypoints' => [ + 'summary' => 'Retrieves all Waypoint configurations in a namespace of a data plane cluster.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8274,298 +8582,272 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c78d60f98fa43403ab6e0701b2678****', - ], + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], ], [ - 'name' => 'GuestClusterID', + 'name' => 'ClusterId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Kubernetes cluster that is added to the ASM instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c49ad2169d5a04f2d89dfc4b6bcu****', - ], + 'schema' => ['description' => 'The ID of the data plane cluster.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'title' => '', 'example' => 'ce3c25e247da24f3aab9b7edfae83****'], ], [ 'name' => 'Namespace', 'in' => 'formData', - 'schema' => [ - 'description' => 'The namespace.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'The namespace.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the waypoint. If this parameter is left empty, all waypoints are returned. Otherwise, only the waypoint with the specified name is returned.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'bookinfo-productpage'], + ], + [ + 'name' => 'Limit', + 'in' => 'formData', + 'schema' => ['description' => 'The maximum number of waypoints to return.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '30'], + ], + [ + 'name' => 'Continue', + 'in' => 'formData', + 'schema' => ['description' => 'A pagination token used to retrieve the next page of results. For the first call, leave this parameter empty. If the response includes a Continue value, more results are available. To get the next page, include the returned Continue value in your next request.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6MjY4Njc5Miwic3RhcnQiOiJkZWZhdWx0L2Jvb2tpbmZvLXByb2R1Y3RwYWdlXHUwMDAwIn0'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'EDDC0D86-2FC3-56FB-9213-96EB0A3523F1', - ], - 'PodList' => [ - 'description' => 'The list of the names of the queried pods.'."\n", + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], + 'Waypoints' => [ + 'description' => 'A list of Waypoint configurations.', 'type' => 'array', 'items' => [ - 'description' => 'The name of a pod.'."\n", - 'type' => 'string', - 'example' => 'sleep-5axqt-*****', + 'description' => 'The Waypoint configuration.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the Gateway resource for the Waypoint. If the Waypoint applies to a service account, this value is the same as the service account name. If the Waypoint applies to a namespace, the name is `namespace`.', 'type' => 'string', 'title' => '', 'example' => 'namespace'], + 'ServiceAccount' => ['description' => 'The service account for which the Waypoint is effective. If this parameter is empty, the Waypoint applies to the entire namespace.', 'type' => 'string', 'title' => '', 'example' => 'bookinfo-productpage'], + 'Namespace' => ['description' => 'The namespace.', 'type' => 'string', 'title' => '', 'example' => 'default'], + 'RequestCPU' => ['description' => 'The CPU resources requested for the Waypoint pod.', 'type' => 'string', 'title' => '', 'example' => '100m'], + 'RequestMemory' => ['description' => 'The memory resources requested for the Waypoint pod.', 'type' => 'string', 'title' => '', 'example' => '128Mi'], + 'LimitCPU' => ['description' => 'The CPU resource limit for the Waypoint pod.', 'type' => 'string', 'title' => '', 'example' => '2000m'], + 'LimitMemory' => ['description' => 'The memory resource limit for the Waypoint pod.', 'type' => 'string', 'title' => '', 'example' => '1024Mi'], + 'Replicas' => ['description' => 'The number of replicas for the Waypoint pod.', 'type' => 'string', 'title' => '', 'example' => '1'], + 'HPAEnabled' => ['description' => 'Indicates whether Horizontal Pod Autoscaling (HPA) is enabled.', 'type' => 'string', 'title' => '', 'example' => 'false'], + 'HPATargetCPU' => ['description' => 'The target CPU utilization for HPA.', 'type' => 'string', 'title' => '', 'example' => '93'], + 'HPATargetMemory' => ['description' => 'The target memory usage for HPA.', 'type' => 'string', 'title' => '', 'example' => '91'], + 'HPAMinReplicas' => ['description' => 'The minimum number of replicas for HPA.', 'type' => 'string', 'title' => '', 'example' => '2'], + 'HPAMaxReplicas' => ['description' => 'The maximum number of replicas for HPA.', 'type' => 'string', 'title' => '', 'example' => '4'], + 'PreferECI' => ['description' => 'Indicates whether the Waypoint is preferentially scheduled to Elastic Container Instance (ECI) nodes.', 'type' => 'string', 'title' => '', 'example' => 'false'], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], + 'Continue' => ['description' => 'A Base64-encoded string. If this parameter is empty, all waypoints have been returned. If this parameter is not empty, include it in your next request to retrieve the next page of results.', 'type' => 'string', 'title' => '', 'example' => 'eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6MjY4Njc5Miwic3RhcnQiOiJkZWZhdWx0L2Jvb2tpbmZvLXByb2R1Y3RwYWdlXHUwMDAwIn0'], ], + 'example' => '', ], ], ], - 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'ERR404', - 'errorMessage' => 'Not found', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListWaypoints', + 'changeSet' => [ + ['createdAt' => '2023-11-08T02:44:55.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:ListWaypoints', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EDDC0D86-2FC3-56FB-9213-96EB0A3523F1\\",\\n \\"PodList\\": [\\n \\"sleep-5axqt-*****\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeGuestClusterPodsResponse>\\n <RequestId>EDDC0D86-2FC3-56FB-9213-96EB0A3523F1</RequestId>\\n <PodList>sleep-5axqt-*****</PodList>\\n</DescribeGuestClusterPodsResponse>","errorExample":""}]', - 'title' => 'DescribeGuestClusterPods', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"Waypoints\\": [\\n {\\n \\"Name\\": \\"namespace\\",\\n \\"ServiceAccount\\": \\"bookinfo-productpage\\",\\n \\"Namespace\\": \\"default\\",\\n \\"RequestCPU\\": \\"100m\\",\\n \\"RequestMemory\\": \\"128Mi\\",\\n \\"LimitCPU\\": \\"2000m\\",\\n \\"LimitMemory\\": \\"1024Mi\\",\\n \\"Replicas\\": \\"1\\",\\n \\"HPAEnabled\\": \\"false\\",\\n \\"HPATargetCPU\\": \\"93\\",\\n \\"HPATargetMemory\\": \\"91\\",\\n \\"HPAMinReplicas\\": \\"2\\",\\n \\"HPAMaxReplicas\\": \\"4\\",\\n \\"PreferECI\\": \\"false\\"\\n }\\n ],\\n \\"Continue\\": \\"eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6MjY4Njc5Miwic3RhcnQiOiJkZWZhdWx0L2Jvb2tpbmZvLXByb2R1Y3RwYWdlXHUwMDAwIn0\\"\\n}","type":"json"}]', ], - 'DescribeGuestClusterNamespaces' => [ - 'summary' => 'Queries a list of the namespaces of a Kubernetes cluster that is added to a Service Mesh (ASM) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyApiServerEipResource' => [ + 'summary' => 'Attach or detach an EIP from an API server.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ce134b0727aa2492db69f6c3880e****', - ], + 'schema' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], ], [ - 'name' => 'GuestClusterID', + 'name' => 'Operation', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Kubernetes cluster that is added to the ASM instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c584d805c7bd442b8bac421f9849f****', - ], + 'schema' => ['description' => 'The type of the operation. Valid values:'."\n" + ."\n" + .'- `UnBindEip`: Detaches an EIP.'."\n" + ."\n" + .'- `BindEip`: Attaches an EIP.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'BindEip'], ], [ - 'name' => 'ShowNsLabels', + 'name' => 'ApiServerEipId', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to return the labels of the namespaces.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The ID of the EIP instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'eip-bp1adu9jegmxnaoq****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", + 'description' => 'The returned object.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', - ], - 'NsList' => [ - 'description' => 'The names of the namespaces.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of a namespace.'."\n", - 'type' => 'string', - 'example' => 'default', - ], - ], - 'NsLabels' => [ - 'description' => 'The labels of the namespaces. Labels are returned only when `ShowNsLabels` is set to `true`.'."\n", - 'type' => 'object', - 'example' => '{"default":{"istio-injection":"enabled"}}', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'ERR404', - 'errorMessage' => 'Not found', + 500 => [ + ['errorCode' => 'ERR500', 'errorMessage' => 'An internal server error occurred.', 'description' => ''], + ], + ], + 'title' => 'ModifyApiServerEipResource', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:ModifyApiServerEipResource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"NsList\\": [\\n \\"default\\"\\n ],\\n \\"NsLabels\\": {\\n \\"default\\": {\\n \\"istio-injection\\": \\"enabled\\"\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeGuestClusterNamespacesResponse>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n <NsList>default</NsList>\\n <NsLabels>\\n <default>\\n <istio-injection>enabled</istio-injection>\\n <kubernetes.io/metadata.name>default</kubernetes.io/metadata.name>\\n </default>\\n </NsLabels>\\n</DescribeGuestClusterNamespacesResponse>","errorExample":""}]', - 'title' => 'DescribeGuestClusterNamespaces', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","type":"json"}]', ], - 'DescribeReusableSlb' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyPilotEipResource' => [ + 'summary' => 'Modifies the elastic IP address (EIP) of a pilot instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '17614', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh8LRZ5X', - 'FEATUREservicemeshRMLVVZ', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '223301', + 'abilityTreeNodes' => ['FEATUREservicemesh4LB119'], ], 'parameters' => [ [ - 'name' => 'K8sClusterId', + 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the cluster on the data plane. If you specify this parameter, you cannot specify ServiceMeshId. This parameter and ServiceMeshId cannot be left empty at the same time.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'ca2cfe41fefeb489d9b9dba18a7c5****', - ], + 'schema' => ['description' => 'The Service Mesh instance ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'c1f5a67154bec40629c2698ec********'], ], [ - 'name' => 'NetworkType', + 'name' => 'Operation', 'in' => 'formData', 'schema' => [ - 'description' => 'The network type of the SLB instance. Valid values:'."\n" + 'description' => 'The operation to perform. Valid values:'."\n" ."\n" - .'* `intranet`'."\n" - .'* `internet`'."\n", + .'- `UnBindEip`: Detach an EIP.'."\n" + ."\n" + .'- `BindEip`: Attach an EIP.', 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'internet', + 'required' => false, + 'enum' => ['BindEip', 'UnBindEip'], + 'title' => '', + 'example' => 'BindEip', ], ], [ - 'name' => 'LbType', + 'name' => 'EipId', 'in' => 'formData', - 'schema' => [ - 'description' => 'Load balancer type, value:'."\n" - ."\n" - .'* `clb`: Classic Load Balancer'."\n" - ."\n" - .'* `nlb`: Network Load Balancer'."\n" - ."\n" - .'default is `clb`.', - 'type' => 'string', - 'required' => false, - 'example' => 'clb', - ], + 'schema' => ['description' => 'The ID of the Elastic IP Address (EIP) instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'eip-hp36jpqq5eged********'], ], [ - 'name' => 'ServiceMeshId', + 'name' => 'IsCanary', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Service Mesh (ASM) instance. If you specify this parameter, you cannot specify K8sClusterId. This parameter and K8sClusterId cannot be left empty at the same time.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cb8963379255149cb98c8686f274x****', - ], + 'schema' => ['description' => 'The type of pilot to which the EIP is attached. Valid values:'."\n" + ."\n" + .'- `true`: The EIP is attached to a canary pilot. This value is valid only during a canary release.'."\n" + ."\n" + .'- `false`: The EIP is attached to a stable pilot.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'ReusableSlbList' => [ - 'description' => 'The list of SLB instances that can be reused.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'LoadBalancerName' => [ - 'description' => 'The name of the SLB instance.'."\n", - 'type' => 'string', - 'example' => 'ad6044b015ac54484a20c47241175bb3', - ], - 'LoadBalancerId' => [ - 'description' => 'The ID of the SLB instance.'."\n", - 'type' => 'string', - 'example' => 'lb-bp17xygzsxth0bwlz****', - ], - ], - ], - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'EDDC0D86-2FC3-56FB-9213-96EB0A3523F1', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ReusableSlbList\\": [\\n {\\n \\"LoadBalancerName\\": \\"ad6044b015ac54484a20c4724117****\\",\\n \\"LoadBalancerId\\": \\"lb-bp17xygzsxth0bwlz****\\"\\n }\\n ],\\n \\"RequestId\\": \\"EDDC0D86-2FC3-56FB-9213-96EB0A3523F1\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeReusableSlbResponse>\\n <ReusableSlbList>\\n <LoadBalancerName>ad6044b015ac54484a20c47241175bb3</LoadBalancerName>\\n <LoadBalancerId>lb-bp17xygzsxth0bwlz****</LoadBalancerId>\\n </ReusableSlbList>\\n <RequestId>EDDC0D86-2FC3-56FB-9213-96EB0A3523F1</RequestId>\\n</DescribeReusableSlbResponse>","errorExample":""}]', - 'title' => 'DescribeReusableSlb', - 'summary' => 'Queries the Server Load Balancer (SLB) instances that can be reused.', - ], - 'GetRegisteredServiceEndpoints' => [ - 'summary' => 'Queries the endpoints of a registered service in an Alibaba Cloud Service Mesh (ASM) instance.', - 'methods' => [ - 'get', - 'post', + 'errorCodes' => [ + 500 => [ + ['errorCode' => 'ERR500', 'errorMessage' => 'An internal server error occurred.', 'description' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'ModifyPilotEipResource', + 'changeSet' => [ + ['createdAt' => '2024-08-28T05:58:48.000Z', 'description' => 'Request parameters changed'], ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:ModifyPilotEipResource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","type":"json"}]', + ], + 'ModifyServiceMeshName' => [ + 'summary' => 'Changes the name of a Service Mesh instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8573,197 +8855,57 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREservicemeshC7BE8V', - ], - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the namespace.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], - ], - [ - 'name' => 'Namespace', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The IDs of clusters in the ASM instance. Separate multiple cluster IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'ClusterIds', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the registered service.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'c8b054ee8c3914d079b5ce9733328****,c58faedb8a78640d3aeb0372e4c02****', - ], + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cdd30a90a7cea480ebcc7ff****'], ], [ 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'description' => 'The type of the registered service. Valid values:'."\n" - ."\n" - .'* `ServiceEntry`: indicates that the service is registered by creating a service entry.'."\n" - .'* `Kubernetes`: indicates that the service is registered on a Kubernetes cluster on the data plane.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'reviews', - ], - ], - [ - 'name' => 'ServiceType', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The endpoints of the registered service.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Kubernetes', - ], + 'schema' => ['description' => 'The new name of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'test-mesh'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The returned parameters.', 'type' => 'object', 'properties' => [ - 'ServiceEndpoints' => [ - 'description' => 'The IP address of the registered service.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Address' => [ - 'description' => 'The ID of the cluster on the data plane.'."\n", - 'type' => 'string', - 'example' => '192.168.25.153', - ], - 'ClusterId' => [ - 'description' => 'The details of the endpoints of the registered service.'."\n", - 'type' => 'string', - 'example' => 'c80f45444b3da447da60a911390c2****', - ], - ], - ], - ], - 'EndPointSlice' => [ - 'description' => 'The name of the registered service.'."\n", - 'type' => 'object', - 'properties' => [ - 'ServiceName' => [ - 'description' => 'The name of the namespace.'."\n", - 'type' => 'string', - 'example' => 'reviews', - ], - 'Namespace' => [ - 'description' => 'The location of the registered service. Valid values:'."\n" - ."\n" - .'* `MESH_INTERNAL`: The service is deployed inside the ASM instance.'."\n" - .'* `MESH_EXTERNAL`: The service is deployed outside the ASM instance.'."\n", - 'type' => 'string', - 'example' => 'default', - ], - 'Location' => [ - 'description' => 'The details of the endpoint of the registered service.'."\n", - 'type' => 'string', - 'example' => 'MESH_INTERNAL', - ], - 'EndpointsDetails' => [ - 'description' => 'The name of the pod.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'PodName' => [ - 'description' => 'The IP address of the registered service.'."\n", - 'type' => 'string', - 'example' => 'provider-v1-8c86b6898-h***', - ], - 'Address' => [ - 'description' => 'The port of the registered service.'."\n", - 'type' => 'string', - 'example' => '127.2.**.**', - ], - 'Ports' => [ - 'description' => 'The host name of the registered service.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9090', - ], - ], - 'Hostname' => [ - 'description' => 'The ID of the region in which the registered service resides.'."\n", - 'type' => 'string', - 'example' => 'www.demo.com', - ], - 'Region' => [ - 'description' => 'Indicates whether sidecar proxies are injected. Valid values:'."\n" - ."\n" - .'* `true`: yes'."\n" - .'* `false`: no'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'SidecarInjected' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'EDDC0D86-2FC3-56FB-9213-96EB0A3523F1'], ], + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 500 => [ - [ - 'errorCode' => 'ERR500', - 'errorMessage' => 'An internal server error occurred.', + 'title' => 'ModifyServiceMeshName', + 'changeSet' => [ + ['createdAt' => '2021-08-12T12:28:52.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:ModifyServiceMeshName', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ServiceEndpoints\\": [\\n {\\n \\"Address\\": \\"192.168.25.153\\",\\n \\"ClusterId\\": \\"c80f45444b3da447da60a911390c2****\\"\\n }\\n ],\\n \\"EndPointSlice\\": {\\n \\"ServiceName\\": \\"reviews\\",\\n \\"Namespace\\": \\"default\\",\\n \\"Location\\": \\"MESH_INTERNAL\\",\\n \\"EndpointsDetails\\": [\\n {\\n \\"PodName\\": \\"provider-v1-8c86b6898-h***\\",\\n \\"Address\\": \\"127.2.**.**\\",\\n \\"Ports\\": [\\n 9090\\n ],\\n \\"Hostname\\": \\"www.demo.com\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"SidecarInjected\\": false\\n }\\n ]\\n },\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\"\\n}","errorExample":""},{"type":"xml","example":"<GetRegisteredServiceEndpointsResponse>\\n <ServiceEndpoints>\\n <Address>192.168.25.153</Address>\\n <ClusterId>c80f45444b3da447da60a911390c2****</ClusterId>\\n </ServiceEndpoints>\\n <EndPointSlice>\\n <ServiceName>reviews</ServiceName>\\n <Namespace>default</Namespace>\\n <Location>MESH_INTERNAL</Location>\\n <EndpointsDetails>\\n <PodName>provider-v1-8c86b6898-h***</PodName>\\n <Address>127.2.**.**</Address>\\n <Ports>9090</Ports>\\n <Hostname>www.demo.com</Hostname>\\n <Region>cn-hangzhou</Region>\\n <SidecarInjected>false</SidecarInjected>\\n </EndpointsDetails>\\n </EndPointSlice>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n</GetRegisteredServiceEndpointsResponse>","errorExample":""}]', - 'title' => 'GetRegisteredServiceEndpoints', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EDDC0D86-2FC3-56FB-9213-96EB0A3523F1\\"\\n}","type":"json"}]', ], - 'GetRegisteredServiceNamespaces' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ReActivateAudit' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8771,653 +8913,215 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the ASM instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cb8963379255149cb98c8686f274x****', - ], + 'schema' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c5bf9eb05c4424b89985d6536a809****'], + ], + [ + 'name' => 'EnableAudit', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to recreate the ASM audit log. Valid values:'."\n" + ."\n" + .'- true: Recreates the ASM audit log.'."\n" + ."\n" + .'- false: Does not recreate the ASM audit log.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'Namespaces' => [ - 'description' => 'The names of the queried namespaces.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'default', - ], - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '17163CE9-CE4B-1B87-9185-1A1AD7E7****'], + 'Data' => ['description' => 'The name of the SLS project for the mesh audit.', 'type' => 'string', 'title' => '', 'example' => 'k8s-log-c0703599f695f4b8fa1c6492a33af****'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 500 => [ - [ - 'errorCode' => 'ERR500', - 'errorMessage' => 'An internal server error occurred.', + 'title' => 'ReActivateAudit', + 'summary' => 'Recreates a mesh audit log. If you accidentally delete the SLS project that stores audit logs after enabling mesh audit, you can call this operation to recreate an empty mesh audit log.', + 'description' => 'Before you call this operation, make sure you understand the billing methods and <props="china">[pricing](https://www.aliyun.com/price/product?spm=5176.10695662.1119587.4.194c6a67rcPWQH#/sls/detail)</props><props="intl">[pricing](https://www.alibabacloud.com/zh/pricing-calculator?_p_lc=1\\&spm=a2796.7960336.3034855210.1.44e6b91aaSp2M7#/commodity/vm_intl)</props> of SLS.', + 'changeSet' => [ + ['createdAt' => '2021-08-13T06:42:23.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:ReActivateAudit', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Namespaces\\": [\\n \\"default\\"\\n ],\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\"\\n}","errorExample":""},{"type":"xml","example":"<GetRegisteredServiceNamespacesResponse>\\n <Namespaces>default</Namespaces>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n</GetRegisteredServiceNamespacesResponse>","errorExample":""}]', - 'title' => 'GetRegisteredServiceNamespaces', - 'summary' => 'Queries the namespaces of a registered service in an Alibaba Cloud Service Mesh (ASM) instance.', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"17163CE9-CE4B-1B87-9185-1A1AD7E7****\\",\\n \\"Data\\": \\"k8s-log-c0703599f695f4b8fa1c6492a33af****\\"\\n}","type":"json"}]', ], - 'CreateASMGateway' => [ - 'summary' => 'Creates a Service Mesh (ASM) gateway.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RemoveClusterFromServiceMesh' => [ + 'methods' => ['post', 'delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cb8963379255149cb98c8686f274x****', - ], + 'schema' => ['description' => 'The service mesh ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ce3c25e247da24f3aab9b7edfae83****'], ], [ - 'name' => 'IstioGatewayName', + 'name' => 'ClusterId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the ASM gateway.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ingressgateway', - ], + 'schema' => ['description' => 'The ID of the cluster to delete.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], ], [ - 'name' => 'Body', + 'name' => 'ReserveNamespace', 'in' => 'formData', - 'schema' => [ - 'description' => 'The YAML content that is used to create the ASM gateway.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"apiVersion":"istio.alibabacloud.com/v1beta1","kind":"IstioGateway","metadata":{"name":"ingressgateway","namespace":"istio-system"},"spec":{"gatewayType":"ingress","clusterIds":["xxxxx"],"ports":[{"name":"http-0","port":80,"targetPort":80,"protocol":"TCP"},{"name":"https-1","port":443,"targetPort":443,"protocol":"TCP"}],"serviceAnnotations":{"service.beta.kubernetes.io/alicloud-loadbalancer-address-type":"internet","service.beta.kubernetes.io/alibaba-cloud-loadbalancer-spec":"slb.s1.small"},"replicaCount":2,"resources":{"limits":{"cpu":"2","memory":"4G"},"requests":{"cpu":"200m","memory":"256Mi"}},"serviceType":"LoadBalancer","maxReplicas":2,"minReplicas":2}}', - ], + 'schema' => ['description' => 'Specifies whether to retain the istio-system namespace when the cluster is removed.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], + 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'title' => '', 'example' => 'success'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], + 'Code' => ['description' => 'The status code.', 'type' => 'string', 'title' => '', 'example' => '200'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateASMGatewayResponse>\\n <RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>\\n</CreateASMGatewayResponse>","errorExample":""}]', - 'title' => 'CreateASMGateway', - ], - 'CreateIstioGatewayRoutes' => [ - 'summary' => 'Creates a routing rule for a Service Mesh (ASM) gateway.', - 'methods' => [ - 'post', - 'get', + 'title' => 'RemoveClusterFromServiceMesh', + 'summary' => 'Deletes a cluster from a service mesh.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-11-15T08:16:54.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'servicemesh:RemoveClusterFromServiceMesh', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]', + ], + 'RemoveVMFromServiceMesh' => [ + 'summary' => 'Calls RemoveVMFromServiceMesh to remove a virtual machine from a service mesh.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'deprecated' => true, + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ServiceMeshId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], + 'in' => 'query', + 'schema' => ['description' => 'The service mesh ID.', 'type' => 'string', 'required' => true, 'example' => 'ccb37ff104caf419fbf48fb38e6f3****', 'title' => ''], ], [ - 'name' => 'IstioGatewayName', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the ASM gateway.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ingressgateway', - ], + 'name' => 'EcsId', + 'in' => 'query', + 'schema' => ['description' => 'The virtual machine ID.', 'type' => 'string', 'required' => true, 'example' => 'i-2ze90ts4edj3650****', 'title' => ''], ], - [ - 'name' => 'GatewayRoute', - 'in' => 'formData', - 'style' => 'json', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The information about the routing rule to be created for the ASM gateway.'."\n", + 'title' => '', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'RouteName' => [ - 'description' => 'The name of the routing rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'reviews-v2-routes', - ], - 'RouteType' => [ - 'description' => 'The type of the traffic to be routed. Valid values: `HTTP`, `TLS`, and `TCP`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'HTTP', - ], - 'MatchRequest' => [ - 'description' => 'The matching rules for traffic routing.'."\n", - 'type' => 'object', - 'properties' => [ - 'URI' => [ - 'description' => 'The matching rule for URIs.'."\n", - 'type' => 'object', - 'properties' => [ - 'MatchingMode' => [ - 'description' => 'The matching mode for the routing rule. Valid values:'."\n" - ."\n" - .'* `exact`: exact match'."\n" - .'* `prefix`: match by prefix'."\n" - .'* `regex`: match by regular expression'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'prefix', - ], - 'MatchingContent' => [ - 'description' => 'The content to be matched.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '/ratings/v2/', - ], - ], - 'required' => false, - ], - 'Headers' => [ - 'description' => 'The request headers to be matched.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The request header to be matched.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The header key to be matched.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'x-request-id', - ], - 'MatchingMode' => [ - 'description' => 'The matching mode for the header value. Valid values:'."\n" - ."\n" - .'* `exact`: exact match'."\n" - .'* `prefix`: match by prefix'."\n" - .'* `regex`: match by regular expression'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'exact', - ], - 'MatchingContent' => [ - 'description' => 'The header value to be matched.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'v1', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'TLSMatchAttributes' => [ - 'description' => 'The matching rule for Transport Layer Security (TLS) traffic.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The matching rule for TLS traffic.'."\n", - 'type' => 'object', - 'properties' => [ - 'TLSPort' => [ - 'description' => 'The TLS port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '443', - ], - 'SNIHosts' => [ - 'description' => 'The Server Name Indication (SNI) values to be matched.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'Wildcards can be used as the prefix of an SNI value. For example, a value of `*.com` matches `foo.example.com` and `example.com`.'."\n" - ."\n" - .'> The SNI values must be a subset of the hostnames of the corresponding virtual hosts.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '*.com', - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'Ports' => [ - 'description' => 'The ports of destination services for Layer 4 weighted routing.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ports of the specified hosts to which the traffic is routed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '443', - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'RouteDestinations' => [ - 'description' => 'The endpoints of destination services for Layer 4 weighted routing.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The endpoint of destination service for Layer 4 weighted routing.'."\n", - 'type' => 'object', - 'properties' => [ - 'Destination' => [ - 'description' => 'The unique endpoint of the destination service to which the specified requests are sent.'."\n", - 'type' => 'object', - 'properties' => [ - 'Host' => [ - 'description' => 'The name of the service defined in the service registry.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'reviews', - ], - 'Subset' => [ - 'description' => 'The name of the service subset.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'v1', - ], - 'Port' => [ - 'description' => 'The port.'."\n", - 'type' => 'object', - 'properties' => [ - 'Number' => [ - 'description' => 'The port number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '80', - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'Weight' => [ - 'description' => 'The weight of the service subset.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '80', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'HTTPAdvancedOptions' => [ - 'description' => 'The advanced settings for routing HTTP traffic.'."\n", - 'type' => 'object', - 'properties' => [ - 'HTTPRedirect' => [ - 'description' => 'The HTTP redirection rule.'."\n", - 'type' => 'object', - 'properties' => [ - 'Uri' => [ - 'description' => 'The value to be used to overwrite the URL path during redirection.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '/v1/getProductRatings', - ], - 'Authority' => [ - 'description' => 'The value to be used to overwrite the value of the Authority or Host header during redirection.``'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'newratings.default.svc.cluster.local', - ], - 'RedirectCode' => [ - 'description' => 'The HTTP status code to be used to indicate URL redirection. Default value: 301.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '301', - ], - ], - 'required' => false, - ], - 'Delegate' => [ - 'description' => 'The virtual service that defines traffic routing.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the virtual service.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'reviews', - ], - 'Namespace' => [ - 'description' => 'The namespace to which the virtual service belongs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - 'required' => false, - ], - 'Rewrite' => [ - 'description' => 'The configurations for rewriting the virtual service.'."\n", - 'type' => 'object', - 'properties' => [ - 'Uri' => [ - 'description' => 'The value to be used to overwrite the path or prefix of the URI.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '/v1/getProductRatings', - ], - 'Authority' => [ - 'description' => 'The value to be used to overwrite the value of the Authority or Host header.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'newratings.default.svc.cluster.local', - ], - ], - 'required' => false, - ], - 'Timeout' => [ - 'description' => 'The timeout period for requests.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '5s', - ], - 'Retries' => [ - 'description' => 'The configurations of retries for failed requests.'."\n", - 'type' => 'object', - 'properties' => [ - 'Attempts' => [ - 'description' => 'The number of retries that are allowed for a request.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3', - ], - 'PerTryTimeout' => [ - 'description' => 'The timeout period for each retry. Example: `5s`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '5s', - ], - 'RetryOn' => [ - 'description' => 'The condition for retries. Example: `connect-failure,refused-stream,503`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'connect-failure,refused-stream,503', - ], - 'RetryRemoteLocalities' => [ - 'description' => 'Specifies whether to allow retries to other localities.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'Specifies whether to allow retries to other localities. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'Fault' => [ - 'description' => 'The configurations of fault injection.'."\n", - 'type' => 'object', - 'properties' => [ - 'Delay' => [ - 'description' => 'The duration to delay a request.'."\n", - 'type' => 'object', - 'properties' => [ - 'FixedDelay' => [ - 'description' => 'The fixed duration for request delay.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '5s', - ], - 'Percentage' => [ - 'description' => 'The percentage of requests to which the delay fault is injected.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The percentage of requests to which the delay fault is injected, which is expressed as a decimal.'."\n", - 'type' => 'number', - 'format' => 'float', - 'required' => false, - 'example' => '0.1', - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'Abort' => [ - 'description' => 'The configurations for aborting requests with specified error codes.'."\n", - 'type' => 'object', - 'properties' => [ - 'HttpStatus' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '400', - ], - 'Percentage' => [ - 'description' => 'The percentage of requests that are aborted with the specified error code.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The percentage of requests that are aborted with the specified error code, which is expressed as a decimal.'."\n", - 'type' => 'number', - 'format' => 'float', - 'required' => false, - 'example' => '0.1', - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'Mirror' => [ - 'description' => 'The configurations for mirroring HTTP traffic to another destination in addition to forwarding requests to the specified destination.'."\n", - 'type' => 'object', - 'properties' => [ - 'Host' => [ - 'description' => 'The name of the service defined in the service registry.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'reviews.default.svc.cluster.local', - ], - 'Subset' => [ - 'description' => 'The name of the service subset.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'v1', - ], - ], - 'required' => false, - ], - 'MirrorPercentage' => [ - 'description' => 'The percentage of requests that are mirrored to another destination except for the original destination.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The percentage of requests that are mirrored to another destination except for the original destination, which is expressed as a decimal.'."\n", - 'type' => 'number', - 'format' => 'float', - 'required' => false, - 'example' => '0.2', - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'Namespace' => [ - 'description' => 'The namespace.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - 'Domains' => [ - 'description' => 'The requested domain names.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The domain name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test.asm.aliyun.com', - ], - 'required' => false, - ], - 'RawVSRoute' => [ - 'description' => 'A JSON string. This parameter corresponds to the three routing types in virtual services and provides configuration entries for advanced features. The value of this parameter overwrites the configurations in RouteName, RouteType, MatchRequest, and HTTPAdvancedOptions.'."\n", - 'type' => 'any', - 'required' => false, - 'example' => '{'."\n" - .' "http": {'."\n" - .' "route": ['."\n" - .' {'."\n" - .' "destination": {'."\n" - .' "host": "httpbin"'."\n" - .' }'."\n" - .' }'."\n" - .' ],'."\n" - .' "name": "httpbin",'."\n" - .' "match": ['."\n" - .' {'."\n" - .' "uri": {'."\n" - .' "prefix": "/"'."\n" - .' }'."\n" - .' }'."\n" - .' ],'."\n" - .' "fault": {'."\n" - .' "delay": {'."\n" - .' "fixedDelay": "2s",'."\n" - .' "percentage": {'."\n" - .' "value": 70'."\n" - .' }'."\n" - .' }'."\n" - .' }'."\n" - .' }'."\n" - .'}', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '4b2c0fe0-6705-4614-8521-6b9d289163c8'], ], - 'required' => false, + 'example' => '', ], ], + ], + 'staticInfo' => ['noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4b2c0fe0-6705-4614-8521-6b9d289163c8\\"\\n}","type":"json"}]', + 'title' => 'Remove a virtual machine from a service mesh', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveVMFromServiceMesh'], + ], + ], + 'ramActions' => [ [ - 'name' => 'Priority', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The priority of the routing rule. The value of this parameter is an integer. A smaller value indicates a higher priority.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'servicemesh:RemoveVMFromServiceMesh', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'RevokeKubeconfig' => [ + 'summary' => 'Revokes the Kubeconfig for an ASM instance and generates a new Kubeconfig.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Status', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ + [ + 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The status of the routing rule. Valid values:'."\n" - ."\n" - .'* `0`: The routing rule is valid.'."\n" - .'* `1`: The routing rule is invalid.'."\n" - .'* `2`: An error occurs during the creation or update of the routing rule.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cf08a11940e8c46c48bc791fcdb3****'], ], [ - 'name' => 'Description', + 'name' => 'PrivateIpAddress', 'in' => 'formData', - 'schema' => [ - 'description' => 'The description of the routing rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demo route', - ], + 'schema' => ['description' => 'Specifies whether to return a Kubeconfig for internal access. Valid values:'."\n" + ."\n" + .'- `true`: Returns the Kubeconfig for internal access.'."\n" + ."\n" + .'- `false`: Returns the Kubeconfig for Internet access.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], ], 'responses' => [ @@ -9425,414 +9129,355 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '7CF71C8B-79DD-150F-929E-267C51C5E311'], + 'Kubeconfig' => ['description' => 'The new Kubeconfig that is generated after the revocation.', 'type' => 'string', 'title' => '', 'example' => 'apiVersion: v1 clusters: - cluster: server: https://121.**.**.**:6443 certificate-authority-data: ***** name: kubernetes contexts: - context: cluster: kubernetes user: "*****" name: ***** current-context: ***** kind: Config preferences: {} users: - name: "*****" user: client-certificate-data: ***** client-key-data: *****'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateIstioGatewayRoutesResponse>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n</CreateIstioGatewayRoutesResponse>","errorExample":""}]', - 'title' => 'CreateIstioGatewayRoutes', - ], - 'CreateGatewaySecret' => [ - 'summary' => 'Creates a secret for a Service Mesh (ASM) gateway.', - 'methods' => [ - 'post', - 'get', + 'title' => 'RevokeKubeconfig', + 'changeSet' => [ + ['createdAt' => '2021-12-30T07:26:35.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:RevokeKubeconfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7CF71C8B-79DD-150F-929E-267C51C5E311\\",\\n \\"Kubeconfig\\": \\"apiVersion: v1 clusters: - cluster: server: https://121.**.**.**:6443 certificate-authority-data: ***** name: kubernetes contexts: - context: cluster: kubernetes user: \\\\\\"*****\\\\\\" name: ***** current-context: ***** kind: Config preferences: {} users: - name: \\\\\\"*****\\\\\\" user: client-certificate-data: ***** client-key-data: *****\\"\\n}","type":"json"}]', + ], + 'TagResources' => [ + 'summary' => 'Adds or modifies tags for one or more resources.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => [], 'parameters' => [ [ - 'name' => 'ServiceMeshId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], - ], - [ - 'name' => 'IstioGatewayName', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the ASM gateway.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ingressgateway', - ], + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the region where the Service Mesh instance is located.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'SecretName', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the secret.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'bookinfo-secret', - ], + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['description' => 'A required parameter. Set the value to `servicemesh`.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'servicemesh'], ], [ - 'name' => 'Cert', - 'in' => 'formData', + 'name' => 'ResourceId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => 'The content of the certificate.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '-----BEGIN CERTIFICATE----- MIIC2DCCAcACA-----END CERTIF****-----', + 'description' => 'A list of mesh instance IDs.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the mesh instance to tag.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'c418807cb4e5840eab018da7d8f5d****'], + 'required' => true, + 'maxItems' => 50, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Key', - 'in' => 'formData', + 'name' => 'Tag', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => 'The private key of the certificate.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC2ag/Bzcgm****', + 'description' => 'The list of tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'A list of tags. You can specify up to 20 tags.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.'."\n" + ."\n" + .'Constraints:'."\n" + ."\n" + .'- The tag key cannot be an empty string.'."\n" + ."\n" + .'- The tag key can be up to 128 characters in length.'."\n" + ."\n" + .'- The tag key cannot start with `aliyun` or `acs:`.'."\n" + ."\n" + .'- The tag key cannot contain `http://` or `https://`.'."\n" + ."\n" + .'- Must not contain `http://` or `https://`.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'test'], + 'Value' => ['description' => 'The tag value.'."\n" + ."\n" + .'Constraints:'."\n" + ."\n" + .'- The tag value cannot be an empty string.'."\n" + ."\n" + .'- The tag value can be up to 128 characters in length.'."\n" + ."\n" + .'- The tag value cannot contain `http://` or `https://`.'."\n" + ."\n" + .'- Cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'yahaha'], + ], + 'required' => true, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', - ], - 'SecretCreateRecord' => [ - 'description' => 'The record of creating the secret.'."\n", - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'object', - 'properties' => [ - 'State' => [ - 'type' => 'string', - 'description' => 'The result of creating the secret. Valid values:'."\n" - ."\n" - .'* `success`: The secret was created.'."\n" - .'* `fail`: The secret failed to be created.'."\n", - 'example' => 'success', - ], - 'ClusterId' => [ - 'type' => 'string', - 'example' => 'c08ba3fd1e6484b0f8cc1ad8xe10d****', - 'description' => 'The ID of the cluster on the data plane.'."\n", - ], - 'Message' => [ - 'type' => 'string', - 'description' => 'The error message returned when exceptions occur. Otherwise, an empty value is returned.'."\n", - 'example' => 'timeout', - ], - ], - 'description' => 'The information about the creation record.'."\n", - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], ], - 'description' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"SecretCreateRecord\\": {\\n \\"key\\": {\\n \\"State\\": \\"success\\",\\n \\"ClusterId\\": \\"c08ba3fd1e6484b0f8cc1ad8xe10d****\\",\\n \\"Message\\": \\"timeout\\"\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateGatewaySecretResponse>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n <SecretCreateRecord>\\n <key>\\n <State>success</State>\\n <ClusterId>c08ba3fd1e6484b0f8cc1ad8xe10d****</ClusterId>\\n <Message>timeout</Message>\\n </key>\\n </SecretCreateRecord>\\n</CreateGatewaySecretResponse>","errorExample":""}]', - 'title' => 'CreateGatewaySecret', - ], - 'CreateIstioGatewayDomains' => [ - 'summary' => 'Adds domain names for a Service Mesh (ASM) gateway.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'TagResources', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:TagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","type":"json"}]', + ], + 'UntagResources' => [ + 'summary' => 'Deletes user tags from an instance.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => [], 'parameters' => [ [ - 'name' => 'ServiceMeshId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], - ], - [ - 'name' => 'IstioGatewayName', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the ASM gateway.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ingressgateway', - ], - ], - [ - 'name' => 'Hosts', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The one or more domain names that are exposed by the ASM gateway. Separate multiple domain names with commas (,).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'example.com,demo.com', - ], - ], - [ - 'name' => 'Number', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The port that is provided by the ASM gateway.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '443', - ], + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the region where the Service Mesh instance is located.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'PortName', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the port.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'http-demo', - ], + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['description' => 'A required parameter. The value must be `servicemesh`.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'servicemesh'], ], [ - 'name' => 'Protocol', - 'in' => 'formData', + 'name' => 'ResourceId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => 'The type of the protocol. Valid values: `HTTP`, `HTTPS`, `GRPC`, `HTTP2`, `MONGO`, `TCP`, and `TLS`.'."\n", - 'type' => 'string', + 'description' => 'The IDs of the Service Mesh instances.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'c418807cb4e5840eab018da7d8f5d****'], 'required' => true, - 'example' => 'HTTPS', - ], - ], - [ - 'name' => 'Credential', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the secret that contains the Transport Layer Security (TLS) certificate and certificate authority (CA) certificate.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'bookinfo-secret', + 'maxItems' => 50, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ForceHttps', - 'in' => 'formData', + 'name' => 'TagKey', + 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => 'Specifies whether to forcibly use TLS to protect connection security.'."\n" + 'description' => 'The tag keys.', + 'type' => 'array', + 'items' => ['description' => 'The tag key.'."\n" ."\n" - .'* `true`: forcibly uses TLS to protect connection security.'."\n" - .'* `false`: does not forcibly use TLS to protect connection security.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'Namespace', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the namespace.'."\n", - 'type' => 'string', + .'The tag key can be up to 64 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.'."\n" + ."\n" + .'If you specify multiple tag keys, they are combined with a logical **OR**. **N** can be an integer from **1** to **20**.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'TEST_KEY_1'], 'required' => false, - 'example' => 'default', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Limit', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of ASM gateways to query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'name' => 'All', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to remove all tags. This parameter is valid only when you leave TagKey.N empty. Valid values:'."\n" + ."\n" + .'- true: Remove all tags.'."\n" + ."\n" + .'- false: Do not remove all tags.'."\n" + ."\n" + .'Default value: false.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'title' => '', 'example' => 'false'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateIstioGatewayDomainsResponse>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n</CreateIstioGatewayDomainsResponse>","errorExample":""}]', - 'title' => 'CreateIstioGatewayDomains', - ], - 'DeleteGatewayRoute' => [ - 'summary' => 'Deletes a routing rule for a Service Mesh (ASM) gateway.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'UntagResources', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UntagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","type":"json"}]', + ], + 'UpdateASMGateway' => [ + 'summary' => 'Updates an ASM gateway.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'high', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREservicemeshRMLVVZ', - ], - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], + 'schema' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], ], [ 'name' => 'IstioGatewayName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the ASM gateway.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ingressgateway', - ], + 'schema' => ['description' => 'The name of the ASM gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ingressgateway'], ], [ - 'name' => 'RouteName', + 'name' => 'Body', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the routing rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'http-route', - ], + 'schema' => ['description' => 'The new YAML content of the ASM gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"apiVersion":"istio.alibabacloud.com/v1beta1","kind":"IstioGateway","metadata":{"name":"ingressgateway","namespace":"istio-system"},"spec":{"gatewayType":"ingress","clusterIds":["xxxxx"],"ports":[{"name":"http-0","port":80,"targetPort":80,"protocol":"TCP"},{"name":"https-1","port":443,"targetPort":443,"protocol":"TCP"}],"serviceAnnotations":{"service.beta.kubernetes.io/alicloud-loadbalancer-address-type":"internet","service.beta.kubernetes.io/alibaba-cloud-loadbalancer-spec":"slb.s1.small"},"replicaCount":2,"resources":{"limits":{"cpu":"2","memory":"4G"},"requests":{"cpu":"200m","memory":"256Mi"}},"serviceType":"LoadBalancer","maxReplicas":2,"minReplicas":2}}'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The returned object.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 500 => [ - [ - 'errorCode' => 'ERR500', - 'errorMessage' => 'An internal server error occurred.', + 'title' => 'UpdateASMGateway', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateASMGateway', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteGatewayRouteResponse>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n</DeleteGatewayRouteResponse>","errorExample":""}]', - 'title' => 'DeleteGatewayRoute', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","type":"json"}]', ], - 'DeleteGatewaySecret' => [ - 'summary' => 'Deletes a secret for a Service Mesh (ASM) gateway.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateASMGatewayImportedServices' => [ + 'summary' => 'Call UpdateASMGatewayImportedServices to update the services imported into an ASM gateway. You can import or delete upstream services that are associated with the gateway.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], ], [ - 'name' => 'IstioGatewayName', + 'name' => 'ServiceNames', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the ASM gateway.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ingressgateway', - ], + 'schema' => ['description' => 'A list of service names. Separate multiple names with commas (,). For example: reviews,sleep', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'reviews,sleep'], ], [ - 'name' => 'SecretName', + 'name' => 'ASMGatewayName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the secret.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'bookinfo-secret', - ], + 'schema' => ['description' => 'The name of the ASM gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ingressgateway'], + ], + [ + 'name' => 'ServiceNamespace', + 'in' => 'formData', + 'schema' => ['description' => 'The namespace where the services reside.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], ], ], 'responses' => [ @@ -9840,2461 +9485,1679 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], - 'SecretDeleteRecord' => [ - 'description' => 'The records of deleting the secret in all clusters.'."\n", - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'object', - 'properties' => [ - 'State' => [ - 'type' => 'string', - 'example' => 'success', - 'description' => 'The result of deleting the secret. Valid values:'."\n" - ."\n" - .'* `success`: The secret was deleted.'."\n" - .'* `fail`: The secret failed to be deleted.'."\n", - ], - 'ClusterId' => [ - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - 'description' => 'The ID of the cluster.'."\n", - ], - 'Message' => [ - 'type' => 'string', - 'description' => 'The error message returned when exceptions occur. Otherwise, an empty value is returned.'."\n", - 'example' => 'timeout', - ], - ], - 'description' => 'The record of deleting the secret in a cluster.'."\n", - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '11fd0027-c27e-41bb-a565-75583054****'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"SecretDeleteRecord\\": {\\n \\"key\\": {\\n \\"State\\": \\"success\\",\\n \\"ClusterId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"Message\\": \\"timeout\\"\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DeleteGatewaySecretResponse>\\n <RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>\\n <SecretDeleteRecord>\\n <key>\\n <State>success</State>\\n <ClusterId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</ClusterId>\\n <Message>timeout</Message>\\n </key>\\n </SecretDeleteRecord>\\n</DeleteGatewaySecretResponse>","errorExample":""}]', - 'title' => 'DeleteGatewaySecret', - ], - 'DeleteIstioGatewayDomains' => [ - 'summary' => 'Deletes one or more domain names for a Service Mesh (ASM) gateway.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'UpdateASMGatewayImportedServices', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateASMGatewayImportedServices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"11fd0027-c27e-41bb-a565-75583054****\\"\\n}","type":"json"}]', + ], + 'UpdateASMNamespaceFromGuestCluster' => [ + 'summary' => 'Synchronizes namespace information from a Kubernetes cluster that is added to a service mesh.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREservicemeshBG5ZTX'], ], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], - ], - [ - 'name' => 'IstioGatewayName', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the ASM gateway.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ingressgateway', - ], - ], - [ - 'name' => 'Hosts', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The domain names of the one or more hosts that are exposed by the ASM gateway. Separate multiple domain names with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'example.com,demo.com', - ], + 'schema' => ['description' => 'The Service Mesh (ASM) instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cbf9ca9e6d5dc4c87a3ecd0ebf1e*****', 'title' => ''], ], [ - 'name' => 'PortName', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The port name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'https', - ], - ], - [ - 'name' => 'Namespace', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the namespace.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'Limit', + 'name' => 'K8sClusterId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of Istio gateways to query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The ID of the Kubernetes cluster from which to sync namespaces. The Kubernetes cluster is added to the service mesh that is specified by the ServiceMeshId parameter.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'c6f6d46583def494ba1f2e2937c8*****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9DEC6122-ACEC-183D-8451-8E0A1A******', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteIstioGatewayDomainsResponse>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n</DeleteIstioGatewayDomainsResponse>","errorExample":""}]', - 'title' => 'DeleteIstioGatewayDomains', - ], - 'UpdateASMGateway' => [ - 'summary' => 'Updates a Service Mesh (ASM) gateway.', - 'methods' => [ - 'post', - 'get', + 'title' => 'UpdateASMNamespaceFromGuestCluster', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateASMNamespaceFromGuestCluster'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateASMNamespaceFromGuestCluster', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9DEC6122-ACEC-183D-8451-8E0A1A******\\"\\n}","type":"json"}]', + ], + 'UpdateControlPlaneLogConfig' => [ + 'summary' => 'Updates the log collection configuration for the control plane.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => [], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cb8963379255149cb98c8686f274x****', - ], + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c20667db760fe4ee6910220136624****'], ], [ - 'name' => 'IstioGatewayName', + 'name' => 'Enabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the ASM gateway.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ingressgateway', - ], + 'schema' => ['description' => 'Specifies whether to collect control plane logs and send them to SLS.', 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'false'], ], [ - 'name' => 'Body', + 'name' => 'Project', 'in' => 'formData', - 'schema' => [ - 'description' => 'The new YAML content of the ASM gateway.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"apiVersion":"istio.alibabacloud.com/v1beta1","kind":"IstioGateway","metadata":{"name":"ingressgateway","namespace":"istio-system"},"spec":{"gatewayType":"ingress","clusterIds":["xxxxx"],"ports":[{"name":"http-0","port":80,"targetPort":80,"protocol":"TCP"},{"name":"https-1","port":443,"targetPort":443,"protocol":"TCP"}],"serviceAnnotations":{"service.beta.kubernetes.io/alicloud-loadbalancer-address-type":"internet","service.beta.kubernetes.io/alibaba-cloud-loadbalancer-spec":"slb.s1.small"},"replicaCount":2,"resources":{"limits":{"cpu":"2","memory":"4G"},"requests":{"cpu":"200m","memory":"256Mi"}},"serviceType":"LoadBalancer","maxReplicas":2,"minReplicas":2}}', - ], + 'schema' => ['description' => 'The name of the custom SLS project where control plane logs are stored.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'aia-asm-deva-sh'], + ], + [ + 'name' => 'LogTTLInDay', + 'in' => 'formData', + 'schema' => ['description' => 'The retention period of the collected logs, in days.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '3000', 'minimum' => '1', 'default' => '30', 'title' => '', 'example' => '30'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '488F046B-63D2-5D96-9A70-E00C3685D49F'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateASMGatewayResponse>\\n <RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>\\n</UpdateASMGatewayResponse>","errorExample":""}]', - 'title' => 'UpdateASMGateway', - ], - 'UpdateASMGatewayImportedServices' => [ - 'summary' => 'Updates imported services on a Service Mesh (ASM) gateway to import or delete upstream services associated with the gateway.', - 'methods' => [ - 'post', + 'errorCodes' => [ + 404 => [ + ['errorCode' => 'ERR404', 'errorMessage' => 'Not found', 'description' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'UpdateControlPlaneLogConfig', + 'changeSet' => [ + ['createdAt' => '2021-08-17T03:54:32.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateControlPlaneLogConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"488F046B-63D2-5D96-9A70-E00C3685D49F\\"\\n}","type":"json"}]', + ], + 'UpdateGuestClusterConfig' => [ + 'summary' => 'Updates the configuration of a guest cluster.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', + 'abilityTreeCode' => '256760', + 'abilityTreeNodes' => ['FEATUREservicemesh4LB119'], ], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], - ], - [ - 'name' => 'ServiceNames', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The names of the services. Separate multiple service names with commas (,). Example: reviews,sleep.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'reviews,sleep', - ], + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], ], [ - 'name' => 'ASMGatewayName', + 'name' => 'GuestClusterId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the ASM gateway.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ingressgateway', - ], + 'schema' => ['description' => 'The ID of the Kubernetes cluster.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'c42186268a27f475c975e5667bb66****'], ], [ - 'name' => 'ServiceNamespace', + 'name' => 'SMCEnabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'The namespace in which the service resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'Specifies whether to enable SMC-R optimization. This feature improves cross-node communication performance and requires Alibaba Cloud Linux 3 and elastic Remote Direct Memory Access (eRDMA) network devices.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '11fd0027-c27e-41bb-a565-75583054****', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '71680038-8009-5073-B43E-C057E9******'], ], - 'description' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"11fd0027-c27e-41bb-a565-75583054****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateASMGatewayImportedServicesResponse>\\n <RequestId>11fd0027-c27e-41bb-a565-75583054****</RequestId>\\n</UpdateASMGatewayImportedServicesResponse>","errorExample":""}]', - 'title' => 'UpdateASMGatewayImportedServices', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'UpdateGuestClusterConfig', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateGuestClusterConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"71680038-8009-5073-B43E-C057E9******\\"\\n}","type":"json"}]', ], 'UpdateIstioGatewayRoutes' => [ - 'summary' => 'Updates a routing rule for a Service Mesh (ASM) gateway.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], + 'schema' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], ], [ 'name' => 'IstioGatewayName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the ASM gateway.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ingressgateway', - ], + 'schema' => ['description' => 'The name of the ASM gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ingressgateway'], ], [ 'name' => 'GatewayRoute', 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'description' => 'The information about the routing rule to be updated for the ASM gateway.'."\n", + 'description' => 'The information about the gateway route.', 'type' => 'object', 'properties' => [ - 'RouteName' => [ - 'description' => 'The name of the routing rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'reviews-v2-routes', - ], - 'RouteType' => [ - 'description' => 'The type of the traffic to be routed. Valid values: `HTTP`, `TLS`, and `TCP`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'HTTP', - ], + 'RouteName' => ['description' => 'The name of the route.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'reviews-v2-routes'], + 'RouteType' => ['description' => 'The route type. Valid values: `HTTP`, `TLS`, and `TCP`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'HTTP'], 'MatchRequest' => [ - 'description' => 'The matching rules for traffic routing.'."\n", + 'description' => 'The route matching rules.', 'type' => 'object', 'properties' => [ 'URI' => [ - 'description' => 'The matching rule for URIs.'."\n", + 'description' => 'The URI matching rules.', 'type' => 'object', 'properties' => [ - 'MatchingMode' => [ - 'description' => 'The matching mode for the routing rule. Valid values:'."\n" - ."\n" - .'* `exact`: exact match'."\n" - .'* `prefix`: match by prefix'."\n" - .'* `regex`: match by regular expression'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'prefix', - ], - 'MatchingContent' => [ - 'description' => 'The content to be matched.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '/ratings/v2/', - ], + 'MatchingMode' => ['description' => 'The matching mode for the routing rule. Valid values:'."\n" + ."\n" + .'- `exact`: exact match.'."\n" + ."\n" + .'- `prefix`: prefix match.'."\n" + ."\n" + .'- `regex`: regular expression match.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'prefix'], + 'MatchingContent' => ['description' => 'The content to match.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '/ratings/v2/'], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'Headers' => [ - 'description' => 'The request headers to be matched.'."\n", + 'description' => 'The list of request headers to match.', 'type' => 'array', 'items' => [ - 'description' => 'The request header to be matched.'."\n", + 'description' => 'The request header to match.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The header key to be matched.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'x-request-id', - ], - 'MatchingMode' => [ - 'description' => 'The matching mode for the header value. Valid values:'."\n" - ."\n" - .'* `exact`: exact match'."\n" - .'* `prefix`: match by prefix'."\n" - .'* `regex`: match by regular expression'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'exact', - ], - 'MatchingContent' => [ - 'description' => 'The header value to be matched.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'v1', - ], + 'Name' => ['description' => 'The key of the header to match.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'x-request-id'], + 'MatchingMode' => ['description' => 'The matching mode for the header value. Valid values:'."\n" + ."\n" + .'- `exact`: exact match.'."\n" + ."\n" + .'- `prefix`: prefix match.'."\n" + ."\n" + .'- `regex`: regular expression match.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'exact'], + 'MatchingContent' => ['description' => 'The content to match in the header.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'v1'], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], 'TLSMatchAttributes' => [ - 'description' => 'The matching rule for Transport Layer Security (TLS) traffic.'."\n", + 'description' => 'The list of Transport Layer Security (TLS) connection matching attributes.', 'type' => 'array', 'items' => [ - 'description' => 'The matching rule for TLS traffic.'."\n", + 'description' => 'The TLS connection matching attributes.', 'type' => 'object', 'properties' => [ - 'TLSPort' => [ - 'description' => 'The TLS port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '443', - ], + 'TLSPort' => ['description' => 'The TLS port.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '443'], 'SNIHosts' => [ - 'description' => 'The Server Name Indication (SNI) values to be matched.'."\n", + 'description' => 'The list of Server Name Indication (SNI) values.', 'type' => 'array', - 'items' => [ - 'description' => 'Wildcards can be used as the prefix of an SNI value. For example, the value `*.com` matches `foo.example.com` and `example.com`.'."\n" - ."\n" - .'> The SNI values must be a subset of the hostnames of the corresponding virtual hosts.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '*.com', - ], + 'items' => ['description' => 'You can use a wildcard character prefix in an SNI value. For example, `*.com` matches `foo.example.com` and `example.com`.'."\n" + ."\n" + .'> The SNI value must be a subset of the hosts of the virtual service.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '*.com'], 'required' => false, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], 'Ports' => [ - 'description' => 'The ports.'."\n", + 'description' => 'The list of ports.', 'type' => 'array', - 'items' => [ - 'description' => 'The ports of the specified hosts from which the traffic is routed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '443', - ], + 'items' => ['description' => 'The port on the host to be addressed.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '443'], 'required' => false, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'RouteDestinations' => [ - 'description' => 'The endpoints of destination services for Layer 4 weighted routing.'."\n", + 'description' => 'The list of weighted destinations for the Layer 4 routing rule.', 'type' => 'array', 'items' => [ - 'description' => 'The endpoint of the destination service for Layer 4 weighted routing.'."\n", + 'description' => 'The weighted destination for the Layer 4 routing rule.', 'type' => 'object', 'properties' => [ 'Destination' => [ - 'description' => 'The unique endpoint of the destination service to which the specified requests are sent.'."\n", + 'description' => 'The destination that uniquely identifies the service instance to which requests or connections are forwarded.', 'type' => 'object', 'properties' => [ - 'Host' => [ - 'description' => 'The name of the service defined in the service registry.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'reviews', - ], - 'Subset' => [ - 'description' => 'The name of the service subset.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'v1', - ], + 'Host' => ['description' => 'The name of the service in the registry.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'reviews'], + 'Subset' => ['description' => 'The name of the subset of the service.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'v1'], 'Port' => [ 'description' => 'The port of the destination service.'."\n" ."\n" - .'> If the destination service of the route has only one port, this field can be left empty. If the destination service has multiple ports, you must specify the port number.'."\n", + .'> You do not need to specify this parameter if the destination service has only one port. If the destination service has multiple ports, you must specify a port number.', 'type' => 'object', 'properties' => [ - 'Number' => [ - 'description' => 'The port number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '80', - ], + 'Number' => ['description' => 'The port number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '80'], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'Weight' => [ - 'description' => 'The weight of the service subset.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '80', - ], + 'Weight' => ['description' => 'The weight of the service subset.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '80'], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], 'HTTPAdvancedOptions' => [ - 'description' => 'The advanced settings for routing HTTP traffic.'."\n", + 'description' => 'The advanced settings for HTTP routing.', 'type' => 'object', 'properties' => [ 'HTTPRedirect' => [ - 'description' => 'The HTTP redirection rule.'."\n", + 'description' => 'The HTTP redirection.', 'type' => 'object', 'properties' => [ - 'Uri' => [ - 'description' => 'The value to be used to overwrite the URL path during redirection.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '/v1/getProductRatings', - ], - 'Authority' => [ - 'description' => 'The value to be used to overwrite the value of the Authority or Host header during redirection.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'newratings.default.svc.cluster.local', - ], - 'RedirectCode' => [ - 'description' => 'The HTTP status code to be used to indicate URL redirection. Default value: 301.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '301', - ], + 'Uri' => ['description' => 'The value to be used to overwrite the path of the URL during redirection.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '/v1/getProductRatings'], + 'Authority' => ['description' => 'The value to be used to overwrite the authority or host of the URL during redirection.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'newratings.default.svc.cluster.local'], + 'RedirectCode' => ['description' => 'The HTTP status code to be used in the redirection response. The default status code is 301.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '301'], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'Delegate' => [ - 'description' => 'The virtual service that defines traffic routing.'."\n", + 'description' => 'The delegate virtual service.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the virtual service.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'reviews', - ], - 'Namespace' => [ - 'description' => 'The namespace to which the virtual service belongs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'Name' => ['description' => 'The name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'reviews'], + 'Namespace' => ['description' => 'The namespace.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'Rewrite' => [ - 'description' => 'The configurations for rewriting the virtual service.'."\n", + 'description' => 'The virtual service to be rewritten.', 'type' => 'object', 'properties' => [ - 'Uri' => [ - 'description' => 'The value to be used to overwrite the path or prefix of the URI.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '/v1/getProductRatings', - ], - 'Authority' => [ - 'description' => 'The value to be used to overwrite the value of the Authority or Host header.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'newratings.default.svc.cluster.local', - ], + 'Uri' => ['description' => 'The value to be used to overwrite the path or prefix of the URI.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '/v1/getProductRatings'], + 'Authority' => ['description' => 'The value to be used to overwrite the authority or host header.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'newratings.default.svc.cluster.local'], ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'Timeout' => [ - 'description' => 'The timeout period for requests.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '5s', - ], + 'Timeout' => ['description' => 'The timeout period.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '5s'], 'Retries' => [ - 'description' => 'The configurations of retries for failed requests.'."\n", + 'description' => 'The configurations for request retries.', 'type' => 'object', 'properties' => [ - 'Attempts' => [ - 'description' => 'The number of retries that are allowed for a request.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3', - ], - 'RetryOn' => [ - 'description' => 'The condition for retries. Example: `connect-failure,refused-stream,503`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'connect-failure,refused-stream,503', - ], + 'Attempts' => ['description' => 'The number of retries allowed for a given request.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '3'], + 'RetryOn' => ['description' => 'The flag that specifies whether to retry the request to other locations. Example: `connect-failure,refused-stream,503`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'connect-failure,refused-stream,503'], 'RetryRemoteLocalities' => [ - 'description' => 'Specifies whether to allow retries to other localities.'."\n", + 'description' => 'The flag that specifies whether to retry the request to other locations.', 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => 'Specifies whether to allow retries to other localities. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'Value' => ['description' => 'The flag that specifies whether to retry the request to other locations. Valid values:'."\n" + ."\n" + .'- `true`: Retries the request to other locations.'."\n" + ."\n" + .'- `false`: Does not retry the request to other locations.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'PerTryTimeout' => [ - 'description' => 'The timeout period for each retry.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2s', - ], + 'PerTryTimeout' => ['description' => 'The timeout period for each retry.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2s'], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'Fault' => [ - 'description' => 'The configurations of fault injection.'."\n", + 'description' => 'The fault injection settings.', 'type' => 'object', 'properties' => [ 'Delay' => [ - 'description' => 'The duration to delay a request.'."\n", + 'description' => 'The delay settings.', 'type' => 'object', 'properties' => [ - 'FixedDelay' => [ - 'description' => 'The fixed duration for request delay.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '5s', - ], + 'FixedDelay' => ['description' => 'The fixed delay time.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '5s'], 'Percentage' => [ - 'description' => 'The percentage of requests to which the delay fault is injected.'."\n", + 'description' => 'The percentage of requests to which the delay is injected.', 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => 'The percentage of requests to which the delay fault is injected, which is expressed as a decimal.'."\n", - 'type' => 'number', - 'format' => 'float', - 'required' => false, - 'example' => '0.1', - ], + 'Value' => ['description' => 'The percentage of requests to which the delay is injected. The value is a decimal.', 'type' => 'number', 'format' => 'float', 'required' => false, 'title' => '', 'example' => '0.1'], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'Abort' => [ - 'description' => 'The configurations for aborting requests with specified error codes.'."\n", + 'description' => 'Aborts a request with a specified error code in advance.', 'type' => 'object', 'properties' => [ - 'HttpStatus' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '400', - ], + 'HttpStatus' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '400'], 'Percentage' => [ - 'description' => 'The percentage of requests that are aborted with the specified error code.'."\n", + 'description' => 'The percentage of requests to be aborted with the specified error code.', 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => 'The percentage of requests that are aborted with the specified error code, which is expressed as a decimal.'."\n", - 'type' => 'number', - 'format' => 'float', - 'required' => false, - 'example' => '0.1', - ], + 'Value' => ['description' => 'The percentage of requests to be aborted with the specified error code. The value is a decimal.', 'type' => 'number', 'format' => 'float', 'required' => false, 'title' => '', 'example' => '0.1'], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'Mirror' => [ - 'description' => 'The configurations for mirroring HTTP traffic to another destination in addition to forwarding requests to the specified destination.'."\n", + 'description' => 'Mirrors HTTP traffic to another destination in addition to forwarding the requests to the intended destination.', 'type' => 'object', 'properties' => [ - 'Host' => [ - 'description' => 'The name of the service defined in the service registry.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'reviews.default.svc.cluster.local', - ], - 'Subset' => [ - 'description' => 'The name of the service subset.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'v1', - ], + 'Host' => ['description' => 'The name of the service in the registry.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'reviews.default.svc.cluster.local'], + 'Subset' => ['description' => 'The name of the subset of the service.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'v1'], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'MirrorPercentage' => [ - 'description' => 'The percentage of requests that are mirrored to another destination except for the original destination.'."\n", + 'description' => 'The percentage of traffic to be mirrored.', 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => 'The percentage of requests that are mirrored to another destination except for the original destination, which is expressed as a decimal.'."\n", - 'type' => 'number', - 'format' => 'float', - 'required' => false, - 'example' => '0.2', - ], + 'Value' => ['description' => 'The percentage of traffic to be mirrored. The value is a decimal.', 'type' => 'number', 'format' => 'float', 'required' => false, 'title' => '', 'example' => '0.2'], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'Namespace' => [ - 'description' => 'The namespace.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'Namespace' => ['description' => 'The namespace.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], 'Domains' => [ - 'description' => 'The list of requested domain names.'."\n", + 'description' => 'The list of domain names for the request.', 'type' => 'array', - 'items' => [ - 'description' => 'A domain name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test.asm.aliyun.com', - ], + 'items' => ['description' => 'The domain name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'test.asm.aliyun.com'], 'required' => false, + 'title' => '', + 'example' => '', ], - 'RawVSRoute' => [ - 'description' => 'The original YAML file of the virtual service that is serialized in a JSON string.'."\n", - 'type' => 'any', - 'required' => false, - 'example' => '{}', - ], + 'RawVSRoute' => ['description' => 'The raw YAML of the virtual service, which is serialized into a JSON string.', 'type' => 'any', 'required' => false, 'title' => '', 'example' => '{}'], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'Priority', 'in' => 'formData', - 'schema' => [ - 'description' => 'The priority of the routing rule. The value of this parameter is an integer. A smaller value indicates a higher priority.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The route priority. The value is an integer. A smaller value indicates a higher priority.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '1'], ], [ 'name' => 'Status', 'in' => 'formData', - 'schema' => [ - 'description' => 'The status of the routing rule. Valid values:'."\n" - ."\n" - .'* `0`: The routing rule is valid.'."\n" - .'* `1`: The routing rule is invalid.'."\n" - .'* `2`: An error occurs during the creation or update of the routing rule.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The status of the gateway route. Valid values:'."\n" + ."\n" + .'- `0`: The gateway route is in service.'."\n" + ."\n" + .'- `1`: The gateway route is unpublished.'."\n" + ."\n" + .'- `2`: An error occurred when the gateway route was created or updated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '1'], ], [ 'name' => 'Description', 'in' => 'formData', - 'schema' => [ - 'description' => 'The description of the routing rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demo route', - ], + 'schema' => ['description' => 'The description of the route.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'demo route'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response body.'."\n", + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****'], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateIstioGatewayRoutesResponse>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n</UpdateIstioGatewayRoutesResponse>","errorExample":""}]', 'title' => 'UpdateIstioGatewayRoutes', - ], - 'UpdateIstioRouteAdditionalStatus' => [ - 'summary' => 'Updates the information about a routing rule for a Service Mesh (ASM) gateway.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'summary' => 'The UpdateIstioGatewayRoutes operation updates a gateway route.', + 'changeSet' => [ + ['createdAt' => '2023-06-25T11:11:00.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-08-25T09:27:20.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-03-18T10:02:52.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateIstioGatewayRoutes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\"\\n}","type":"json"}]', + ], + 'UpdateIstioInjectionConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREservicemeshRMLVVZ', - ], - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], + 'schema' => ['description' => 'The service mesh ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ce2cdbb9d013f447180cf5ca8bb******'], ], [ - 'name' => 'IstioGatewayName', + 'name' => 'Namespace', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the ASM gateway.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ingressgateway', - ], + 'schema' => ['description' => 'The namespace.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'default'], ], [ - 'name' => 'RouteName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the routing rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'http-test', - ], + 'name' => 'EnableIstioInjection', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable automatic injection.', 'type' => 'boolean', 'required' => false, 'docRequired' => true, 'title' => '', 'example' => 'true'], ], [ - 'name' => 'Priority', - 'in' => 'query', - 'schema' => [ - 'description' => 'The priority of the routing rule. The value of this parameter is an integer. A smaller value indicates a higher priority.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'name' => 'EnableSidecarSetInjection', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable SidecarSet injection.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the routing rule. Valid values: 0: The routing rule is valid. 1: The routing rule is invalid. 2: An error occurs during the creation or update of the routing rule.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'name' => 'IstioRev', + 'in' => 'formData', + 'schema' => ['description' => '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.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'canary'], ], [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the routing rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demo route', - ], + 'name' => 'DataPlaneMode', + 'in' => 'formData', + 'schema' => ['description' => '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:'."\n" + ."\n" + .'- ambient: Sets the data plane mode of the namespace to ambient.'."\n" + ."\n" + .'- sidecar: Sets the data plane mode of the namespace to sidecar.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ambient'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The returned object.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '98B268E6-9381-5A98-8012-6E7E82******'], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 500 => [ - [ - 'errorCode' => 'ERR500', - 'errorMessage' => 'An internal server error occurred.', + 'title' => 'UpdateIstioInjectionConfig', + 'summary' => 'Modifies the injection settings for a service mesh.', + 'changeSet' => [ + ['createdAt' => '2023-08-10T04:18:23.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-07-17T12:12:19.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateIstioInjectionConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateIstioRouteAdditionalStatusResponse>\\n <RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>\\n</UpdateIstioRouteAdditionalStatusResponse>","errorExample":""}]', - 'title' => 'UpdateIstioRouteAdditionalStatus', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"98B268E6-9381-5A98-8012-6E7E82******\\"\\n}","type":"json"}]', ], - 'DescribeImportedServicesDetail' => [ - 'summary' => 'Queries the details of the imported services on a Service Mesh (ASM) gateway.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateIstioRouteAdditionalStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREservicemeshRMLVVZ'], ], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cb8963379255149cb98c8686f274x****', - ], + 'schema' => ['description' => 'The ID of the Service Mesh (ASM) instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], ], [ - 'name' => 'ASMGatewayName', + 'name' => 'IstioGatewayName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the ASM gateway.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ingressgateway', - ], + 'schema' => ['description' => 'The name of the ASM gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ingressgateway'], ], [ - 'name' => 'ServiceNamespace', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The namespace in which the services reside.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'name' => 'RouteName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the route.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'http-test'], + ], + [ + 'name' => 'Priority', + 'in' => 'query', + 'schema' => ['description' => 'The route priority. This is an integer. A smaller value indicates a higher priority.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '0'], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['description' => 'The status of the route. A value of 0 indicates that the route is published. A value of 1 indicates that the route is unpublished. A value of 2 indicates that a fault occurred when the route was created or updated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '0'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The description of the route.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'demo route'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'E0496204-7586-5B4C-B364-2361CC0EDxxxx', - ], - 'Details' => [ - 'description' => 'The details of the services.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ServiceName' => [ - 'description' => 'The name of a service.'."\n", - 'type' => 'string', - 'example' => 'productpage', - ], - 'Namespace' => [ - 'description' => 'The namespace in which the service resides.'."\n", - 'type' => 'string', - 'example' => 'default', - ], - 'Labels' => [ - 'description' => 'The labels of the service.'."\n", - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'description' => 'The label of the service.'."\n", - 'example' => 'app: productpage', - ], - ], - 'ClusterIds' => [ - 'description' => 'The clusters on the data plane.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The IDs of the clusters to which the service belongs.'."\n", - 'type' => 'string', - 'example' => 'c7894c929677643a5bfe1a732d778****', - ], - ], - 'ServiceType' => [ - 'description' => 'The type of the service.'."\n", - 'type' => 'string', - 'example' => 'Kubernetes', - ], - 'Ports' => [ - 'description' => 'The ports declared for the service.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of a port.'."\n", - 'type' => 'string', - 'example' => 'http-0', - ], - 'Protocol' => [ - 'description' => 'The protocol of the port.'."\n", - 'type' => 'string', - 'example' => 'tcp', - ], - 'Port' => [ - 'description' => 'The port number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'TargetPort' => [ - 'description' => 'The container port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8080', - ], - 'NodePort' => [ - 'description' => 'The node port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12345', - ], - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E0496204-7586-5B4C-B364-2361CC0EDxxxx\\",\\n \\"Details\\": [\\n {\\n \\"ServiceName\\": \\"productpage\\",\\n \\"Namespace\\": \\"default\\",\\n \\"Labels\\": {\\n \\"key\\": \\"app: productpage\\"\\n },\\n \\"ClusterIds\\": [\\n \\"c7894c929677643a5bfe1a732d778****\\"\\n ],\\n \\"ServiceType\\": \\"Kubernetes\\",\\n \\"Ports\\": [\\n {\\n \\"Name\\": \\"http-0\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"Port\\": 80,\\n \\"TargetPort\\": 8080,\\n \\"NodePort\\": 12345\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeImportedServicesDetailResponse>\\n <RequestId>E0496204-7586-5B4C-B364-2361CC0EDxxxx</RequestId>\\n <Details>\\n <ServiceName>productpage</ServiceName>\\n <Namespace>default</Namespace>\\n <Labels>\\n <key>app: productpage</key>\\n </Labels>\\n <ClusterIds>c7894c929677643a5bfe1a732d778****</ClusterIds>\\n <ServiceType>Kuberntes</ServiceType>\\n <Ports>\\n <Name>http-0</Name>\\n <Protocol>tcp</Protocol>\\n <Port>80</Port>\\n <TargetPort>8080</TargetPort>\\n <NodePort>12345</NodePort>\\n </Ports>\\n </Details>\\n</DescribeImportedServicesDetailResponse>","errorExample":""}]', - 'title' => 'DescribeImportedServicesDetail', - ], - 'DescribeASMGatewayImportedServices' => [ - 'summary' => 'Queries the information about imported services on a Service Mesh (ASM) gateway.', - 'methods' => [ - 'get', - 'post', + 'errorCodes' => [ + 500 => [ + ['errorCode' => 'ERR500', 'errorMessage' => 'An internal server error occurred.', 'description' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'UpdateIstioRouteAdditionalStatus', + 'summary' => 'Updates the additional information for a route.', + 'changeSet' => [ + ['createdAt' => '2022-03-18T10:02:51.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateIstioRouteAdditionalStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","type":"json"}]', + ], + 'UpdateMeshCRAggregation' => [ + 'summary' => 'Updates the status of the feature that allows the data plane to access Istio resources using the KubeAPI.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], + 'schema' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], ], [ - 'name' => 'ASMGatewayName', + 'name' => 'Enabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the ASM gateway.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ingressgateway', - ], + 'schema' => ['description' => 'Specifies whether the data plane can access Istio resources in ASM using the KubeAPI. Valid values:'."\n" + ."\n" + .'- `true`: Enable the feature.'."\n" + ."\n" + .'- `false`: Disable the feature.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], ], [ - 'name' => 'ServiceNamespace', + 'name' => 'CPURequirement', 'in' => 'formData', - 'schema' => [ - 'description' => 'The namespace in which the services reside.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'When KubeAPI-based access to Istio resources is enabled, a component is installed in the data plane cluster. This parameter specifies the CPU resource request for the component. Use the standard Kubernetes format for CPU resources.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '11fd0027-c27e-41bb-a565-75583054****', - ], - 'ImportedServices' => [ - 'description' => 'The list of the imported services.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ServiceName' => [ - 'description' => 'The name of a service.'."\n", - 'type' => 'string', - 'example' => 'productpage', - ], - 'ServiceNamespace' => [ - 'description' => 'The namespace in which the service resides.'."\n", - 'type' => 'string', - 'example' => 'default', - ], - ], - ], - ], - ], - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"11fd0027-c27e-41bb-a565-75583054****\\",\\n \\"ImportedServices\\": [\\n {\\n \\"ServiceName\\": \\"productpage\\",\\n \\"ServiceNamespace\\": \\"default\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeASMGatewayImportedServicesResponse>\\n <RequestId>E0496204-7586-5B4C-B364-2361CC0Exxxx</RequestId>\\n <ImportedServices>\\n <ServiceName>productpage</ServiceName>\\n <ServiceNamespace>default</ServiceNamespace>\\n </ImportedServices>\\n</DescribeASMGatewayImportedServicesResponse>","errorExample":""}]', - 'title' => 'DescribeASMGatewayImportedServices', - ], - 'DescribeIstioGatewayRouteDetail' => [ - 'summary' => 'Queries the detailed information about a routing rule of an Alibaba Cloud Service Mesh (ASM) gateway.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'MemoryRequirement', + 'in' => 'formData', + 'schema' => ['description' => 'When KubeAPI-based access to Istio resources is enabled, a component is installed in the data plane cluster. This parameter specifies the memory resource request for the component. Use the standard Kubernetes format for memory resources. 1 Mi is equivalent to 1024 KiB.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '500Mi'], ], - ], - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ [ - 'name' => 'ServiceMeshId', + 'name' => 'CPULimit', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], + 'schema' => ['description' => 'When KubeAPI-based access to Istio resources is enabled, a component is installed in the data plane cluster. This parameter specifies the CPU resource limit for the component. Use the standard Kubernetes format for CPU resources.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1'], ], [ - 'name' => 'IstioGatewayName', + 'name' => 'MemoryLimit', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the ASM gateway.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ingressgateway', - ], + 'schema' => ['description' => 'When KubeAPI-based access to Istio resources is enabled, a component is installed in the data plane cluster. This parameter specifies the memory resource limit for the component. Use the standard Kubernetes format for memory resources. 1 Mi is equivalent to 1024 KiB.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '500Mi'], ], [ - 'name' => 'RouteName', + 'name' => 'UsePublicApiServer', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the routing rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demo-route', - ], + 'schema' => ['description' => 'Specifies whether the data plane uses the public endpoint of the ASM API server to access Istio resources. This parameter applies only when KubeAPI-based access is enabled. Valid values:'."\n" + ."\n" + .'- `true`: The data plane uses the public endpoint of the ASM API server to access Istio resources.'."\n" + ."\n" + .'- `false`: The data plane uses the private endpoint of the ASM API server to access Istio resources.'."\n" + ."\n" + .'The default value is `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", + 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'RouteDetail' => [ - 'description' => 'The detailed information about the routing rule.'."\n", - 'type' => 'object', - 'properties' => [ - 'RouteName' => [ - 'description' => 'The name of the routing rule.'."\n", - 'type' => 'string', - 'example' => 'demo-route', - ], - 'RouteType' => [ - 'description' => 'The type of the traffic to be routed. Valid values: `HTTP`, `TLS`, and `TCP`.'."\n", - 'type' => 'string', - 'example' => 'HTTP', - ], - 'MatchRequest' => [ - 'description' => 'The matching rules for traffic routing.'."\n", - 'type' => 'object', - 'properties' => [ - 'URI' => [ - 'description' => 'The matching rule for URIs.'."\n", - 'type' => 'object', - 'properties' => [ - 'MatchingMode' => [ - 'description' => 'The matching mode. Valid values:'."\n" - ."\n" - .'* `exact`: exact match'."\n" - .'* `prefix`: match by prefix'."\n" - .'* `regex`: match by regular expression'."\n", - 'type' => 'string', - 'example' => 'prefix', - ], - 'MatchingContent' => [ - 'description' => 'The content to be matched.'."\n", - 'type' => 'string', - 'example' => '/ratings/v2/', - ], - ], - ], - 'Headers' => [ - 'description' => 'The request headers to be matched.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The request header to be matched.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The header key to be matched.'."\n", - 'type' => 'string', - 'example' => 'x-request-id', - ], - 'MatchingMode' => [ - 'description' => 'The matching mode for the header value. Valid values:'."\n" - ."\n" - .'* `exact`: exact match'."\n" - .'* `prefix`: match by prefix'."\n" - .'* `regex`: match by regular expression'."\n", - 'type' => 'string', - 'example' => 'exact', - ], - 'MatchingContent' => [ - 'description' => 'The header value to be matched.'."\n", - 'type' => 'string', - 'example' => 'v1', - ], - ], - ], - ], - 'TLSMatchAttributes' => [ - 'description' => 'The matching rules for Transport Layer Security (TLS) traffic.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The matching rule for TLS traffic.'."\n", - 'type' => 'object', - 'properties' => [ - 'TLSPort' => [ - 'description' => 'The TLS port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '443', - ], - 'SNIHosts' => [ - 'description' => 'The Server Name Indication (SNI) values to be matched.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'Wildcards can be used as the prefix of an SNI value. For example, the value `*.com` matches `foo.example.com` and `example.com`.'."\n" - ."\n" - .'> The SNI values must be a subset of the hostnames of the corresponding virtual hosts.'."\n", - 'type' => 'string', - 'example' => '*.com', - ], - ], - ], - ], - ], - 'Ports' => [ - 'description' => 'The ports.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ports of the specified hosts to which the traffic is routed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '443', - ], - ], - ], - ], - 'HTTPAdvancedOptions' => [ - 'description' => 'The advanced settings for routing HTTP traffic.'."\n", - 'type' => 'object', - 'properties' => [ - 'HTTPRedirect' => [ - 'description' => 'The HTTP redirection rule.'."\n", - 'type' => 'object', - 'properties' => [ - 'Uri' => [ - 'description' => 'The value to be used to overwrite the URL path during redirection.'."\n", - 'type' => 'string', - 'example' => '/v1/getProductRatings', - ], - 'Authority' => [ - 'description' => 'The value to be used to overwrite the value of the Authority or Host header during redirection.'."\n", - 'type' => 'string', - 'example' => 'newratings.default.svc.cluster.local', - ], - 'RedirectCode' => [ - 'description' => 'The HTTP status code to be used to indicate URL redirection. Default value: 301.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '301', - ], - ], - ], - 'Delegate' => [ - 'description' => 'The virtual service that defines traffic routing.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the virtual service.'."\n", - 'type' => 'string', - 'example' => 'reviews', - ], - 'Namespace' => [ - 'description' => 'The namespace to which the virtual service belongs.'."\n", - 'type' => 'string', - 'example' => 'default', - ], - ], - ], - 'Rewrite' => [ - 'description' => 'The configurations for rewriting the virtual service.'."\n", - 'type' => 'object', - 'properties' => [ - 'Uri' => [ - 'description' => 'The value to be used to overwrite the path or prefix of the URI.'."\n", - 'type' => 'string', - 'example' => '/v1/getProductRatings', - ], - 'Authority' => [ - 'description' => 'The value to be used to overwrite the value of the Authority or Host header.'."\n", - 'type' => 'string', - 'example' => 'newratings.default.svc.cluster.local', - ], - ], - ], - 'Timeout' => [ - 'description' => 'The timeout period for requests.'."\n", - 'type' => 'string', - 'example' => '5s', - ], - 'Retries' => [ - 'description' => 'The configurations of retries for failed requests.'."\n", - 'type' => 'object', - 'properties' => [ - 'Attempts' => [ - 'description' => 'The number of retries that are allowed for a request.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'PerTryTimeout' => [ - 'description' => 'The timeout period for each retry.'."\n", - 'type' => 'string', - 'example' => '2s', - ], - 'RetryOn' => [ - 'description' => 'The condition for retries. Example: `connect-failure,refused-stream,503`.'."\n", - 'type' => 'string', - 'example' => 'connect-failure,refused-stream,503', - ], - 'RetryRemoteLocalities' => [ - 'description' => 'Specifies whether to allow retries to other localities.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'Specifies whether to allow retries to other localities. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n" - ."\n" - .'Default value: `false`.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - ], - ], - ], - ], - 'Fault' => [ - 'description' => 'The configurations of fault injection.'."\n", - 'type' => 'object', - 'properties' => [ - 'Delay' => [ - 'description' => 'The duration to delay a request.'."\n", - 'type' => 'object', - 'properties' => [ - 'FixedDelay' => [ - 'description' => 'The fixed duration for request delay.'."\n", - 'type' => 'string', - 'example' => '5s', - ], - 'ExponentialDelay' => [ - 'description' => 'The duration for request delay is expressed as 2 raised to the power of x. You must specify the value of x.'."\n", - 'type' => 'string', - 'example' => '3', - ], - 'Percentage' => [ - 'description' => 'The percentage of requests to which the delay fault is injected.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The percentage of requests that are aborted with the specified error code, which is expressed as a decimal.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.1', - ], - ], - ], - ], - ], - 'Abort' => [ - 'description' => 'The configurations for aborting requests with specified error codes.'."\n", - 'type' => 'object', - 'properties' => [ - 'HttpStatus' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '400', - ], - 'Percentage' => [ - 'description' => 'The percentage of requests that are aborted with the specified error code.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The percentage of requests that are mirrored to another destination except for the original destination, which is expressed as a decimal.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.1', - ], - ], - ], - ], - ], - ], - ], - 'Mirror' => [ - 'description' => 'The configurations for mirroring HTTP traffic to another destination in addition to forwarding requests to the specified destination.'."\n", - 'type' => 'object', - 'properties' => [ - 'Host' => [ - 'description' => 'The name of the service defined in the service registry.'."\n", - 'type' => 'string', - 'example' => 'reviews.default.svc.cluster.local', - ], - 'Subset' => [ - 'description' => 'The name of the service subset.'."\n", - 'type' => 'string', - 'example' => 'v1', - ], - ], - ], - 'MirrorPercentage' => [ - 'description' => 'The percentage of requests that are aborted with the specified error code.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The percentage of requests that are aborted with the specified error code, which is expressed as a decimal.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.2', - ], - ], - ], - ], - ], - 'RouteDestinations' => [ - 'description' => 'The endpoints of destination services for Layer 4 weighted routing.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The endpoint of the destination service for Layer 4 weighted routing.'."\n", - 'type' => 'object', - 'properties' => [ - 'Destination' => [ - 'description' => 'The unique endpoint of the destination service to which the specified requests are sent.'."\n", - 'type' => 'object', - 'properties' => [ - 'Host' => [ - 'description' => 'The name of the service defined in the service registry.'."\n", - 'type' => 'string', - 'example' => 'reviews', - ], - 'Subset' => [ - 'description' => 'The name of the service subset.'."\n", - 'type' => 'string', - 'example' => 'v1', - ], - 'Port' => [ - 'description' => 'The ports of the specified hosts from which the traffic is routed.'."\n", - 'type' => 'object', - 'properties' => [ - 'Number' => [ - 'description' => 'The ports of the specified hosts to which the traffic is routed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '443', - ], - ], - ], - ], - ], - 'Weight' => [ - 'description' => 'The traffic weight. Valid values: 1 to 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'Headers' => [ - 'description' => 'The list of the request headers to be matched.'."\n", - 'type' => 'object', - 'properties' => [ - 'Request' => [ - 'description' => 'The request header to be matched.'."\n", - 'type' => 'object', - 'properties' => [ - 'Set' => [ - 'description' => 'The header key to be used to overwrite the original header key.'."\n", - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'description' => 'The header key that you specify.'."\n", - 'example' => 'key', - ], - ], - 'Add' => [ - 'description' => 'The values to be added to the header key.'."\n", - 'type' => 'object', - 'example' => 'key', - ], - 'Remove' => [ - 'description' => 'The header value to be deleted.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The key to be deleted.'."\n", - 'type' => 'string', - 'example' => 'key', - ], - ], - ], - ], - 'Response' => [ - 'description' => 'The processing of the headers of the response that is to be returned.'."\n", - 'type' => 'object', - 'properties' => [ - 'Set' => [ - 'description' => 'The header key to be used to overwrite the original header key.'."\n", - 'type' => 'object', - 'example' => 'key', - ], - 'Add' => [ - 'description' => 'The values to be added to the header key.'."\n", - 'type' => 'object', - 'example' => 'key', - ], - 'Remove' => [ - 'description' => 'The header value to be deleted.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The key to be deleted.'."\n", - 'type' => 'string', - 'example' => 'key', - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'Domains' => [ - 'description' => 'Domain list.', - 'type' => 'array', - 'items' => [ - 'description' => 'One Domain.', - 'type' => 'string', - 'example' => 'test.asm.aliyun.com', - ], - ], - 'RawVSRoute' => [ - 'description' => 'The original YAML file of the virtual service that is serialized into a JSON string.'."\n", - 'type' => 'string', - 'example' => '{}', - ], - 'HasUnsafeFeatures' => [ - 'description' => 'If the value is true, the original YAML file contains features that are not supported on the current interface.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', - ], - 'Priority' => [ - 'description' => 'The priority of the routing rule. The value of this parameter is an integer. A smaller value indicates a higher priority.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Status' => [ - 'description' => 'The status of the routing rule. Valid values:'."\n" - ."\n" - .'* `0`: The routing rule is valid.'."\n" - .'* `1`: The routing rule is invalid.'."\n" - .'* `2`: An error occurs during the creation or update of the routing rule.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Description' => [ - 'description' => 'The description of the routing rule.'."\n", - 'type' => 'string', - 'example' => 'demo route', - ], - 'Namespace' => [ - 'description' => 'The namespace.'."\n", - 'type' => 'string', - 'example' => 'default', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], ], + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 500 => [ - [ - 'errorCode' => 'ERR500', - 'errorMessage' => 'An internal server error occurred.', + 'title' => 'UpdateMeshCRAggregation', + 'changeSet' => [ + ['createdAt' => '2022-09-08T02:51:21.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-05-10T09:28:47.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateMeshCRAggregation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RouteDetail\\": {\\n \\"RouteName\\": \\"demo-route\\",\\n \\"RouteType\\": \\"HTTP\\",\\n \\"MatchRequest\\": {\\n \\"URI\\": {\\n \\"MatchingMode\\": \\"prefix\\",\\n \\"MatchingContent\\": \\"/ratings/v2/\\"\\n },\\n \\"Headers\\": [\\n {\\n \\"Name\\": \\"x-request-id\\",\\n \\"MatchingMode\\": \\"exact\\",\\n \\"MatchingContent\\": \\"v1\\"\\n }\\n ],\\n \\"TLSMatchAttributes\\": [\\n {\\n \\"TLSPort\\": 443,\\n \\"SNIHosts\\": [\\n \\"*.com\\"\\n ]\\n }\\n ],\\n \\"Ports\\": [\\n 443\\n ]\\n },\\n \\"HTTPAdvancedOptions\\": {\\n \\"HTTPRedirect\\": {\\n \\"Uri\\": \\"/v1/getProductRatings\\",\\n \\"Authority\\": \\"newratings.default.svc.cluster.local\\",\\n \\"RedirectCode\\": 301\\n },\\n \\"Delegate\\": {\\n \\"Name\\": \\"reviews\\",\\n \\"Namespace\\": \\"default\\"\\n },\\n \\"Rewrite\\": {\\n \\"Uri\\": \\"/v1/getProductRatings\\",\\n \\"Authority\\": \\"newratings.default.svc.cluster.local\\"\\n },\\n \\"Timeout\\": \\"5s\\",\\n \\"Retries\\": {\\n \\"Attempts\\": 3,\\n \\"PerTryTimeout\\": \\"2s\\",\\n \\"RetryOn\\": \\"connect-failure,refused-stream,503\\",\\n \\"RetryRemoteLocalities\\": {\\n \\"Value\\": false\\n }\\n },\\n \\"Fault\\": {\\n \\"Delay\\": {\\n \\"FixedDelay\\": \\"5s\\",\\n \\"ExponentialDelay\\": \\"3\\",\\n \\"Percentage\\": {\\n \\"Value\\": 0.1\\n }\\n },\\n \\"Abort\\": {\\n \\"HttpStatus\\": 400,\\n \\"Percentage\\": {\\n \\"Value\\": 0.1\\n }\\n }\\n },\\n \\"Mirror\\": {\\n \\"Host\\": \\"reviews.default.svc.cluster.local\\",\\n \\"Subset\\": \\"v1\\"\\n },\\n \\"MirrorPercentage\\": {\\n \\"Value\\": 0.2\\n }\\n },\\n \\"RouteDestinations\\": [\\n {\\n \\"Destination\\": {\\n \\"Host\\": \\"reviews\\",\\n \\"Subset\\": \\"v1\\",\\n \\"Port\\": {\\n \\"Number\\": 443\\n }\\n },\\n \\"Weight\\": 80,\\n \\"Headers\\": {\\n \\"Request\\": {\\n \\"Set\\": {\\n \\"key\\": \\"key\\"\\n },\\n \\"Add\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Remove\\": [\\n \\"key\\"\\n ]\\n },\\n \\"Response\\": {\\n \\"Set\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Add\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Remove\\": [\\n \\"key\\"\\n ]\\n }\\n }\\n }\\n ],\\n \\"Domains\\": [\\n \\"test.asm.aliyun.com\\"\\n ],\\n \\"RawVSRoute\\": \\"{}\\",\\n \\"HasUnsafeFeatures\\": true\\n },\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"Priority\\": 1,\\n \\"Status\\": 1,\\n \\"Description\\": \\"demo route\\",\\n \\"Namespace\\": \\"default\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeIstioGatewayRouteDetailResponse>\\n <RouteDetail>\\n <RouteName>demo-route</RouteName>\\n <RouteType>HTTP</RouteType>\\n <MatchRequest>\\n <URI>\\n <MatchingMode>prefix</MatchingMode>\\n <MatchingContent>/ratings/v2/</MatchingContent>\\n </URI>\\n <Headers>\\n <Name>x-request-id</Name>\\n <MatchingMode>exact</MatchingMode>\\n <MatchingContent>v1</MatchingContent>\\n </Headers>\\n <TLSMatchAttributes>\\n <TLSPort>443</TLSPort>\\n <SNIHosts>*.com</SNIHosts>\\n </TLSMatchAttributes>\\n <Ports>443</Ports>\\n </MatchRequest>\\n <HTTPAdvancedOptions>\\n <HTTPRedirect>\\n <Uri>/v1/getProductRatings</Uri>\\n <Authority>newratings.default.svc.cluster.local</Authority>\\n <RedirectCode>301</RedirectCode>\\n </HTTPRedirect>\\n <Delegate>\\n <Name>reviews</Name>\\n <Namespace>default</Namespace>\\n </Delegate>\\n <Rewrite>\\n <Uri>/v1/getProductRatings</Uri>\\n <Authority>newratings.default.svc.cluster.local</Authority>\\n </Rewrite>\\n <Timeout>5s</Timeout>\\n <Retries>\\n <Attempts>3</Attempts>\\n <PerTryTimeout>2s</PerTryTimeout>\\n <RetryOn>connect-failure,refused-stream,503</RetryOn>\\n <RetryRemoteLocalities>\\n <Value>false</Value>\\n </RetryRemoteLocalities>\\n </Retries>\\n <Fault>\\n <Delay>\\n <FixedDelay>5s</FixedDelay>\\n <ExponentialDelay>3</ExponentialDelay>\\n <Percentage>\\n <Value>0.1</Value>\\n </Percentage>\\n </Delay>\\n <Abort>\\n <HttpStatus>400</HttpStatus>\\n <Percentage>\\n <Value>0.1</Value>\\n </Percentage>\\n </Abort>\\n </Fault>\\n <Mirror>\\n <Host>reviews.default.svc.cluster.local</Host>\\n <Subset>v1</Subset>\\n </Mirror>\\n <MirrorPercentage>\\n <Value>0.2</Value>\\n </MirrorPercentage>\\n </HTTPAdvancedOptions>\\n <RouteDestinations>\\n <Destination>\\n <Host>reviews</Host>\\n <Subset>v1</Subset>\\n <Port>\\n <Number>443</Number>\\n </Port>\\n </Destination>\\n <Weight>80</Weight>\\n <Headers>\\n <Request>\\n <Set>\\n <key>key</key>\\n </Set>\\n <Remove>key</Remove>\\n </Request>\\n <Response>\\n <Remove>key</Remove>\\n </Response>\\n </Headers>\\n </RouteDestinations>\\n </RouteDetail>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n <Priority>1</Priority>\\n <Status>1</Status>\\n <Description>demo route</Description>\\n</DescribeIstioGatewayRouteDetailResponse>","errorExample":""}]', - 'title' => 'DescribeIstioGatewayRouteDetail', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","type":"json"}]', ], - 'DescribeGatewaySecretDetails' => [ - 'summary' => 'Queries the detailed information about a secret of a Service Mesh (ASM) gateway.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateMeshFeature' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', + 'abilityTreeCode' => '17645', + 'abilityTreeNodes' => ['FEATUREservicemesh4LB119'], ], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], + 'schema' => ['description' => 'The ID of the service mesh.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], ], [ - 'name' => 'IstioGatewayName', + 'name' => 'Tracing', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the ASM gateway.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ingressgateway', - ], + 'schema' => ['description' => 'Specifies whether to enable Tracing Analysis. To enable this feature, you must activate [Managed Service for OpenTelemetry](https://tracing-analysis.console.aliyun.com/). Valid values:'."\n" + ."\n" + .'- `true`: enables Tracing Analysis.'."\n" + ."\n" + .'- `false`: disables Tracing Analysis.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', - ], - 'GatewaySecretDetails' => [ - 'description' => 'The detailed information about the secret of the ASM gateway.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'IssueTime' => [ - 'description' => 'The time when the certificate was issued.'."\n", - 'type' => 'string', - 'example' => '2022-03-03 07:45', - ], - 'ExpiredTime' => [ - 'description' => 'The time when the certificate expires.'."\n", - 'type' => 'string', - 'example' => '2023-03-03 07:45', - ], - 'GatewayName' => [ - 'description' => 'The name of the gateway.'."\n", - 'type' => 'string', - 'example' => 'bookinfo-gateway', - ], - 'State' => [ - 'description' => 'The status of the certificate. Valid values:'."\n" - ."\n" - .'* `normal`'."\n" - .'* `abnormal`'."\n", - 'type' => 'string', - 'example' => 'normal', - ], - 'Message' => [ - 'description' => '* An error message is returned if the status of the gateway is abnormal. Examples: `tls.crt not exist`, `tls.key not exist`, and `secret type must be kubernetes.io/tls`.'."\n" - .'* An empty value is returned if the status of the gateway is normal.'."\n", - 'type' => 'string', - 'example' => 'tls.crt not exist', - ], - 'SNI' => [ - 'description' => 'The Server Name Indication (SNI) value.'."\n", - 'type' => 'string', - 'example' => 'demo.com', - ], - 'SecretName' => [ - 'description' => 'The name of the secret.'."\n", - 'type' => 'string', - 'example' => 'demo-secret', - ], - ], - ], - ], - ], - ], + [ + 'name' => 'TraceSampling', + 'in' => 'formData', + 'schema' => ['description' => 'The sampling percentage for Tracing Analysis.', 'type' => 'number', 'format' => 'float', 'required' => false, 'title' => '', 'example' => '100'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"GatewaySecretDetails\\": [\\n {\\n \\"IssueTime\\": \\"2022-03-03 07:45\\",\\n \\"ExpiredTime\\": \\"2023-03-03 07:45\\",\\n \\"GatewayName\\": \\"bookinfo-gateway\\",\\n \\"State\\": \\"normal\\",\\n \\"Message\\": \\"tls.crt not exist\\",\\n \\"SNI\\": \\"demo.com\\",\\n \\"SecretName\\": \\"demo-secret\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeGatewaySecretDetailsResponse>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n <GatewaySecretDetails>\\n <IssueTime>2022-03-03 07:45</IssueTime>\\n <ExpiredTime>2023-03-03 07:45</ExpiredTime>\\n <GatewayName>bookinfo-gateway</GatewayName>\\n <State>normal</State>\\n <Message>tls.crt not exist</Message>\\n <SNI>demo.com</SNI>\\n <SecretName>demo-secret</SecretName>\\n </GatewaySecretDetails>\\n</DescribeGatewaySecretDetailsResponse>","errorExample":""}]', - 'title' => 'DescribeGatewaySecretDetails', - ], - 'DescribeIstioGatewayDomains' => [ - 'summary' => 'Queries a list of the domain names that are exposed by a Service Mesh (ASM) gateway.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'TraceCustomTags', + 'in' => 'formData', + 'schema' => ['description' => 'The custom tags for Tracing Analysis. The value must be a JSON string. The structure is as follows:'."\n" + ."\n" + .'```'."\n" + .'{'."\n" + .' "name1": CustomTag,'."\n" + .' "name2": CustomTag'."\n" + .'}'."\n" + .'```'."\n" + ."\n" + .'The CustomTag structure can be literal, header, or environment. Select one of them.'."\n" + ."\n" + .'```'."\n" + .'{'."\n" + .' "literal": {'."\n" + .' "value": "static field"'."\n" + .' }'."\n" + .' "header": {'."\n" + .' "name": "HEADER name",'."\n" + .' "defaultValue": "The default value to use if the specified header does not exist."'."\n" + .' }'."\n" + .' "environment": {'."\n" + .' "name": "Environment variable name",'."\n" + .' "defaultValue": "The default value to use if the specified environment variable does not exist."'."\n" + .' }'."\n" + .'}'."\n" + .'```', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"mytag": {"literal":{"value":"test"}}}'], ], - ], - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ [ - 'name' => 'ServiceMeshId', + 'name' => 'TraceMaxPathTagLength', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], + 'schema' => ['description' => 'The maximum length of the URI of the request that is contained in the \\`HttpUrl\\` span tag. Default value: `256`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '256'], ], [ - 'name' => 'IstioGatewayName', + 'name' => 'LocalityLoadBalancing', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the ASM gateway.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ingressgateway', - ], + 'schema' => ['description' => 'Specifies whether to enable locality-based load balancing. Valid values:'."\n" + ."\n" + .'- `true`: enables locality-based load balancing.'."\n" + ."\n" + .'- `false`: disables locality-based load balancing.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], ], [ - 'name' => 'Namespace', + 'name' => 'LocalityLBConf', 'in' => 'formData', - 'schema' => [ - 'description' => 'The namespace in which the ASM gateway resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The configurations of locality-based load balancing. Valid values:'."\n" + ."\n" + .'- `failover`: the configurations of cross-region failover. Example:'."\n" + ."\n" + .'```'."\n" + .' failover: [// struct, the configurations of cross-region failover.'."\n" + .' {'."\n" + .' // When a service in the China (Beijing) region fails, traffic is transferred to the same service in the China (Hangzhou) region.'."\n" + .' from: "cn-beijing", '."\n" + .' to: "cn-hangzhou",'."\n" + .' }'."\n" + .' ]'."\n" + .'```'."\n" + ."\n" + .'- `distribute`: the configurations of cross-region traffic distribution. Example:'."\n" + ."\n" + .'```'."\n" + .'distribute: [ // struct, the configurations of cross-region traffic distribution.'."\n" + .' {'."\n" + .' // For traffic that is routed to the China (Beijing) region, 70% of the traffic is allocated to the China (Beijing) region and 30% is allocated to the China (Hangzhou) region.'."\n" + .' "from": "cn-beijing",'."\n" + .' "to": {'."\n" + .' "cn-beijing": 70,'."\n" + .' "cn-hangzhou": 30,'."\n" + .' }'."\n" + .' }'."\n" + .' ]'."\n" + .'```', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"failover":[{"from":"cn-hangzhou","to":"cn-shanghai"}]}'], ], [ - 'name' => 'Limit', + 'name' => 'Telemetry', 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of Istio gateways to query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'Specifies whether to enable Prometheus to collect metrics. We recommend that you use [Managed Service for Prometheus](https://arms.console.aliyun.com/). Valid values:'."\n" + ."\n" + .'- `true`: enables Prometheus to collect metrics.'."\n" + ."\n" + .'- `false`: disables Prometheus to collect metrics.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', - ], - 'GatewaySecretDetails' => [ - 'description' => 'The domain names that are exposed by the ASM gateway.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Domains' => [ - 'description' => 'The list of domain names.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The domain name.'."\n", - 'type' => 'string', - 'example' => 'example.com', - ], - ], - 'Protocol' => [ - 'description' => 'The type of the protocol. Valid values: `HTTP`, `HTTPS`, `GRPC`, `HTTP2`, `MONGO`, `TCP`, and `TLS`.'."\n", - 'type' => 'string', - 'example' => 'HTTPS', - ], - 'CredentialName' => [ - 'description' => 'The name of the secret that contains the Transport Layer Security (TLS) certificate and certificate authority (CA) certificate.'."\n", - 'type' => 'string', - 'example' => 'bookinfo-secret', - ], - 'Detail' => [ - 'description' => 'The details of the domain name in the JSON format.'."\n", - 'type' => 'string', - 'example' => '{ "servers": [ { "port": { "number": 27018, "name": "mongo", "protocol": "MONGO" }, "hosts": [ "*" ] } ] }', - ], - 'PortName' => [ - 'description' => 'The port name.'."\n", - 'type' => 'string', - 'example' => 'https-demo', - ], - 'Namespace' => [ - 'description' => 'The namespace in which the ASM gateway resides.'."\n", - 'type' => 'string', - 'example' => 'default', - ], - 'GatewayCRName' => [ - 'description' => 'The name of the Istio gateway.'."\n", - 'type' => 'string', - 'example' => 'ingressgateway', - ], - ], - ], - ], - ], - ], + [ + 'name' => 'OpenAgentPolicy', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to integrate with the Open Policy Agent (OPA) plug-in. Valid values:'."\n" + ."\n" + .'- `true`: integrates with the OPA plug-in.'."\n" + ."\n" + .'- `false`: does not integrate with the OPA plug-in.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"GatewaySecretDetails\\": [\\n {\\n \\"Domains\\": [\\n \\"example.com\\"\\n ],\\n \\"Protocol\\": \\"HTTPS\\",\\n \\"CredentialName\\": \\"bookinfo-secret\\",\\n \\"Detail\\": \\"{ \\\\\\"servers\\\\\\": [ { \\\\\\"port\\\\\\": { \\\\\\"number\\\\\\": 27018, \\\\\\"name\\\\\\": \\\\\\"mongo\\\\\\", \\\\\\"protocol\\\\\\": \\\\\\"MONGO\\\\\\" }, \\\\\\"hosts\\\\\\": [ \\\\\\"*\\\\\\" ] } ] }\\",\\n \\"PortName\\": \\"https-demo\\",\\n \\"Namespace\\": \\"default\\",\\n \\"GatewayCRName\\": \\"ingressgateway\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeIstioGatewayDomainsResponse>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n <GatewaySecretDetails>\\n <Domains>example.com</Domains>\\n <Protocol>HTTPS</Protocol>\\n <CredentialName>bookinfo-secret</CredentialName>\\n <Detail>{ \\"servers\\": [ { \\"port\\": { \\"number\\": 27018, \\"name\\": \\"mongo\\", \\"protocol\\": \\"MONGO\\" }, \\"hosts\\": [ \\"*\\" ] } ] }</Detail>\\n <PortName>https-demo</PortName>\\n <Namespace>default</Namespace>\\n <GatewayCRName>ingressgateway</GatewayCRName>\\n </GatewaySecretDetails>\\n</DescribeIstioGatewayDomainsResponse>","errorExample":""}]', - 'title' => 'DescribeIstioGatewayDomains', - ], - 'DescribeIstioGatewayRoutes' => [ - 'summary' => 'Queries the routing rules for a Service Mesh (ASM) gateway.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'OPALogLevel', + 'in' => 'formData', + 'schema' => ['description' => 'The log level of the OPA proxy container. Valid values:'."\n" + ."\n" + .'- `info`: outputs all information.'."\n" + ."\n" + .'- `debug`: outputs debugging information and error messages.'."\n" + ."\n" + .'- `error`: outputs only error messages.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'info'], ], - ], - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ [ - 'name' => 'ServiceMeshId', + 'name' => 'OPARequestCPU', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], + 'schema' => ['description' => 'The CPU resource request of the OPA proxy container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1'], ], [ - 'name' => 'IstioGatewayName', + 'name' => 'OPARequestMemory', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the ASM gateway.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ingressgateway', - ], + 'schema' => ['description' => 'The memory resource request of the OPA proxy container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '512Mi'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => 'The response body.'."\n", - 'type' => 'object', - 'properties' => [ - 'ManagementRoutes' => [ - 'description' => 'The routing rules.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the routing rules.'."\n", - 'type' => 'object', - 'properties' => [ - 'ASMGatewayName' => [ - 'description' => 'The name of the ASM gateway.'."\n", - 'type' => 'string', - 'example' => 'ingressgateway', - ], - 'RouteName' => [ - 'description' => 'The name of the routing rule.'."\n", - 'type' => 'string', - 'example' => 'http-route', - ], - 'RoutePath' => [ - 'description' => 'The path that is used to match request URLs.'."\n", - 'type' => 'string', - 'example' => '/reviews/v1', - ], - 'Status' => [ - 'description' => 'The status of the routing rule. Valid values:'."\n" - ."\n" - .'* `0`: The routing rule is valid.'."\n" - .'* `1`: The routing rule is invalid.'."\n" - .'* `2`: An error occurs during the creation or update of the routing rule.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Priority' => [ - 'description' => 'The priority of the routing rule. The value of this parameter is an integer. A smaller value indicates a higher priority.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Description' => [ - 'description' => 'The description of the routing rule.'."\n", - 'type' => 'string', - 'example' => 'demo route', - ], - 'Namespace' => [ - 'description' => 'The namespace.'."\n", - 'type' => 'string', - 'example' => 'istio-demo', - ], - 'DestinationHost' => [ - 'description' => 'Destination hosts list.', - 'type' => 'array', - 'items' => [ - 'description' => 'Destination host.', - 'type' => 'string', - 'example' => 'test.asm.aliyun.com', - ], - ], - 'DestinationSubSet' => [ - 'description' => 'Destination subset list.', - 'type' => 'array', - 'items' => [ - 'description' => 'Destination subset.', - 'type' => 'string', - 'example' => 'v1', - ], - ], - ], - ], - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', - ], - ], - ], + [ + 'name' => 'OPALimitCPU', + 'in' => 'formData', + 'schema' => ['description' => 'The CPU resource limit of the OPA proxy container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2'], ], - ], - 'errorCodes' => [ - 500 => [ - [ - 'errorCode' => 'ERR500', - 'errorMessage' => 'An internal server error occurred.', - ], + [ + 'name' => 'OPALimitMemory', + 'in' => 'formData', + 'schema' => ['description' => 'The memory resource limit of the OPA proxy container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1024Mi'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ManagementRoutes\\": [\\n {\\n \\"ASMGatewayName\\": \\"ingressgateway\\",\\n \\"RouteName\\": \\"http-route\\",\\n \\"RoutePath\\": \\"/reviews/v1\\",\\n \\"Status\\": 1,\\n \\"Priority\\": 1,\\n \\"Description\\": \\"demo route\\",\\n \\"Namespace\\": \\"istio-demo\\",\\n \\"DestinationHost\\": [\\n \\"test.asm.aliyun.com\\"\\n ],\\n \\"DestinationSubSet\\": [\\n \\"v1\\"\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeIstioGatewayRoutesResponse>\\n <ManagementRoutes>\\n <ASMGatewayName>ingressgateway</ASMGatewayName>\\n <RouteName>http-route</RouteName>\\n <RoutePath>/reviews/v1</RoutePath>\\n <Status>1</Status>\\n <Priority>1</Priority>\\n <Description>demo route</Description>\\n </ManagementRoutes>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n</DescribeIstioGatewayRoutesResponse>","errorExample":""}]', - 'title' => 'DescribeIstioGatewayRoutes', - ], - 'DescribeClusterGrafana' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'EnableAudit', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable mesh audit. To enable this feature, you must activate [Simple Log Service](https://sls.console.aliyun.com/). Valid values:'."\n" + ."\n" + .'- `true`: enables mesh audit.'."\n" + ."\n" + .'- `false`: disables mesh audit.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ [ - 'name' => 'ServiceMeshId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cb8963379255149cb98c8686f274x****', - ], + 'name' => 'AuditProject', + 'in' => 'formData', + 'schema' => ['description' => 'The SLS project that is used for mesh audit.'."\n" + ."\n" + .'Default value: `mesh-log-{meshId}`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'mesh-log-c08ba3fd1e64xxb0f8cc1ad8****'], ], [ - 'name' => 'K8sClusterId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the cluster on the data plane.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ce3c25e247da24f3aab9b7edfae83****', - ], + 'name' => 'CustomizedZipkin', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to use a self-managed Zipkin system. Valid values:'."\n" + ."\n" + .'- `true`: uses a self-managed Zipkin system.'."\n" + ."\n" + .'- `false`: does not use a self-managed Zipkin system.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ - 'name' => 'ReAddPrometheusIntegration', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'Specifies whether to integrate Managed Service for Prometheus for the cluster on the data plane.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'false', - ], + 'name' => 'OutboundTrafficPolicy', + 'in' => 'formData', + 'schema' => ['description' => 'The policy for accessing external services. Valid values:'."\n" + ."\n" + .'- `ALLOW_ANY`: allows access to all external services.'."\n" + ."\n" + .'- `REGISTRY_ONLY`: allows access to only the services that are registered with the service mesh.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ALLOW_ANY'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], - 'Dashboards' => [ - 'description' => 'The information about Grafana dashboards.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Url' => [ - 'description' => 'The endpoint of the Grafana dashboard.'."\n", - 'type' => 'string', - 'example' => 'test.com', - ], - 'Title' => [ - 'description' => 'The title of the Grafana dashboard.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], - ], - 'description' => '', - ], + [ + 'name' => 'ProxyRequestCPU', + 'in' => 'formData', + 'schema' => ['description' => 'The CPU resources required by the proxy.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '100m'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"Dashboards\\": [\\n {\\n \\"Url\\": \\"test.com\\",\\n \\"Title\\": \\"test\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>\\n<Dashboards>\\n <Title>test</Title>\\n <Url>test.com</Url>\\n</Dashboards>","errorExample":""}]', - 'title' => 'DescribeClusterGrafana', - 'summary' => 'Queries the information about Grafana dashboards of a cluster in a Service Mesh (ASM) instance.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeClusterPrometheus' => [ - 'summary' => 'Queries the public endpoint of the Prometheus service that is used to monitor a cluster in an Alibaba Cloud Service Mesh (ASM) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'ProxyRequestMemory', + 'in' => 'formData', + 'schema' => ['description' => 'The memory resources required by the proxy.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '128Mi'], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh33DK5F', + [ + 'name' => 'ProxyLimitCPU', + 'in' => 'formData', + 'schema' => ['description' => 'The CPU resource limit.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2000m'], ], - ], - 'parameters' => [ [ - 'name' => 'ServiceMeshId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cb8963379255149cb98c8686f274x****', - ], + 'name' => 'ProxyLimitMemory', + 'in' => 'formData', + 'schema' => ['description' => 'The memory resource limit.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1024Mi'], ], [ - 'name' => 'K8sClusterId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the cluster on the data plane.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ce3c25e247da24f3aab9b7edfae83****', - ], + 'name' => 'IncludeIPRanges', + 'in' => 'formData', + 'schema' => ['description' => 'The IP address ranges for which outbound traffic is intercepted.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '*'], ], [ - 'name' => 'K8sClusterRegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region where the cluster on the data plane resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'name' => 'ExcludeIPRanges', + 'in' => 'formData', + 'schema' => ['description' => 'The IP address ranges for which outbound traffic is not intercepted.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '100.100.XXX.XXX'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], - 'Prometheus' => [ - 'description' => 'The public endpoint of the Prometheus service that is used to monitor a cluster in the ASM instance.'."\n", - 'type' => 'string', - 'example' => 'p.com', - ], - ], - 'description' => '', - ], + [ + 'name' => 'ExcludeOutboundPorts', + 'in' => 'formData', + 'schema' => ['description' => 'A comma-separated list of outbound ports that are excluded from redirection.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '80,81'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Prometheus\\": \\"p.com\\",\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>\\n<Prometheus>p.com</Prometheus>","errorExample":""}]', - 'title' => 'DescribeClusterPrometheus', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeServiceMeshLogs' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'IncludeInboundPorts', + 'in' => 'formData', + 'schema' => ['description' => 'The inbound ports for which traffic is redirected to the sidecar proxy.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '80,81'], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ [ - 'name' => 'ServiceMeshId', + 'name' => 'ExcludeInboundPorts', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca04bc38979214bf2882be79d39b4****', - ], + 'schema' => ['description' => 'A comma-separated list of inbound ports that are excluded from redirection.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '80,81'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', - ], - 'Logs' => [ - 'description' => 'The details of the logs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CreationTime' => [ - 'description' => 'The point in time when the logs were generated.'."\n", - 'type' => 'string', - 'example' => '2021-11-19T15:21:53+08:00', - ], - 'ServiceMeshId' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'example' => 'ca04bc38979214bf2882be79d39b4****', - ], - 'Log' => [ - 'description' => 'The content of the logs.'."\n", - 'type' => 'string', - 'example' => '[RequestID: 31d3a0f0-07ed-4f6e-9004-1804498c****, UID-110982038403****] c096d641835af4658827a4c66c234**** | Start to add cluster c186a6d9641a24098b5499d4d8313****', - ], - ], - ], - ], - ], - ], + [ + 'name' => 'EnableNamespacesByDefault', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable automatic sidecar proxy injection for all namespaces. Valid values:'."\n" + ."\n" + .'- `true`: enables automatic sidecar proxy injection for all namespaces.'."\n" + ."\n" + .'- `false`: disables automatic sidecar proxy injection for all namespaces.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\",\\n \\"Logs\\": [\\n {\\n \\"CreationTime\\": \\"2021-11-19T15:21:53+08:00\\",\\n \\"ServiceMeshId\\": \\"ca04bc38979214bf2882be79d39b4****\\",\\n \\"Log\\": \\"[RequestID: 31d3a0f0-07ed-4f6e-9004-1804498c****, UID-110982038403****] c096d641835af4658827a4c66c234**** | Start to add cluster c186a6d9641a24098b5499d4d8313****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeServiceMeshLogsResponse>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n <Logs>\\n <CreationTime>2021-11-19T15:21:53+08:00</CreationTime>\\n <ServiceMeshId>ca04bc38979214bf2882be79d39b4****</ServiceMeshId>\\n <Log>[RequestID: 31d3a0f0-07ed-4f6e-9004-1804498c****, UID-110982038403****] c096d641835af4658827a4c66c234**** | Start to add cluster c186a6d9641a24098b5499d4d8313****</Log>\\n </Logs>\\n</DescribeServiceMeshLogsResponse>","errorExample":""}]', - 'title' => 'DescribeServiceMeshLogs', - 'summary' => 'Queries the logs of a Service Mesh (ASM) instance.', - ], - 'DescribeGuestClusterAccessLogDashboards' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'AutoInjectionPolicyEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable automatic sidecar proxy injection using pod annotations. Valid values:'."\n" + ."\n" + .'- `true`: enables automatic sidecar proxy injection using pod annotations.'."\n" + ."\n" + .'- `false`: disables automatic sidecar proxy injection using pod annotations.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ [ - 'name' => 'K8sClusterId', + 'name' => 'SidecarInjectorRequestCPU', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the cluster on the data plane.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ce3c25e247da24f3aab9b7edfae83****', - ], + 'schema' => ['description' => 'The CPU resource request of the sidecar injector pod.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1000m'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], - 'Dashboards' => [ - 'description' => 'The access log dashboards of the cluster on the data plane.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Url' => [ - 'description' => 'The URL of a dashboard.'."\n", - 'type' => 'string', - 'example' => 'test.com', - ], - 'Title' => [ - 'description' => 'The title of the dashboard.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], - 'K8sClusterId' => [ - 'description' => 'The ID of the cluster on the data plane.'."\n", - 'type' => 'string', - 'example' => 'ce3c25e247da24f3aab9b7edfae83****', - ], - ], - 'description' => '', - ], + [ + 'name' => 'SidecarInjectorRequestMemory', + 'in' => 'formData', + 'schema' => ['description' => 'The memory resource request of the sidecar injector pod.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '512Mi'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"K8sClusterId\\": \\"ce3c25e247da24f3aab9b7edfae83****\\",\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"Dashboards\\": [\\n {\\n \\"Url\\": \\"test.com\\",\\n \\"Title\\": \\"test\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>\\n<Dashboards>\\n <Title>test</Title>\\n <Url>test.com</Url>\\n</Dashboards>\\n<K8sClusterId>ce3c25e247da24f3aab9b7edfae83****</K8sClusterId>","errorExample":""}]', - 'title' => 'DescribeGuestClusterAccessLogDashboards', - 'summary' => 'Queries the access log dashboards of a cluster on the data plane.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetGrafanaDashboardUrl' => [ - 'summary' => 'Queries the Grafana dashboard URL from Application Real-Time Monitoring Service (ARMS).', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'SidecarInjectorLimitCPU', + 'in' => 'formData', + 'schema' => ['description' => 'The CPU resource limit of the sidecar injector pod.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '4000m'], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ [ - 'name' => 'ServiceMeshId', + 'name' => 'SidecarInjectorLimitMemory', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Service Mesh (ASM) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cb8963379255149cb98c8686f274x****', - ], + 'schema' => ['description' => 'The memory resource limit of the sidecar injector pod.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2048Mi'], ], [ - 'name' => 'K8sClusterId', + 'name' => 'SidecarInjectorWebhookAsYaml', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Container Service for Kubernetes (ACK) or ACK Serverless cluster.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c94ca2d27f7aa47ab84ed73e6f084****', - ], + 'schema' => ['description' => 'Other configurations for automatic sidecar proxy injection. The value must be in the YAML format.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"injectedAnnotations":{"test/istio-init":"runtime/default2","test/istio-proxy":"runtime/default"},"replicaCount":2,"nodeSelector":{"beta.kubernetes.io/os":"linux"}}'], ], [ - 'name' => 'Title', + 'name' => 'CniEnabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the dashboard.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'Cloud ASM Istio Http Gateway', - ], + 'schema' => ['description' => 'Specifies whether to enable Container Network Interface (CNI). Valid values:'."\n" + ."\n" + .'- `true`: enables CNI.'."\n" + ."\n" + .'- `false`: disables CNI.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'CniExcludeNamespaces', + 'in' => 'formData', + 'schema' => ['description' => 'The namespaces that are excluded from CNI.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'kube-system'], + ], + [ + 'name' => 'OpaEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable OPA. Valid values:'."\n" + ."\n" + .'- `true`: enables OPA.'."\n" + ."\n" + .'- `false`: disables OPA.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'Http10Enabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable support for HTTP 1.0. Valid values:'."\n" + ."\n" + .'- `true`: enables support for HTTP 1.0.'."\n" + ."\n" + .'- `false`: disables support for HTTP 1.0.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'KialiEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable the mesh topology feature. To enable this feature, you must first enable Prometheus to collect metrics. If you disable Prometheus to collect metrics, this feature is forcibly disabled. Valid values:'."\n" + ."\n" + .'- `true`: enables the mesh topology feature.'."\n" + ."\n" + .'- `false`: disables the mesh topology feature.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'CustomizedPrometheus', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to use a self-managed Prometheus instance. Valid values:'."\n" + ."\n" + .'- `true`: uses a self-managed Prometheus instance.'."\n" + ."\n" + .'- `false`: does not use a self-managed Prometheus instance.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'PrometheusUrl', + 'in' => 'formData', + 'schema' => ['description' => 'The endpoint of the Prometheus service. If you do not use a self-managed Prometheus instance, use the endpoint of an ARMS Prometheus instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'http://prometheus:9090'], + ], + [ + 'name' => 'AccessLogEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable access log collection. Valid values:'."\n" + ."\n" + .'- `true`: enables access log collection.'."\n" + ."\n" + .'- `false`: disables access log collection.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'MSEEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable Microservices Engine (MSE). Valid values:'."\n" + ."\n" + .'- `true`: enables MSE.'."\n" + ."\n" + .'- `false`: disables MSE.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'deprecated' => true, 'required' => false, 'docRequired' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'RedisFilterEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable the Redis filter. Valid values:'."\n" + ."\n" + .'- `true`: enables the Redis filter.'."\n" + ."\n" + .'- `false`: disables the Redis filter.'."\n" + .' Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'MysqlFilterEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable the MySQL filter. Valid values:'."\n" + ."\n" + .'- `true`: enables the MySQL filter.'."\n" + ."\n" + .'- `false`: disables the MySQL filter.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'ThriftFilterEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable the Thrift filter. Valid values:'."\n" + ."\n" + .'- `true`: enables the Thrift filter.'."\n" + ."\n" + .'- `false`: disables the Thrift filter.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'WebAssemblyFilterEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable the WebAssembly filter. Valid values:'."\n" + ."\n" + .'- `true`: enables the WebAssembly filter.'."\n" + ."\n" + .'- `false`: disables the WebAssembly filter.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'DNSProxyingEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable DNS proxying. Valid values:'."\n" + ."\n" + .'- `true`: enables DNS proxying.'."\n" + ."\n" + .'- `false`: disables DNS proxying.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'DubboFilterEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable the Dubbo filter. Valid values:'."\n" + ."\n" + .'- `true`: enables the Dubbo filter.'."\n" + ."\n" + .'- `false`: disables the Dubbo filter.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'FilterGatewayClusterConfig', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable gateway configuration filtering. Valid values:'."\n" + ."\n" + .'- `true`: enables gateway configuration filtering.'."\n" + ."\n" + .'- `false`: disables gateway configuration filtering.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'EnableSDSServer', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable the Secret Discovery Service (SDS). Valid values:'."\n" + ."\n" + .'- `true`: enables the SDS.'."\n" + ."\n" + .'- `false`: disables the SDS.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'AccessLogServiceEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable the gRPC Access Log Service (ALS) of Envoy. Valid values:'."\n" + ."\n" + .'- `true`: enables the gRPC ALS of Envoy.'."\n" + ."\n" + .'- `false`: disables the gRPC ALS of Envoy.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'AccessLogServiceHost', + 'in' => 'formData', + 'schema' => ['description' => 'The endpoint of the gRPC ALS of Envoy.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '0.0.0.0'], + ], + [ + 'name' => 'AccessLogServicePort', + 'in' => 'formData', + 'schema' => ['description' => 'The port of the gRPC ALS of Envoy.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '9999'], + ], + [ + 'name' => 'GatewayAPIEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable Gateway API. Valid values:'."\n" + ."\n" + .'- `true`: enables Gateway API.'."\n" + ."\n" + .'- `false`: disables Gateway API.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'ConfigSourceEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to use an external service registry. Valid values:'."\n" + ."\n" + .'- `true`: uses an external service registry.'."\n" + ."\n" + .'- `false`: does not use an external service registry.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'ConfigSourceNacosID', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the Nacos instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'mse-cn-tl326******'], + ], + [ + 'name' => 'AccessLogFormat', + 'in' => 'formData', + 'schema' => ['description' => 'The custom format of access logs. This parameter is ignored if access log collection is disabled. The value must be a JSON string. The JSON string must contain the following keys: authority\\_for, bytes\\_received, bytes\\_sent, downstream\\_local\\_address, downstream\\_remote\\_address, duration, istio\\_policy\\_status, method, path, protocol, requested\\_server\\_name, response\\_code, response\\_flags, route\\_name, start\\_time, trace\\_id, upstream\\_cluster, upstream\\_host, upstream\\_local\\_address, upstream\\_service\\_time, upstream\\_transport\\_failure\\_reason, user\\_agent, and x\\_forwarded\\_for.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"authority_for":"%REQ(:AUTHORITY)%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","duration":"%DURATION%","istio_policy_status":"%DYNAMIC_METADATA(istio.mixer:status)%","method":"%REQ(:METHOD)%","path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","request_id":"%REQ(X-REQUEST-ID)%","requested_server_name":"%REQUESTED_SERVER_NAME%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","route_name":"%ROUTE_NAME%","start_time":"%START_TIME%","trace_id":"%REQ(X-B3-TRACEID)%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_host":"%UPSTREAM_HOST%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","upstream_service_time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","user_agent":"%REQ(USER-AGENT)%","x_forwarded_for":"%REQ(X-FORWARDED-FOR)%"}'], + ], + [ + 'name' => 'AccessLogFile', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable access logs. Valid values:'."\n" + ."\n" + .'- `""`: disables access logs.'."\n" + ."\n" + .'- `/dev/stdout`: enables access logs.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '“”'], + ], + [ + 'name' => 'AccessLogProject', + 'in' => 'formData', + 'schema' => ['description' => 'The custom SLS project to which access logs are collected.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'mesh-log-cf245a429b6ff4b6e97f20797758e****'], + ], + [ + 'name' => 'EnableCRHistory', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable the history revision management feature for Istio resources in Service Mesh (ASM).', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'CRAggregationEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable data plane clusters to access Istio resources using the Kubernetes API. This feature is available only for ASM instances of v1.9.7.93 or later.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'TerminationDrainDuration', + 'in' => 'formData', + 'schema' => ['description' => 'The duration for which the istio-proxy container waits for connections to drain before termination. For example, a value of 5s indicates 5 seconds.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '5s'], + ], + [ + 'name' => 'ProxyInitCPUResourceLimit', + 'in' => 'formData', + 'schema' => ['description' => 'The CPU resource limit of the istio-init container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2000m'], + ], + [ + 'name' => 'ProxyInitMemoryResourceLimit', + 'in' => 'formData', + 'schema' => ['description' => 'The memory resource limit of the istio-init container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1024Mi'], + ], + [ + 'name' => 'ProxyInitCPUResourceRequest', + 'in' => 'formData', + 'schema' => ['description' => 'The CPU resource request of the istio-init container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10m'], + ], + [ + 'name' => 'ProxyInitMemoryResourceRequest', + 'in' => 'formData', + 'schema' => ['description' => 'The memory resource request of the istio-init container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10Mi'], + ], + [ + 'name' => 'Lifecycle', + 'in' => 'formData', + 'schema' => ['description' => 'The lifecycle of the istio-proxy container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"postStart":{"exec":{"command":["pilot-agent","wait"]}},"preStop":{"exec":{"command":["/bin/sh","-c","sleep 15"]}}}'], + ], + [ + 'name' => 'MultiBufferEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable the MultiBuffer-based acceleration feature.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'MultiBufferPollDelay', + 'in' => 'formData', + 'schema' => ['description' => 'The polling delay for the MultiBuffer feature. The default value is empty.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '0.02s'], + ], + [ + 'name' => 'DiscoverySelectors', + 'in' => 'formData', + 'schema' => ['description' => 'The label selectors for the namespaces of the data plane. The selectors are used for selective service discovery.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '[{"matchExpressions":[{"key":"asm-discovery","operator":"Exists"}]}]'], + ], + [ + 'name' => 'ClusterSpec', + 'in' => 'formData', + 'schema' => ['description' => 'The instance type of the service mesh. Valid values:'."\n" + ."\n" + .'- `standard`: Standard Edition.'."\n" + ."\n" + .'- `enterprise`: Enterprise Edition.'."\n" + ."\n" + .'- `ultimate`: Ultimate Edition.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'standard'], + ], + [ + 'name' => 'OPAScopeInjected', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable OPA injection scope control. Valid values:'."\n" + ."\n" + .'- `true`: enables OPA injection scope control.'."\n" + ."\n" + .'- `false`: disables OPA injection scope control.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'OPAInjectorCPURequirement', + 'in' => 'formData', + 'schema' => ['description' => 'The minimum number of CPU cores that are requested by the pod responsible for OPA proxy injection. For example, `1000m` indicates one CPU core.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '80m'], + ], + [ + 'name' => 'OPAInjectorMemoryRequirement', + 'in' => 'formData', + 'schema' => ['description' => 'The minimum memory that is requested by the pod responsible for OPA proxy injection. For example, `50Mi` indicates 50 MB.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '50Mi'], + ], + [ + 'name' => 'OPAInjectorCPULimit', + 'in' => 'formData', + 'schema' => ['description' => 'The maximum number of CPU cores that are allowed for the pod responsible for OPA proxy injection. For example, `1000m` indicates one CPU core.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1000m'], + ], + [ + 'name' => 'OPAInjectorMemoryLimit', + 'in' => 'formData', + 'schema' => ['description' => 'The maximum memory that is allowed for the pod responsible for OPA proxy injection. For example, `1024Mi` indicates 1024 MB.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1024Mi'], + ], + [ + 'name' => 'IntegrateKiali', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to create a Classic Load Balancer (CLB) instance for accessing the ASM mesh topology.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'NFDEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable automatic node feature discovery.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'NFDLabelPruned', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to remove the feature labels from nodes when you disable automatic node feature discovery.'."\n" + ."\n" + .'This parameter is required only when you set `NFDEnabled` to `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'TracingOnExtZipkinRequestCPU', + 'in' => 'formData', + 'schema' => ['description' => 'The minimum number of CPU cores that are requested by the proxy service for exporting Tracing Analysis data. For example, `1000m` indicates one CPU core.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '200m'], + ], + [ + 'name' => 'TracingOnExtZipkinRequestMemory', + 'in' => 'formData', + 'schema' => ['description' => 'The minimum memory that is requested by the proxy service for exporting Tracing Analysis data. For example, `1Mi` indicates 1 MB.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '200Mi'], + ], + [ + 'name' => 'TracingOnExtZipkinLimitCPU', + 'in' => 'formData', + 'schema' => ['description' => 'The maximum number of CPU cores that are allowed for the proxy service for exporting Tracing Analysis data. For example, `1000m` indicates one CPU core.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1000Mi'], + ], + [ + 'name' => 'TracingOnExtZipkinLimitMemory', + 'in' => 'formData', + 'schema' => ['description' => 'The maximum memory that is allowed for the proxy service for exporting Tracing Analysis data. For example, `1Mi` indicates 1 MB.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1024Mi'], + ], + [ + 'name' => 'TracingOnExtZipkinReplicaCount', + 'in' => 'formData', + 'schema' => ['description' => 'The number of replicas for the proxy service that exports Tracing Analysis data.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2'], + ], + [ + 'name' => 'AccessLogGatewayLifecycle', + 'in' => 'formData', + 'schema' => ['description' => 'The retention period of the access logs of the ingress gateway that are collected in SLS. Unit: days. For example, `30` indicates 30 days.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '30'], + ], + [ + 'name' => 'AccessLogSidecarLifecycle', + 'in' => 'formData', + 'schema' => ['description' => 'The retention period of the access logs of the sidecar proxy that are collected in SLS. Unit: days. For example, `30` indicates 30 days.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '30'], + ], + [ + 'name' => 'EnableAutoDiagnosis', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable automatic diagnostics for the service mesh. If you enable this feature, the service mesh is automatically diagnosed when you modify an Istio resource in the service mesh.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], + ], + [ + 'name' => 'IncludeOutboundPorts', + 'in' => 'formData', + 'schema' => ['description' => 'The outbound ports for which traffic is redirected to the sidecar proxy.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '8000,8001'], + ], + [ + 'name' => 'LogLevel', + 'in' => 'formData', + 'schema' => ['description' => 'The log level of the sidecar proxy on the data plane. The log levels are sorted in ascending order of the log verbosity: `none`, `error`, `warn`, `info`, and `debug`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'info'], + ], + [ + 'name' => 'Concurrency', + 'in' => 'formData', + 'schema' => ['description' => 'The degree of parallelism for the sidecar proxy on the data plane.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '2'], + ], + [ + 'name' => 'HoldApplicationUntilProxyStarts', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to wait for the sidecar proxy container to start before the application container starts when a pod is being started.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], + ], + [ + 'name' => 'ProxyStatsMatcher', + 'in' => 'formData', + 'schema' => ['description' => 'The additional metrics that are reported by the sidecar proxy on the data plane.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"inclusionRegexps":".*adaptive_concurrency.*"}'], + ], + [ + 'name' => 'InterceptionMode', + 'in' => 'formData', + 'schema' => ['description' => 'The mode of inbound traffic interception by the sidecar proxy. Valid values:'."\n" + ."\n" + .'- `REDIRECT`: the default interception mode. The sidecar proxy intercepts inbound traffic using redirection.'."\n" + ."\n" + .'- `TPROXY`: the transparent proxy mode. The sidecar proxy intercepts inbound traffic using a transparent proxy.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'TPROXY'], + ], + [ + 'name' => 'EnableBootstrapXdsAgent', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to load the bootstrap configurations before the sidecar proxy starts.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], + ], + [ + 'name' => 'KialiArmsAuthTokens', + 'in' => 'formData', + 'schema' => ['description' => 'If you enable the mesh topology feature and use ARMS Prometheus to collect metrics, and the ARMS Prometheus instance has a token-based authentication configuration, you can use this parameter to specify the authentication token. This authorizes the mesh topology to access the ARMS Prometheus instance.'."\n" + .'The value is a JSON-encoded string. The key in the JSON object is the ID of the data plane cluster, and the value is the authentication token of the ARMS Prometheus instance that is installed in the data plane cluster.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"c31e3b******5634b":"token_example"}'], + ], + [ + 'name' => 'DefaultComponentsScheduleConfig', + 'in' => 'formData', + 'schema' => ['description' => 'The default scheduling configurations that ASM delivers to the data plane components. You can configure `nodeSelector` and `tolerations` in the JSON format.'."\n" + ."\n" + .'> - Modifying this parameter is a high-risk operation. This operation restarts all data plane components in the ASM instance. Proceed with caution.'."\n" + .'>'."\n" + .'> - These configurations do not apply to ASM gateways. To configure scheduling for an ASM gateway, specify the scheduling configurations in the gateway settings.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"tolerations":[{"key":"test-taints", "operator":"Exists", "effect":"NoSchedule"}], "nodeSelector":{"kubernetes.io/hostname":"test-nodes"}}'], + ], + [ + 'name' => 'KialiServiceAnnotations', + 'in' => 'formData', + 'schema' => ['description' => 'If you enable the mesh topology feature and create a CLB instance to access the mesh topology, you can use this parameter to configure the CLB instance for the mesh topology service in different clusters using annotations.'."\n" + ."\n" + .'The value is a JSON-encoded string. The key in the JSON object is the ID of the data plane cluster, and the value is the annotation of the mesh topology service in the data plane cluster.'."\n" + ."\n" + .'For more information about how to configure a CLB instance using annotations, see <props="intl">[Use annotations to configure a Classic Load Balancer (CLB) instance](https://www.alibabacloud.com/help/container-service-for-kubernetes/latest/use-annotations-to-configure-load-balancing-1)</props>.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"c31e3b******5634b":{"service.beta.kubernetes.io/alibaba-cloud-loadbalancer-address-type":"intranet"}}'], + ], + [ + 'name' => 'AccessLogGatewayEnabled', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to collect the access logs of the ASM gateway to Simple Log Service.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'AccessLogSidecarEnabled', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to collect the access logs of the sidecar proxy to Simple Log Service.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'LabelsForOffloadedWorkloads', + 'in' => 'query', + 'schema' => ['description' => 'The labels of the workloads that are offloaded.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'name=xx,region=xx'], + ], + [ + 'name' => 'ExistingRootCaCert', + 'in' => 'formData', + 'schema' => ['description' => 'The new root certificate. You can modify this parameter only if you used a custom certificate when you created the service mesh.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Base64-encoded PEM certificate.'], + ], + [ + 'name' => 'ExistingCaCert', + 'in' => 'formData', + 'schema' => ['description' => 'The new CA certificate. You can modify this parameter only if you used a custom certificate when you created the service mesh.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Base64-encoded PEM certificate.'], + ], + [ + 'name' => 'ExistingCaKey', + 'in' => 'formData', + 'schema' => ['description' => 'The new CA key. You can modify this parameter only if you used a custom certificate when you created the service mesh.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Base64-encoded PEM private key.'], + ], + [ + 'name' => 'CertChain', + 'in' => 'formData', + 'schema' => ['description' => 'The certificate chain from the CA certificate to the root certificate. The certificate chain must contain at least two certificates.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Base64-encoded PEM certificate chain.'], + ], + [ + 'name' => 'SMCEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to install SMC acceleration.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'PilotEnableQuicListeners', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable HTTP/3 support.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], ], 'responses' => [ @@ -12302,47 +11165,74 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '76DBB8A0-5AA6-5A56-9A8A-****', - ], - 'Dashboards' => [ - 'description' => 'The information about the dashboard.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Url' => [ - 'description' => 'The URL of the dashboard.'."\n", - 'type' => 'string', - 'example' => 'https://g.console.aliyun.com/d/181863583797****-14651340-200-2/alibaba-cloud-mesh-service?orgId=32****&refresh=60s', - ], - 'Title' => [ - 'description' => 'The name of the dashboard.'."\n", - 'type' => 'string', - 'example' => 'Cloud ASM Istio Http Gateway', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"76DBB8A0-5AA6-5A56-9A8A-****\\",\\n \\"Dashboards\\": [\\n {\\n \\"Url\\": \\"https://g.console.aliyun.com/d/181863583797****-14651340-200-2/alibaba-cloud-mesh-service?orgId=32****&refresh=60s\\",\\n \\"Title\\": \\"Cloud ASM Istio Http Gateway\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetGrafanaDashboardUrlResponse>\\n <RequestId>76DBB8A0-5AA6-5A56-9A8A-****</RequestId>\\n <Dashboards>\\n <Url>https://g.console.aliyun.com/d/181863583797****-14651340-200-2/alibaba-cloud-mesh-service?orgId=32****&refresh=60s</Url>\\n <Title>Cloud ASM Istio Http Gateway</Title>\\n </Dashboards>\\n</GetGrafanaDashboardUrlResponse>","errorExample":""}]', - 'title' => 'GetGrafanaDashboardUrl', - ], - 'UpgradeMeshVersion' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","type":"json"}]', + 'title' => 'UpdateMeshFeature', + 'summary' => 'Updates the features of a service mesh.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-26T08:40:48.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-06-24T09:54:49.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-05-17T10:24:01.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-02-04T03:23:43.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-01-27T09:12:01.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-01-15T09:32:53.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-31T07:03:48.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-06-02T01:57:38.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-13T07:00:20.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-03-17T06:58:27.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-11-30T04:07:25.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-11-02T03:03:10.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-08-17T07:06:07.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-06-30T10:06:31.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-03-03T13:48:29.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-03-03T13:48:29.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-11-05T10:06:32.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-11-04T11:26:49.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-11-02T03:19:53.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-10-28T04:07:14.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-09-26T08:21:38.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-09-06T03:26:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-09-06T03:26:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-08-17T03:54:31.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-05-25T08:25:08.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-05-17T11:45:59.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-03-30T09:44:18.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-03-30T09:44:18.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateMeshFeature'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateMeshFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'UpdateMeshMultiClusterNetwork' => [ + 'summary' => 'Updates the network partition configuration for multiple Kubernetes clusters in a service mesh.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12352,58 +11242,87 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', + 'chargeType' => 'paid', + 'abilityTreeCode' => '223128', + 'abilityTreeNodes' => ['FEATUREservicemesh4LB119'], ], 'parameters' => [ [ 'name' => 'ServiceMeshId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cb8963379255149cb98c8686f274x****'], ], [ - 'name' => 'PreCheck', - 'in' => 'query', + 'name' => 'MultiClusterNetworks', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => 'Specifies whether to perform a precheck. Default value: false. If this parameter is set to true, this call only checks whether the current ASM instance meets the upgrade conditions and does not actually perform an upgrade.'."\n", - 'type' => 'boolean', + 'description' => 'A map that contains the network partition configurations for multiple Kubernetes clusters. The key is the cluster ID and the value is the network partition configuration.', + 'type' => 'object', 'required' => false, - 'example' => 'false', + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'Network' => ['type' => 'string', 'required' => false, 'description' => 'The name of the network partition.', 'title' => '', 'example' => 'network1'], + 'EnableGateway' => ['type' => 'boolean', 'required' => false, 'description' => 'Specifies whether to enable east-west gateway access for the cluster.'."\n" + ."\n" + .'- true: East-west gateway access is enabled.'."\n" + ."\n" + .'- false: East-west gateway access is disabled.', 'title' => '', 'example' => 'true'], + 'CustomGatewayAddress' => ['type' => 'string', 'required' => false, 'description' => 'The custom endpoint for the east-west gateway. The format is \\`ip:port\\`.', 'title' => '', 'example' => '8.16x.1x.1x:15443'], + ], + 'description' => 'The network partition configuration for the Kubernetes cluster.', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", + 'title' => 'Schema of Response', + 'description' => 'The response schema.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '11fd0027-c27e-41bb-a565-75583054****', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"11fd0027-c27e-41bb-a565-75583054****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpgradeMeshVersionResponse>\\n <RequestId>17056026-31A7-1473-B6DA-XXXXXXXXXXXX</RequestId>\\n</UpgradeMeshVersionResponse>","errorExample":""}]', - 'title' => 'UpgradeMeshVersion', - 'summary' => 'Updates the version of a Service Mesh (ASM) instance.', - ], - 'UpgradeMeshEditionPartially' => [ - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 404 => [ + ['errorCode' => 'ERR404', 'errorMessage' => 'Not found', 'description' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'UpdateMeshMultiClusterNetwork', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateMeshMultiClusterNetwork', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","type":"json"}]', + ], + 'UpdateNamespaceScopeSidecarConfig' => [ + 'summary' => 'You can call the UpdateNamespaceScopeSidecarConfig operation to update the sidecar configurations for a namespace.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12413,755 +11332,361 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '114945', + 'abilityTreeNodes' => ['FEATUREservicemeshB27TWZ'], ], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca04bc38979214bf2882be79d39b4****', - ], + 'schema' => ['description' => 'The ASM instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ca04bc38979214bf2882be79d39b4****'], ], [ - 'name' => 'SwitchToPro', + 'name' => 'Namespace', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to upgrade the ASM instance to Professional Edition. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'deprecated' => true, - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The namespace.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], ], [ - 'name' => 'ASMGatewayContinue', + 'name' => 'IncludeIPRanges', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to upgrade the ASM gateways for the ASM instance. Valid values:'."\n" - ."\n" - .'* `true`'."\n" - .'* `false`'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The IP address ranges for outbound traffic that is intercepted by the sidecar proxy. This corresponds to the `global.proxy.includeIPRanges` field.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '*'], ], [ - 'name' => 'UpgradeGatewayRecords', + 'name' => 'ExcludeIPRanges', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies the ASM gateways to be upgraded. Separate multiple ASM gateways with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ingressgateway1,ingressgateway2', - ], + 'schema' => ['description' => 'The IP address ranges for outbound traffic that is not intercepted by the sidecar proxy. This corresponds to the `global.proxy.excludeIPRanges` field.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '172.16.0.0/12'], ], [ - 'name' => 'ExpectedVersion', + 'name' => 'IncludeInboundPorts', 'in' => 'formData', - 'schema' => [ - 'description' => 'The expected version that desired to be upgraded to.', - 'type' => 'string', - 'required' => false, - 'example' => 'v1.15.3.118-g4712daf0-aliyun', - ], + 'schema' => ['description' => 'The inbound ports for which traffic is intercepted by the sidecar proxy.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '83'], ], [ - 'name' => 'PreCheck', + 'name' => 'ExcludeOutboundPorts', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to perform an upgrade check. If the value of this parameter is set to true, only the upgrade check is performed and the ASM instance is not upgraded.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => 'The returned results.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****', - ], - ], - ], + 'schema' => ['description' => 'The outbound ports for which traffic is not intercepted by the sidecar proxy.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '81'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpgradeMeshEditionPartiallyResponse>\\n <RequestId>31d3a0f0-07ed-4f6e-9004-1804498c****</RequestId>\\n</UpgradeMeshEditionPartiallyResponse>","errorExample":""}]', - 'title' => 'UpgradeMeshEditionPartially', - 'summary' => 'Upgrades a Service Mesh (ASM) instance to Professional Edition that is commercially released.', - ], - 'DescribeUpgradeVersion' => [ - 'summary' => 'Queries the update status of a Service Mesh (ASM) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'ExcludeInboundPorts', + 'in' => 'formData', + 'schema' => ['description' => 'The inbound ports for which traffic is not intercepted by the sidecar proxy.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '82'], ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh4LB119', + [ + 'name' => 'IncludeOutboundPorts', + 'in' => 'formData', + 'schema' => ['description' => 'The outbound ports for which traffic is intercepted by the sidecar proxy.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '84'], ], - ], - 'parameters' => [ [ - 'name' => 'ServiceMeshId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - ], + 'name' => 'TerminationDrainDuration', + 'in' => 'formData', + 'schema' => ['description' => 'The duration for which the sidecar proxy waits for active connections to terminate.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '6s'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '11fd0027-c27e-41bb-a565-75583054****', - ], - 'Version' => [ - 'description' => 'The version information.'."\n", - 'type' => 'object', - 'properties' => [ - 'KubernetesVersion' => [ - 'description' => 'The Kubernetes version.'."\n", - 'type' => 'string', - 'example' => 'v1.24.6-aliyun.1', - ], - 'IstioOperatorVersion' => [ - 'description' => 'The version of the ASM instance.'."\n", - 'type' => 'string', - 'example' => 'v1.17.2.42-gf7619883-aliyun', - ], - 'IstioVersion' => [ - 'description' => 'The Istio version.'."\n", - 'type' => 'string', - 'example' => '1.17.2', - ], - ], - ], - ], - ], + [ + 'name' => 'ProxyInitCPUResourceLimit', + 'in' => 'formData', + 'schema' => ['description' => 'The CPU limit for the sidecar proxy init container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2000 m'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"11fd0027-c27e-41bb-a565-75583054****\\",\\n \\"Version\\": {\\n \\"KubernetesVersion\\": \\"v1.24.6-aliyun.1\\",\\n \\"IstioOperatorVersion\\": \\"v1.17.2.42-gf7619883-aliyun\\",\\n \\"IstioVersion\\": \\"1.17.2\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeUpgradeVersionResponse>\\n <RequestId>11fd0027-c27e-41bb-a565-75583054****</RequestId>\\n <Version>\\n <KubernetesVersion>1.20</KubernetesVersion>\\n <IstioOperatorVersion>v1.10.5.34-g7689a219-aliyun</IstioOperatorVersion>\\n <IstioVersion>1.10.5.34</IstioVersion>\\n </Version>\\n</DescribeUpgradeVersionResponse>","errorExample":""}]', - 'title' => 'DescribeUpgradeVersion', - ], - 'DescribeServiceMeshUpgradeStatus' => [ - 'summary' => 'Queries the upgrade details of a Service Mesh (ASM) instance and its ingress gateways.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'ProxyInitMemoryResourceLimit', + 'in' => 'formData', + 'schema' => ['description' => 'The memory limit for the sidecar proxy init container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '50 Mi'], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ [ - 'name' => 'ServiceMeshId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '11fd0027-c27e-41bb-a565-75583054****', - ], + 'name' => 'ProxyInitCPUResourceRequest', + 'in' => 'formData', + 'schema' => ['description' => 'The CPU resource request for the sidecar proxy init container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '60 m'], ], [ - 'name' => 'GuestClusterIds', + 'name' => 'ProxyInitMemoryResourceRequest', 'in' => 'formData', - 'schema' => [ - 'description' => 'The IDs of the clusters on the data plane of the ASM instance. Separate multiple clusters with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'caeac85a793c94afbbb0a4bb20320****', - ], + 'schema' => ['description' => 'The memory resource request for the sidecar proxy init container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '30 Mi'], ], [ - 'name' => 'AllIstioGatewayFullNames', + 'name' => 'SidecarProxyCPUResourceLimit', 'in' => 'formData', - 'schema' => [ - 'description' => 'The fully qualified names of ingress gateways in the ASM instance. Separate multiple names with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'istio-system:ingressgateway1,istio-system:ingressgateway2', - ], + 'schema' => ['description' => 'The CPU limit for the sidecar proxy container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2000 m'], ], - ], - 'responses' => [ - 200 => [ - 'headers' => [], - 'schema' => [ - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '11fd0027-c27e-41bb-a565-75583054****', - ], - 'UpgradeDetail' => [ - 'description' => 'The upgrade results.'."\n", - 'type' => 'object', - 'properties' => [ - 'FinishedGatewaysNum' => [ - 'description' => 'The number of ingress gateways that are upgraded.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'MeshStatus' => [ - 'description' => 'The status of the ASM instance. Valid values:'."\n" - ."\n" - .'* running: The instance is running.'."\n" - .'* `upgrading`: The instance is being upgraded.'."\n" - .'* `upgrading_failed`: The upgrade of the instance fails.'."\n", - 'type' => 'string', - 'example' => 'running', - ], - 'TotalGatewaysNum' => [ - 'description' => 'The total number of ingress gateways in the ASM instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'GatewayStatusRecord' => [ - 'description' => 'The information about the status of the ingress gateways.'."\n", - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'type' => 'string', - 'description' => 'The upgrade status of the ingress gateway. Valid values:'."\n" - ."\n" - .'* `upgrading`: The ingress gateway is being upgraded.'."\n" - .'* `pending`: The ingress gateway waits to be upgraded.'."\n" - .'* `finished`: The ingress gateway upgrade is complete.'."\n" - .'* `notStart`: The ingress gateway upgrade does not start.'."\n" - .'* `failed`: The ingress gateway upgrade fails.'."\n" - .'* `unknown`: The upgrade status of the ingress gateway is unknown.'."\n", - 'example' => 'upgrading', - ], - 'Message' => [ - 'type' => 'string', - 'example' => 'success', - 'description' => 'Additional status information of the ingress gateway.'."\n", - ], - 'Version' => [ - 'type' => 'string', - 'example' => '1.9.7', - 'description' => 'The version of the ingress gateway.'."\n", - ], - ], - 'description' => 'The status of the ingress gateway.'."\n", - ], - ], - ], - ], - ], - ], + [ + 'name' => 'SidecarProxyMemoryResourceLimit', + 'in' => 'formData', + 'schema' => ['description' => 'The memory limit for the sidecar proxy container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '50 Mi'], ], - ], - 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'ERR404', - 'errorMessage' => 'Not found', - ], + [ + 'name' => 'SidecarProxyCPUResourceRequest', + 'in' => 'formData', + 'schema' => ['description' => 'The CPU resource request for the sidecar proxy container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '60 m'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"11fd0027-c27e-41bb-a565-75583054****\\",\\n \\"UpgradeDetail\\": {\\n \\"FinishedGatewaysNum\\": 1,\\n \\"MeshStatus\\": \\"running\\",\\n \\"TotalGatewaysNum\\": 2,\\n \\"GatewayStatusRecord\\": {\\n \\"key\\": {\\n \\"Status\\": \\"upgrading\\",\\n \\"Message\\": \\"success\\",\\n \\"Version\\": \\"1.9.7\\"\\n }\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeServiceMeshUpgradeStatusResponse>\\n <RequestId>11fd0027-c27e-41bb-a565-75583054****</RequestId>\\n <UpgradeDetail>\\n <FinishedGatewaysNum>1</FinishedGatewaysNum>\\n <MeshStatus>running</MeshStatus>\\n <TotalGatewaysNum>2</TotalGatewaysNum>\\n <GatewayStatusRecord>\\n <key>\\n <Status>upgrading</Status>\\n <Message>success</Message>\\n <Version>1.9.7</Version>\\n </key>\\n </GatewayStatusRecord>\\n </UpgradeDetail>\\n</DescribeServiceMeshUpgradeStatusResponse>","errorExample":""}]', - 'title' => 'DescribeServiceMeshUpgradeStatus', - ], - 'CreateSwimLane' => [ - 'summary' => 'Creates a lane.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'SidecarProxyMemoryResourceRequest', + 'in' => 'formData', + 'schema' => ['description' => 'The memory resource request for the sidecar proxy container.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '30 Mi'], ], - ], - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], - 'parameters' => [ [ - 'name' => 'ServiceMeshId', + 'name' => 'Lifecycle', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Service Mesh (ASM) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '*****', - ], + 'schema' => ['description' => 'The lifecycle of the sidecar proxy.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"postStart":{"exec":{"command":["pilot-agent","wait"]}},"preStop":{"exec":{"command":["/bin/sh","-c","sleep 15"]}}}'], ], [ - 'name' => 'SwimLaneName', + 'name' => 'IstioDNSProxyEnabled', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the lane.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 's3', - ], + 'schema' => ['description' => 'Specifies whether to enable the DNS proxy feature. Valid values:'."\n" + ."\n" + .'- `true`: enables the DNS proxy feature.'."\n" + ."\n" + .'- `false`: disables the DNS proxy feature.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], ], [ - 'name' => 'LabelSelectorKey', + 'name' => 'PostStart', 'in' => 'formData', - 'schema' => [ - 'description' => 'The label key of the associated service workload. Set the value to `ASM_TRAFFIC_TAG`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ASM_TRAFFIC_TAG', - ], + 'schema' => ['description' => 'The parameters that are executed after the istio-proxy container starts.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"exec":{"command":["pilot-agent","wait"]}}'], ], [ - 'name' => 'ServicesList', + 'name' => 'PreStop', 'in' => 'formData', - 'schema' => [ - 'description' => 'The list of services associated with the lane. The value is a JSON array. The format of a single service is `$Cluster name/$Cluster ID/$Namespace/$Service name`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '[\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka\\",\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb\\",\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc\\"]', - ], + 'schema' => ['description' => 'The parameters that are executed before the istio-proxy container stops.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"exec":{"command":["/bin/sh","-c","sleep 15"]}}'], ], [ - 'name' => 'LabelSelectorValue', + 'name' => 'Concurrency', 'in' => 'formData', - 'schema' => [ - 'description' => 'The label value of the associated service workload.``'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'v3', - ], + 'schema' => ['description' => 'The number of concurrent threads for the istio-proxy.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '2'], ], [ - 'name' => 'GroupName', + 'name' => 'ProxyStatsMatcher', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the lane group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The metrics that are used for Envoy monitoring and statistics. The value is in the JSON format.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{ "inclusionPrefixes": [ "cluster.outbound", "cluster_manager", "listener_manager", "server", "cluster.xds-grpc" ], "inclusionRegexps": [ "listener.*.downstream_cx_total", "listener.*.downstream_cx_active" ] }'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '*****', - ], - ], - 'description' => '', - ], + [ + 'name' => 'HoldApplicationUntilProxyStarts', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to wait for the istio-proxy container to start before the application starts. Valid values:'."\n" + ."\n" + .'- `true`: waits for the istio-proxy container to start before the application starts.'."\n" + ."\n" + .'- `false`: does not wait for the istio-proxy container to start before the application starts.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"*****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateSwimLaneResponse>\\n <RequestId>*****</RequestId>\\n</CreateSwimLaneResponse>","errorExample":""}]', - 'title' => 'CreateSwimLane', - ], - 'CreateSwimLaneGroup' => [ - 'summary' => 'Creates a lane group.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'LogLevel', + 'in' => 'formData', + 'schema' => ['description' => 'The log level. Valid values: `info`, `debug`, `tracing`, and `error`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'info'], ], - ], - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '153455', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh22WM61', + [ + 'name' => 'Tracing', + 'in' => 'formData', + 'schema' => ['description' => 'The custom configurations for Tracing Analysis. The configurations must be serialized into a JSON string. The Tracing Analysis configuration contains the following fields:'."\n" + ."\n" + .'- `sampling`: The sample rate. This field is of the Double type.'."\n" + ."\n" + .'- `custom_tags`: The custom tags. This field is of the Map type. The key of a tag is a string, and the value is a JSON object. You can specify one of the following fields for the value:'."\n" + ."\n" + .' - `literal`: The tag value is a static field. This JSON object must contain a `value` field that specifies the literal value. Example: `{"value":"test"}`.'."\n" + ."\n" + .' - header: The tag value is a request header. This JSON object must contain name and `defaultValue` fields. The `name` field specifies the name of the request header. The `defaultValue` field specifies the default value to use if the header is not found. Example: `{"name":"test","defaultValue":"test"}`.'."\n" + ."\n" + .' - environment: The tag value is an environment variable. This JSON object must contain name and `defaultValue` fields. The `name` field specifies the name of the environment variable. The `defaultValue` field specifies the default value to use if the environment variable is not found. Example: `{"name":"test","defaultValue":"test"}`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"sampling":99.8,"custom_tags":{"test":{"literal":{"value":"testnamespace"}}}}'], ], - ], - 'parameters' => [ [ - 'name' => 'ServiceMeshId', + 'name' => 'InterceptionMode', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Alibaba Cloud Service Mesh (ASM) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'xxx', - ], + 'schema' => ['description' => 'The policy used by the sidecar proxy to intercept inbound traffic. Valid values:'."\n" + ."\n" + .'- `REDIRECT`: The default policy. The sidecar proxy intercepts inbound traffic in redirection mode.'."\n" + ."\n" + .'- `TPROXY`: The sidecar proxy intercepts inbound traffic in transparent proxy mode.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'TPROXY'], ], [ - 'name' => 'ServicesList', + 'name' => 'ProxyMetadata', 'in' => 'formData', - 'schema' => [ - 'description' => 'A list of services associated with the lane group. The value is a JSON array. The format of a service is `$Cluster name/$Cluster ID/$Namespace/$Service name`.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka\\",\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb\\",\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc\\"]', - ], + 'schema' => ['description' => 'The environment variables that are added to the sidecar proxy. The value is a JSON object. The keys and values in the JSON object represent the keys and values of the environment variables that are added to the sidecar proxy.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"EXIT_ON_ZERO_ACTIVE_CONNECTIONS":"true"}'], ], [ - 'name' => 'GroupName', + 'name' => 'ProxyInitAckSloCPUResourceLimit', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the lane group.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], + 'schema' => ['description' => 'The CPU limit for the sidecar proxy init container, which is specified in the ACK dynamic overcommitment resource format. This parameter is used to set the CPU limit for the sidecar proxy init container when the pod has the `koordinator.sh/qosClass` label. Unit: millicores.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2000'], ], [ - 'name' => 'IngressType', + 'name' => 'ProxyInitAckSloMemoryResourceLimit', 'in' => 'formData', - 'schema' => [ - 'description' => 'The type of the gateway for ingress traffic. Only ASM ingress gateways are supported.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ASM', - ], + 'schema' => ['description' => 'The memory limit for the sidecar proxy init container, which is specified in the ACK dynamic overcommitment resource format. This parameter is used to set the memory limit for the sidecar proxy init container when the pod has the `koordinator.sh/qosClass` label.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2048Mi'], ], [ - 'name' => 'IngressGatewayName', + 'name' => 'ProxyInitAckSloCPUResourceRequest', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the ingress gateway.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ingressgateway', - ], + 'schema' => ['description' => 'The CPU resource request for the sidecar proxy init container, which is specified in the ACK dynamic overcommitment resource format. This parameter is used to set the CPU resource request for the sidecar proxy init container when the pod has the `koordinator.sh/qosClass` label. Unit: millicores.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '100'], ], [ - 'name' => 'IsPermissive', + 'name' => 'ProxyInitAckSloMemoryResourceRequest', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether the permissive mode is enabled for the lane group to be created.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The memory resource request for the sidecar proxy init container, which is specified in the ACK dynamic overcommitment resource format. This parameter is used to set the memory resource request for the sidecar proxy init container when the pod has the `koordinator.sh/qosClass` label.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '128Mi'], ], [ - 'name' => 'TraceHeader', + 'name' => 'SidecarProxyAckSloCPUResourceLimit', 'in' => 'formData', - 'schema' => [ - 'description' => 'The end-to-end (E2E) pass-through request header of the lane group if you plan to create a lane group in permissive mode. This parameter must be specified when IsPermissive is set to true.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'my-request-id', - ], + 'schema' => ['description' => 'The CPU limit for the sidecar proxy container, which is specified in the ACK dynamic overcommitment resource format. This parameter is used to set the CPU limit for the sidecar proxy container when the pod has the `koordinator.sh/qosClass` label. Unit: millicores.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2000'], ], [ - 'name' => 'RouteHeader', + 'name' => 'SidecarProxyAckSloMemoryResourceLimit', 'in' => 'formData', - 'schema' => [ - 'description' => 'The request routing header of the lane group if you plan to create a lane group in permissive mode. This parameter must be specified when IsPermissive is set to true.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'x-asm-prefer-tag', - ], + 'schema' => ['description' => 'The memory limit for the sidecar proxy container, which is specified in the ACK dynamic overcommitment resource format. This parameter is used to set the memory limit for the sidecar proxy container when the pod has the `koordinator.sh/qosClass` label.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2048Mi'], ], [ - 'name' => 'IngressGatewayNamespace', + 'name' => 'SidecarProxyAckSloCPUResourceRequest', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'istio-system', - ], + 'schema' => ['description' => 'The CPU resource request for the sidecar proxy container, which is specified in the ACK dynamic overcommitment resource format. This parameter is used to set the CPU resource request for the sidecar proxy container when the pod has the `koordinator.sh/qosClass` label. Unit: millicores.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '100'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'yyyy', - ], - ], - ], + [ + 'name' => 'SidecarProxyAckSloMemoryResourceRequest', + 'in' => 'formData', + 'schema' => ['description' => 'The memory resource request for the sidecar proxy container, which is specified in the ACK dynamic overcommitment resource format. This parameter is used to set the memory resource request for the sidecar proxy container when the pod has the `koordinator.sh/qosClass` label.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '128Mi'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"yyyy\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateSwimLaneGroupResponse>\\n <RequestId>yyyy</RequestId>\\n</CreateSwimLaneGroupResponse>","errorExample":""}]', - 'title' => 'CreateSwimLaneGroup', - ], - 'DeleteSwimLane' => [ - 'summary' => 'Deletes a lane.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'Privileged', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable the privileged mode for the sidecar proxy container in the security context. Valid values:'."\n" + ."\n" + .'- `true`: The sidecar proxy container is a privileged container.'."\n" + ."\n" + .'- `false`: The sidecar proxy container is not a privileged container.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], - ], - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], - 'parameters' => [ [ - 'name' => 'ServiceMeshId', + 'name' => 'EnableCoreDump', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Service Mesh (ASM) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'xxx', - ], + 'schema' => ['description' => 'Specifies whether to enable core dump for the sidecar proxy container. A core dump file is generated when a program crashes. Valid values:'."\n" + ."\n" + .'- `true`: enables core dump for the sidecar proxy container.'."\n" + ."\n" + .'- `false`: disables core dump for the sidecar proxy container.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ - 'name' => 'SwimLaneName', + 'name' => 'ReadinessInitialDelaySeconds', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the lane.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 's1', - ], + 'schema' => ['description' => 'The amount of time to wait before the readiness probe is initiated for the sidecar proxy container. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '1'], ], [ - 'name' => 'GroupName', + 'name' => 'ReadinessPeriodSeconds', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the lane group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The interval at which the readiness probe is performed for the sidecar proxy container. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '2'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'xxx', - ], - ], - 'description' => '', - ], + [ + 'name' => 'ReadinessFailureThreshold', + 'in' => 'formData', + 'schema' => ['description' => 'The failure threshold for the readiness probe of the sidecar proxy container.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '5'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"xxx\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteSwimLaneResponse>\\n <RequestId>xxx</RequestId>\\n</DeleteSwimLaneResponse>","errorExample":""}]', - 'title' => 'DeleteSwimLane', - ], - 'DeleteSwimLaneGroup' => [ - 'summary' => 'Deletes a lane group. If a lane group is deleted, the lanes in the group and the traffic routing rules attached to the lanes are deleted.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'SMCEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable Shared Memory Communications over Remote Direct Memory Access (SMC-R) optimization. SMC-R optimization improves the performance of cross-node communication. This feature requires Alibaba Cloud Linux 3 and the elastic Remote Direct Memory Access (eRDMA) network device on the node.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], - ], - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], - 'parameters' => [ [ - 'name' => 'ServiceMeshId', + 'name' => 'RuntimeValues', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Service Mesh (ASM) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'xxx', - ], + 'schema' => ['description' => 'The runtime parameters for Envoy in the sidecar proxy. The value is a JSON-serialized string. The keys in the object are the Envoy runtime parameters, and the values are the parameter values.'."\n" + ."\n" + .'The following runtime parameter can be set:'."\n" + ."\n" + .'- global\\_downstream\\_max\\_connections: the limit on the number of downstream connections for Envoy.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"overload.global_downstream_max_connections":"65536"}'], ], [ - 'name' => 'GroupName', + 'name' => 'ScaledSidecarResource', 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => 'The name of the lane group.'."\n", - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'ResourceCalculationStrategy' => ['type' => 'string', 'required' => false, 'description' => '', 'title' => '', 'example' => ''], + 'ContainerRef' => ['type' => 'string', 'required' => false, 'description' => '', 'title' => '', 'example' => ''], + 'ResourcePercentage' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'description' => '', 'title' => '', 'example' => ''], + ], 'required' => false, - 'example' => 'test', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'xxxx', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****'], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"xxxx\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteSwimLaneGroupResponse>\\n <RequestId>xxxx</RequestId>\\n</DeleteSwimLaneGroupResponse>","errorExample":""}]', - 'title' => 'DeleteSwimLaneGroup', + 'title' => 'UpdateNamespaceScopeSidecarConfig', + 'changeSet' => [ + ['createdAt' => '2025-04-16T02:02:14.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-07-26T03:30:57.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-05-21T02:20:24.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-31T03:27:25.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-03-27T02:54:06.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-11-30T04:07:25.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-14T08:09:51.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-12-14T08:09:51.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateNamespaceScopeSidecarConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\"\\n}","type":"json"}]', ], 'UpdateSwimLane' => [ - 'summary' => 'Updates the information about a lane.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Service Mesh (ASM) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'xxx', - ], + 'schema' => ['description' => 'The Service Mesh instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'xxx'], ], [ 'name' => 'ServicesList', 'in' => 'formData', - 'schema' => [ - 'description' => 'A list of services associated with the lane.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '["sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc"]', - ], + 'schema' => ['description' => 'A list of services to associate with the swim lane.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '["sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc"]'], ], [ 'name' => 'SwimLaneName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the lane.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 's1', - ], + 'schema' => ['description' => 'The name of the swim lane.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 's1'], ], [ 'name' => 'LabelSelectorKey', 'in' => 'formData', - 'schema' => [ - 'description' => 'The label key of the associated service workload. Set the value to `ASM_TRAFFIC_TAG`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ASM_TRAFFIC_TAG', - ], + 'schema' => ['description' => 'The value is fixed to `ASM_TRAFFIC_TAG`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ASM_TRAFFIC_TAG'], ], [ 'name' => 'LabelSelectorValue', 'in' => 'formData', - 'schema' => [ - 'description' => 'The label value of the associated service workload.``'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'v1', - ], + 'schema' => ['description' => 'The value of the `ASM_TRAFFIC_TAG` label.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'v1'], ], [ 'name' => 'GroupName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the lane group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The name of the swim lane group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'test'], ], ], 'responses' => [ @@ -13169,29 +11694,41 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'yyy', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'yyy'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"yyy\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateSwimLaneResponse>\\n <RequestId>yyy</RequestId>\\n</UpdateSwimLaneResponse>","errorExample":""}]', 'title' => 'UpdateSwimLane', + 'summary' => 'Updates the information for a specified swim lane.', + 'changeSet' => [ + ['createdAt' => '2022-09-28T07:26:38.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateSwimLane', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"yyy\\"\\n}","type":"json"}]', ], 'UpdateSwimLaneGroup' => [ - 'summary' => 'Updates the information of a lane group.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Updates a swim lane group.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13204,85 +11741,54 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '153457', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh22WM61', - ], + 'abilityTreeNodes' => ['FEATUREservicemesh22WM61'], ], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The Service Mesh (ASM) instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'xxx', - ], + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'xxx', 'title' => ''], ], [ 'name' => 'ServicesList', 'in' => 'formData', - 'schema' => [ - 'description' => 'A list of services associated with the lane group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '["sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc"]', - ], + 'schema' => ['description' => 'The list of services associated with the swim lane group.', 'type' => 'string', 'required' => false, 'example' => '["sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc"]', 'title' => ''], ], [ 'name' => 'GroupName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the lane group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The name of the swim lane group.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'FallbackTarget', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the baseline lane in the lane group if the lane group is in permissive mode. This parameter is valid only for a lane group in permissive mode.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 's1', - ], + 'schema' => ['description' => 'The name of the baseline swim lane for the group. This parameter is used only if the group operates in loose mode.', 'type' => 'string', 'required' => false, 'example' => 's1', 'title' => ''], ], [ 'name' => 'IngressRoutingStrategy', 'in' => 'formData', 'schema' => [ - 'description' => 'The policy used to route requests among multiple lanes in a lane group. Valid values:'."\n" + 'description' => 'The policy for routing requests to the swim lanes in the group. Valid values:'."\n" ."\n" - .'* weighted: a weight-based request routing policy. Requests are matched based on uniform rules and then routed to different lanes in a lane group at a specified ratio.'."\n" - .'* rule-based: a rule-based request routing policy. Each lane is configured with request routing rules. Only requests that match the request routing rules of a specific lane are routed to the lane.'."\n", + .'- `weighted`: Specifies a weight-based routing policy. Requests that match a single, group-wide routing rule are routed to different swim lanes based on specified weights.'."\n" + ."\n" + .'- `rule-based`: Specifies a rule-based routing policy. Each swim lane has its own routing rule. A request is forwarded to a swim lane only if it matches that swim lane\'s routing rule.', + 'enumValueTitles' => ['weighted' => 'weighted', 'rule-based' => 'rule-based'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'weighted' => 'weighted', - 'rule-based' => 'rule-based', - ], 'example' => 'weighted', + 'title' => '', ], ], [ 'name' => 'WeightedIngressRule', 'in' => 'formData', - 'schema' => [ - 'description' => 'The weight-based request routing rules for a lane group. You can specify this parameter only when the IngressRoutingStrategy parameter is set to weighted.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"Domains":["*"],"MatchRequests":[{"URI":{"MatchingMode":"exact","MatchingContent":"/mock"},"Headers":[{"Name":"test","MatchingMode":"exact","MatchingContent":"yes"}]}]}', - ], + 'schema' => ['description' => 'The routing rule for the entire swim lane group. This parameter is used when the group\'s routing policy is `weighted`.', 'type' => 'string', 'required' => false, 'example' => '{"Domains":["*"],"MatchRequests":[{"URI":{"MatchingMode":"exact","MatchingContent":"/mock"},"Headers":[{"Name":"test","MatchingMode":"exact","MatchingContent":"yes"}]}]}', 'title' => ''], ], [ 'name' => 'ServiceLevelFallbackTarget', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'This parameter is not in use.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], ], ], 'responses' => [ @@ -13290,2786 +11796,3838 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'yyy', - ], + 'RequestId' => ['description' => 'The Request ID.', 'type' => 'string', 'example' => 'yyy', 'title' => ''], ], - 'description' => '', + 'description' => 'The response body.', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"yyy\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateSwimLaneGroupResponse>\\n <RequestId>yyy</RequestId>\\n</UpdateSwimLaneGroupResponse>","errorExample":""}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"yyy\\"\\n}","type":"json"}]', 'title' => 'UpdateSwimLaneGroup', - ], - 'GetSwimLaneDetail' => [ - 'summary' => 'Queries detailed information about a lane.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'description' => 'Call the DescribeASMSidecarExpectedVersion API to query the expected version of a sidecar proxy on the Service Mesh (ASM) data plane. For example, after an ASM instance is upgraded to v1.12, the actual version of a v1.11 sidecar proxy remains v1.11 until its pod is restarted. However, a call to the DescribeASMSidecarExpectedVersion API returns the new expected version, v1.12.', + 'changeSet' => [ + ['createdAt' => '2024-05-17T02:32:34.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-09-12T10:09:42.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-28T07:26:38.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateSwimLaneGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateWaypoint' => [ + 'summary' => 'Updates a specified waypoint.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '146478', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh22WM61', - ], - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Service Mesh (ASM) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'xxx', - ], + 'schema' => ['description' => 'The ID of the Service Mesh instance.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], ], [ - 'name' => 'SwimLaneName', + 'name' => 'ClusterId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the lane.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 's1', - ], + 'schema' => ['description' => 'The ID of the data plane cluster.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'title' => '', 'example' => 'ce3c25e247da24f3aab9b7edfae83****'], ], [ - 'name' => 'GroupName', + 'name' => 'Namespace', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the lane group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The namespace.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'default'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'yyyy', - ], - 'ServicesList' => [ - 'description' => 'A list of services associated with the lane.'."\n", - 'type' => 'string', - 'example' => '["sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc"]', - ], - 'LabelSelectorKey' => [ - 'description' => 'The label key of the associated service workload. The value is fixed as **ASM_TRAFFIC_TAG**.'."\n", - 'type' => 'string', - 'example' => 'ASM_TRAFFIC_TAG', - ], - 'LabelSelectorValue' => [ - 'description' => 'The value of ASM_TRAFFIC_TAG.'."\n", - 'type' => 'string', - 'example' => 'v1', - ], - 'IngressService' => [ - 'description' => 'This parameter is deprecated.'."\n", - 'type' => 'string', - 'example' => 'mocka.default.svc.cluster.local', - ], - 'IngressRule' => [ - 'description' => 'The traffic routing rule that routes traffic to the lane by using the ingress gateway. The traffic routing rule contains one or more custom routes.'."\n", - 'type' => 'string', - 'example' => '[{"Domains":["*"],"RouteName":"r1","MatchRequest":{"Headers":[{"Name":"x-asm-prefer-tag","MatchingMode":"exact","MatchingContent":"s1"}],"URI":{"MatchingMode":"exact","MatchingContent":"/mock"}},"RouteDestinations":[{"Destination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"}}]},{"Domains":["*"],"RouteName":"hello","MatchRequest":{"Headers":[{"Name":"x-asm-prefer-tag","MatchingMode":"exact","MatchingContent":"s1"}],"URI":{"MatchingMode":"exact","MatchingContent":"/mocktest"}},"RouteDestinations":[{"Destination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"}}]}]', - ], - 'WeightedIngressDestination' => [ - 'description' => 'This parameter is returned only when the IngressRoutingStrategy parameter is set to weighted. This parameter indicates the domain name of Services in each lane and the request routing weight. The value of this parameter is a serialized JSON string.'."\n", - 'type' => 'string', - 'example' => '{"RouteDestination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"},"Weight":40}', - ], - 'ValidationMessage' => [ - 'description' => 'The status of the swimlane. If the configuration is successful and takes effect, a `null` is returned. Otherwise, an error message is returned.'."\n", - 'type' => 'string', - 'example' => '[{"code":"CODE_UNEFFECTED_SWIMLANE_LABEL","level":"warning","message":"The label selector defined in the ASMSwimLane has no effect on any workload instance."}]', - ], - ], - 'description' => '', - ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the Waypoint.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'bookinfo-reviews'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"yyyy\\",\\n \\"ServicesList\\": \\"[\\\\\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka\\\\\\",\\\\\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb\\\\\\",\\\\\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc\\\\\\"]\\",\\n \\"LabelSelectorKey\\": \\"ASM_TRAFFIC_TAG\\",\\n \\"LabelSelectorValue\\": \\"v1\\",\\n \\"IngressService\\": \\"mocka.default.svc.cluster.local\\",\\n \\"IngressRule\\": \\"[{\\\\\\"Domains\\\\\\":[\\\\\\"*\\\\\\"],\\\\\\"RouteName\\\\\\":\\\\\\"r1\\\\\\",\\\\\\"MatchRequest\\\\\\":{\\\\\\"Headers\\\\\\":[{\\\\\\"Name\\\\\\":\\\\\\"x-asm-prefer-tag\\\\\\",\\\\\\"MatchingMode\\\\\\":\\\\\\"exact\\\\\\",\\\\\\"MatchingContent\\\\\\":\\\\\\"s1\\\\\\"}],\\\\\\"URI\\\\\\":{\\\\\\"MatchingMode\\\\\\":\\\\\\"exact\\\\\\",\\\\\\"MatchingContent\\\\\\":\\\\\\"/mock\\\\\\"}},\\\\\\"RouteDestinations\\\\\\":[{\\\\\\"Destination\\\\\\":{\\\\\\"Host\\\\\\":\\\\\\"mocka.default.svc.cluster.local\\\\\\",\\\\\\"Subset\\\\\\":\\\\\\"s1\\\\\\"}}]},{\\\\\\"Domains\\\\\\":[\\\\\\"*\\\\\\"],\\\\\\"RouteName\\\\\\":\\\\\\"hello\\\\\\",\\\\\\"MatchRequest\\\\\\":{\\\\\\"Headers\\\\\\":[{\\\\\\"Name\\\\\\":\\\\\\"x-asm-prefer-tag\\\\\\",\\\\\\"MatchingMode\\\\\\":\\\\\\"exact\\\\\\",\\\\\\"MatchingContent\\\\\\":\\\\\\"s1\\\\\\"}],\\\\\\"URI\\\\\\":{\\\\\\"MatchingMode\\\\\\":\\\\\\"exact\\\\\\",\\\\\\"MatchingContent\\\\\\":\\\\\\"/mocktest\\\\\\"}},\\\\\\"RouteDestinations\\\\\\":[{\\\\\\"Destination\\\\\\":{\\\\\\"Host\\\\\\":\\\\\\"mocka.default.svc.cluster.local\\\\\\",\\\\\\"Subset\\\\\\":\\\\\\"s1\\\\\\"}}]}]\\",\\n \\"WeightedIngressDestination\\": \\"{\\\\\\"RouteDestination\\\\\\":{\\\\\\"Host\\\\\\":\\\\\\"mocka.default.svc.cluster.local\\\\\\",\\\\\\"Subset\\\\\\":\\\\\\"s1\\\\\\"},\\\\\\"Weight\\\\\\":40}\\",\\n \\"ValidationMessage\\": \\"[{\\\\\\"code\\\\\\":\\\\\\"CODE_UNEFFECTED_SWIMLANE_LABEL\\\\\\",\\\\\\"level\\\\\\":\\\\\\"warning\\\\\\",\\\\\\"message\\\\\\":\\\\\\"The label selector defined in the ASMSwimLane has no effect on any workload instance.\\\\\\"}]\\"\\n}","errorExample":""},{"type":"xml","example":"<GetSwimLaneDetailResponse>\\n <RequestId>yyyy</RequestId>\\n <ServicesList>[\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka\\",\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb\\",\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc\\"]</ServicesList>\\n <LabelSelectorKey>ASM_TRAFFIC_TAG</LabelSelectorKey>\\n <LabelSelectorValue>v1</LabelSelectorValue>\\n <IngressService>mocka.default.svc.cluster.local</IngressService>\\n <IngressRule>[{\\"Domains\\":[\\"*\\"],\\"RouteName\\":\\"r1\\",\\"MatchRequest\\":{\\"Headers\\":[{\\"Name\\":\\"x-asm-prefer-tag\\",\\"MatchingMode\\":\\"exact\\",\\"MatchingContent\\":\\"s1\\"}],\\"URI\\":{\\"MatchingMode\\":\\"exact\\",\\"MatchingContent\\":\\"/mock\\"}},\\"RouteDestinations\\":[{\\"Destination\\":{\\"Host\\":\\"mocka.default.svc.cluster.local\\",\\"Subset\\":\\"s1\\"}}]},{\\"Domains\\":[\\"*\\"],\\"RouteName\\":\\"hello\\",\\"MatchRequest\\":{\\"Headers\\":[{\\"Name\\":\\"x-asm-prefer-tag\\",\\"MatchingMode\\":\\"exact\\",\\"MatchingContent\\":\\"s1\\"}],\\"URI\\":{\\"MatchingMode\\":\\"exact\\",\\"MatchingContent\\":\\"/mocktest\\"}},\\"RouteDestinations\\":[{\\"Destination\\":{\\"Host\\":\\"mocka.default.svc.cluster.local\\",\\"Subset\\":\\"s1\\"}}]}]</IngressRule>\\n</GetSwimLaneDetailResponse>","errorExample":""}]', - 'title' => 'GetSwimLaneDetail', - ], - 'GetSwimLaneGroupList' => [ - 'summary' => 'Queries a list of all lane groups in an Alibaba Cloud Service Mesh (ASM) instance.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'RequestCPU', + 'in' => 'formData', + 'schema' => ['description' => 'The CPU resources requested by the Waypoint pod.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '100m'], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '153461', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh22WM61', + [ + 'name' => 'RequestMemory', + 'in' => 'formData', + 'schema' => ['description' => 'The memory resources requested by the Waypoint pod.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '128Mi'], ], - ], - 'parameters' => [ [ - 'name' => 'ServiceMeshId', + 'name' => 'LimitCPU', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'xxxx', - ], + 'schema' => ['description' => 'The CPU resource limit for the Waypoint pod.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2000m'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'yyyy', - ], - 'SwimLaneGroupList' => [ - 'description' => 'The information about the lane group.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'GroupName' => [ - 'description' => 'The name of a lane group.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'ServiceList' => [ - 'description' => 'The Services associated with the lane group.'."\n", - 'type' => 'string', - 'example' => '["sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc"]', - ], - 'IngressType' => [ - 'description' => 'The type of gateways in which you can configure request routing rules. You can configure request routing rules only in ASM gateways.'."\n", - 'type' => 'string', - 'example' => 'ASM', - ], - 'IngressGatewayName' => [ - 'description' => 'The name of the ASM ingress gateway.'."\n", - 'type' => 'string', - 'example' => 'ingressgateway', - ], - 'IsPermissive' => [ - 'description' => 'Indicates whether the lane group is in permissive mode.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'FallbackTarget' => [ - 'description' => 'The name of the baseline lane of the lane group in permissive mode. This parameter is valid only for a lane group in permissive mode.'."\n", - 'type' => 'string', - 'example' => 's1', - ], - 'TraceHeader' => [ - 'description' => 'The end-to-end (E2E) pass-through request header of the lane group. It is valid only for a lane group in permissive mode.'."\n", - 'type' => 'string', - 'example' => 'my-request-id', - ], - 'RouteHeader' => [ - 'description' => 'The request routing header of the lane group. It is valid only for a lane group in permissive mode.'."\n", - 'type' => 'string', - 'example' => 'x-asm-prefer-tag', - ], - 'SwimLaneLabels' => [ - 'description' => 'A serialized JSON string. The keys of the JSON object are the keys of the labels owned by all services in the lane group, and the values of the JSON object are arrays of all possible label values of the services in the lane group.'."\n", - 'type' => 'string', - 'example' => '{"ASM_TRAFFIC_TAG":["v2","v3","v1"],"version":["v3","v1","v2"]}', - ], - 'IngressRoutingStrategy' => [ - 'description' => 'The policy used to route requests among multiple lanes in a lane group. Valid values:'."\n" - ."\n" - .'* weighted: a weight-based request routing policy. Requests are matched based on uniform rules and then routed to different lanes in a lane group at a specified ratio.'."\n" - .'* rule-based: a rule-based request routing policy. Each lane is configured with request routing rules. Only requests that match the request routing rules of a specific lane are routed to the lane.'."\n", - 'type' => 'string', - 'enumValueTitles' => [ - 'weighted' => 'weighted', - 'rule-based' => 'rule-based', - ], - 'example' => 'weighted', - ], - 'WeightedIngressRule' => [ - 'description' => 'The weight-based request routing rules for a lane group. This parameter is returned only when the IngressRoutingStrategy parameter is set to weighted.'."\n", - 'type' => 'string', - 'example' => '{"Domains":["*"],"MatchRequests":[{"URI":{"MatchingMode":"exact","MatchingContent":"/mock"},"Headers":[{"Name":"test","MatchingMode":"exact","MatchingContent":"yes"}]}]}', - ], - 'ServiceLevelFallbackTarget' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'description' => '', - ], + [ + 'name' => 'LimitMemory', + 'in' => 'formData', + 'schema' => ['description' => 'The memory resource limit for the Waypoint pod.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1024Mi'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"yyyy\\",\\n \\"SwimLaneGroupList\\": [\\n {\\n \\"GroupName\\": \\"test\\",\\n \\"ServiceList\\": \\"[\\\\\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka\\\\\\",\\\\\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb\\\\\\",\\\\\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc\\\\\\"]\\",\\n \\"IngressType\\": \\"ASM\\",\\n \\"IngressGatewayName\\": \\"ingressgateway\\",\\n \\"IsPermissive\\": false,\\n \\"FallbackTarget\\": \\"s1\\",\\n \\"TraceHeader\\": \\"my-request-id\\",\\n \\"RouteHeader\\": \\"x-asm-prefer-tag\\",\\n \\"SwimLaneLabels\\": \\"{\\\\\\"ASM_TRAFFIC_TAG\\\\\\":[\\\\\\"v2\\\\\\",\\\\\\"v3\\\\\\",\\\\\\"v1\\\\\\"],\\\\\\"version\\\\\\":[\\\\\\"v3\\\\\\",\\\\\\"v1\\\\\\",\\\\\\"v2\\\\\\"]}\\",\\n \\"IngressRoutingStrategy\\": \\"weighted\\",\\n \\"WeightedIngressRule\\": \\"{\\\\\\"Domains\\\\\\":[\\\\\\"*\\\\\\"],\\\\\\"MatchRequests\\\\\\":[{\\\\\\"URI\\\\\\":{\\\\\\"MatchingMode\\\\\\":\\\\\\"exact\\\\\\",\\\\\\"MatchingContent\\\\\\":\\\\\\"/mock\\\\\\"},\\\\\\"Headers\\\\\\":[{\\\\\\"Name\\\\\\":\\\\\\"test\\\\\\",\\\\\\"MatchingMode\\\\\\":\\\\\\"exact\\\\\\",\\\\\\"MatchingContent\\\\\\":\\\\\\"yes\\\\\\"}]}]}\\",\\n \\"ServiceLevelFallbackTarget\\": \\"\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetSwimLaneGroupListResponse>\\n <RequestId>yyyy</RequestId>\\n <SwimLaneGroupList>\\n <GroupName>test</GroupName>\\n <ServiceList>[\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka\\",\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb\\",\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc\\"]</ServiceList>\\n <IngressType>ASM</IngressType>\\n <IngressGatewayName>ingressgateway</IngressGatewayName>\\n </SwimLaneGroupList>\\n</GetSwimLaneGroupListResponse>","errorExample":""}]', - 'title' => 'GetSwimLaneGroupList', - ], - 'GetSwimLaneList' => [ - 'summary' => 'Queries a list of all the lanes in a lane group.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'Replicas', + 'in' => 'formData', + 'schema' => ['description' => 'The number of replicas for the Waypoint pod.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'title' => '', 'example' => '1'], ], - ], - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '146477', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh22WM61', + [ + 'name' => 'HPAEnabled', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable Horizontal Pod Autoscaling (HPA).', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], - ], - 'parameters' => [ [ - 'name' => 'ServiceMeshId', + 'name' => 'HPATargetCPU', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Service Mesh (ASM) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'xxx', - ], + 'schema' => ['description' => 'The target CPU utilization for HPA.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '0', 'title' => '', 'example' => '91'], ], [ - 'name' => 'GroupName', + 'name' => 'HPATargetMemory', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the lane group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The target memory usage for HPA.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '0', 'title' => '', 'example' => '89'], + ], + [ + 'name' => 'HPAMinReplicas', + 'in' => 'formData', + 'schema' => ['description' => 'The minimum number of replicas for HPA.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'title' => '', 'example' => '2'], + ], + [ + 'name' => 'HPAMaxReplicas', + 'in' => 'formData', + 'schema' => ['description' => 'The maximum number of replicas for HPA.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'title' => '', 'example' => '4'], + ], + [ + 'name' => 'PreferECI', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to preferentially schedule pods to Elastic Container Instance (ECI) nodes.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'yyyy', - ], - 'SwimLaneList' => [ - 'description' => 'The swimlanes.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about swimlanes.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the lane.'."\n", - 'type' => 'string', - 'example' => 's1', - ], - 'GroupName' => [ - 'description' => 'The name of a lane group.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'LabelSelectorKey' => [ - 'description' => 'The label key of the associated service workload. The value is fixed as `ASM_TRAFFIC_TAG`.'."\n", - 'type' => 'string', - 'example' => 'ASM_TRAFFIC_TAG', - ], - 'LabelSelectorValue' => [ - 'description' => 'The label value of the associated service workload. The value is fixed as `ASM_TRAFFIC_TAG`.'."\n", - 'type' => 'string', - 'example' => 'v1', - ], - 'IngressService' => [ - 'description' => 'This parameter is deprecated.'."\n", - 'type' => 'string', - 'example' => 'mocka.default.svc.cluster.local', - ], - 'IngressRule' => [ - 'description' => 'The request routing rules.'."\n", - 'type' => 'string', - 'example' => '[{"Domains":["*"],"RouteName":"r1","MatchRequest":{"Headers":[{"Name":"x-asm-prefer-tag","MatchingMode":"exact","MatchingContent":"s1"}],"URI":{"MatchingMode":"exact","MatchingContent":"/mock"}},"RouteDestinations":[{"Destination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"}}]},{"Domains":["*"],"RouteName":"hello","MatchRequest":{"Headers":[{"Name":"x-asm-prefer-tag","MatchingMode":"exact","MatchingContent":"s1"}],"URI":{"MatchingMode":"exact","MatchingContent":"/mocktest"}},"RouteDestinations":[{"Destination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"}}]}]', - ], - 'ServiceList' => [ - 'description' => 'Services associated with the lane.'."\n", - 'type' => 'string', - 'example' => '["sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc"]', - ], - 'WeightedIngressDestinatin' => [ - 'description' => 'This parameter is returned only when the IngressRoutingStrategy parameter is set to weighted. This parameter indicates the domain name of Services in each lane and the request routing weight. The value of this parameter is a serialized JSON string.'."\n", - 'type' => 'string', - 'example' => '{"RouteDestination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"},"Weight":40}', - ], - 'ValidationMessage' => [ - 'description' => 'The verification messages of the lane group. If the service does not exist in the lane group, the verification message is displayed in the verification messages of the lane group.'."\n", - 'type' => 'string', - 'example' => '[{"code":"CODE_UNEFFECTED_SWIMLANE_LABEL","level":"warning","message":"The label selector defined in the ASMSwimLane has no effect on any workload instance."}]', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => 'Id of the request', 'example' => '71680038-8009-5073-B43E-C057E9******'], ], - 'description' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"yyyy\\",\\n \\"SwimLaneList\\": [\\n {\\n \\"Name\\": \\"s1\\",\\n \\"GroupName\\": \\"test\\",\\n \\"LabelSelectorKey\\": \\"ASM_TRAFFIC_TAG\\",\\n \\"LabelSelectorValue\\": \\"v1\\",\\n \\"IngressService\\": \\"mocka.default.svc.cluster.local\\",\\n \\"IngressRule\\": \\"[{\\\\\\"Domains\\\\\\":[\\\\\\"*\\\\\\"],\\\\\\"RouteName\\\\\\":\\\\\\"r1\\\\\\",\\\\\\"MatchRequest\\\\\\":{\\\\\\"Headers\\\\\\":[{\\\\\\"Name\\\\\\":\\\\\\"x-asm-prefer-tag\\\\\\",\\\\\\"MatchingMode\\\\\\":\\\\\\"exact\\\\\\",\\\\\\"MatchingContent\\\\\\":\\\\\\"s1\\\\\\"}],\\\\\\"URI\\\\\\":{\\\\\\"MatchingMode\\\\\\":\\\\\\"exact\\\\\\",\\\\\\"MatchingContent\\\\\\":\\\\\\"/mock\\\\\\"}},\\\\\\"RouteDestinations\\\\\\":[{\\\\\\"Destination\\\\\\":{\\\\\\"Host\\\\\\":\\\\\\"mocka.default.svc.cluster.local\\\\\\",\\\\\\"Subset\\\\\\":\\\\\\"s1\\\\\\"}}]},{\\\\\\"Domains\\\\\\":[\\\\\\"*\\\\\\"],\\\\\\"RouteName\\\\\\":\\\\\\"hello\\\\\\",\\\\\\"MatchRequest\\\\\\":{\\\\\\"Headers\\\\\\":[{\\\\\\"Name\\\\\\":\\\\\\"x-asm-prefer-tag\\\\\\",\\\\\\"MatchingMode\\\\\\":\\\\\\"exact\\\\\\",\\\\\\"MatchingContent\\\\\\":\\\\\\"s1\\\\\\"}],\\\\\\"URI\\\\\\":{\\\\\\"MatchingMode\\\\\\":\\\\\\"exact\\\\\\",\\\\\\"MatchingContent\\\\\\":\\\\\\"/mocktest\\\\\\"}},\\\\\\"RouteDestinations\\\\\\":[{\\\\\\"Destination\\\\\\":{\\\\\\"Host\\\\\\":\\\\\\"mocka.default.svc.cluster.local\\\\\\",\\\\\\"Subset\\\\\\":\\\\\\"s1\\\\\\"}}]}]\\",\\n \\"ServiceList\\": \\"[\\\\\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka\\\\\\",\\\\\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb\\\\\\",\\\\\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc\\\\\\"]\\",\\n \\"WeightedIngressDestinatin\\": \\"{\\\\\\"RouteDestination\\\\\\":{\\\\\\"Host\\\\\\":\\\\\\"mocka.default.svc.cluster.local\\\\\\",\\\\\\"Subset\\\\\\":\\\\\\"s1\\\\\\"},\\\\\\"Weight\\\\\\":40}\\",\\n \\"ValidationMessage\\": \\"[{\\\\\\"code\\\\\\":\\\\\\"CODE_UNEFFECTED_SWIMLANE_LABEL\\\\\\",\\\\\\"level\\\\\\":\\\\\\"warning\\\\\\",\\\\\\"message\\\\\\":\\\\\\"The label selector defined in the ASMSwimLane has no effect on any workload instance.\\\\\\"}]\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetSwimLaneListResponse>\\n <RequestId>yyyy</RequestId>\\n <SwimLaneList>\\n <Name>s1</Name>\\n <GroupName>test</GroupName>\\n <LabelSelectorKey>ASM_TRAFFIC_TAG</LabelSelectorKey>\\n <LabelSelectorValue>v1</LabelSelectorValue>\\n <IngressService>mocka.default.svc.cluster.local</IngressService>\\n <IngressRule>[{\\"Domains\\":[\\"*\\"],\\"RouteName\\":\\"r1\\",\\"MatchRequest\\":{\\"Headers\\":[{\\"Name\\":\\"x-asm-prefer-tag\\",\\"MatchingMode\\":\\"exact\\",\\"MatchingContent\\":\\"s1\\"}],\\"URI\\":{\\"MatchingMode\\":\\"exact\\",\\"MatchingContent\\":\\"/mock\\"}},\\"RouteDestinations\\":[{\\"Destination\\":{\\"Host\\":\\"mocka.default.svc.cluster.local\\",\\"Subset\\":\\"s1\\"}}]},{\\"Domains\\":[\\"*\\"],\\"RouteName\\":\\"hello\\",\\"MatchRequest\\":{\\"Headers\\":[{\\"Name\\":\\"x-asm-prefer-tag\\",\\"MatchingMode\\":\\"exact\\",\\"MatchingContent\\":\\"s1\\"}],\\"URI\\":{\\"MatchingMode\\":\\"exact\\",\\"MatchingContent\\":\\"/mocktest\\"}},\\"RouteDestinations\\":[{\\"Destination\\":{\\"Host\\":\\"mocka.default.svc.cluster.local\\",\\"Subset\\":\\"s1\\"}}]}]</IngressRule>\\n <ServiceList>[\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka\\",\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb\\",\\"sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc\\"]</ServiceList>\\n </SwimLaneList>\\n</GetSwimLaneListResponse>","errorExample":""}]', - 'title' => 'GetSwimLaneList', - ], - 'GetDeploymentBySelector' => [ - 'summary' => 'Queries a list of workloads specified by a label selector.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'UpdateWaypoint', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateWaypoint', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"71680038-8009-5073-B43E-C057E9******\\"\\n}","type":"json"}]', + ], + 'UpgradeMeshEditionPartially' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ServiceMeshId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Alibaba Cloud Service Mesh (ASM) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ce9fc65def2aa4c918747b9360fbd****', - ], + 'schema' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ca04bc38979214bf2882be79d39b4****'], ], [ - 'name' => 'GuestCluster', + 'name' => 'SwitchToPro', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the cluster.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cbe80a56d07ed45818b4d39273e23****', - ], + 'schema' => ['description' => 'Specifies whether to switch the instance to the Professional Edition. Valid values:'."\n" + ."\n" + .'- `true`: Switches the instance to the Professional Edition.'."\n" + ."\n" + .'- `false`: Does not switch the instance to the Professional Edition.', 'type' => 'boolean', 'deprecated' => true, 'required' => false, 'title' => '', 'example' => 'true'], ], [ - 'name' => 'NameSpace', + 'name' => 'ASMGatewayContinue', 'in' => 'formData', - 'schema' => [ - 'description' => 'The namespace.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'Specifies whether to continue upgrading the ASM gateway. Valid values:'."\n" + ."\n" + .'- `true`: Upgrades the ASM gateway.'."\n" + ."\n" + .'- `false`: Does not upgrade the ASM gateway.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'true'], ], [ - 'name' => 'Limit', + 'name' => 'UpgradeGatewayRecords', 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of returned data entries.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The list of ASM gateways to upgrade. Separate multiple gateway names with commas.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'istio-system:ingressgateway1,istio-system:ingressgateway2'], ], [ - 'name' => 'Mark', + 'name' => 'ExpectedVersion', 'in' => 'formData', - 'schema' => [ - 'description' => 'The marker of data queried last time.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6NzgxODk3MCwic3RhcnQiOiJuZ2lueDQ1N1x1MDAw****', - ], + 'schema' => ['description' => 'The version to which you want to upgrade the instance. If you set this parameter, the backend checks if the target version matches this expected version. The upgrade proceeds only if the versions match. If they do not match, the `UpgradedVersion.NotExpected` fault is returned.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'v1.15.3.118-g4712daf0-aliyun'], ], [ - 'name' => 'LabelSelector', + 'name' => 'PreCheck', 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The label selector information.'."\n", - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'example' => 'app=perth-gateway', - 'description' => 'The label selector.'."\n", - ], - ], + 'schema' => ['description' => 'Specifies whether to perform only a precheck. If set to true, the system performs a precheck but does not start the upgrade.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '946690C2-41D3-55A0-A501-E2FFAB5F****', - ], - 'DeploymentNameList' => [ - 'description' => 'The queried workloads.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The names of the workloads.'."\n", - 'type' => 'string', - 'format' => 'byte', - 'example' => 'httpbin', - ], - ], - 'Mark' => [ - 'description' => 'The end-of-data marker.'."\n", - 'type' => 'string', - 'example' => 'eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6NTgyMDUzMzk5MCwic3RhcnQiOiJwbXMtYWRhcHRlci1kZGxsXHUwMDA****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '31d3a0f0-07ed-4f6e-9004-1804498c****'], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"946690C2-41D3-55A0-A501-E2FFAB5F8C24\\",\\n \\"DeploymentNameList\\": [\\n \\"httpbin\\"\\n ],\\n \\"Mark\\": \\"eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6NTgyMDUzMzk5MCwic3RhcnQiOiJwbXMtYWRhcHRlci1kZGxsXHUwMDAwIn0\\"\\n}","type":"json"}]', - 'title' => 'GetDeploymentBySelector', - ], - 'UpdateControlPlaneLogConfig' => [ - 'summary' => 'Modifies the configuration for collecting control plane logs.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'UpgradeMeshEditionPartially', + 'summary' => 'Upgrade an ASM instance or switch it to the Professional Edition.', + 'changeSet' => [ + ['createdAt' => '2023-06-07T09:52:24.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-05-24T02:49:46.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-03-03T07:46:39.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpgradeMeshEditionPartially', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31d3a0f0-07ed-4f6e-9004-1804498c****\\"\\n}","type":"json"}]', + ], + 'UpgradeMeshVersion' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ServiceMeshId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Service Mesh (ASM) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c20667db760fe4ee6910220136624****', - ], - ], - [ - 'name' => 'Enabled', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to collect control plane logs to Simple Log Service.'."\n", - 'type' => 'boolean', - 'required' => true, - 'docRequired' => true, - 'example' => 'false', - ], - ], - [ - 'name' => 'Project', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the Simple Log Service project to which control plane logs are collected.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'aia-asm-deva-sh', - ], + 'in' => 'query', + 'schema' => ['description' => 'The ID of the ASM instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****'], ], [ - 'name' => 'LogTTLInDay', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The time to live (TTL) period of the collected logs. Unit: day.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '3000', - 'minimum' => '1', - 'example' => '30', - 'default' => '30', - ], + 'name' => 'PreCheck', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to perform a precheck. The default value is false. If this parameter is set to true, this operation checks whether the Service Mesh instance can be upgraded but does not perform the upgrade.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '488F046B-63D2-5D96-9A70-E00C3685D49F', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '11fd0027-c27e-41bb-a565-75583054****'], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'ERR404', - 'errorMessage' => 'Not found', + 'title' => 'UpgradeMeshVersion', + 'summary' => 'Upgrades a Service Mesh instance.', + 'changeSet' => [ + ['createdAt' => '2023-06-07T09:52:24.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpgradeMeshVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"488F046B-63D2-5D96-9A70-E00C3685D49F\\"\\n}","type":"json"}]', - 'title' => 'UpdateControlPlaneLogConfig', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"11fd0027-c27e-41bb-a565-75583054****\\"\\n}","type":"json"}]', ], - 'UntagResources' => [ - 'summary' => 'Deletes user tags on a Service Mesh (ASM) instance.', - 'methods' => [ - 'get', - 'post', + ], + 'endpoints' => [ + ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-2', 'regionName' => 'Australia (Sydney) Closed', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => 'servicemesh.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => 'servicemesh.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => 'servicemesh.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => 'servicemesh.vpc-proxy.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => 'servicemesh.vpc-proxy.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => 'servicemesh.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => 'servicemesh.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => 'servicemesh.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => 'servicemesh.vpc-proxy.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'servicemesh.us-west-1.aliyuncs.com', 'endpoint' => 'servicemesh.us-west-1.aliyuncs.com', 'vpc' => 'servicemesh-vpc.us-west-1.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'servicemesh.us-east-1.aliyuncs.com', 'endpoint' => 'servicemesh.us-east-1.aliyuncs.com', 'vpc' => 'servicemesh-vpc.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => 'servicemesh.vpc-proxy.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-south-1', 'regionName' => 'India (Mumbai) Closed', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'me-east-1', 'regionName' => 'UAE (Dubai)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing-finance-1', 'regionName' => 'China North 2 Finance (Preview)', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou-finance', 'regionName' => 'China East 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => 'China South 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'servicemesh.aliyuncs.com', 'endpoint' => 'servicemesh.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [ + ['code' => 'ERR404', 'message' => 'Not found', 'http_code' => 404, 'description' => ''], + ['code' => 'ERR500', 'message' => 'An internal server error occurred.', 'http_code' => 500, 'description' => ''], + ['code' => 'ServiceMesh.NotFound', 'message' => 'The Service Mesh cluster does not exist.', 'http_code' => 404, 'description' => 'ServiceMesh Cluster does not exist'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ], + 'createdAt' => '2025-02-17T07:05:57.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeClustersInServiceMesh'], ], - 'schemes' => [ - 'http', - 'https', + 'createdAt' => '2024-12-10T07:03:58.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], ], - 'security' => [ - [ - 'AK' => [], - ], + 'createdAt' => '2024-11-22T08:50:25.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshAdditionalStatus'], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the ASM instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', + 'createdAt' => '2024-11-22T07:57:00.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetSwimLaneDetail'], + ['description' => 'Response parameters changed', 'api' => 'GetSwimLaneList'], + ], + 'createdAt' => '2024-11-08T07:04:53.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'AddClusterIntoServiceMesh'], + ], + 'createdAt' => '2024-10-23T11:40:43.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ], + 'createdAt' => '2024-09-25T09:29:46.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'AddClusterIntoServiceMesh'], + ], + 'createdAt' => '2024-09-25T09:25:37.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshes'], + ], + 'createdAt' => '2024-09-18T15:32:07.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeMetadata'], + ], + 'createdAt' => '2024-09-18T14:26:11.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ModifyPilotEipResource'], + ], + 'createdAt' => '2024-08-28T05:59:05.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateServiceMesh'], + ], + 'createdAt' => '2024-08-12T02:57:52.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeNamespaceScopeSidecarConfig'], + ['description' => 'Request parameters changed', 'api' => 'UpdateNamespaceScopeSidecarConfig'], + ], + 'createdAt' => '2024-07-26T03:31:17.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ], + 'createdAt' => '2024-07-18T02:36:08.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateSwimLaneGroup'], + ], + 'createdAt' => '2024-07-16T07:37:01.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateServiceMesh'], + ], + 'createdAt' => '2024-07-12T08:36:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2024-06-26T08:41:08.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2024-06-24T09:54:59.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshAdditionalStatus'], + ], + 'createdAt' => '2024-05-28T12:58:59.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeNamespaceScopeSidecarConfig'], + ['description' => 'Request parameters changed', 'api' => 'UpdateNamespaceScopeSidecarConfig'], + ], + 'createdAt' => '2024-05-21T02:20:42.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2024-05-17T10:24:22.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetSwimLaneDetail'], + ['description' => 'Response parameters changed', 'api' => 'GetSwimLaneGroupList'], + ['description' => 'Response parameters changed', 'api' => 'GetSwimLaneList'], + ['description' => 'Request parameters changed', 'api' => 'UpdateSwimLaneGroup'], + ], + 'createdAt' => '2024-05-17T02:32:52.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeMetadata'], + ], + 'createdAt' => '2024-05-11T08:38:08.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeReusableSlb'], + ], + 'createdAt' => '2024-03-22T01:52:26.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateServiceMesh'], + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2024-02-04T03:24:00.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ], + 'createdAt' => '2024-01-29T09:00:39.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ], + 'createdAt' => '2024-01-27T13:32:48.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2024-01-27T09:12:16.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2024-01-15T09:33:07.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeClusterGrafana'], + ], + 'createdAt' => '2023-12-28T11:07:12.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeReusableSlb'], + ], + 'createdAt' => '2023-12-27T09:24:31.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshes'], + ], + 'createdAt' => '2023-12-14T03:15:54.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeCCMVersion'], + ], + 'createdAt' => '2023-11-21T08:08:35.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateServiceMesh'], + ], + 'createdAt' => '2023-11-13T09:38:04.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListWaypoints'], + ], + 'createdAt' => '2023-11-08T02:45:11.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshes'], + ], + 'createdAt' => '2023-10-09T02:28:03.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateSwimLaneGroup'], + ['description' => 'Response parameters changed', 'api' => 'GetSwimLaneGroupList'], + ['description' => 'Request parameters changed', 'api' => 'UpdateSwimLaneGroup'], + ], + 'createdAt' => '2023-09-12T10:10:02.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2023-08-31T07:04:06.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeNamespaceScopeSidecarConfig'], + ['description' => 'Request parameters changed', 'api' => 'UpdateNamespaceScopeSidecarConfig'], + ], + 'createdAt' => '2023-08-31T03:28:44.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'GrantUserPermissions'], + ], + 'createdAt' => '2023-08-21T02:12:22.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshKubeconfig'], + ], + 'createdAt' => '2023-08-21T01:39:04.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateServiceMesh'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeServiceMeshes'], + ], + 'createdAt' => '2023-08-15T03:42:23.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateIstioInjectionConfig'], + ], + 'createdAt' => '2023-08-10T04:18:27.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateServiceMesh'], + ], + 'createdAt' => '2023-08-10T04:17:23.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateServiceMesh'], + ], + 'createdAt' => '2023-08-09T01:40:15.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateIstioInjectionConfig'], + ], + 'createdAt' => '2023-07-17T12:13:08.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshAdditionalStatus'], + ], + 'createdAt' => '2023-06-27T02:29:34.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateIstioGatewayRoutes'], + ['description' => 'Response parameters changed', 'api' => 'DescribeIstioGatewayRouteDetail'], + ['description' => 'Request parameters changed', 'api' => 'UpdateIstioGatewayRoutes'], + ], + 'createdAt' => '2023-06-25T11:11:48.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'GrantUserPermissions'], + ], + 'createdAt' => '2023-06-08T06:06:42.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpgradeMeshEditionPartially'], + ['description' => 'Request parameters changed', 'api' => 'UpgradeMeshVersion'], + ], + 'createdAt' => '2023-06-07T09:52:37.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2023-06-02T01:57:51.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeIstioGatewayDomains'], + ], + 'createdAt' => '2023-05-25T02:05:34.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpgradeMeshEditionPartially'], + ], + 'createdAt' => '2023-05-24T02:49:58.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateServiceMesh'], + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2023-04-13T07:00:34.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeVSwitches'], + ], + 'createdAt' => '2023-04-12T03:53:16.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed, Response parameters changed', 'api' => 'DescribeNamespaceScopeSidecarConfig'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'UpdateNamespaceScopeSidecarConfig'], + ], + 'createdAt' => '2023-03-27T02:54:19.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2023-03-24T08:21:48.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeNamespaceScopeSidecarConfig'], + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ['description' => 'Request parameters changed', 'api' => 'UpdateNamespaceScopeSidecarConfig'], + ], + 'createdAt' => '2022-11-30T04:10:07.000Z', + 'description' => 'Sidecar配置支持设置Interception Mode', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'AddClusterIntoServiceMesh'], + ['description' => 'Request parameters changed', 'api' => 'CreateServiceMesh'], + ['description' => 'Request parameters changed', 'api' => 'RemoveClusterFromServiceMesh'], + ], + 'createdAt' => '2022-11-15T08:18:39.000Z', + 'description' => '创建ASM 实例增加相关参数', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2022-11-02T03:22:27.000Z', + 'description' => '补充全局Sidecar配置选项', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'DescribeServiceMeshUpgradeStatus'], + ], + 'createdAt' => '2022-10-28T09:10:12.000Z', + 'description' => 'update error code mapping', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeGuestClusterNamespaces'], + ], + 'createdAt' => '2022-10-14T01:53:47.000Z', + 'description' => 'DescribeGuestClusterNamespaces支持列出数据面命名空间的label', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'GetSwimLaneGroupList'], + ], + 'createdAt' => '2022-09-28T07:36:15.000Z', + 'description' => 'asm 泳道组列表接口', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CreateSwimLane'], + ['description' => 'OpenAPI offline', 'api' => 'CreateSwimLaneGroup'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteSwimLane'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteSwimLaneGroup'], + ['description' => 'OpenAPI offline', 'api' => 'GetDeploymentBySelector'], + ['description' => 'OpenAPI offline', 'api' => 'GetGrafanaDashboardUrl'], + ['description' => 'OpenAPI offline', 'api' => 'GetSwimLaneDetail'], + ['description' => 'OpenAPI offline', 'api' => 'GetSwimLaneList'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateSwimLane'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateSwimLaneGroup'], + ], + 'createdAt' => '2022-09-28T07:27:04.000Z', + 'description' => '新增ASM 全链路泳道相关接口', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshCRAggregation'], + ], + 'createdAt' => '2022-09-08T03:18:21.000Z', + 'description' => 'UpdateMeshCRAggregation在启用数据面KubeAPI访问ASM的Istio资源时,可以指定使用ASM的公网API Server端点访问Istio资源', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshClusters'], + ], + 'createdAt' => '2022-09-05T04:17:23.000Z', + 'description' => '返回值中新增forbiddenInfo信息', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ], + 'createdAt' => '2022-08-31T02:09:01.000Z', + 'description' => '在DescribeServiceMeshDetail的返回值中加入自动诊断能力开关(AutoDiagnosis)', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateIstioGatewayRoutes'], + ['description' => 'Response parameters changed', 'api' => 'DescribeIstioGatewayRoutes'], + ['description' => 'Request parameters changed', 'api' => 'UpdateIstioGatewayRoutes'], + ], + 'createdAt' => '2022-08-25T10:05:37.000Z', + 'description' => 'ASM 网关路由部分新增domains 、Destination host 、suset 字段透出', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2022-08-17T07:16:20.000Z', + 'description' => 'UpdateMeshFeature支持开启和关闭服务网格的自动诊断能力', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeNodesInstanceType'], + ], + 'createdAt' => '2022-08-02T16:11:31.000Z', + 'description' => '更新API DescribeNodesInstanceType', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshAdditionalStatus'], + ], + 'createdAt' => '2022-07-27T05:44:51.000Z', + 'description' => '支持查看服务网格金丝雀过程中第二个pilot slb的状态', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2022-06-30T10:07:30.000Z', + 'description' => '补充两个字段在更新、明细返回的API中', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpgradeMeshEditionPartially'], + ], + 'createdAt' => '2022-05-26T01:53:05.000Z', + 'description' => 'up', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ], + 'createdAt' => '2022-05-17T02:44:49.000Z', + 'description' => 'cr', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'UpdateMeshCRAggregation'], + ], + 'createdAt' => '2022-05-10T11:39:57.000Z', + 'description' => 'cr', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeNamespaceScopeSidecarConfig'], + ['description' => 'Request parameters changed', 'api' => 'UpdateNamespaceScopeSidecarConfig'], + ], + 'createdAt' => '2022-04-27T09:17:23.000Z', + 'description' => 'proxy', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshAdditionalStatus'], + ], + 'createdAt' => '2022-04-27T09:06:50.000Z', + 'description' => 'DescribeServiceMeshAdditionalStatus支持返回资源的锁定状态', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ], + 'createdAt' => '2022-04-11T12:20:36.000Z', + 'description' => 'proxy', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeServiceMeshClusters'], + ], + 'createdAt' => '2022-03-30T10:56:16.000Z', + 'description' => 'DescribeServiceMeshClusters加入分页', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ], + 'createdAt' => '2022-03-29T08:27:44.000Z', + 'description' => 'opa', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2022-03-29T02:32:13.000Z', + 'description' => 'opa', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshAdditionalStatus'], + ], + 'createdAt' => '2022-03-24T08:28:28.000Z', + 'description' => 'slb', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CreateIstioGatewayRoutes'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteGatewayRoute'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeIstioGatewayRouteDetail'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeIstioGatewayRoutes'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateIstioGatewayRoutes'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateIstioRouteAdditionalStatus'], + ], + 'createdAt' => '2022-03-18T10:04:42.000Z', + 'description' => 'gateway', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CreateGatewaySecret'], + ['description' => 'OpenAPI offline', 'api' => 'CreateIstioGatewayDomains'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteGatewaySecret'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteIstioGatewayDomains'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeGatewaySecretDetails'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeIstioGatewayDomains'], + ], + 'createdAt' => '2022-03-18T09:57:54.000Z', + 'description' => 'domain', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshes'], + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2022-03-17T07:58:03.000Z', + 'description' => '增加实例类型', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateServiceMesh'], + ], + 'createdAt' => '2022-03-01T16:02:24.000Z', + 'description' => 'create asm', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeNodesInstanceType'], + ], + 'createdAt' => '2022-01-19T15:21:42.000Z', + 'description' => '上游服务', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeCCMVersion'], + ], + 'createdAt' => '2022-01-12T07:57:36.000Z', + 'description' => 'ccm 版本查询', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeUsersWithPermissions'], + ], + 'createdAt' => '2022-01-12T01:54:38.000Z', + 'description' => '支持列出所有具有RBAC权限的用户或角色ID', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateServiceMesh'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeVersions'], + ], + 'createdAt' => '2021-12-31T09:43:26.000Z', + 'description' => '优化使用OpenAPI方式创建网格的流程', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'RevokeKubeconfig'], + ], + 'createdAt' => '2021-12-30T07:29:09.000Z', + 'description' => '支持吊销ASM实例的Kubeconfig', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeAlertActionPolicies'], + ], + 'createdAt' => '2021-12-16T06:19:15.000Z', + 'description' => 'none', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeNamespaceScopeSidecarConfig'], + ], + 'createdAt' => '2021-12-14T09:27:42.000Z', + 'description' => 'sidecar proxy', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'UpdateNamespaceScopeSidecarConfig'], + ], + 'createdAt' => '2021-12-14T09:27:08.000Z', + 'description' => 'sidecar proxy', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DeleteServiceMesh'], + ], + 'createdAt' => '2021-12-13T09:52:51.000Z', + 'description' => '支持删除网格时,删除相关资源', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ], + 'createdAt' => '2021-12-07T15:34:35.000Z', + 'description' => '终止等待时间', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CreateExtensionProvider'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteExtensionProvider'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeExtensionProvider'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateExtensionProvider'], + ], + 'createdAt' => '2021-11-25T17:55:09.000Z', + 'description' => 'ext auth', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshUpgradeStatus'], + ], + 'createdAt' => '2021-11-25T09:09:44.000Z', + 'description' => 'version', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshUpgradeStatus'], + ], + 'createdAt' => '2021-11-18T08:22:27.000Z', + 'description' => 'meshState', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2021-11-05T10:07:01.000Z', + 'description' => 'multiBuffer', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2021-11-04T11:27:21.000Z', + 'description' => 'sidecar proxy config', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ], + 'createdAt' => '2021-11-03T13:42:06.000Z', + 'description' => 'helm support', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2021-11-03T13:40:56.000Z', + 'description' => 'CRAggregationEnabled', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ], + 'createdAt' => '2021-11-03T13:40:46.000Z', + 'description' => 'CRAggregationEnabled', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateServiceMesh'], + ], + 'createdAt' => '2021-11-03T13:40:35.000Z', + 'description' => 'CR聚集', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateServiceMesh'], + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2021-10-28T04:09:17.000Z', + 'description' => '增加Istio资源配置历史版本与helm支持两个ASM功能的开关支持', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeServiceMeshGatewayPodStatus'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeServiceMeshGatewaySLBStatus'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeServiceMeshUpgradeStatus'], + ], + 'createdAt' => '2021-10-27T07:15:02.000Z', + 'description' => '网关信息查看以及升级管理', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2021-09-28T06:40:29.000Z', + 'description' => 'includeInboundPorts', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateServiceMesh'], + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2021-09-10T05:27:28.000Z', + 'description' => '增加参数AccessLogFile', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateServiceMesh'], + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2021-09-06T08:10:52.000Z', + 'description' => '支持accesslogformat自定义', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ], + 'createdAt' => '2021-08-17T08:19:59.000Z', + 'description' => 'LocalityLB和ControlPlaneLog的DescribeServiceMeshDetail支持', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateServiceMesh'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateControlPlaneLogConfig'], + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2021-08-17T03:55:33.000Z', + 'description' => 'ASM支持控制面日志,地域负载均衡', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'ModifyServiceMeshName'], + ], + 'createdAt' => '2021-08-13T06:45:03.000Z', + 'description' => '新增修改网格名称API', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'ReActivateAudit'], + ], + 'createdAt' => '2021-08-13T06:44:32.000Z', + 'description' => '新增重建接口', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeCrTemplates'], + ], + 'createdAt' => '2021-08-13T06:44:22.000Z', + 'description' => '新增CR模板API', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeClustersInServiceMesh'], + ], + 'createdAt' => '2021-06-03T09:04:15.000Z', + 'description' => '数据面logtail安装状态检测', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeAvailableNacosInstances'], + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2021-05-31T07:46:33.000Z', + 'description' => '支持动态启用nacos', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateServiceMesh'], + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2021-05-17T11:46:58.000Z', + 'description' => '发布API变更', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CreateServiceMesh'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeAvailableNacosInstances'], + ['description' => 'Response parameters changed', 'api' => 'DescribeServiceMeshDetail'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeVpcs'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeVSwitches'], + ['description' => 'Request parameters changed', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2021-05-12T13:23:22.000Z', + 'description' => ' 发布configsource自定义', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'AddMeshTagToEcs'], + ['description' => 'OpenAPI offline', 'api' => 'GetEcsList'], + ], + 'createdAt' => '2021-05-08T03:15:24.000Z', + 'description' => 'ecs打标', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeRegions'], + ['description' => 'OpenAPI offline', 'api' => 'GetVmMeta'], + ], + 'createdAt' => '2021-05-06T03:18:11.000Z', + 'description' => 'update', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'GetCaCert'], + ['description' => 'OpenAPI offline', 'api' => 'GetSaToken'], + ], + 'createdAt' => '2021-04-25T07:57:30.000Z', + 'description' => '新增API', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeServiceMeshDetail'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateMeshFeature'], + ], + 'createdAt' => '2021-03-30T09:45:15.000Z', + 'description' => 'API增加字段', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceMeshDetail'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVSwitches'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcs'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVMsInServiceMesh'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceMeshVMs'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddVMIntoServiceMesh'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateMeshFeature'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateASMNamespaceFromGuestCluster'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveVMFromServiceMesh'], + ], + ], + 'ram' => [ + 'productCode' => 'ServiceMesh', + 'productName' => 'Service Mesh', + 'ramCodes' => ['servicemesh'], + 'ramLevel' => 'RESOURCE', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'InvokeApiServer', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:InvokeApiServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GrantUserPermissions', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:GrantUserPermissions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type. Set the value to `servicemesh`.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'servicemesh', + ], + [ + 'apiName' => 'DescribePluginConfig', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribePluginConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ResourceId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'The IDs of the ASM instances.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the ASM instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'c418807cb4e5840eab018da7d8f5daa11', - ], - 'required' => true, - 'maxItems' => 50, - 'minItems' => 1, + ], + [ + 'apiName' => 'DescribeServiceMeshGatewayPodStatus', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshGatewayPodStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'TagKey', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => 'The tag keys.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The tag key.'."\n" - ."\n" - .'The key of tag N can be up to 64 characters in length, and cannot start with `aliyun` or `acs:`. The tag key cannot contain `http://` or `https://`.'."\n" - ."\n" - .'If multiple tag keys are specified, the logical relation among these tag keys is **OR**. Valid values of **N**: **1** to **20**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEST_KEY_1', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, + ], + [ + 'apiName' => 'DescribeVMsInServiceMesh', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeVMsInServiceMesh', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'All', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to delete all tags. This parameter takes effect only when the TagKey.N parameter is not specified. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n" - ."\n" - .'Default value: false.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', + ], + [ + 'apiName' => 'AddMeshTagToEcs', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:AddMeshTagToEcs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], - ], + [ + 'apiName' => 'DeleteSwimLane', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'servicemesh:DeleteSwimLane', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribeClusterGrafana', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeClusterGrafana', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","type":"json"}]', - 'title' => 'UntagResources', - ], - 'ListTagResources' => [ - 'summary' => 'Queries user tags on a Service Mesh (ASM) instance.', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'UpdateMeshForCancelCanary', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateMeshForCancelCanary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeExtensionProvider', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeExtensionProvider', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeReusableSlb', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeReusableSlb', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the ASM instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', + [ + 'apiName' => 'AddVMIntoServiceMesh', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'servicemesh:AddVMIntoServiceMesh', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type. Set the value to `servicemesh`.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'servicemesh', + ], + [ + 'apiName' => 'GetKialiAddress', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:GetKialiAddress', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ResourceId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'The IDs of the ASM instances.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the Nth resource. This parameter specifies the ID of the ASM instance. You can query the IDs of multiple resources. Specify the parameter name in the format of ResourceId.x, such as ResourceId.2 and ResourceId.3. N is a positive integer.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'c418807cb4e5840eab018da7d8f5daa11', - ], - 'required' => false, - 'minItems' => 1, + ], + [ + 'apiName' => 'DescribeIstioGatewayRouteDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeIstioGatewayRouteDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Tag', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'The tags. A maximum of 20 tags are supported.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n" - ."\n" - .'A tag key can be up to 128 characters in length. The tag key cannot contain `http://` or `https://` and cannot start with `aliyun` or `acs:`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - 'Value' => [ - 'description' => 'The tag value of the resource.'."\n" - ."\n" - .'The tag value can be left empty or a string of up to 128 characters. The tag value cannot start with aliyun or acs:, and cannot contain http:// or https://.'."\n" - ."\n" - .'Each tag key must have a unique tag value. You can specify at most 20 tag values in each call.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'yahaha', - ], - ], - 'required' => false, - ], - 'required' => false, - 'minItems' => 1, + ], + [ + 'apiName' => 'DescribeEnvoyFilterTemplateInfo', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeEnvoyFilterTemplateInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '""', + ], + [ + 'apiName' => 'DescribeAvailableNacosInstances', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeAvailableNacosInstances', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], - 'NextToken' => [ - 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'TagResources' => [ - 'description' => 'The details of the queried clusters and tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ResourceId' => [ - 'description' => 'The ID of the ASM instance.'."\n", - 'type' => 'string', - 'example' => '863c333b-9a8e-4b53-a13f-52a979362431', - ], - 'ResourceType' => [ - 'description' => 'The resource type. Set the value to `servicemesh`.'."\n", - 'type' => 'string', - 'example' => 'servicemesh', - ], - 'TagKey' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'k1', - ], - 'TagValue' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => 'yahaha', - ], - ], - ], - ], - ], + [ + 'apiName' => 'DescribeWorkloadASMProxyConfigList', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeWorkloadASMProxyConfigList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribeGuestClusterPods', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeGuestClusterPods', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"NextToken\\": \\"\\\\\\"\\\\\\"\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceId\\": \\"863c333b-9a8e-4b53-a13f-52a97936****\\",\\n \\"ResourceType\\": \\"servicemesh\\",\\n \\"TagKey\\": \\"k1\\",\\n \\"TagValue\\": \\"yahaha\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListTagResources', - ], - 'TagResources' => [ - 'summary' => 'Adds or modifies user tags on a resource.', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'CheckProductActiveStatus', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:CheckProductActiveStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeManagedServices', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeManagedServices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'CreateOrUpdateSwimLaneIngressRule', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:CreateOrUpdateSwimLaneIngressRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the Service Mesh (ASM) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', + [ + 'apiName' => 'UpdateGuestClusterConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateGuestClusterConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type. Set the value to `servicemesh`.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'servicemesh', + ], + [ + 'apiName' => 'DescribeGuestClusterNamespaces', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeGuestClusterNamespaces', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ResourceId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'The IDs of the ASM instances.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the tagged ASM instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c418807cb4e5840eab018da7d8f5daa11', - ], - 'required' => true, - 'maxItems' => 50, - 'minItems' => 1, + ], + [ + 'apiName' => 'GetSwimLaneDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:GetSwimLaneDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Tag', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'The tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The tag keys.'."\n" - ."\n" - .'The following limits apply:'."\n" - ."\n" - .'* The key of tag N cannot be an empty string.'."\n" - .'* Valid values of N: 1 to 20.'."\n" - .'* The tag key can be up to 128 characters in length.'."\n" - .'* The tag key cannot start with `aliyun` or `acs:`.'."\n" - .'* The tag key cannot contain `http://` or `https://`.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], - 'Value' => [ - 'description' => 'The tag values.'."\n" - ."\n" - .'The following limits apply:'."\n" - ."\n" - .'* The value of tag N cannot be an empty string.'."\n" - .'* Valid values of N: 1 to 20.'."\n" - .'* The tag value can be up to 128 characters in length.'."\n" - .'* The tag value cannot contain `http://` or `https://`.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'yahaha', - ], - ], - 'required' => true, - ], - 'required' => true, - 'maxItems' => 20, - 'minItems' => 1, + ], + [ + 'apiName' => 'DescribeNodesInstanceType', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeNodesInstanceType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], - ], + [ + 'apiName' => 'DescribeVpcs', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeVpcs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'GetRegisteredServices', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'servicemesh:GetRegisteredServices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","type":"json"}]', - 'title' => 'TagResources', - ], - 'UpdateWaypoint' => [ - 'summary' => '更新Waypoint', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'UpdateNamespaceScopeSidecarConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateNamespaceScopeSidecarConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeMeshWorkloadVersionStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeMeshWorkloadVersionStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribePluginGuide', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribePluginGuide', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', + [ + 'apiName' => 'GetVmMeta', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:GetVmMeta', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'ServiceMeshId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The Service Mesh (ASM) instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - 'minLength' => 1, + [ + 'apiName' => 'CreateServiceMesh', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'servicemesh:CreateServiceMesh', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ClusterId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the cluster on the data plane.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ce3c25e247da24f3aab9b7edfae83****', - 'minLength' => 1, + ], + [ + 'apiName' => 'CreateSwimLane', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'servicemesh:CreateSwimLane', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Namespace', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The namespace.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', + ], + [ + 'apiName' => 'UpdateMeshAdaptiveXds', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateMeshAdaptiveXds', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Name', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Waypoint名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'bookinfo-reviews', + ], + [ + 'apiName' => 'DeleteGatewaySecret', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'servicemesh:DeleteGatewaySecret', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'RequestCPU', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The number of CPU cores requested by the waypoint proxy pods.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '100m', + ], + [ + 'apiName' => 'ModifyPilotEipResource', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:ModifyPilotEipResource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'RequestMemory', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The size of the memory requested by the waypoint proxy pods.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '128Mi', + ], + [ + 'apiName' => 'UpdateMeshMultiClusterNetwork', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateMeshMultiClusterNetwork', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'LimitCPU', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of CPU cores that are available to the waypoint proxy pods.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2000m', + ], + [ + 'apiName' => 'CreateKialiRAMIntegration', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:CreateKialiRAMIntegration', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'LimitMemory', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum size of the memory that is available to the waypoint proxy pods.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1024Mi', + ], + [ + 'apiName' => 'DescribeIstioGatewayDomains', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeIstioGatewayDomains', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Replicas', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The number of waypoint proxy pods.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '1', + ], + [ + 'apiName' => 'DescribeVersionManagement', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeVersionManagement', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'HPAEnabled', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable Horizontal Pod Autoscaling (HPA).'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'DescribeASMGatewayImportedServices', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeASMGatewayImportedServices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'HPATargetCPU', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The expected CPU utilization when HPA is enabled.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '0', - 'example' => '91', + ], + [ + 'apiName' => 'GetBuiltinEnvoyFilterCatalog', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:GetBuiltinEnvoyFilterCatalog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'HPATargetMemory', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The expected memory usage when HPA is enabled.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '0', - 'example' => '89', + ], + [ + 'apiName' => 'ModifyApiServerEipResource', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:ModifyApiServerEipResource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'HPAMinReplicas', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The minimum number of waypoint proxy pods when HPA is enabled.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '2', + ], + [ + 'apiName' => 'DescribeServiceMeshPermissions', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshPermissions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'HPAMaxReplicas', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of waypoint proxy pods when HPA is enabled.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '4', + ], + [ + 'apiName' => 'DescribeMeshMultiClusterNetwork', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeMeshMultiClusterNetwork', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PreferECI', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to deploy waypoint proxy pods based on Elastic Container Instance (ECI).'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'DescribeMeshSlbMetricAlertRules', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeMeshSlbMetricAlertRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '71680038-8009-5073-B43E-C057E9******', - 'title' => 'Id of the request', - ], - ], + [ + 'apiName' => 'DescribeCens', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeCens', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribeServiceMeshGatewaySLBStatus', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshGatewaySLBStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"71680038-8009-5073-B43E-C057E9******\\"\\n}","type":"json"}]', - 'title' => 'UpdateWaypoint', - ], - 'CreateWaypoint' => [ - 'summary' => '创建Waypoint', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'DeleteTelemetryConfiguration', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DeleteTelemetryConfiguration', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'GetObservabilityStatus', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:GetObservabilityStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeMetadata', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeMetadata', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', + [ + 'apiName' => 'DescribeControlPlaneLogAlertRules', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeControlPlaneLogAlertRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'ServiceMeshId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The Service Mesh (ASM) instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ce134b0727aa2492db69f6c3880e****', - 'minLength' => 1, + [ + 'apiName' => 'GetRegisteredServiceEndpoints', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:GetRegisteredServiceEndpoints', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ClusterId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the cluster on the data plane.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cb8963379255149cb98c8686f274x****', - 'minLength' => 1, + ], + [ + 'apiName' => 'GetGrafanaDashboardUrl', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:GetGrafanaDashboardUrl', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Namespace', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The namespace.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', + ], + [ + 'apiName' => 'DescribeAvailablePlugins', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeAvailablePlugins', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ServiceAccount', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The service account on which the waypoint proxy takes effect. If you do not specify this parameter, the waypoint proxy takes effect for the entire namespace.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'bookinfo-productpage', + ], + [ + 'apiName' => 'UpdateKServeConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateKServeConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'RequestCPU', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The number of CPU cores requested by the waypoint proxy pods.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '100m', + ], + [ + 'apiName' => 'UpdateDeploymentRedeployTime', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateDeploymentRedeployTime', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'RequestMemory', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The size of the memory requested by the waypoint proxy pods.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '128Mi', + ], + [ + 'apiName' => 'DescribeServiceAccessDetail', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceAccessDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'LimitCPU', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of CPU cores that are available to the waypoint proxy pods.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2000m', + ], + [ + 'apiName' => 'GetRegisteredDeployments', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'servicemesh:GetRegisteredDeployments', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'LimitMemory', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum size of the memory that is available to the waypoint proxy pods.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1024Mi', + ], + [ + 'apiName' => 'DescribeServiceMeshVMs', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshVMs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Replicas', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The number of waypoint proxy pods.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '1', + ], + [ + 'apiName' => 'GetCaCert', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:GetCaCert', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'HPAEnabled', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable Horizontal Pod Autoscaling (HPA).'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'DescribeGatewaySecretDetails', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeGatewaySecretDetails', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'HPATargetCPU', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The expected CPU utilization when HPA is enabled.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '0', - 'example' => '93', + ], + [ + 'apiName' => 'DescribeCCMVersion', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeCCMVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'HPATargetMemory', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The expected memory usage when HPA is enabled.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '0', - 'example' => '91', + ], + [ + 'apiName' => 'GetAutoInjectionLabelSyncStatus', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:GetAutoInjectionLabelSyncStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'HPAMinReplicas', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The minimum number of waypoint proxy pods when HPA is enabled.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '2', + ], + [ + 'apiName' => 'UpdateSwimLane', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateSwimLane', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'HPAMaxReplicas', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of waypoint proxy pods when HPA is enabled.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '4', + ], + [ + 'apiName' => 'UpgradeASMGatewayInCanary', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UpgradeASMGatewayInCanary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PreferECI', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to deploy waypoint proxy pods based on Elastic Container Instance (ECI).'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'DescribeRecommendedSidecar', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeRecommendedSidecar', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '71680038-8009-5073-B43E-C057E9******', - ], - ], + [ + 'apiName' => 'CreateWaypoint', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:CreateWaypoint', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'UpdateKialiConfiguration', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateKialiConfiguration', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"71680038-8009-5073-B43E-C057E9******\\"\\n}","type":"json"}]', - 'title' => 'CreateWaypoint', - ], - 'DeleteWaypoint' => [ - 'summary' => '删除Waypoint资源', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'GetDiagnosis', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:GetDiagnosis', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeServiceMeshProxyStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshProxyStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeKialiRAMIntegrationStatus', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeKialiRAMIntegrationStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', + [ + 'apiName' => 'UpdateControlPlaneLogConfig', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateControlPlaneLogConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'ServiceMeshId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The Service Mesh (ASM) instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cb8963379255149cb98c8686f274x****', + [ + 'apiName' => 'ModifyServiceMesh', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:ModifyServiceMesh', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ClusterId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the cluster on the data plane.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ce3c25e247da24f3aab9b7edfae83****', + ], + [ + 'apiName' => 'UpgradeMeshEditionPartially', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpgradeMeshEditionPartially', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Namespace', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The namespace.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', + ], + [ + 'apiName' => 'GetCanaryUpgradeVersions', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:GetCanaryUpgradeVersions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Name', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Waypoint name.', - 'type' => 'string', - 'required' => true, - 'example' => 'bookinfo-reviews', + ], + [ + 'apiName' => 'DescribeServiceMeshKubeconfig', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshKubeconfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], - ], + [ + 'apiName' => 'RevokeKubeconfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:RevokeKubeconfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribeServiceSidecarInjectStatus', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceSidecarInjectStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","type":"json"}]', - 'title' => 'DeleteWaypoint', - ], - 'ListWaypoints' => [ - 'summary' => 'Queries the configurations of all waypoint proxies in a namespace of a cluster on the data plane.', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'UpdateIstioGatewayRoutes', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateIstioGatewayRoutes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'SetServiceRegistrySource', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:SetServiceRegistrySource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'UpdateMeshForSwitchCanary', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateMeshForSwitchCanary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'CreateLlmSessionMessage', + 'description' => '', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', + 'ramAction' => [ + 'action' => 'servicemesh:CreateLlmSessionMessage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'ServiceMeshId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The Service Mesh (ASM) instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c08ba3fd1e6484b0f8cc1ad8fe10d****', - 'minLength' => 1, + [ + 'apiName' => 'UpdateIstioInjectionConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateIstioInjectionConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ClusterId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the cluster on the data plane.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ce3c25e247da24f3aab9b7edfae83****', - 'minLength' => 1, + ], + [ + 'apiName' => 'DescribeASMSidecarExpectedVersion', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeASMSidecarExpectedVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Namespace', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The namespace.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', + ], + [ + 'apiName' => 'DescribeServiceMeshes', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Name', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Waypoint which you want to get. If empty, return all waypoints.', - 'type' => 'string', - 'required' => false, - 'example' => 'bookinfo-productpage', + ], + [ + 'apiName' => 'CreateSwimLaneGroup', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'servicemesh:CreateSwimLaneGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Limit', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Limit the number of waypoints returned.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '30', + ], + [ + 'apiName' => 'DisableControlPlaneLogAlert', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DisableControlPlaneLogAlert', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Continue', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Used in conjunction with Limit, it is used to query waypoints starting from a specified offset. When calling for the first time, no need to care abount it. If the Continue in the returned result is not empty, it means that there is still data that has not been returned, and you need to continue the call with the returned Continue.', - 'type' => 'string', - 'required' => false, - 'example' => 'eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6MjY4Njc5Miwic3RhcnQiOiJkZWZhdWx0L2Jvb2tpbmZvLXByb2R1Y3RwYWdlXHUwMDAwIn0', + ], + [ + 'apiName' => 'DescribeClusterPrometheus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeClusterPrometheus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], - 'Waypoints' => [ - 'description' => 'The configurations of waypoint proxies.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the gateway resource for the waypoint proxy. If the waypoint proxy applies to a service account, the name is the service account name. If the waypoint proxy applies to the entire namespace, the name is `namespace`.'."\n", - 'type' => 'string', - 'example' => 'namespace', - ], - 'ServiceAccount' => [ - 'description' => 'The service account to which the waypoint proxy applies. If no value is returned for this parameter, the waypoint proxy applies to the entire namespace.'."\n", - 'type' => 'string', - 'example' => 'bookinfo-productpage', - ], - 'Namespace' => [ - 'description' => 'The namespace.'."\n", - 'type' => 'string', - 'example' => 'default', - ], - 'RequestCPU' => [ - 'description' => 'The amount of CPU resources requested by the waypoint proxy pods.'."\n", - 'type' => 'string', - 'example' => '100m', - ], - 'RequestMemory' => [ - 'description' => 'The amount of memory resources requested by the waypoint proxy pods.'."\n", - 'type' => 'string', - 'example' => '128Mi', - ], - 'LimitCPU' => [ - 'description' => 'The maximum amount of CPU resources that are available to the waypoint proxy pods.'."\n", - 'type' => 'string', - 'example' => '2000m', - ], - 'LimitMemory' => [ - 'description' => 'The maximum amount of memory resources that are available to the waypoint proxy pods.'."\n", - 'type' => 'string', - 'example' => '1024Mi', - ], - 'Replicas' => [ - 'description' => 'The number of waypoint proxy pods.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'HPAEnabled' => [ - 'description' => 'Indicates whether Horizontal Pod Autoscaling (HPA) is enabled.'."\n", - 'type' => 'string', - 'example' => 'false', - ], - 'HPATargetCPU' => [ - 'description' => 'The expected CPU utilization when HPA is enabled.'."\n", - 'type' => 'string', - 'example' => '93', - ], - 'HPATargetMemory' => [ - 'description' => 'The expected memory usage when HPA is enabled.'."\n", - 'type' => 'string', - 'example' => '91', - ], - 'HPAMinReplicas' => [ - 'description' => 'The minimum number of waypoint proxy pods when HPA is enabled.'."\n", - 'type' => 'string', - 'example' => '2', - ], - 'HPAMaxReplicas' => [ - 'description' => 'The maximum number of waypoint proxy pods when HPA is enabled.'."\n", - 'type' => 'string', - 'example' => '4', - ], - 'PreferECI' => [ - 'description' => 'Indicates whether waypoint proxy pods are preferentially scheduled to elastic container instances.'."\n", - 'type' => 'string', - 'example' => 'false', - ], - ], - ], - ], - 'Continue' => [ - 'description' => 'Base64 encoded string. If it is empty, it means that all waypoints have been obtained; if it is not empty, this value should be included in the next list, and you can continue to obtain it from the offset that ends this time.', - 'type' => 'string', - 'example' => 'eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6MjY4Njc5Miwic3RhcnQiOiJkZWZhdWx0L2Jvb2tpbmZvLXByb2R1Y3RwYWdlXHUwMDAwIn0', - ], - ], + [ + 'apiName' => 'RunCanaryUpgrade', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:RunCanaryUpgrade', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'CreateGatewaySecret', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'servicemesh:CreateGatewaySecret', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\",\\n \\"Waypoints\\": [\\n {\\n \\"Name\\": \\"namespace\\",\\n \\"ServiceAccount\\": \\"bookinfo-productpage\\",\\n \\"Namespace\\": \\"default\\",\\n \\"RequestCPU\\": \\"100m\\",\\n \\"RequestMemory\\": \\"128Mi\\",\\n \\"LimitCPU\\": \\"2000m\\",\\n \\"LimitMemory\\": \\"1024Mi\\",\\n \\"Replicas\\": \\"1\\",\\n \\"HPAEnabled\\": \\"false\\",\\n \\"HPATargetCPU\\": \\"93\\",\\n \\"HPATargetMemory\\": \\"91\\",\\n \\"HPAMinReplicas\\": \\"2\\",\\n \\"HPAMaxReplicas\\": \\"4\\",\\n \\"PreferECI\\": \\"false\\"\\n }\\n ],\\n \\"Continue\\": \\"eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6MjY4Njc5Miwic3RhcnQiOiJkZWZhdWx0L2Jvb2tpbmZvLXByb2R1Y3RwYWdlXHUwMDAwIn0\\"\\n}","type":"json"}]', - 'title' => 'ListWaypoints', - ], - 'ListServiceAccounts' => [ - 'summary' => '列举所有服务账号', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'CreateASMGateway', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'servicemesh:CreateASMGateway', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'UpgradeMeshVersion', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpgradeMeshVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeVSwitches', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeVSwitches', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', + [ + 'apiName' => 'DescribePlaygroundControlPanel', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribePlaygroundControlPanel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'ServiceMeshId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Service Mesh (ASM) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ce134b0727aa2492db69f6c3880e1****', - 'minLength' => 1, + [ + 'apiName' => 'UpdateEnvoyFilterToTemplate', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateEnvoyFilterToTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ClusterId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the cluster on the data plane.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ce3c25e247da24f3aab9b7edfae83****', - 'minLength' => 1, + ], + [ + 'apiName' => 'DescribeTelemetryConfiguration', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeTelemetryConfiguration', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Namespace', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The namespace.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', + ], + [ + 'apiName' => 'DescribeUserPermissions', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeUserPermissions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '8349374D-0F22-5CAB-9DE3-8CCE8EFA71FF', - ], - 'ServiceAccounts' => [ - 'description' => 'The list of service accounts.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the service account.'."\n", - 'type' => 'string', - 'example' => 'bookinfo-reviews', - ], - 'Namespace' => [ - 'description' => 'The namespace where the service account resides.'."\n", - 'type' => 'string', - 'example' => 'default', - ], - ], - ], - ], - ], + [ + 'apiName' => 'GetSwimLaneGroupList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:GetSwimLaneGroupList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'AddClusterIntoServiceMesh', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'servicemesh:AddClusterIntoServiceMesh', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8349374D-0F22-5CAB-9DE3-8CCE8EFA71FF\\",\\n \\"ServiceAccounts\\": [\\n {\\n \\"Name\\": \\"bookinfo-reviews\\",\\n \\"Namespace\\": \\"default\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'ListServiceAccounts', - ], - 'UpdateMeshMultiClusterNetwork' => [ - 'summary' => 'Updates the network configurations of multiple Kubernetes clusters in a Service Mesh (ASM) instance.', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'UpdateServiceMeshOwner', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateServiceMeshOwner', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'GetClusterSpecInfo', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:GetClusterSpecInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ModifyBuiltinEnvoyFilter', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:ModifyBuiltinEnvoyFilter', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'chargeType' => 'paid', - 'abilityTreeCode' => '223128', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh4LB119', + [ + 'apiName' => 'ListDashboard', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:ListDashboard', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'ServiceMeshId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the ASM instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cb8963379255149cb98c8686f274x****', + [ + 'apiName' => 'DescribeEipResources', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeEipResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'MultiClusterNetworks', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The network configuration descriptions of multiple Kubernetes clusters. The key in the map is the ID of a Kubernetes cluster, and the value is the network configuration of the cluster.'."\n", - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'properties' => [ - 'Network' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'The name of the network.'."\n", - 'example' => 'network1', - ], - 'EnableGateway' => [ - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'description' => 'Indicates whether to enable service access through an east-west gateway for the cluster.'."\n" - ."\n" - .'* true: enables service access through an east-west gateway.'."\n" - .'* false: disables service access through an east-west gateway.'."\n", - ], - 'CustomGatewayAddress' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'The custom address of the east-west gateway. Format: IP:port.'."\n", - 'example' => '8.16x.1x.1x:15443', - ], - ], - 'description' => 'The network configuration of the Kubernetes cluster.'."\n", - ], + ], + [ + 'apiName' => 'DescribeServiceMeshLogs', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshLogs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], - ], + [ + 'apiName' => 'DescribeServiceMeshTasks', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'ERR404', - 'errorMessage' => 'Not found', + [ + 'apiName' => 'GetDeploymentBySelector', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:GetDeploymentBySelector', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DeleteServiceMesh', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'servicemesh:DeleteServiceMesh', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","type":"json"}]', - 'title' => 'UpdateMeshMultiClusterNetwork', - ], - 'DescribeMeshMultiClusterNetwork' => [ - 'summary' => 'Queries the network configuration descriptions of multiple Kubernetes clusters in a Service Mesh (ASM) instance.', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'RunDiagnosis', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:RunDiagnosis', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeMeshMaintenanceWindow', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeMeshMaintenanceWindow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeleteIstioGatewayDomains', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'servicemesh:DeleteIstioGatewayDomains', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '223129', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh4LB119', + [ + 'apiName' => 'DescribeServiceManagedResource', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceManagedResource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'ServiceMeshId', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ccb37ff104caf419fbf48fb38e6f3****', + [ + 'apiName' => 'InitializeASMRole', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:InitializeASMRole', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '71680038-8009-5073-B43E-C057E9******', - ], - 'MultiClusterNetworks' => [ - 'description' => '', - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'object', - 'properties' => [ - 'Network' => [ - 'type' => 'string', - 'example' => 'network1', - 'description' => '', - ], - 'EnableGateway' => [ - 'type' => 'boolean', - 'description' => '', - 'example' => 'true', - ], - 'GatewayName' => [ - 'type' => 'string', - 'example' => 'asm-cross-network-ccb37ff104***', - 'description' => '', - ], - 'CustomGatewayAddress' => [ - 'type' => 'string', - 'example' => '8.16x.1x.1x:15443', - 'description' => '', - ], - ], - 'description' => '', - ], - ], - ], + [ + 'apiName' => 'UpdateSidecarSet', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateSidecarSet', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'ERR404', - 'errorMessage' => 'Not found', + [ + 'apiName' => 'UpdateMeshCRAggregation', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateMeshCRAggregation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'ReActivateAudit', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:ReActivateAudit', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"71680038-8009-5073-B43E-C057E9******\\",\\n \\"MultiClusterNetworks\\": {\\n \\"key\\": {\\n \\"Network\\": \\"network1\\",\\n \\"EnableGateway\\": true,\\n \\"GatewayName\\": \\"asm-cross-network-ccb37ff104***\\",\\n \\"CustomGatewayAddress\\": \\"8.16x.1x.1x:15443\\"\\n }\\n }\\n}","type":"json"}]', - 'title' => 'DescribeMeshMultiClusterNetwork', - ], - 'ModifyPilotEipResource' => [ - 'summary' => 'ModifyPilotEipResource', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'RequestApiServer', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:RequestApiServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeFeaturesAvailable', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeFeaturesAvailable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'GetSwimLaneList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:GetSwimLaneList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeRelatedResourcesReuse', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeRelatedResourcesReuse', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateSwimLaneGroup', + 'description' => '', 'operationType' => 'update', - 'abilityTreeCode' => '223301', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh4LB119', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateSwimLaneGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'ServiceMeshId', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'c1f5a67154bec40629c2698ec********', + [ + 'apiName' => 'TagResources', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:TagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Operation', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The type of the operation that you want to perform. Valid values:'."\n" - ."\n" - .'* `UnBindEip`: unbinds an elastic IP address (EIP) from the Istio Pilot.'."\n" - .'* `BindEip`: binds an EIP to the Istio Pilot.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'BindEip', - 'enum' => [ - 'BindEip', - 'UnBindEip', - ], + ], + [ + 'apiName' => 'SyncAutoInjectionLabelStatus', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:SyncAutoInjectionLabelStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'EipId', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'eip-hp36jpqq5eged********', + ], + [ + 'apiName' => 'RemoveVMFromServiceMesh', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'servicemesh:RemoveVMFromServiceMesh', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'IsCanary', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The type of the Istio Pilot with which you want to associate the EIPs. Valid values:'."\n" - ."\n" - .'* `true`: Bind an EIP to the Istio Pilot during canary release (only valid during the canary release).'."\n" - .'* `false`: Bind an EIP to the Istio Pilot in stable state.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'ListWaypoints', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:ListWaypoints', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'BD65C0AD-D3C6-48D3-8D93-38D2015C****', - ], - ], + [ + 'apiName' => 'DescribeUsersWithPermissions', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeUsersWithPermissions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 500 => [ - [ - 'errorCode' => 'ERR500', - 'errorMessage' => 'An internal server error occurred.', + [ + 'apiName' => 'DescribeRenderedEnvoyFilterTemplate', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeRenderedEnvoyFilterTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BD65C0AD-D3C6-48D3-8D93-38D2015C****\\"\\n}","type":"json"}]', - 'title' => 'ModifyPilotEipResource', - ], - 'UpdateGuestClusterConfig' => [ - 'summary' => 'Updates the configuration of Guest Cluster', - 'methods' => [ - 'post', + [ + 'apiName' => 'DescribeIstioGatewayRoutes', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeIstioGatewayRoutes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'UpdateServiceSidecarInject', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateServiceSidecarInject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeServiceMeshAdditionalStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshAdditionalStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '256760', - 'abilityTreeNodes' => [ - 'FEATUREservicemesh4LB119', + [ + 'apiName' => 'UpdatePluginConfig', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UpdatePluginConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'ServiceMeshId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the ASM instance.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cb8963379255149cb98c8686f274x****', + [ + 'apiName' => 'ListBuiltinEnvoyFilter', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:ListBuiltinEnvoyFilter', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'GuestClusterId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Kubernetes cluster.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'c42186268a27f475c975e5667bb66****', + ], + [ + 'apiName' => 'DescribeCrTemplates', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeCrTemplates', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'SMCEnabled', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable Shared Memory Communications over Remote Direct Memory Access (SMC-R) optimization. The SMC-R optimization feature uses Alibaba Cloud Linux 3 and elastic remote direct memory access (eRDMA) network devices, which optimizes cross-node communication.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + 'apiName' => 'DescribeCanaryStatus', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeCanaryStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '71680038-8009-5073-B43E-C057E9******', - ], - ], + [ + 'apiName' => 'DescribeKialiConfiguration', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeKialiConfiguration', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'EnableControlPlaneLogAlert', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:EnableControlPlaneLogAlert', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"71680038-8009-5073-B43E-C057E9******\\"\\n}","type":"json"}]', - 'title' => 'UpdateGuestClusterConfig', - ], - 'AddVMIntoServiceMesh' => [ - 'summary' => 'Adds a virtual machine (VM) to a Service Mesh (ASM) instance.', - 'methods' => [ - 'post', + [ + 'apiName' => 'UpdateSidecarRecommendationState', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateSidecarRecommendationState', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeRelatedResources', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeRelatedResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'UpdateASMNamespaceFromGuestCluster', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateASMNamespaceFromGuestCluster', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'deprecated' => true, - 'systemTags' => [ - 'operationType' => 'create', + [ + 'apiName' => 'UpdateASMGatewayImportedServices', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateASMGatewayImportedServices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'ServiceMeshId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ccb37ff104caf419fbf48fb38e6f3****', + [ + 'apiName' => 'DeleteWorkloadASMProxyConfig', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'servicemesh:DeleteWorkloadASMProxyConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'EcsId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ECS instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'i-2ze90ts4e7dj3650****', + ], + [ + 'apiName' => 'CreateExtensionProvider', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:CreateExtensionProvider', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The returned results.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4b2c0fe0-6705-4614-8521-6b9d289163c8', - ], - ], + [ + 'apiName' => 'ListTagResources', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:ListTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', + [ + 'apiName' => 'DescribeVersions', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeVersions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4b2c0fe0-6705-4614-8521-6b9d289163c8\\"\\n}","errorExample":""},{"type":"xml","example":"<AddVMIntoServiceMeshResponse>\\n <RequestId>4b2c0fe0-6705-4614-8521-6b9d289163c8</RequestId>\\n</AddVMIntoServiceMeshResponse>","errorExample":""}]', - 'title' => 'AddVMIntoServiceMesh', - ], - 'RemoveVMFromServiceMesh' => [ - 'summary' => 'Removes a virtual machine (VM) from a Service Mesh (ASM) instance.', - 'methods' => [ - 'post', + [ + 'apiName' => 'DeleteExtensionProvider', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DeleteExtensionProvider', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'CreateIstioGatewayDomains', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'servicemesh:CreateIstioGatewayDomains', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'CreateIstioGatewayRoutes', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'servicemesh:CreateIstioGatewayRoutes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'deprecated' => true, - 'systemTags' => [ - 'operationType' => 'delete', + [ + 'apiName' => 'UpdateMeshForFinishCanary', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateMeshForFinishCanary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'ServiceMeshId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ccb37ff104caf419fbf48fb38e6f3****', + [ + 'apiName' => 'DescribeGlobalSidecarConfig', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeGlobalSidecarConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'EcsId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the ECS instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'i-2ze90ts4edj3650****', + ], + [ + 'apiName' => 'DescribeGuestClusterAccessLogDashboards', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeGuestClusterAccessLogDashboards', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The returned results.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4b2c0fe0-6705-4614-8521-6b9d289163c8', - ], - ], + [ + 'apiName' => 'RemoveBuiltinEnvoyFilter', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:RemoveBuiltinEnvoyFilter', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', + [ + 'apiName' => 'ModifyServiceMeshName', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:ModifyServiceMeshName', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4b2c0fe0-6705-4614-8521-6b9d289163c8\\"\\n}","errorExample":""},{"type":"xml","example":"<RemoveVMFromServiceMeshResponse>\\n <RequestId>4b2c0fe0-6705-4614-8521-6b9d289163c8</RequestId>\\n</RemoveVMFromServiceMeshResponse>","errorExample":""}]', - 'title' => 'RemoveVMFromServiceMesh', - ], - 'GetVmMeta' => [ - 'methods' => [ - 'get', + [ + 'apiName' => 'UpdateControlPlaneLogAlertActionPolicy', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateControlPlaneLogAlertActionPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'UpdateCentralizedKialiConfig', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateCentralizedKialiConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'GetBuiltinEnvoyFilter', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:GetBuiltinEnvoyFilter', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'UpdateUnlabeledServiceManagedResource', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateUnlabeledServiceManagedResource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateMeshMaintenanceWindow', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateMeshMaintenanceWindow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeNamespaceScopeSidecarConfig', + 'description' => '', 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeNamespaceScopeSidecarConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'ServiceMeshId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ce51a7de4a5144db88a864ed91****', + [ + 'apiName' => 'GetRegisteredServiceNamespaces', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:GetRegisteredServiceNamespaces', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'TrustDomain', - 'in' => 'query', - 'schema' => [ - 'description' => 'The trusted domain. Default value: cluster.local. This parameter is valid only after you set the Namespace and the ServiceAccount parameters.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cluster.local', + ], + [ + 'apiName' => 'GetEcsList', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:GetEcsList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Namespace', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the namespace. This parameter is valid only after you set the Namespace and the ServiceAccount parameters.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'hello', + ], + [ + 'apiName' => 'DescribeUpgradeVersion', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeUpgradeVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ServiceAccount', - 'in' => 'query', - 'schema' => [ - 'description' => 'The service account. This parameter is valid only after you set the Namespace and the ServiceAccount parameters.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'http-sa', + ], + [ + 'apiName' => 'DescribeClustersInServiceMesh', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeClustersInServiceMesh', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'VmMetaInfo' => [ - 'description' => 'The metadata that is required to add a non-containerized application to the ASM instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'HostsContent' => [ - 'description' => 'The content of the hosts file.'."\n", - 'type' => 'string', - 'example' => '....', - ], - 'TokenContent' => [ - 'description' => 'The content of the Token file.'."\n", - 'type' => 'string', - 'example' => '....', - ], - 'EnvoyEnvContent' => [ - 'description' => 'The content of the EnvoyEnv file.'."\n", - 'type' => 'string', - 'example' => '....', - ], - ], - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '9522f7c9-63a1-4603-b850-37d12a****', - ], - ], - 'description' => '', + [ + 'apiName' => 'UpdateIstioRouteAdditionalStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateIstioRouteAdditionalStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', + [ + 'apiName' => 'DescribeAlertActionPolicies', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeAlertActionPolicies', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"VmMetaInfo\\": {\\n \\"HostsContent\\": \\"....\\",\\n \\"TokenContent\\": \\"....\\",\\n \\"EnvoyEnvContent\\": \\"....\\"\\n },\\n \\"RequestId\\": \\"9522f7c9-63a1-4603-b850-37d12a****\\"\\n}","errorExample":""},{"type":"xml","example":"<VmMetaInfo>\\n <TokenPath>/.../token</TokenPath>\\n <EnvoyEnvContent>....</EnvoyEnvContent>\\n <CertChainContent>....</CertChainContent>\\n <CertChainPath>/.../cert-chain.pem</CertChainPath>\\n <HostsPath>/.../hosts</HostsPath>\\n <RootCertContent>....</RootCertContent>\\n <RootCertPath>/.../root-cert.pem</RootCertPath>\\n <TokenContent>....</TokenContent>\\n <HostsContent>....</HostsContent>\\n <EnvoyEnvPath>/.../cluster.env</EnvoyEnvPath>\\n <KeyContent>....</KeyContent>\\n <KeyPath>/.../key.pem</KeyPath>\\n</VmMetaInfo>\\n<RequestId>9522f7c9-63a1-4603-b850-37d12a****</RequestId>","errorExample":""}]', - 'title' => 'GetVmMeta', - 'summary' => 'Queries the metadata that is required to add a non-containerized application to a Service Mesh (ASM) instance.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetVmAppMeshInfo' => [ - 'methods' => [ - 'get', + [ + 'apiName' => 'DescribeServiceMeshClusters', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshClusters', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'UpdateGuestClusterSyncStatus', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateGuestClusterSyncStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'UpdateMeshFeature', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateMeshFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'UpdatePlaygroundControlPanel', + 'description' => '', 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:UpdatePlaygroundControlPanel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'ServiceMeshId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ce51a7de4a5144db88a864****', + [ + 'apiName' => 'RemoveClusterFromServiceMesh', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'servicemesh:RemoveClusterFromServiceMesh', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '9522f7c9-63a1-4603-b850-37d12a****', - ], - 'Data' => [ - 'description' => 'The response parameters.'."\n", - 'type' => 'string', - 'example' => '...', - ], - ], - 'description' => '', + [ + 'apiName' => 'DescribeServiceMeshUpgradeStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshUpgradeStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetSaToken', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:GetSaToken', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateTelemetryConfiguration', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateTelemetryConfiguration', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateExtensionProvider', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateExtensionProvider', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetServiceRegistrySource', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:GetServiceRegistrySource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AddBuiltinEnvoyFilter', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:AddBuiltinEnvoyFilter', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', + [ + 'apiName' => 'UpdateWaypoint', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateWaypoint', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9522f7c9-63a1-4603-b850-37d12a****\\",\\n \\"Data\\": \\"...\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>9522f7c9-63a1-4603-b850-37d12a****</RequestId>\\n<Data>...</Data>","errorExample":""}]', - 'title' => 'GetVmAppMeshInfo', - 'summary' => 'Queries the information about VMs that are added to a Service Mesh (ASM) instance.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeVMsInServiceMesh' => [ - 'summary' => 'Queries the virtual machines (VMs) that are added to a Service Mesh (ASM) instance.', - 'methods' => [ - 'post', + [ + 'apiName' => 'DeleteWaypoint', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:DeleteWaypoint', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeImportedServicesDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeImportedServicesDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeAvailableGuestClusters', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeAvailableGuestClusters', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'DescribeSidecarSets', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeSidecarSets', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeWorkloadScopeSidecarConfig', + 'description' => '', 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeWorkloadScopeSidecarConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'ServiceMeshId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ccb37ff104caf419fbf48fb38e6f3****', + [ + 'apiName' => 'DescribeServiceMeshDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The returned results.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4b2c0fe0-6705-4614-8521-6b9d289163c8', - ], - 'VMs' => [ - 'description' => 'The VMs that are added to the ASM instance.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the ECS instance.'."\n", - 'type' => 'string', - 'example' => 'i-2ze45cgxkx4q12e****', - ], - 'HasTag' => [ - 'description' => 'Indicates whether the ECS instance has labels.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'IpAddress' => [ - 'description' => 'The IP address of the ECS instance.'."\n", - 'type' => 'string', - 'example' => '10.0.*,***', - ], - 'HostName' => [ - 'description' => 'The host name.'."\n", - 'type' => 'string', - 'example' => 'iZ2ze45cgxkx4q12eh9l****', - ], - 'Status' => [ - 'description' => 'The state of the ECS instance.'."\n", - 'type' => 'string', - 'example' => 'Running', - ], - 'SecurityGroupIds' => [ - 'description' => 'The security group to which the ECS instance belongs.'."\n", - 'type' => 'string', - 'example' => 'sg-2zeaqy08amco9osl****', - ], - 'Region' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'example' => 'cn-beijing', - ], - ], - ], - ], - ], + [ + 'apiName' => 'DeleteSwimLaneGroup', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'servicemesh:DeleteSwimLaneGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', + [ + 'apiName' => 'DeleteGatewayRoute', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'servicemesh:DeleteGatewayRoute', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4b2c0fe0-6705-4614-8521-6b9d289163c8\\",\\n \\"VMs\\": [\\n {\\n \\"InstanceId\\": \\"i-2ze45cgxkx4q12e****\\",\\n \\"HasTag\\": true,\\n \\"IpAddress\\": \\"10.0.*,***\\",\\n \\"HostName\\": \\"iZ2ze45cgxkx4q12eh9l****\\",\\n \\"Status\\": \\"Running\\",\\n \\"SecurityGroupIds\\": \\"sg-2zeaqy08amco9osl****\\",\\n \\"Region\\": \\"cn-beijing\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeVMsInServiceMeshResponse>\\n <RequestId>4b2c0fe0-6705-4614-8521-6b9d289163c8</RequestId>\\n <VMs>\\n <InstanceId>i-2ze45cgxkx4q12e****</InstanceId>\\n <HasTag>true</HasTag>\\n <IpAddress>10.0.*,***</IpAddress>\\n <HostName>iZ2ze45cgxkx4q12eh9l****</HostName>\\n <Status>Running</Status>\\n <SecurityGroupIds>sg-2zeaqy08amco9osl****</SecurityGroupIds>\\n <Region>cn-beijing</Region>\\n </VMs>\\n</DescribeVMsInServiceMeshResponse>","errorExample":""}]', - 'title' => 'DescribeVMsInServiceMesh', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeServiceMeshVMs' => [ - 'summary' => 'Queries the Elastic Compute Service (ECS) instances that reside in the same virtual private cloud (VPC) as a Service Mesh (ASM) instance.', - 'methods' => [ - 'post', + [ + 'apiName' => 'DescribeSidecarRecommendableTasks', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeSidecarRecommendableTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'UpdateASMGateway', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateASMGateway', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'UpdateWorkloadScopeSidecarConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateWorkloadScopeSidecarConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'UpdateInjectedProxyConfig', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UpdateInjectedProxyConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListServiceAccounts', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:ListServiceAccounts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CheckSidecarSet', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'servicemesh:CheckSidecarSet', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetVmAppMeshInfo', + 'description' => '', 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:GetVmAppMeshInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'ServiceMeshId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ccb37ff104caf419fbf48fb38e6f****', + [ + 'apiName' => 'DescribeServiceMeshProxyCount', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeServiceMeshProxyCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The returned results.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4b2c0fe0-6705-4614-8521-6b9d289163c8', - ], - 'VMs' => [ - 'description' => 'The ECS instances that reside in the same VPC as the ASM instance.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The state of the ECS instance.'."\n", - 'type' => 'string', - 'example' => 'Running', - ], - 'InstanceId' => [ - 'description' => 'The ID of the ECS instance.'."\n", - 'type' => 'string', - 'example' => 'i-2ze0kub9scdguom****', - ], - 'HasTag' => [ - 'description' => 'Indicates whether the ECS instance has labels.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'IpAddress' => [ - 'description' => 'The IP address of the ECS instance.'."\n", - 'type' => 'string', - 'example' => '192.168.2.241', - ], - 'HostName' => [ - 'description' => 'The host name.'."\n", - 'type' => 'string', - 'example' => 'iZ2ze45cgxkx4q12eh****', - ], - 'SecurityGroupIds' => [ - 'description' => 'The security group to which the ECS instance belongs.'."\n", - 'type' => 'string', - 'example' => 'sg-2zeaqy08amco9osl****', - ], - 'ServiceMeshId' => [ - 'description' => 'The ASM instance ID.'."\n", - 'type' => 'string', - 'example' => 'ccb37ff104caf419fbf48fb38e6f3****', - ], - 'Region' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'example' => 'cn-beijing', - ], - ], - ], - ], - ], + [ + 'apiName' => 'UntagResources', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'servicemesh:UntagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', + [ + 'apiName' => 'DescribeNamespaceSyncStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'servicemesh:DescribeNamespaceSyncStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'ServiceMesh', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4b2c0fe0-6705-4614-8521-6b9d289163c8\\",\\n \\"VMs\\": [\\n {\\n \\"Status\\": \\"Running\\",\\n \\"InstanceId\\": \\"i-2ze0kub9scdguom****\\",\\n \\"HasTag\\": false,\\n \\"IpAddress\\": \\"192.168.2.241\\",\\n \\"HostName\\": \\"iZ2ze45cgxkx4q12eh****\\",\\n \\"SecurityGroupIds\\": \\"sg-2zeaqy08amco9osl****\\",\\n \\"ServiceMeshId\\": \\"ccb37ff104caf419fbf48fb38e6f3****\\",\\n \\"Region\\": \\"cn-beijing\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeServiceMeshVMsResponse>\\n <RequestId>4b2c0fe0-6705-4614-8521-6b9d289163c8</RequestId>\\n <VMs>\\n <Status>Running</Status>\\n <InstanceId>i-2ze0kub9scdguom****</InstanceId>\\n <HasTag>false</HasTag>\\n <IpAddress>192.168.2.241</IpAddress>\\n <HostName>iZ2ze45cgxkx4q12eh****</HostName>\\n <SecurityGroupIds>sg-2zeaqy08amco9osl****</SecurityGroupIds>\\n <ServiceMeshId>ccb37ff104caf419fbf48fb38e6f3****</ServiceMeshId>\\n <Region>cn-beijing</Region>\\n </VMs>\\n</DescribeServiceMeshVMsResponse>","errorExample":""}]', - 'title' => 'DescribeServiceMeshVMs', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'servicemesh.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'servicemesh.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'servicemesh.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'servicemesh.aliyuncs.com', ], + 'resourceTypes' => [], ], ]; |
